RTEMS 4.11
Annotated Report
Thu Jul 1 17:56:03 2010

0010d598 <IMFS_Set_handlers>:                                         
#define MAXSYMLINK 5                                                  
                                                                      
int IMFS_Set_handlers(                                                
  rtems_filesystem_location_info_t   *loc                             
)                                                                     
{                                                                     
  10d598:	55                   	push   %ebp                           
  10d599:	89 e5                	mov    %esp,%ebp                      
  10d59b:	8b 45 08             	mov    0x8(%ebp),%eax                 
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
  10d59e:	8b 50 10             	mov    0x10(%eax),%edx                
  10d5a1:	8b 52 34             	mov    0x34(%edx),%edx                
  switch( node->type ) {                                              
  10d5a4:	8b 08                	mov    (%eax),%ecx                    
  10d5a6:	8b 49 4c             	mov    0x4c(%ecx),%ecx                
  10d5a9:	49                   	dec    %ecx                           
  10d5aa:	83 f9 06             	cmp    $0x6,%ecx                      
  10d5ad:	77 29                	ja     10d5d8 <IMFS_Set_handlers+0x40><== NEVER TAKEN
  10d5af:	ff 24 8d 80 ec 11 00 	jmp    *0x11ec80(,%ecx,4)             
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
  10d5b6:	8b 52 0c             	mov    0xc(%edx),%edx                 
  10d5b9:	eb 1a                	jmp    10d5d5 <IMFS_Set_handlers+0x3d>
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
  10d5bb:	c7 40 08 a4 ec 11 00 	movl   $0x11eca4,0x8(%eax)            
      break;                                                          
  10d5c2:	eb 14                	jmp    10d5d8 <IMFS_Set_handlers+0x40>
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
  10d5c4:	c7 40 08 14 ed 11 00 	movl   $0x11ed14,0x8(%eax)            
      break;                                                          
  10d5cb:	eb 0b                	jmp    10d5d8 <IMFS_Set_handlers+0x40>
    case IMFS_LINEAR_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
  10d5cd:	8b 52 08             	mov    0x8(%edx),%edx                 
  10d5d0:	eb 03                	jmp    10d5d5 <IMFS_Set_handlers+0x3d>
      break;                                                          
    case IMFS_FIFO:                                                   
      loc->handlers = fs_info->fifo_handlers;                         
  10d5d2:	8b 52 10             	mov    0x10(%edx),%edx                
  10d5d5:	89 50 08             	mov    %edx,0x8(%eax)                 
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
  10d5d8:	31 c0                	xor    %eax,%eax                      
  10d5da:	c9                   	leave                                 
  10d5db:	c3                   	ret                                   
                                                                      

0010d3f4 <IMFS_allocate_node>: IMFS_jnode_t *IMFS_allocate_node( IMFS_jnode_types_t type, const char *name, mode_t mode ) {
  10d3f4:	55                   	push   %ebp                           
  10d3f5:	89 e5                	mov    %esp,%ebp                      
  10d3f7:	53                   	push   %ebx                           
  10d3f8:	83 ec 1c             	sub    $0x1c,%esp                     
  struct timeval       tv;                                            
                                                                      
  /*                                                                  
   *  Allocate an IMFS jnode                                          
   */                                                                 
  node = calloc( 1, sizeof( IMFS_jnode_t ) );                         
  10d3fb:	6a 64                	push   $0x64                          
  10d3fd:	6a 01                	push   $0x1                           
  10d3ff:	e8 4c 9d ff ff       	call   107150 <calloc>                
  10d404:	89 c3                	mov    %eax,%ebx                      
  if ( !node )                                                        
  10d406:	83 c4 10             	add    $0x10,%esp                     
  10d409:	85 c0                	test   %eax,%eax                      
  10d40b:	74 4f                	je     10d45c <IMFS_allocate_node+0x68><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Fill in the basic information                                   
   */                                                                 
  node->st_nlink = 1;                                                 
  10d40d:	66 c7 40 34 01 00    	movw   $0x1,0x34(%eax)                
  node->type     = type;                                              
  10d413:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10d416:	89 43 4c             	mov    %eax,0x4c(%ebx)                
  strncpy( node->name, name, IMFS_NAME_MAX );                         
  10d419:	51                   	push   %ecx                           
  10d41a:	6a 20                	push   $0x20                          
  10d41c:	ff 75 0c             	pushl  0xc(%ebp)                      
  10d41f:	8d 43 0c             	lea    0xc(%ebx),%eax                 
  10d422:	50                   	push   %eax                           
  10d423:	e8 e4 4a 00 00       	call   111f0c <strncpy>               
                                                                      
  /*                                                                  
   *  Fill in the mode and permission information for the jnode structure.
   */                                                                 
  node->st_mode = mode;                                               
  10d428:	8b 45 10             	mov    0x10(%ebp),%eax                
  10d42b:	89 43 30             	mov    %eax,0x30(%ebx)                
  #if defined(RTEMS_POSIX_API)                                        
    node->st_uid = geteuid();                                         
  10d42e:	e8 b9 0b 00 00       	call   10dfec <geteuid>               
  10d433:	66 89 43 3c          	mov    %ax,0x3c(%ebx)                 
    node->st_gid = getegid();                                         
  10d437:	e8 a0 0b 00 00       	call   10dfdc <getegid>               
  10d43c:	66 89 43 3e          	mov    %ax,0x3e(%ebx)                 
  #endif                                                              
                                                                      
  /*                                                                  
   *  Now set all the times.                                          
   */                                                                 
  gettimeofday( &tv, 0 );                                             
  10d440:	58                   	pop    %eax                           
  10d441:	5a                   	pop    %edx                           
  10d442:	6a 00                	push   $0x0                           
  10d444:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  10d447:	50                   	push   %eax                           
  10d448:	e8 37 9f ff ff       	call   107384 <gettimeofday>          
                                                                      
  node->stat_atime  = (time_t) tv.tv_sec;                             
  10d44d:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  10d450:	89 43 40             	mov    %eax,0x40(%ebx)                
  node->stat_mtime  = (time_t) tv.tv_sec;                             
  10d453:	89 43 44             	mov    %eax,0x44(%ebx)                
  node->stat_ctime  = (time_t) tv.tv_sec;                             
  10d456:	89 43 48             	mov    %eax,0x48(%ebx)                
                                                                      
  return node;                                                        
  10d459:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10d45c:	89 d8                	mov    %ebx,%eax                      
  10d45e:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10d461:	c9                   	leave                                 
  10d462:	c3                   	ret                                   
                                                                      

0010dda2 <IMFS_check_node_remove>: void IMFS_check_node_remove( IMFS_jnode_t *jnode ) {
  10dda2:	55                   	push   %ebp                           
  10dda3:	89 e5                	mov    %esp,%ebp                      
  10dda5:	53                   	push   %ebx                           
  10dda6:	83 ec 10             	sub    $0x10,%esp                     
  10dda9:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  if ( !rtems_libio_is_file_open( jnode ) && jnode->st_nlink < 1 ) {  
  10ddac:	53                   	push   %ebx                           
  10ddad:	e8 e5 03 00 00       	call   10e197 <rtems_libio_is_file_open>
  10ddb2:	83 c4 10             	add    $0x10,%esp                     
  10ddb5:	85 c0                	test   %eax,%eax                      
  10ddb7:	75 4a                	jne    10de03 <IMFS_check_node_remove+0x61>
  10ddb9:	66 83 7b 34 00       	cmpw   $0x0,0x34(%ebx)                
  10ddbe:	75 43                	jne    10de03 <IMFS_check_node_remove+0x61>
    if ( rtems_filesystem_current.node_access == jnode )              
  10ddc0:	a1 54 1f 12 00       	mov    0x121f54,%eax                  
  10ddc5:	39 58 04             	cmp    %ebx,0x4(%eax)                 
  10ddc8:	75 07                	jne    10ddd1 <IMFS_check_node_remove+0x2f><== ALWAYS TAKEN
       rtems_filesystem_current.node_access = NULL;                   
  10ddca:	c7 40 04 00 00 00 00 	movl   $0x0,0x4(%eax)                 <== NOT EXECUTED
                                                                      
    switch ( jnode->type ) {                                          
  10ddd1:	8b 43 4c             	mov    0x4c(%ebx),%eax                
  10ddd4:	83 f8 04             	cmp    $0x4,%eax                      
  10ddd7:	74 10                	je     10dde9 <IMFS_check_node_remove+0x47>
  10ddd9:	83 f8 05             	cmp    $0x5,%eax                      
  10dddc:	75 19                	jne    10ddf7 <IMFS_check_node_remove+0x55>
      case IMFS_MEMORY_FILE:                                          
        IMFS_memfile_remove( jnode );                                 
  10ddde:	83 ec 0c             	sub    $0xc,%esp                      
  10dde1:	53                   	push   %ebx                           
  10dde2:	e8 f8 20 00 00       	call   10fedf <IMFS_memfile_remove>   
  10dde7:	eb 0b                	jmp    10ddf4 <IMFS_check_node_remove+0x52>
        break;                                                        
      case IMFS_SYM_LINK:                                             
        free( jnode->info.sym_link.name );                            
  10dde9:	83 ec 0c             	sub    $0xc,%esp                      
  10ddec:	ff 73 50             	pushl  0x50(%ebx)                     
  10ddef:	e8 18 95 ff ff       	call   10730c <free>                  
        break;                                                        
  10ddf4:	83 c4 10             	add    $0x10,%esp                     
      default:                                                        
        break;                                                        
    }                                                                 
                                                                      
    free( jnode );                                                    
  10ddf7:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
}                                                                     
  10ddfa:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ddfd:	c9                   	leave                                 
        break;                                                        
      default:                                                        
        break;                                                        
    }                                                                 
                                                                      
    free( jnode );                                                    
  10ddfe:	e9 09 95 ff ff       	jmp    10730c <free>                  
  }                                                                   
}                                                                     
  10de03:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10de06:	c9                   	leave                                 
  10de07:	c3                   	ret                                   
                                                                      

0010d398 <IMFS_chown>: int IMFS_chown( rtems_filesystem_location_info_t *pathloc, /* IN */ uid_t owner, /* IN */ gid_t group /* IN */ ) {
  10d398:	55                   	push   %ebp                           
  10d399:	89 e5                	mov    %esp,%ebp                      
  10d39b:	57                   	push   %edi                           
  10d39c:	56                   	push   %esi                           
  10d39d:	53                   	push   %ebx                           
  10d39e:	83 ec 1c             	sub    $0x1c,%esp                     
  10d3a1:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10d3a4:	8b 75 10             	mov    0x10(%ebp),%esi                
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = (IMFS_jnode_t *) pathloc->node_access;                      
  10d3a7:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10d3aa:	8b 18                	mov    (%eax),%ebx                    
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
  10d3ac:	e8 3b 0c 00 00       	call   10dfec <geteuid>               
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
  10d3b1:	66 85 c0             	test   %ax,%ax                        
  10d3b4:	74 16                	je     10d3cc <IMFS_chown+0x34>       <== ALWAYS TAKEN
  10d3b6:	66 3b 43 3c          	cmp    0x3c(%ebx),%ax                 <== NOT EXECUTED
  10d3ba:	74 10                	je     10d3cc <IMFS_chown+0x34>       <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EPERM );                    
  10d3bc:	e8 7b 3d 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  10d3c1:	c7 00 01 00 00 00    	movl   $0x1,(%eax)                    <== NOT EXECUTED
  10d3c7:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  10d3ca:	eb 20                	jmp    10d3ec <IMFS_chown+0x54>       <== NOT EXECUTED
#endif                                                                
                                                                      
  jnode->st_uid = owner;                                              
  10d3cc:	66 89 7b 3c          	mov    %di,0x3c(%ebx)                 
  jnode->st_gid = group;                                              
  10d3d0:	66 89 73 3e          	mov    %si,0x3e(%ebx)                 
                                                                      
  IMFS_update_ctime( jnode );                                         
  10d3d4:	50                   	push   %eax                           
  10d3d5:	50                   	push   %eax                           
  10d3d6:	6a 00                	push   $0x0                           
  10d3d8:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10d3db:	50                   	push   %eax                           
  10d3dc:	e8 a3 9f ff ff       	call   107384 <gettimeofday>          
  10d3e1:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10d3e4:	89 43 48             	mov    %eax,0x48(%ebx)                
                                                                      
  return 0;                                                           
  10d3e7:	83 c4 10             	add    $0x10,%esp                     
  10d3ea:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10d3ec:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d3ef:	5b                   	pop    %ebx                           
  10d3f0:	5e                   	pop    %esi                           
  10d3f1:	5f                   	pop    %edi                           
  10d3f2:	c9                   	leave                                 
  10d3f3:	c3                   	ret                                   
                                                                      

0010d463 <IMFS_create_node>: IMFS_jnode_types_t type, const char *name, mode_t mode, const IMFS_types_union *info ) {
  10d463:	55                   	push   %ebp                           
  10d464:	89 e5                	mov    %esp,%ebp                      
  10d466:	57                   	push   %edi                           
  10d467:	56                   	push   %esi                           
  10d468:	53                   	push   %ebx                           
  10d469:	83 ec 1c             	sub    $0x1c,%esp                     
  10d46c:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10d46f:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10d472:	8b 5d 18             	mov    0x18(%ebp),%ebx                
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
    return NULL;                                                      
  10d475:	31 c0                	xor    %eax,%eax                      
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
  10d477:	85 c9                	test   %ecx,%ecx                      
  10d479:	0f 84 dc 00 00 00    	je     10d55b <IMFS_create_node+0xf8> <== NEVER TAKEN
    return NULL;                                                      
                                                                      
  parent = parent_loc->node_access;                                   
  10d47f:	8b 11                	mov    (%ecx),%edx                    
  fs_info = parent_loc->mt_entry->fs_info;                            
  10d481:	8b 49 10             	mov    0x10(%ecx),%ecx                
  10d484:	8b 71 34             	mov    0x34(%ecx),%esi                
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
  10d487:	83 ff 07             	cmp    $0x7,%edi                      
  10d48a:	75 0d                	jne    10d499 <IMFS_create_node+0x36> 
  10d48c:	81 7e 10 b0 e8 11 00 	cmpl   $0x11e8b0,0x10(%esi)           
  10d493:	0f 84 c2 00 00 00    	je     10d55b <IMFS_create_node+0xf8> 
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node  = IMFS_allocate_node( type, name, mode & ~rtems_filesystem_umask );
  10d499:	50                   	push   %eax                           
  10d49a:	a1 54 1f 12 00       	mov    0x121f54,%eax                  
  10d49f:	8b 40 2c             	mov    0x2c(%eax),%eax                
  10d4a2:	f7 d0                	not    %eax                           
  10d4a4:	23 45 14             	and    0x14(%ebp),%eax                
  10d4a7:	50                   	push   %eax                           
  10d4a8:	ff 75 10             	pushl  0x10(%ebp)                     
  10d4ab:	57                   	push   %edi                           
  10d4ac:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10d4af:	e8 40 ff ff ff       	call   10d3f4 <IMFS_allocate_node>    
  if ( !node )                                                        
  10d4b4:	83 c4 10             	add    $0x10,%esp                     
  10d4b7:	85 c0                	test   %eax,%eax                      
  10d4b9:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10d4bc:	0f 84 99 00 00 00    	je     10d55b <IMFS_create_node+0xf8> <== NEVER TAKEN
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
  switch (type) {                                                     
  10d4c2:	4f                   	dec    %edi                           
  10d4c3:	83 ff 06             	cmp    $0x6,%edi                      
  10d4c6:	77 71                	ja     10d539 <IMFS_create_node+0xd6> <== NEVER TAKEN
  10d4c8:	ff 24 bd 64 ec 11 00 	jmp    *0x11ec64(,%edi,4)             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10d4cf:	8d 48 54             	lea    0x54(%eax),%ecx                
  10d4d2:	89 48 50             	mov    %ecx,0x50(%eax)                
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
  10d4d5:	c7 40 54 00 00 00 00 	movl   $0x0,0x54(%eax)                
    case IMFS_DIRECTORY:                                              
      rtems_chain_initialize_empty(&node->info.directory.Entries);    
  10d4dc:	8d 48 50             	lea    0x50(%eax),%ecx                
  10d4df:	89 48 58             	mov    %ecx,0x58(%eax)                
  10d4e2:	eb 55                	jmp    10d539 <IMFS_create_node+0xd6> 
    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;                 
  10d4e4:	8b 0b                	mov    (%ebx),%ecx                    
  10d4e6:	89 48 50             	mov    %ecx,0x50(%eax)                
      break;                                                          
  10d4e9:	eb 4e                	jmp    10d539 <IMFS_create_node+0xd6> 
                                                                      
    case IMFS_DEVICE:                                                 
      node->info.device.major = info->device.major;                   
  10d4eb:	8b 0b                	mov    (%ebx),%ecx                    
  10d4ed:	89 48 50             	mov    %ecx,0x50(%eax)                
      node->info.device.minor = info->device.minor;                   
  10d4f0:	8b 4b 04             	mov    0x4(%ebx),%ecx                 
  10d4f3:	89 48 54             	mov    %ecx,0x54(%eax)                
      break;                                                          
  10d4f6:	eb 41                	jmp    10d539 <IMFS_create_node+0xd6> 
                                                                      
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
  10d4f8:	c7 40 50 00 00 00 00 	movl   $0x0,0x50(%eax)                <== NOT EXECUTED
  10d4ff:	c7 40 54 00 00 00 00 	movl   $0x0,0x54(%eax)                <== NOT EXECUTED
      node->info.linearfile.direct    = 0;                            
  10d506:	c7 40 58 00 00 00 00 	movl   $0x0,0x58(%eax)                <== NOT EXECUTED
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
  10d50d:	c7 40 50 00 00 00 00 	movl   $0x0,0x50(%eax)                
  10d514:	c7 40 54 00 00 00 00 	movl   $0x0,0x54(%eax)                
      node->info.file.indirect        = 0;                            
  10d51b:	c7 40 58 00 00 00 00 	movl   $0x0,0x58(%eax)                
      node->info.file.doubly_indirect = 0;                            
  10d522:	c7 40 5c 00 00 00 00 	movl   $0x0,0x5c(%eax)                
      node->info.file.triply_indirect = 0;                            
  10d529:	c7 40 60 00 00 00 00 	movl   $0x0,0x60(%eax)                
      break;                                                          
  10d530:	eb 07                	jmp    10d539 <IMFS_create_node+0xd6> 
                                                                      
    case IMFS_FIFO:                                                   
      node->info.fifo.pipe = NULL;                                    
  10d532:	c7 40 50 00 00 00 00 	movl   $0x0,0x50(%eax)                
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
                                                                      
  node->Parent = parent;                                              
  10d539:	89 50 08             	mov    %edx,0x8(%eax)                 
  node->st_ino = ++fs_info->ino_count;                                
  10d53c:	8b 4e 04             	mov    0x4(%esi),%ecx                 
  10d53f:	41                   	inc    %ecx                           
  10d540:	89 4e 04             	mov    %ecx,0x4(%esi)                 
  10d543:	89 48 38             	mov    %ecx,0x38(%eax)                
  10d546:	53                   	push   %ebx                           
  10d547:	53                   	push   %ebx                           
  10d548:	50                   	push   %eax                           
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
  10d549:	83 c2 50             	add    $0x50,%edx                     
  10d54c:	52                   	push   %edx                           
  10d54d:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  10d550:	e8 fb d4 ff ff       	call   10aa50 <_Chain_Append>         
                                                                      
  return node;                                                        
  10d555:	83 c4 10             	add    $0x10,%esp                     
  10d558:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
}                                                                     
  10d55b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d55e:	5b                   	pop    %ebx                           
  10d55f:	5e                   	pop    %esi                           
  10d560:	5f                   	pop    %edi                           
  10d561:	c9                   	leave                                 
  10d562:	c3                   	ret                                   
                                                                      

0010d563 <IMFS_create_root_node>: return node; } IMFS_jnode_t *IMFS_create_root_node(void) {
  10d563:	55                   	push   %ebp                           
  10d564:	89 e5                	mov    %esp,%ebp                      
  10d566:	83 ec 0c             	sub    $0xc,%esp                      
  IMFS_jnode_t        *node;                                          
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node = IMFS_allocate_node( IMFS_DIRECTORY, "", (S_IFDIR | 0755) );  
  10d569:	68 ed 41 00 00       	push   $0x41ed                        
  10d56e:	68 1d e9 11 00       	push   $0x11e91d                      
  10d573:	6a 01                	push   $0x1                           
  10d575:	e8 7a fe ff ff       	call   10d3f4 <IMFS_allocate_node>    
  if ( !node )                                                        
  10d57a:	83 c4 10             	add    $0x10,%esp                     
  10d57d:	85 c0                	test   %eax,%eax                      
  10d57f:	74 13                	je     10d594 <IMFS_create_root_node+0x31><== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10d581:	8d 50 54             	lea    0x54(%eax),%edx                
  10d584:	89 50 50             	mov    %edx,0x50(%eax)                
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
  10d587:	c7 40 54 00 00 00 00 	movl   $0x0,0x54(%eax)                
  /*                                                                  
   *  Set the type specific information                               
   *                                                                  
   *  NOTE: Root node is always a directory.                          
   */                                                                 
  rtems_chain_initialize_empty(&node->info.directory.Entries);        
  10d58e:	8d 50 50             	lea    0x50(%eax),%edx                
  10d591:	89 50 58             	mov    %edx,0x58(%eax)                
                                                                      
  return node;                                                        
}                                                                     
  10d594:	c9                   	leave                                 
  10d595:	c3                   	ret                                   
                                                                      

0010d678 <IMFS_eval_path>: const char *pathname, /* IN */ size_t pathnamelen, /* IN */ int flags, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
  10d678:	55                   	push   %ebp                           
  10d679:	89 e5                	mov    %esp,%ebp                      
  10d67b:	57                   	push   %edi                           
  10d67c:	56                   	push   %esi                           
  10d67d:	53                   	push   %ebx                           
  10d67e:	83 ec 5c             	sub    $0x5c,%esp                     
  10d681:	8b 5d 14             	mov    0x14(%ebp),%ebx                
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
  10d684:	8b 3b                	mov    (%ebx),%edi                    
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
  int                                 i = 0;                          
  int                                 len;                            
  IMFS_token_types                    type = IMFS_CURRENT_DIR;        
  10d686:	be 01 00 00 00       	mov    $0x1,%esi                      
  size_t                             pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
  int                                 i = 0;                          
  10d68b:	c7 45 a4 00 00 00 00 	movl   $0x0,-0x5c(%ebp)               
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
  10d692:	e9 39 01 00 00       	jmp    10d7d0 <IMFS_eval_path+0x158>  
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
  10d697:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10d69a:	50                   	push   %eax                           
  10d69b:	8d 4d af             	lea    -0x51(%ebp),%ecx               
  10d69e:	51                   	push   %ecx                           
  10d69f:	ff 75 0c             	pushl  0xc(%ebp)                      
  10d6a2:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10d6a5:	03 45 a4             	add    -0x5c(%ebp),%eax               
  10d6a8:	50                   	push   %eax                           
  10d6a9:	e8 ee 05 00 00       	call   10dc9c <IMFS_get_token>        
  10d6ae:	89 c6                	mov    %eax,%esi                      
    pathnamelen -= len;                                               
  10d6b0:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
  10d6b3:	83 c4 10             	add    $0x10,%esp                     
  10d6b6:	83 3b 00             	cmpl   $0x0,(%ebx)                    
  10d6b9:	0f 84 ed 00 00 00    	je     10d7ac <IMFS_eval_path+0x134>  <== NEVER TAKEN
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
  10d6bf:	85 c0                	test   %eax,%eax                      
  10d6c1:	74 30                	je     10d6f3 <IMFS_eval_path+0x7b>   
      if ( node->type == IMFS_DIRECTORY )                             
  10d6c3:	83 7f 4c 01          	cmpl   $0x1,0x4c(%edi)                
  10d6c7:	75 2a                	jne    10d6f3 <IMFS_eval_path+0x7b>   
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
  10d6c9:	57                   	push   %edi                           
  10d6ca:	57                   	push   %edi                           
  10d6cb:	6a 01                	push   $0x1                           
  10d6cd:	53                   	push   %ebx                           
  10d6ce:	89 55 a0             	mov    %edx,-0x60(%ebp)               
  10d6d1:	e8 06 ff ff ff       	call   10d5dc <IMFS_evaluate_permission>
  10d6d6:	83 c4 10             	add    $0x10,%esp                     
  10d6d9:	85 c0                	test   %eax,%eax                      
  10d6db:	8b 55 a0             	mov    -0x60(%ebp),%edx               
  10d6de:	75 13                	jne    10d6f3 <IMFS_eval_path+0x7b>   
          rtems_set_errno_and_return_minus_one( EACCES );             
  10d6e0:	e8 57 3a 00 00       	call   11113c <__errno>               
  10d6e5:	c7 00 0d 00 00 00    	movl   $0xd,(%eax)                    
  10d6eb:	83 cf ff             	or     $0xffffffff,%edi               
  10d6ee:	e9 55 01 00 00       	jmp    10d848 <IMFS_eval_path+0x1d0>  
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
  10d6f3:	29 55 0c             	sub    %edx,0xc(%ebp)                 
    i += len;                                                         
  10d6f6:	01 55 a4             	add    %edx,-0x5c(%ebp)               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
  10d6f9:	8b 3b                	mov    (%ebx),%edi                    
                                                                      
    switch( type ) {                                                  
  10d6fb:	83 fe 03             	cmp    $0x3,%esi                      
  10d6fe:	74 38                	je     10d738 <IMFS_eval_path+0xc0>   
  10d700:	83 fe 04             	cmp    $0x4,%esi                      
  10d703:	0f 84 b7 00 00 00    	je     10d7c0 <IMFS_eval_path+0x148>  
  10d709:	83 fe 02             	cmp    $0x2,%esi                      
  10d70c:	0f 85 be 00 00 00    	jne    10d7d0 <IMFS_eval_path+0x158>  
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
  10d712:	a1 54 1f 12 00       	mov    0x121f54,%eax                  
  10d717:	3b 78 18             	cmp    0x18(%eax),%edi                
  10d71a:	0f 84 b0 00 00 00    	je     10d7d0 <IMFS_eval_path+0x158>  
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
            pathloc->mt_entry->mt_fs_root.node_access) {              
  10d720:	8b 43 10             	mov    0x10(%ebx),%eax                
                                                                      
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
  10d723:	3b 78 1c             	cmp    0x1c(%eax),%edi                
  10d726:	75 0b                	jne    10d733 <IMFS_eval_path+0xbb>   
           */                                                         
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            newloc = pathloc->mt_entry->mt_point_node;                
  10d728:	8d 7d d0             	lea    -0x30(%ebp),%edi               
  10d72b:	8d 70 08             	lea    0x8(%eax),%esi                 
  10d72e:	e9 bd 00 00 00       	jmp    10d7f0 <IMFS_eval_path+0x178>  
                                               pathnamelen+len,       
                                               flags,pathloc);        
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
  10d733:	8b 7f 08             	mov    0x8(%edi),%edi                 
  10d736:	eb 70                	jmp    10d7a8 <IMFS_eval_path+0x130>  
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
                                                                      
        if ( node->type == IMFS_HARD_LINK ) {                         
  10d738:	8b 47 4c             	mov    0x4c(%edi),%eax                
  10d73b:	83 f8 03             	cmp    $0x3,%eax                      
  10d73e:	75 15                	jne    10d755 <IMFS_eval_path+0xdd>   
                                                                      
          IMFS_evaluate_hard_link( pathloc, 0 );                      
  10d740:	51                   	push   %ecx                           
  10d741:	51                   	push   %ecx                           
  10d742:	6a 00                	push   $0x0                           
  10d744:	53                   	push   %ebx                           
  10d745:	e8 d8 fe ff ff       	call   10d622 <IMFS_evaluate_hard_link>
                                                                      
          node = pathloc->node_access;                                
  10d74a:	8b 3b                	mov    (%ebx),%edi                    
          if ( !node )                                                
  10d74c:	83 c4 10             	add    $0x10,%esp                     
  10d74f:	85 ff                	test   %edi,%edi                      
  10d751:	75 1f                	jne    10d772 <IMFS_eval_path+0xfa>   <== ALWAYS TAKEN
  10d753:	eb 23                	jmp    10d778 <IMFS_eval_path+0x100>  <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
  10d755:	83 f8 04             	cmp    $0x4,%eax                      
  10d758:	75 18                	jne    10d772 <IMFS_eval_path+0xfa>   
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
  10d75a:	52                   	push   %edx                           
  10d75b:	52                   	push   %edx                           
  10d75c:	6a 00                	push   $0x0                           
  10d75e:	53                   	push   %ebx                           
  10d75f:	e8 ee 00 00 00       	call   10d852 <IMFS_evaluate_sym_link>
                                                                      
          node = pathloc->node_access;                                
  10d764:	8b 3b                	mov    (%ebx),%edi                    
          if ( result == -1 )                                         
  10d766:	83 c4 10             	add    $0x10,%esp                     
  10d769:	83 f8 ff             	cmp    $0xffffffff,%eax               
  10d76c:	0f 84 d4 00 00 00    	je     10d846 <IMFS_eval_path+0x1ce>  <== NEVER TAKEN
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
  10d772:	83 7f 4c 01          	cmpl   $0x1,0x4c(%edi)                
  10d776:	74 10                	je     10d788 <IMFS_eval_path+0x110>  
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
  10d778:	e8 bf 39 00 00       	call   11113c <__errno>               
  10d77d:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   
  10d783:	e9 63 ff ff ff       	jmp    10d6eb <IMFS_eval_path+0x73>   
        /*                                                            
         *  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 ) {                   
  10d788:	8b 47 5c             	mov    0x5c(%edi),%eax                
  10d78b:	85 c0                	test   %eax,%eax                      
  10d78d:	74 08                	je     10d797 <IMFS_eval_path+0x11f>  
          newloc   = node->info.directory.mt_fs->mt_fs_root;          
  10d78f:	8d 7d d0             	lea    -0x30(%ebp),%edi               
  10d792:	8d 70 1c             	lea    0x1c(%eax),%esi                
  10d795:	eb 59                	jmp    10d7f0 <IMFS_eval_path+0x178>  
                                                                      
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
  10d797:	50                   	push   %eax                           
  10d798:	50                   	push   %eax                           
  10d799:	8d 45 af             	lea    -0x51(%ebp),%eax               
  10d79c:	50                   	push   %eax                           
  10d79d:	57                   	push   %edi                           
  10d79e:	e8 81 04 00 00       	call   10dc24 <IMFS_find_match_in_dir>
  10d7a3:	89 c7                	mov    %eax,%edi                      
        if ( !node )                                                  
  10d7a5:	83 c4 10             	add    $0x10,%esp                     
  10d7a8:	85 ff                	test   %edi,%edi                      
  10d7aa:	75 10                	jne    10d7bc <IMFS_eval_path+0x144>  
          rtems_set_errno_and_return_minus_one( ENOENT );             
  10d7ac:	e8 8b 39 00 00       	call   11113c <__errno>               
  10d7b1:	c7 00 02 00 00 00    	movl   $0x2,(%eax)                    
  10d7b7:	e9 2f ff ff ff       	jmp    10d6eb <IMFS_eval_path+0x73>   
                                                                      
        /*                                                            
         *  Set the node access to the point we have found.           
         */                                                           
                                                                      
        pathloc->node_access = node;                                  
  10d7bc:	89 3b                	mov    %edi,(%ebx)                    
  10d7be:	eb 10                	jmp    10d7d0 <IMFS_eval_path+0x158>  
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
  10d7c0:	e8 77 39 00 00       	call   11113c <__errno>               
  10d7c5:	c7 00 5b 00 00 00    	movl   $0x5b,(%eax)                   
  10d7cb:	e9 1b ff ff ff       	jmp    10d6eb <IMFS_eval_path+0x73>   
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
  10d7d0:	83 fe 04             	cmp    $0x4,%esi                      
  10d7d3:	74 08                	je     10d7dd <IMFS_eval_path+0x165>  <== NEVER TAKEN
  10d7d5:	85 f6                	test   %esi,%esi                      
  10d7d7:	0f 85 ba fe ff ff    	jne    10d697 <IMFS_eval_path+0x1f>   
   *  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 ) {                               
  10d7dd:	83 7f 4c 01          	cmpl   $0x1,0x4c(%edi)                
  10d7e1:	75 41                	jne    10d824 <IMFS_eval_path+0x1ac>  
    if ( node->info.directory.mt_fs != NULL ) {                       
  10d7e3:	8b 77 5c             	mov    0x5c(%edi),%esi                
  10d7e6:	85 f6                	test   %esi,%esi                      
  10d7e8:	74 3a                	je     10d824 <IMFS_eval_path+0x1ac>  
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
  10d7ea:	8d 7d d0             	lea    -0x30(%ebp),%edi               
  10d7ed:	83 c6 1c             	add    $0x1c,%esi                     
  10d7f0:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  10d7f5:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
      *pathloc = newloc;                                              
  10d7f7:	8d 75 d0             	lea    -0x30(%ebp),%esi               
  10d7fa:	b1 05                	mov    $0x5,%cl                       
  10d7fc:	89 df                	mov    %ebx,%edi                      
  10d7fe:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
  10d800:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10d803:	8b 53 0c             	mov    0xc(%ebx),%edx                 
  10d806:	53                   	push   %ebx                           
  10d807:	ff 75 10             	pushl  0x10(%ebp)                     
  10d80a:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10d80d:	01 c1                	add    %eax,%ecx                      
  10d80f:	51                   	push   %ecx                           
  10d810:	8b 4d a4             	mov    -0x5c(%ebp),%ecx               
  10d813:	29 c1                	sub    %eax,%ecx                      
  10d815:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10d818:	01 c8                	add    %ecx,%eax                      
  10d81a:	50                   	push   %eax                           
  10d81b:	ff 12                	call   *(%edx)                        
  10d81d:	89 c7                	mov    %eax,%edi                      
  10d81f:	83 c4 10             	add    $0x10,%esp                     
  10d822:	eb 24                	jmp    10d848 <IMFS_eval_path+0x1d0>  
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
  10d824:	83 ec 0c             	sub    $0xc,%esp                      
  10d827:	53                   	push   %ebx                           
  10d828:	e8 6b fd ff ff       	call   10d598 <IMFS_Set_handlers>     
  10d82d:	89 c7                	mov    %eax,%edi                      
  10d82f:	59                   	pop    %ecx                           
  10d830:	5e                   	pop    %esi                           
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
  10d831:	ff 75 10             	pushl  0x10(%ebp)                     
  10d834:	53                   	push   %ebx                           
  10d835:	e8 a2 fd ff ff       	call   10d5dc <IMFS_evaluate_permission>
  10d83a:	83 c4 10             	add    $0x10,%esp                     
  10d83d:	85 c0                	test   %eax,%eax                      
  10d83f:	75 07                	jne    10d848 <IMFS_eval_path+0x1d0>  
  10d841:	e9 9a fe ff ff       	jmp    10d6e0 <IMFS_eval_path+0x68>   
  10d846:	89 c7                	mov    %eax,%edi                      <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
  10d848:	89 f8                	mov    %edi,%eax                      
  10d84a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d84d:	5b                   	pop    %ebx                           
  10d84e:	5e                   	pop    %esi                           
  10d84f:	5f                   	pop    %edi                           
  10d850:	c9                   	leave                                 
  10d851:	c3                   	ret                                   
                                                                      

0010d968 <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 */ ) {
  10d968:	55                   	push   %ebp                           
  10d969:	89 e5                	mov    %esp,%ebp                      
  10d96b:	57                   	push   %edi                           
  10d96c:	56                   	push   %esi                           
  10d96d:	53                   	push   %ebx                           
  10d96e:	83 ec 5c             	sub    $0x5c,%esp                     
  10d971:	8b 55 0c             	mov    0xc(%ebp),%edx                 
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
  10d974:	8b 1a                	mov    (%edx),%ebx                    
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
  10d976:	31 c0                	xor    %eax,%eax                      
  10d978:	83 c9 ff             	or     $0xffffffff,%ecx               
  10d97b:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10d97e:	f2 ae                	repnz scas %es:(%edi),%al             
  10d980:	f7 d1                	not    %ecx                           
  10d982:	49                   	dec    %ecx                           
  10d983:	89 4d a0             	mov    %ecx,-0x60(%ebp)               
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
  int                                 i = 0;                          
  10d986:	c7 45 a4 00 00 00 00 	movl   $0x0,-0x5c(%ebp)               
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
  10d98d:	8d 7d af             	lea    -0x51(%ebp),%edi               
  10d990:	89 d6                	mov    %edx,%esi                      
  10d992:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10d995:	50                   	push   %eax                           
  10d996:	57                   	push   %edi                           
  10d997:	ff 75 a0             	pushl  -0x60(%ebp)                    
  10d99a:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10d99d:	03 45 a4             	add    -0x5c(%ebp),%eax               
  10d9a0:	50                   	push   %eax                           
  10d9a1:	e8 f6 02 00 00       	call   10dc9c <IMFS_get_token>        
  10d9a6:	89 c2                	mov    %eax,%edx                      
    pathlen -= len;                                                   
  10d9a8:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10d9ab:	29 4d a0             	sub    %ecx,-0x60(%ebp)               
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
  10d9ae:	83 c4 10             	add    $0x10,%esp                     
  10d9b1:	83 3e 00             	cmpl   $0x0,(%esi)                    
  10d9b4:	0f 84 79 01 00 00    	je     10db33 <IMFS_evaluate_for_make+0x1cb><== NEVER TAKEN
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
  10d9ba:	85 c0                	test   %eax,%eax                      
  10d9bc:	74 36                	je     10d9f4 <IMFS_evaluate_for_make+0x8c>
      if ( node->type == IMFS_DIRECTORY )                             
  10d9be:	83 7b 4c 01          	cmpl   $0x1,0x4c(%ebx)                
  10d9c2:	75 30                	jne    10d9f4 <IMFS_evaluate_for_make+0x8c>
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
  10d9c4:	53                   	push   %ebx                           
  10d9c5:	53                   	push   %ebx                           
  10d9c6:	6a 01                	push   $0x1                           
  10d9c8:	56                   	push   %esi                           
  10d9c9:	89 45 9c             	mov    %eax,-0x64(%ebp)               
  10d9cc:	89 4d 98             	mov    %ecx,-0x68(%ebp)               
  10d9cf:	e8 08 fc ff ff       	call   10d5dc <IMFS_evaluate_permission>
  10d9d4:	83 c4 10             	add    $0x10,%esp                     
  10d9d7:	85 c0                	test   %eax,%eax                      
  10d9d9:	8b 55 9c             	mov    -0x64(%ebp),%edx               
  10d9dc:	8b 4d 98             	mov    -0x68(%ebp),%ecx               
  10d9df:	75 13                	jne    10d9f4 <IMFS_evaluate_for_make+0x8c>
           rtems_set_errno_and_return_minus_one( EACCES );            
  10d9e1:	e8 56 37 00 00       	call   11113c <__errno>               
  10d9e6:	c7 00 0d 00 00 00    	movl   $0xd,(%eax)                    
  10d9ec:	83 cb ff             	or     $0xffffffff,%ebx               
  10d9ef:	e9 99 01 00 00       	jmp    10db8d <IMFS_evaluate_for_make+0x225>
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
    i +=  len;                                                        
  10d9f4:	01 4d a4             	add    %ecx,-0x5c(%ebp)               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
  10d9f7:	8b 1e                	mov    (%esi),%ebx                    
                                                                      
    switch( type ) {                                                  
  10d9f9:	83 fa 02             	cmp    $0x2,%edx                      
  10d9fc:	74 1f                	je     10da1d <IMFS_evaluate_for_make+0xb5>
  10d9fe:	77 0a                	ja     10da0a <IMFS_evaluate_for_make+0xa2>
  10da00:	85 d2                	test   %edx,%edx                      
  10da02:	0f 84 d9 00 00 00    	je     10dae1 <IMFS_evaluate_for_make+0x179>
  10da08:	eb 88                	jmp    10d992 <IMFS_evaluate_for_make+0x2a>
  10da0a:	83 fa 03             	cmp    $0x3,%edx                      
  10da0d:	74 40                	je     10da4f <IMFS_evaluate_for_make+0xe7>
  10da0f:	83 fa 04             	cmp    $0x4,%edx                      
  10da12:	0f 85 7a ff ff ff    	jne    10d992 <IMFS_evaluate_for_make+0x2a><== NEVER TAKEN
  10da18:	e9 d4 00 00 00       	jmp    10daf1 <IMFS_evaluate_for_make+0x189>
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
  10da1d:	a1 54 1f 12 00       	mov    0x121f54,%eax                  
  10da22:	3b 58 18             	cmp    0x18(%eax),%ebx                
  10da25:	0f 84 67 ff ff ff    	je     10d992 <IMFS_evaluate_for_make+0x2a>
                                                                      
	/*                                                                   
	 * Am I at the root of this mounted filesystem?                      
	 */                                                                  
                                                                      
        if (pathloc->node_access == pathloc->mt_entry->mt_fs_root.node_access){
  10da2b:	8b 46 10             	mov    0x10(%esi),%eax                
  10da2e:	3b 58 1c             	cmp    0x1c(%eax),%ebx                
  10da31:	75 0c                	jne    10da3f <IMFS_evaluate_for_make+0xd7>
  10da33:	89 f2                	mov    %esi,%edx                      
  10da35:	89 c6                	mov    %eax,%esi                      
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
  10da37:	8d 7d d0             	lea    -0x30(%ebp),%edi               
  10da3a:	83 c6 08             	add    $0x8,%esi                      
  10da3d:	eb 5a                	jmp    10da99 <IMFS_evaluate_for_make+0x131>
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
  10da3f:	8b 5b 08             	mov    0x8(%ebx),%ebx                 
  10da42:	85 db                	test   %ebx,%ebx                      
  10da44:	0f 85 90 00 00 00    	jne    10dada <IMFS_evaluate_for_make+0x172>
  10da4a:	e9 e4 00 00 00       	jmp    10db33 <IMFS_evaluate_for_make+0x1cb>
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
  10da4f:	8b 43 4c             	mov    0x4c(%ebx),%eax                
  10da52:	83 f8 03             	cmp    $0x3,%eax                      
  10da55:	74 05                	je     10da5c <IMFS_evaluate_for_make+0xf4>
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
  10da57:	83 f8 04             	cmp    $0x4,%eax                      
  10da5a:	75 16                	jne    10da72 <IMFS_evaluate_for_make+0x10a>
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
  10da5c:	50                   	push   %eax                           
  10da5d:	50                   	push   %eax                           
  10da5e:	6a 00                	push   $0x0                           
  10da60:	56                   	push   %esi                           
  10da61:	e8 7f fe ff ff       	call   10d8e5 <IMFS_evaluate_link>    
                                                                      
          if ( result == -1 )                                         
  10da66:	83 c4 10             	add    $0x10,%esp                     
  10da69:	83 f8 ff             	cmp    $0xffffffff,%eax               
  10da6c:	0f 84 19 01 00 00    	je     10db8b <IMFS_evaluate_for_make+0x223><== NEVER TAKEN
            return -1;                                                
	}                                                                    
                                                                      
        node = pathloc->node_access;                                  
  10da72:	8b 06                	mov    (%esi),%eax                    
        if ( !node )                                                  
  10da74:	85 c0                	test   %eax,%eax                      
  10da76:	0f 84 e9 00 00 00    	je     10db65 <IMFS_evaluate_for_make+0x1fd><== NEVER TAKEN
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
	 */                                                                  
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
  10da7c:	83 78 4c 01          	cmpl   $0x1,0x4c(%eax)                
  10da80:	0f 85 df 00 00 00    	jne    10db65 <IMFS_evaluate_for_make+0x1fd>
	/*                                                                   
	 * 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 ) {                   
  10da86:	8b 50 5c             	mov    0x5c(%eax),%edx                
  10da89:	85 d2                	test   %edx,%edx                      
  10da8b:	74 3b                	je     10dac8 <IMFS_evaluate_for_make+0x160>
  10da8d:	89 f0                	mov    %esi,%eax                      
  10da8f:	89 d6                	mov    %edx,%esi                      
  10da91:	89 c2                	mov    %eax,%edx                      
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
  10da93:	8d 7d d0             	lea    -0x30(%ebp),%edi               
  10da96:	83 c6 1c             	add    $0x1c,%esi                     
  10da99:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  10da9e:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
          *pathloc = newloc;                                          
  10daa0:	8d 75 d0             	lea    -0x30(%ebp),%esi               
  10daa3:	b1 05                	mov    $0x5,%cl                       
  10daa5:	89 d7                	mov    %edx,%edi                      
  10daa7:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
  10daa9:	56                   	push   %esi                           
  10daaa:	8b 42 0c             	mov    0xc(%edx),%eax                 
  10daad:	ff 75 10             	pushl  0x10(%ebp)                     
  10dab0:	52                   	push   %edx                           
  10dab1:	8b 55 a4             	mov    -0x5c(%ebp),%edx               
  10dab4:	2b 55 e4             	sub    -0x1c(%ebp),%edx               
  10dab7:	03 55 08             	add    0x8(%ebp),%edx                 
  10daba:	52                   	push   %edx                           
  10dabb:	ff 50 04             	call   *0x4(%eax)                     
  10dabe:	89 c3                	mov    %eax,%ebx                      
  10dac0:	83 c4 10             	add    $0x10,%esp                     
  10dac3:	e9 c5 00 00 00       	jmp    10db8d <IMFS_evaluate_for_make+0x225>
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
  10dac8:	53                   	push   %ebx                           
  10dac9:	53                   	push   %ebx                           
  10daca:	57                   	push   %edi                           
  10dacb:	50                   	push   %eax                           
  10dacc:	e8 53 01 00 00       	call   10dc24 <IMFS_find_match_in_dir>
  10dad1:	89 c3                	mov    %eax,%ebx                      
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
  10dad3:	83 c4 10             	add    $0x10,%esp                     
  10dad6:	85 c0                	test   %eax,%eax                      
  10dad8:	74 27                	je     10db01 <IMFS_evaluate_for_make+0x199>
          done = true;                                                
        else                                                          
          pathloc->node_access = node;                                
  10dada:	89 1e                	mov    %ebx,(%esi)                    
  10dadc:	e9 b1 fe ff ff       	jmp    10d992 <IMFS_evaluate_for_make+0x2a>
                                                                      
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
  10dae1:	e8 56 36 00 00       	call   11113c <__errno>               
  10dae6:	c7 00 11 00 00 00    	movl   $0x11,(%eax)                   
  10daec:	e9 fb fe ff ff       	jmp    10d9ec <IMFS_evaluate_for_make+0x84>
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
  10daf1:	e8 46 36 00 00       	call   11113c <__errno>               
  10daf6:	c7 00 5b 00 00 00    	movl   $0x5b,(%eax)                   
  10dafc:	e9 eb fe ff ff       	jmp    10d9ec <IMFS_evaluate_for_make+0x84>
  10db01:	89 f2                	mov    %esi,%edx                      
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
  10db03:	8b 45 a4             	mov    -0x5c(%ebp),%eax               
  10db06:	2b 45 e4             	sub    -0x1c(%ebp),%eax               
  10db09:	03 45 08             	add    0x8(%ebp),%eax                 
  10db0c:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10db0f:	89 01                	mov    %eax,(%ecx)                    
 *  pathloc is returned with a pointer to the parent of the new node. 
 *  name is returned with a pointer to the first character in the     
 *  new node name.  The parent node is verified to be a directory.    
 */                                                                   
                                                                      
int IMFS_evaluate_for_make(                                           
  10db11:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10db14:	03 5d a4             	add    -0x5c(%ebp),%ebx               
  /*                                                                  
   * 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++) {                                      
  10db17:	eb 2a                	jmp    10db43 <IMFS_evaluate_for_make+0x1db>
    if ( !IMFS_is_separator( path[ i ] ) )                            
  10db19:	83 ec 0c             	sub    $0xc,%esp                      
  10db1c:	0f be c0             	movsbl %al,%eax                       
  10db1f:	50                   	push   %eax                           
  10db20:	89 55 9c             	mov    %edx,-0x64(%ebp)               
  10db23:	e8 a8 a4 ff ff       	call   107fd0 <rtems_filesystem_is_separator>
  10db28:	43                   	inc    %ebx                           
  10db29:	83 c4 10             	add    $0x10,%esp                     
  10db2c:	85 c0                	test   %eax,%eax                      
  10db2e:	8b 55 9c             	mov    -0x64(%ebp),%edx               
  10db31:	75 10                	jne    10db43 <IMFS_evaluate_for_make+0x1db>
      rtems_set_errno_and_return_minus_one( ENOENT );                 
  10db33:	e8 04 36 00 00       	call   11113c <__errno>               
  10db38:	c7 00 02 00 00 00    	movl   $0x2,(%eax)                    
  10db3e:	e9 a9 fe ff ff       	jmp    10d9ec <IMFS_evaluate_for_make+0x84>
  /*                                                                  
   * 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++) {                                      
  10db43:	8a 03                	mov    (%ebx),%al                     
  10db45:	84 c0                	test   %al,%al                        
  10db47:	75 d0                	jne    10db19 <IMFS_evaluate_for_make+0x1b1>
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
  10db49:	83 ec 0c             	sub    $0xc,%esp                      
  10db4c:	52                   	push   %edx                           
  10db4d:	89 55 9c             	mov    %edx,-0x64(%ebp)               
  10db50:	e8 43 fa ff ff       	call   10d598 <IMFS_Set_handlers>     
  10db55:	89 c3                	mov    %eax,%ebx                      
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
  10db57:	8b 55 9c             	mov    -0x64(%ebp),%edx               
  10db5a:	8b 02                	mov    (%edx),%eax                    
  10db5c:	83 c4 10             	add    $0x10,%esp                     
  10db5f:	83 78 4c 01          	cmpl   $0x1,0x4c(%eax)                
  10db63:	74 10                	je     10db75 <IMFS_evaluate_for_make+0x20d><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  10db65:	e8 d2 35 00 00       	call   11113c <__errno>               
  10db6a:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   
  10db70:	e9 77 fe ff ff       	jmp    10d9ec <IMFS_evaluate_for_make+0x84>
                                                                      
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
  10db75:	51                   	push   %ecx                           
  10db76:	51                   	push   %ecx                           
  10db77:	6a 03                	push   $0x3                           
  10db79:	52                   	push   %edx                           
  10db7a:	e8 5d fa ff ff       	call   10d5dc <IMFS_evaluate_permission>
  10db7f:	83 c4 10             	add    $0x10,%esp                     
  10db82:	85 c0                	test   %eax,%eax                      
  10db84:	75 07                	jne    10db8d <IMFS_evaluate_for_make+0x225>
  10db86:	e9 56 fe ff ff       	jmp    10d9e1 <IMFS_evaluate_for_make+0x79>
  10db8b:	89 c3                	mov    %eax,%ebx                      <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
  10db8d:	89 d8                	mov    %ebx,%eax                      
  10db8f:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10db92:	5b                   	pop    %ebx                           
  10db93:	5e                   	pop    %esi                           
  10db94:	5f                   	pop    %edi                           
  10db95:	c9                   	leave                                 
  10db96:	c3                   	ret                                   
                                                                      

0010d622 <IMFS_evaluate_hard_link>: int IMFS_evaluate_hard_link( rtems_filesystem_location_info_t *node, /* IN/OUT */ int flags /* IN */ ) {
  10d622:	55                   	push   %ebp                           
  10d623:	89 e5                	mov    %esp,%ebp                      
  10d625:	53                   	push   %ebx                           
  10d626:	83 ec 04             	sub    $0x4,%esp                      
  10d629:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  IMFS_jnode_t                     *jnode  = node->node_access;       
  10d62c:	8b 03                	mov    (%ebx),%eax                    
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
  10d62e:	83 78 4c 03          	cmpl   $0x3,0x4c(%eax)                
  10d632:	74 0d                	je     10d641 <IMFS_evaluate_hard_link+0x1f><== ALWAYS TAKEN
    rtems_fatal_error_occurred (0xABCD0000);                          
  10d634:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10d637:	68 00 00 cd ab       	push   $0xabcd0000                    <== NOT EXECUTED
  10d63c:	e8 6b d1 ff ff       	call   10a7ac <rtems_fatal_error_occurred><== NOT EXECUTED
                                                                      
  /*                                                                  
   * Set the hard link value and the handlers.                        
   */                                                                 
                                                                      
  node->node_access = jnode->info.hard_link.link_node;                
  10d641:	8b 40 50             	mov    0x50(%eax),%eax                
  10d644:	89 03                	mov    %eax,(%ebx)                    
                                                                      
  IMFS_Set_handlers( node );                                          
  10d646:	83 ec 0c             	sub    $0xc,%esp                      
  10d649:	53                   	push   %ebx                           
  10d64a:	e8 49 ff ff ff       	call   10d598 <IMFS_Set_handlers>     
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
  10d64f:	58                   	pop    %eax                           
  10d650:	5a                   	pop    %edx                           
  10d651:	ff 75 0c             	pushl  0xc(%ebp)                      
  10d654:	53                   	push   %ebx                           
  10d655:	e8 82 ff ff ff       	call   10d5dc <IMFS_evaluate_permission>
  10d65a:	89 c2                	mov    %eax,%edx                      
  10d65c:	83 c4 10             	add    $0x10,%esp                     
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
  10d65f:	31 c0                	xor    %eax,%eax                      
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
  10d661:	85 d2                	test   %edx,%edx                      
  10d663:	75 0e                	jne    10d673 <IMFS_evaluate_hard_link+0x51><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EACCES );                   
  10d665:	e8 d2 3a 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  10d66a:	c7 00 0d 00 00 00    	movl   $0xd,(%eax)                    <== NOT EXECUTED
  10d670:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
  10d673:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10d676:	c9                   	leave                                 
  10d677:	c3                   	ret                                   
                                                                      

0010d5dc <IMFS_evaluate_permission>: int IMFS_evaluate_permission( rtems_filesystem_location_info_t *node, int flags ) {
  10d5dc:	55                   	push   %ebp                           
  10d5dd:	89 e5                	mov    %esp,%ebp                      
  10d5df:	57                   	push   %edi                           
  10d5e0:	56                   	push   %esi                           
  10d5e1:	53                   	push   %ebx                           
  10d5e2:	83 ec 0c             	sub    $0xc,%esp                      
  10d5e5:	8b 75 0c             	mov    0xc(%ebp),%esi                 
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
  10d5e8:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10d5eb:	8b 18                	mov    (%eax),%ebx                    
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
  10d5ed:	e8 fa 09 00 00       	call   10dfec <geteuid>               
  10d5f2:	89 c7                	mov    %eax,%edi                      
  st_gid = getegid();                                                 
  10d5f4:	e8 e3 09 00 00       	call   10dfdc <getegid>               
   * Check if I am owner or a group member or someone else.           
   */                                                                 
                                                                      
  flags_to_test = flags;                                              
                                                                      
  if ( st_uid == jnode->st_uid )                                      
  10d5f9:	66 3b 7b 3c          	cmp    0x3c(%ebx),%di                 
  10d5fd:	75 05                	jne    10d604 <IMFS_evaluate_permission+0x28>
    flags_to_test <<= 6;                                              
  10d5ff:	c1 e6 06             	shl    $0x6,%esi                      
  10d602:	eb 09                	jmp    10d60d <IMFS_evaluate_permission+0x31>
  else if ( st_gid == jnode->st_gid )                                 
  10d604:	66 3b 43 3e          	cmp    0x3e(%ebx),%ax                 
  10d608:	75 03                	jne    10d60d <IMFS_evaluate_permission+0x31><== NEVER TAKEN
    flags_to_test <<= 3;                                              
  10d60a:	c1 e6 03             	shl    $0x3,%esi                      
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
  10d60d:	8b 43 30             	mov    0x30(%ebx),%eax                
  10d610:	21 f0                	and    %esi,%eax                      
    return 1;                                                         
                                                                      
  return 0;                                                           
  10d612:	39 f0                	cmp    %esi,%eax                      
  10d614:	0f 94 c0             	sete   %al                            
  10d617:	0f b6 c0             	movzbl %al,%eax                       
}                                                                     
  10d61a:	83 c4 0c             	add    $0xc,%esp                      
  10d61d:	5b                   	pop    %ebx                           
  10d61e:	5e                   	pop    %esi                           
  10d61f:	5f                   	pop    %edi                           
  10d620:	c9                   	leave                                 
  10d621:	c3                   	ret                                   
                                                                      

0010d852 <IMFS_evaluate_sym_link>: int IMFS_evaluate_sym_link( rtems_filesystem_location_info_t *node, /* IN/OUT */ int flags /* IN */ ) {
  10d852:	55                   	push   %ebp                           
  10d853:	89 e5                	mov    %esp,%ebp                      
  10d855:	57                   	push   %edi                           
  10d856:	56                   	push   %esi                           
  10d857:	53                   	push   %ebx                           
  10d858:	83 ec 1c             	sub    $0x1c,%esp                     
  10d85b:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10d85e:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  IMFS_jnode_t                     *jnode  = node->node_access;       
  10d861:	8b 3b                	mov    (%ebx),%edi                    
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
  10d863:	83 7f 4c 04          	cmpl   $0x4,0x4c(%edi)                
  10d867:	74 0a                	je     10d873 <IMFS_evaluate_sym_link+0x21><== ALWAYS TAKEN
    rtems_fatal_error_occurred (0xABCD0000);                          
  10d869:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10d86c:	68 00 00 cd ab       	push   $0xabcd0000                    <== NOT EXECUTED
  10d871:	eb 0f                	jmp    10d882 <IMFS_evaluate_sym_link+0x30><== NOT EXECUTED
                                                                      
  if ( !jnode->Parent )                                               
  10d873:	8b 47 08             	mov    0x8(%edi),%eax                 
  10d876:	85 c0                	test   %eax,%eax                      
  10d878:	75 0d                	jne    10d887 <IMFS_evaluate_sym_link+0x35><== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0xBAD00000 );                         
  10d87a:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10d87d:	68 00 00 d0 ba       	push   $0xbad00000                    <== NOT EXECUTED
  10d882:	e8 25 cf ff ff       	call   10a7ac <rtems_fatal_error_occurred><== NOT EXECUTED
  /*                                                                  
   * Move the node_access to either the symbolic links parent or      
   * root depending on the symbolic links path.                       
   */                                                                 
                                                                      
  node->node_access = jnode->Parent;                                  
  10d887:	89 03                	mov    %eax,(%ebx)                    
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
  10d889:	51                   	push   %ecx                           
  10d88a:	53                   	push   %ebx                           
  10d88b:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10d88e:	50                   	push   %eax                           
  10d88f:	ff 77 50             	pushl  0x50(%edi)                     
  10d892:	e8 65 0b 00 00       	call   10e3fc <rtems_filesystem_get_sym_start_loc>
                                                                      
  /*                                                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
  10d897:	8b 57 50             	mov    0x50(%edi),%edx                
  10d89a:	03 55 e4             	add    -0x1c(%ebp),%edx               
  10d89d:	31 c0                	xor    %eax,%eax                      
  10d89f:	83 c9 ff             	or     $0xffffffff,%ecx               
  10d8a2:	89 d7                	mov    %edx,%edi                      
  10d8a4:	f2 ae                	repnz scas %es:(%edi),%al             
  10d8a6:	f7 d1                	not    %ecx                           
  10d8a8:	49                   	dec    %ecx                           
  10d8a9:	53                   	push   %ebx                           
  10d8aa:	56                   	push   %esi                           
  10d8ab:	51                   	push   %ecx                           
  10d8ac:	52                   	push   %edx                           
  10d8ad:	e8 c6 fd ff ff       	call   10d678 <IMFS_eval_path>        
  10d8b2:	89 c7                	mov    %eax,%edi                      
    strlen( &jnode->info.sym_link.name[i] ),                          
    flags,                                                            
    node                                                              
  );                                                                  
                                                                      
  IMFS_Set_handlers( node );                                          
  10d8b4:	83 c4 14             	add    $0x14,%esp                     
  10d8b7:	53                   	push   %ebx                           
  10d8b8:	e8 db fc ff ff       	call   10d598 <IMFS_Set_handlers>     
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
  10d8bd:	58                   	pop    %eax                           
  10d8be:	5a                   	pop    %edx                           
  10d8bf:	56                   	push   %esi                           
  10d8c0:	53                   	push   %ebx                           
  10d8c1:	e8 16 fd ff ff       	call   10d5dc <IMFS_evaluate_permission>
  10d8c6:	83 c4 10             	add    $0x10,%esp                     
  10d8c9:	85 c0                	test   %eax,%eax                      
  10d8cb:	75 0e                	jne    10d8db <IMFS_evaluate_sym_link+0x89><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EACCES );                   
  10d8cd:	e8 6a 38 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  10d8d2:	c7 00 0d 00 00 00    	movl   $0xd,(%eax)                    <== NOT EXECUTED
  10d8d8:	83 cf ff             	or     $0xffffffff,%edi               <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
  10d8db:	89 f8                	mov    %edi,%eax                      
  10d8dd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d8e0:	5b                   	pop    %ebx                           
  10d8e1:	5e                   	pop    %esi                           
  10d8e2:	5f                   	pop    %edi                           
  10d8e3:	c9                   	leave                                 
  10d8e4:	c3                   	ret                                   
                                                                      

0011095c <IMFS_fchmod>: int IMFS_fchmod( rtems_filesystem_location_info_t *loc, mode_t mode ) {
  11095c:	55                   	push   %ebp                           
  11095d:	89 e5                	mov    %esp,%ebp                      
  11095f:	53                   	push   %ebx                           
  110960:	83 ec 14             	sub    $0x14,%esp                     
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = loc->node_access;                                           
  110963:	8b 45 08             	mov    0x8(%ebp),%eax                 
  110966:	8b 18                	mov    (%eax),%ebx                    
                                                                      
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
  110968:	e8 7f d6 ff ff       	call   10dfec <geteuid>               
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
  11096d:	66 85 c0             	test   %ax,%ax                        
  110970:	74 16                	je     110988 <IMFS_fchmod+0x2c>      <== ALWAYS TAKEN
  110972:	66 3b 43 3c          	cmp    0x3c(%ebx),%ax                 <== NOT EXECUTED
  110976:	74 10                	je     110988 <IMFS_fchmod+0x2c>      <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EPERM );                    
  110978:	e8 bf 07 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  11097d:	c7 00 01 00 00 00    	movl   $0x1,(%eax)                    <== NOT EXECUTED
  110983:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  110986:	eb 2e                	jmp    1109b6 <IMFS_fchmod+0x5a>      <== 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);
  110988:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  11098b:	25 ff 0f 00 00       	and    $0xfff,%eax                    
                                                                      
  /*                                                                  
   * 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);
  110990:	8b 53 30             	mov    0x30(%ebx),%edx                
  110993:	81 e2 00 f0 ff ff    	and    $0xfffff000,%edx               
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
  110999:	09 d0                	or     %edx,%eax                      
  11099b:	89 43 30             	mov    %eax,0x30(%ebx)                
                                                                      
  IMFS_update_ctime( jnode );                                         
  11099e:	50                   	push   %eax                           
  11099f:	50                   	push   %eax                           
  1109a0:	6a 00                	push   $0x0                           
  1109a2:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  1109a5:	50                   	push   %eax                           
  1109a6:	e8 d9 69 ff ff       	call   107384 <gettimeofday>          
  1109ab:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  1109ae:	89 43 48             	mov    %eax,0x48(%ebx)                
                                                                      
  return 0;                                                           
  1109b1:	83 c4 10             	add    $0x10,%esp                     
  1109b4:	31 c0                	xor    %eax,%eax                      
}                                                                     
  1109b6:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1109b9:	c9                   	leave                                 
  1109ba:	c3                   	ret                                   
                                                                      

001078f3 <IMFS_fifo_close>: } int IMFS_fifo_close( rtems_libio_t *iop ) {
  1078f3:	55                   	push   %ebp                           
  1078f4:	89 e5                	mov    %esp,%ebp                      
  1078f6:	57                   	push   %edi                           
  1078f7:	56                   	push   %esi                           
  1078f8:	53                   	push   %ebx                           
  1078f9:	83 ec 14             	sub    $0x14,%esp                     
  1078fc:	8b 75 08             	mov    0x8(%ebp),%esi                 
  IMFS_jnode_t *jnode = iop->file_info;                               
  1078ff:	8b 7e 38             	mov    0x38(%esi),%edi                
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
  107902:	56                   	push   %esi                           
  107903:	8d 47 50             	lea    0x50(%edi),%eax                
  107906:	50                   	push   %eax                           
  107907:	e8 d9 7f 00 00       	call   10f8e5 <pipe_release>          
  10790c:	89 c3                	mov    %eax,%ebx                      
                                                                      
  if (err == 0) {                                                     
  10790e:	83 c4 10             	add    $0x10,%esp                     
  107911:	83 f8 00             	cmp    $0x0,%eax                      
  107914:	75 15                	jne    10792b <IMFS_fifo_close+0x38>  <== NEVER TAKEN
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
  107916:	81 66 14 ff fe ff ff 	andl   $0xfffffeff,0x14(%esi)         
    IMFS_check_node_remove(jnode);                                    
  10791d:	83 ec 0c             	sub    $0xc,%esp                      
  107920:	57                   	push   %edi                           
  107921:	e8 54 05 00 00       	call   107e7a <IMFS_check_node_remove>
  107926:	83 c4 10             	add    $0x10,%esp                     
  107929:	eb 0e                	jmp    107939 <IMFS_fifo_close+0x46>  
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
  10792b:	7d 0c                	jge    107939 <IMFS_fifo_close+0x46>  <== NOT EXECUTED
  10792d:	e8 fe b2 00 00       	call   112c30 <__errno>               <== NOT EXECUTED
  107932:	f7 db                	neg    %ebx                           <== NOT EXECUTED
  107934:	89 18                	mov    %ebx,(%eax)                    <== NOT EXECUTED
  107936:	83 cb ff             	or     $0xffffffff,%ebx               <== NOT EXECUTED
}                                                                     
  107939:	89 d8                	mov    %ebx,%eax                      
  10793b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10793e:	5b                   	pop    %ebx                           
  10793f:	5e                   	pop    %esi                           
  107940:	5f                   	pop    %edi                           
  107941:	c9                   	leave                                 
  107942:	c3                   	ret                                   
                                                                      

001077e4 <IMFS_fifo_ioctl>: int IMFS_fifo_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
  1077e4:	55                   	push   %ebp                           <== NOT EXECUTED
  1077e5:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  1077e7:	53                   	push   %ebx                           <== NOT EXECUTED
  1077e8:	83 ec 04             	sub    $0x4,%esp                      <== NOT EXECUTED
  1077eb:	8b 45 08             	mov    0x8(%ebp),%eax                 <== NOT EXECUTED
  1077ee:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 <== NOT EXECUTED
  1077f1:	8b 55 10             	mov    0x10(%ebp),%edx                <== NOT EXECUTED
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
  1077f4:	81 f9 7e 66 04 80    	cmp    $0x8004667e,%ecx               <== NOT EXECUTED
  1077fa:	75 17                	jne    107813 <IMFS_fifo_ioctl+0x2f>  <== NOT EXECUTED
    if (buffer == NULL)                                               
  1077fc:	85 d2                	test   %edx,%edx                      <== NOT EXECUTED
  1077fe:	74 2c                	je     10782c <IMFS_fifo_ioctl+0x48>  <== NOT EXECUTED
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
  107800:	83 3a 00             	cmpl   $0x0,(%edx)                    <== NOT EXECUTED
  107803:	74 06                	je     10780b <IMFS_fifo_ioctl+0x27>  <== NOT EXECUTED
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
  107805:	83 48 14 01          	orl    $0x1,0x14(%eax)                <== NOT EXECUTED
  107809:	eb 04                	jmp    10780f <IMFS_fifo_ioctl+0x2b>  <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
  10780b:	83 60 14 fe          	andl   $0xfffffffe,0x14(%eax)         <== NOT EXECUTED
      return 0;                                                       
  10780f:	31 db                	xor    %ebx,%ebx                      <== NOT EXECUTED
  107811:	eb 2a                	jmp    10783d <IMFS_fifo_ioctl+0x59>  <== NOT EXECUTED
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
  107813:	50                   	push   %eax                           <== NOT EXECUTED
  107814:	52                   	push   %edx                           <== NOT EXECUTED
  107815:	51                   	push   %ecx                           <== NOT EXECUTED
  107816:	8b 40 38             	mov    0x38(%eax),%eax                <== NOT EXECUTED
  107819:	ff 70 50             	pushl  0x50(%eax)                     <== NOT EXECUTED
  10781c:	e8 f5 87 00 00       	call   110016 <pipe_ioctl>            <== NOT EXECUTED
  107821:	89 c3                	mov    %eax,%ebx                      <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
  107823:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  107826:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  107828:	79 13                	jns    10783d <IMFS_fifo_ioctl+0x59>  <== NOT EXECUTED
  10782a:	eb 05                	jmp    107831 <IMFS_fifo_ioctl+0x4d>  <== NOT EXECUTED
{                                                                     
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
    if (buffer == NULL)                                               
      err = -EFAULT;                                                  
  10782c:	bb f2 ff ff ff       	mov    $0xfffffff2,%ebx               <== NOT EXECUTED
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
                                                                      
  IMFS_FIFO_RETURN(err);                                              
  107831:	e8 fa b3 00 00       	call   112c30 <__errno>               <== NOT EXECUTED
  107836:	f7 db                	neg    %ebx                           <== NOT EXECUTED
  107838:	89 18                	mov    %ebx,(%eax)                    <== NOT EXECUTED
  10783a:	83 cb ff             	or     $0xffffffff,%ebx               <== NOT EXECUTED
}                                                                     
  10783d:	89 d8                	mov    %ebx,%eax                      <== NOT EXECUTED
  10783f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  107842:	c9                   	leave                                 <== NOT EXECUTED
  107843:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

001077a8 <IMFS_fifo_lseek>: rtems_off64_t IMFS_fifo_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
  1077a8:	55                   	push   %ebp                           <== NOT EXECUTED
  1077a9:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  1077ab:	53                   	push   %ebx                           <== NOT EXECUTED
  1077ac:	83 ec 10             	sub    $0x10,%esp                     <== NOT EXECUTED
  1077af:	8b 45 08             	mov    0x8(%ebp),%eax                 <== NOT EXECUTED
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
  1077b2:	50                   	push   %eax                           <== NOT EXECUTED
  1077b3:	ff 75 14             	pushl  0x14(%ebp)                     <== NOT EXECUTED
  1077b6:	ff 75 10             	pushl  0x10(%ebp)                     <== NOT EXECUTED
  1077b9:	ff 75 0c             	pushl  0xc(%ebp)                      <== NOT EXECUTED
  1077bc:	8b 40 38             	mov    0x38(%eax),%eax                <== NOT EXECUTED
  1077bf:	ff 70 50             	pushl  0x50(%eax)                     <== NOT EXECUTED
  1077c2:	e8 a5 88 00 00       	call   11006c <pipe_lseek>            <== NOT EXECUTED
  1077c7:	89 c3                	mov    %eax,%ebx                      <== NOT EXECUTED
  1077c9:	99                   	cltd                                  <== NOT EXECUTED
  IMFS_FIFO_RETURN(err);                                              
  1077ca:	83 c4 20             	add    $0x20,%esp                     <== NOT EXECUTED
  1077cd:	85 d2                	test   %edx,%edx                      <== NOT EXECUTED
  1077cf:	79 0e                	jns    1077df <IMFS_fifo_lseek+0x37>  <== NOT EXECUTED
  1077d1:	e8 5a b4 00 00       	call   112c30 <__errno>               <== NOT EXECUTED
  1077d6:	f7 db                	neg    %ebx                           <== NOT EXECUTED
  1077d8:	89 18                	mov    %ebx,(%eax)                    <== NOT EXECUTED
  1077da:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  1077dd:	89 c2                	mov    %eax,%edx                      <== NOT EXECUTED
}                                                                     
  1077df:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  1077e2:	c9                   	leave                                 <== NOT EXECUTED
  1077e3:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010789d <IMFS_fifo_read>: ssize_t IMFS_fifo_read( rtems_libio_t *iop, void *buffer, size_t count ) {
  10789d:	55                   	push   %ebp                           
  10789e:	89 e5                	mov    %esp,%ebp                      
  1078a0:	56                   	push   %esi                           
  1078a1:	53                   	push   %ebx                           
  1078a2:	83 ec 10             	sub    $0x10,%esp                     
  1078a5:	8b 45 08             	mov    0x8(%ebp),%eax                 
  IMFS_jnode_t *jnode = iop->file_info;                               
  1078a8:	8b 70 38             	mov    0x38(%eax),%esi                
                                                                      
  int err = pipe_read(JNODE2PIPE(jnode), buffer, count, iop);         
  1078ab:	50                   	push   %eax                           
  1078ac:	ff 75 10             	pushl  0x10(%ebp)                     
  1078af:	ff 75 0c             	pushl  0xc(%ebp)                      
  1078b2:	ff 76 50             	pushl  0x50(%esi)                     
  1078b5:	e8 42 84 00 00       	call   10fcfc <pipe_read>             
  1078ba:	89 c3                	mov    %eax,%ebx                      
  if (err > 0)                                                        
  1078bc:	83 c4 10             	add    $0x10,%esp                     
  1078bf:	83 f8 00             	cmp    $0x0,%eax                      
  1078c2:	7e 18                	jle    1078dc <IMFS_fifo_read+0x3f>   <== NEVER TAKEN
    IMFS_update_atime(jnode);                                         
  1078c4:	52                   	push   %edx                           
  1078c5:	52                   	push   %edx                           
  1078c6:	6a 00                	push   $0x0                           
  1078c8:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  1078cb:	50                   	push   %eax                           
  1078cc:	e8 13 0f 00 00       	call   1087e4 <gettimeofday>          
  1078d1:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  1078d4:	89 46 40             	mov    %eax,0x40(%esi)                
  1078d7:	83 c4 10             	add    $0x10,%esp                     
  1078da:	eb 0e                	jmp    1078ea <IMFS_fifo_read+0x4d>   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
  1078dc:	74 0c                	je     1078ea <IMFS_fifo_read+0x4d>   <== NOT EXECUTED
  1078de:	e8 4d b3 00 00       	call   112c30 <__errno>               <== NOT EXECUTED
  1078e3:	f7 db                	neg    %ebx                           <== NOT EXECUTED
  1078e5:	89 18                	mov    %ebx,(%eax)                    <== NOT EXECUTED
  1078e7:	83 cb ff             	or     $0xffffffff,%ebx               <== NOT EXECUTED
}                                                                     
  1078ea:	89 d8                	mov    %ebx,%eax                      
  1078ec:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1078ef:	5b                   	pop    %ebx                           
  1078f0:	5e                   	pop    %esi                           
  1078f1:	c9                   	leave                                 
  1078f2:	c3                   	ret                                   
                                                                      

00107844 <IMFS_fifo_write>: ssize_t IMFS_fifo_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
  107844:	55                   	push   %ebp                           
  107845:	89 e5                	mov    %esp,%ebp                      
  107847:	56                   	push   %esi                           
  107848:	53                   	push   %ebx                           
  107849:	83 ec 10             	sub    $0x10,%esp                     
  10784c:	8b 45 08             	mov    0x8(%ebp),%eax                 
  IMFS_jnode_t *jnode = iop->file_info;                               
  10784f:	8b 70 38             	mov    0x38(%eax),%esi                
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
  107852:	50                   	push   %eax                           
  107853:	ff 75 10             	pushl  0x10(%ebp)                     
  107856:	ff 75 0c             	pushl  0xc(%ebp)                      
  107859:	ff 76 50             	pushl  0x50(%esi)                     
  10785c:	e8 ff 85 00 00       	call   10fe60 <pipe_write>            
  107861:	89 c3                	mov    %eax,%ebx                      
  if (err > 0) {                                                      
  107863:	83 c4 10             	add    $0x10,%esp                     
  107866:	83 f8 00             	cmp    $0x0,%eax                      
  107869:	7e 1b                	jle    107886 <IMFS_fifo_write+0x42>  <== NEVER TAKEN
    IMFS_mtime_ctime_update(jnode);                                   
  10786b:	50                   	push   %eax                           
  10786c:	50                   	push   %eax                           
  10786d:	6a 00                	push   $0x0                           
  10786f:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  107872:	50                   	push   %eax                           
  107873:	e8 6c 0f 00 00       	call   1087e4 <gettimeofday>          
  107878:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  10787b:	89 46 44             	mov    %eax,0x44(%esi)                
  10787e:	89 46 48             	mov    %eax,0x48(%esi)                
  107881:	83 c4 10             	add    $0x10,%esp                     
  107884:	eb 0e                	jmp    107894 <IMFS_fifo_write+0x50>  
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
  107886:	74 0c                	je     107894 <IMFS_fifo_write+0x50>  <== NOT EXECUTED
  107888:	e8 a3 b3 00 00       	call   112c30 <__errno>               <== NOT EXECUTED
  10788d:	f7 db                	neg    %ebx                           <== NOT EXECUTED
  10788f:	89 18                	mov    %ebx,(%eax)                    <== NOT EXECUTED
  107891:	83 cb ff             	or     $0xffffffff,%ebx               <== NOT EXECUTED
}                                                                     
  107894:	89 d8                	mov    %ebx,%eax                      
  107896:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  107899:	5b                   	pop    %ebx                           
  10789a:	5e                   	pop    %esi                           
  10789b:	c9                   	leave                                 
  10789c:	c3                   	ret                                   
                                                                      

0010dc24 <IMFS_find_match_in_dir>: IMFS_jnode_t *IMFS_find_match_in_dir( IMFS_jnode_t *directory, char *name ) {
  10dc24:	55                   	push   %ebp                           
  10dc25:	89 e5                	mov    %esp,%ebp                      
  10dc27:	57                   	push   %edi                           
  10dc28:	56                   	push   %esi                           
  10dc29:	53                   	push   %ebx                           
  10dc2a:	83 ec 0c             	sub    $0xc,%esp                      
  10dc2d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10dc30:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
                                                                      
  #if defined(RTEMS_DEBUG)                                            
    assert( directory );                                              
    assert( name );                                                   
  #endif                                                              
  if ( !name )                                                        
  10dc33:	85 ff                	test   %edi,%edi                      
  10dc35:	74 52                	je     10dc89 <IMFS_find_match_in_dir+0x65><== NEVER TAKEN
    return 0;                                                         
                                                                      
  if ( !directory )                                                   
  10dc37:	85 db                	test   %ebx,%ebx                      
  10dc39:	74 54                	je     10dc8f <IMFS_find_match_in_dir+0x6b><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
  10dc3b:	56                   	push   %esi                           
  10dc3c:	56                   	push   %esi                           
  10dc3d:	68 9c ec 11 00       	push   $0x11ec9c                      
  10dc42:	57                   	push   %edi                           
  10dc43:	e8 b8 40 00 00       	call   111d00 <strcmp>                
  10dc48:	83 c4 10             	add    $0x10,%esp                     
  10dc4b:	85 c0                	test   %eax,%eax                      
  10dc4d:	74 40                	je     10dc8f <IMFS_find_match_in_dir+0x6b><== NEVER TAKEN
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
  10dc4f:	51                   	push   %ecx                           
  10dc50:	51                   	push   %ecx                           
  10dc51:	68 9e ec 11 00       	push   $0x11ec9e                      
  10dc56:	57                   	push   %edi                           
  10dc57:	e8 a4 40 00 00       	call   111d00 <strcmp>                
  10dc5c:	83 c4 10             	add    $0x10,%esp                     
  10dc5f:	85 c0                	test   %eax,%eax                      
  10dc61:	75 05                	jne    10dc68 <IMFS_find_match_in_dir+0x44><== ALWAYS TAKEN
    return directory->Parent;                                         
  10dc63:	8b 5b 08             	mov    0x8(%ebx),%ebx                 <== NOT EXECUTED
  10dc66:	eb 27                	jmp    10dc8f <IMFS_find_match_in_dir+0x6b><== NOT EXECUTED
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
  10dc68:	8b 73 50             	mov    0x50(%ebx),%esi                
  10dc6b:	83 c3 54             	add    $0x54,%ebx                     
  10dc6e:	eb 15                	jmp    10dc85 <IMFS_find_match_in_dir+0x61>
        !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 ) )                           
  10dc70:	8d 46 0c             	lea    0xc(%esi),%eax                 
  10dc73:	52                   	push   %edx                           
  10dc74:	52                   	push   %edx                           
  10dc75:	50                   	push   %eax                           
  10dc76:	57                   	push   %edi                           
  10dc77:	e8 84 40 00 00       	call   111d00 <strcmp>                
  10dc7c:	83 c4 10             	add    $0x10,%esp                     
  10dc7f:	85 c0                	test   %eax,%eax                      
  10dc81:	74 0a                	je     10dc8d <IMFS_find_match_in_dir+0x69>
                                                                      
  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 ) {                                 
  10dc83:	8b 36                	mov    (%esi),%esi                    
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
  10dc85:	39 de                	cmp    %ebx,%esi                      
  10dc87:	75 e7                	jne    10dc70 <IMFS_find_match_in_dir+0x4c>
  #if defined(RTEMS_DEBUG)                                            
    assert( directory );                                              
    assert( name );                                                   
  #endif                                                              
  if ( !name )                                                        
    return 0;                                                         
  10dc89:	31 db                	xor    %ebx,%ebx                      
  10dc8b:	eb 02                	jmp    10dc8f <IMFS_find_match_in_dir+0x6b>
                                                                      
  for ( the_node = the_chain->first;                                  
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
  10dc8d:	89 f3                	mov    %esi,%ebx                      
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
  10dc8f:	89 d8                	mov    %ebx,%eax                      
  10dc91:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10dc94:	5b                   	pop    %ebx                           
  10dc95:	5e                   	pop    %esi                           
  10dc96:	5f                   	pop    %edi                           
  10dc97:	c9                   	leave                                 
  10dc98:	c3                   	ret                                   
                                                                      

0010dba0 <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 ) {
  10dba0:	55                   	push   %ebp                           
  10dba1:	89 e5                	mov    %esp,%ebp                      
  10dba3:	57                   	push   %edi                           
  10dba4:	56                   	push   %esi                           
  10dba5:	53                   	push   %ebx                           
  10dba6:	83 ec 2c             	sub    $0x2c,%esp                     
  10dba9:	8b 45 08             	mov    0x8(%ebp),%eax                 
   /*                                                                 
    * 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;     
  10dbac:	8b 58 1c             	mov    0x1c(%eax),%ebx                
   loc = temp_mt_entry->mt_fs_root;                                   
  10dbaf:	8d 7d d4             	lea    -0x2c(%ebp),%edi               
  10dbb2:	8d 70 1c             	lea    0x1c(%eax),%esi                
  10dbb5:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  10dbba:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
  10dbbc:	c7 40 1c 00 00 00 00 	movl   $0x0,0x1c(%eax)                
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
  10dbc3:	8d 75 d4             	lea    -0x2c(%ebp),%esi               
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
  10dbc6:	8b 7b 08             	mov    0x8(%ebx),%edi                 
     loc.node_access = (void *)jnode;                                 
  10dbc9:	89 5d d4             	mov    %ebx,-0x2c(%ebp)               
     IMFS_Set_handlers( &loc );                                       
  10dbcc:	83 ec 0c             	sub    $0xc,%esp                      
  10dbcf:	56                   	push   %esi                           
  10dbd0:	e8 c3 f9 ff ff       	call   10d598 <IMFS_Set_handlers>     
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
  10dbd5:	83 c4 10             	add    $0x10,%esp                     
  10dbd8:	83 7b 4c 01          	cmpl   $0x1,0x4c(%ebx)                
  10dbdc:	75 08                	jne    10dbe6 <IMFS_fsunmount+0x46>   
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10dbde:	8d 43 54             	lea    0x54(%ebx),%eax                
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
  10dbe1:	39 43 50             	cmp    %eax,0x50(%ebx)                
  10dbe4:	75 13                	jne    10dbf9 <IMFS_fsunmount+0x59>   
        result = IMFS_unlink( NULL, &loc );                           
  10dbe6:	50                   	push   %eax                           
  10dbe7:	50                   	push   %eax                           
  10dbe8:	56                   	push   %esi                           
  10dbe9:	6a 00                	push   $0x0                           
  10dbeb:	e8 40 92 ff ff       	call   106e30 <IMFS_unlink>           
        if (result != 0)                                              
  10dbf0:	83 c4 10             	add    $0x10,%esp                     
  10dbf3:	85 c0                	test   %eax,%eax                      
  10dbf5:	75 1d                	jne    10dc14 <IMFS_fsunmount+0x74>   <== NEVER TAKEN
          return -1;                                                  
        jnode = next;                                                 
  10dbf7:	89 fb                	mov    %edi,%ebx                      
     }                                                                
     if ( jnode != NULL ) {                                           
  10dbf9:	85 db                	test   %ebx,%ebx                      
  10dbfb:	74 1c                	je     10dc19 <IMFS_fsunmount+0x79>   
       if ( jnode->type == IMFS_DIRECTORY ) {                         
  10dbfd:	83 7b 4c 01          	cmpl   $0x1,0x4c(%ebx)                
  10dc01:	75 c3                	jne    10dbc6 <IMFS_fsunmount+0x26>   <== NEVER TAKEN
  10dc03:	8d 43 54             	lea    0x54(%ebx),%eax                
         if ( jnode_has_children( jnode ) )                           
  10dc06:	39 43 50             	cmp    %eax,0x50(%ebx)                
  10dc09:	74 bb                	je     10dbc6 <IMFS_fsunmount+0x26>   
           jnode = jnode_get_first_child( jnode );                    
  10dc0b:	8b 5b 50             	mov    0x50(%ebx),%ebx                
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
  10dc0e:	85 db                	test   %ebx,%ebx                      
  10dc10:	75 b4                	jne    10dbc6 <IMFS_fsunmount+0x26>   <== ALWAYS TAKEN
  10dc12:	eb 05                	jmp    10dc19 <IMFS_fsunmount+0x79>   <== NOT EXECUTED
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
  10dc14:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  10dc17:	eb 02                	jmp    10dc1b <IMFS_fsunmount+0x7b>   <== NOT EXECUTED
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
                                                                      
   return 0;                                                          
  10dc19:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10dc1b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10dc1e:	5b                   	pop    %ebx                           
  10dc1f:	5e                   	pop    %esi                           
  10dc20:	5f                   	pop    %edi                           
  10dc21:	c9                   	leave                                 
  10dc22:	c3                   	ret                                   
                                                                      

0010dc9c <IMFS_get_token>: const char *path, int pathlen, char *token, int *token_len ) {
  10dc9c:	55                   	push   %ebp                           
  10dc9d:	89 e5                	mov    %esp,%ebp                      
  10dc9f:	57                   	push   %edi                           
  10dca0:	56                   	push   %esi                           
  10dca1:	53                   	push   %ebx                           
  10dca2:	83 ec 1c             	sub    $0x1c,%esp                     
  10dca5:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10dca8:	8b 75 10             	mov    0x10(%ebp),%esi                
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  10dcab:	8a 17                	mov    (%edi),%dl                     
  int               pathlen,                                          
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
  register int i = 0;                                                 
  10dcad:	31 db                	xor    %ebx,%ebx                      
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
  10dcaf:	eb 10                	jmp    10dcc1 <IMFS_get_token+0x25>   
                                                                      
     token[i] = c;                                                    
  10dcb1:	88 14 1e             	mov    %dl,(%esi,%ebx,1)              
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
  10dcb4:	83 fb 20             	cmp    $0x20,%ebx                     
  10dcb7:	0f 84 86 00 00 00    	je     10dd43 <IMFS_get_token+0xa7>   
       return IMFS_INVALID_TOKEN;                                     
                                                                      
     if ( !IMFS_is_valid_name_char(c) )                               
       type = IMFS_INVALID_TOKEN;                                     
                                                                      
     c = path [++i];                                                  
  10dcbd:	43                   	inc    %ebx                           
  10dcbe:	8a 14 1f             	mov    (%edi,%ebx,1),%dl              
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
  10dcc1:	83 ec 0c             	sub    $0xc,%esp                      
  10dcc4:	0f be c2             	movsbl %dl,%eax                       
  10dcc7:	50                   	push   %eax                           
  10dcc8:	88 55 e4             	mov    %dl,-0x1c(%ebp)                
  10dccb:	e8 00 a3 ff ff       	call   107fd0 <rtems_filesystem_is_separator>
  10dcd0:	83 c4 10             	add    $0x10,%esp                     
  10dcd3:	85 c0                	test   %eax,%eax                      
  10dcd5:	8a 55 e4             	mov    -0x1c(%ebp),%dl                
  10dcd8:	75 05                	jne    10dcdf <IMFS_get_token+0x43>   
  10dcda:	3b 5d 0c             	cmp    0xc(%ebp),%ebx                 
  10dcdd:	7c d2                	jl     10dcb1 <IMFS_get_token+0x15>   <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
  10dcdf:	85 db                	test   %ebx,%ebx                      
  10dce1:	75 10                	jne    10dcf3 <IMFS_get_token+0x57>   
    token[i] = c;                                                     
  10dce3:	88 16                	mov    %dl,(%esi)                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
  10dce5:	84 d2                	test   %dl,%dl                        
  10dce7:	74 06                	je     10dcef <IMFS_get_token+0x53>   
  10dce9:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)                 
  10dced:	75 16                	jne    10dd05 <IMFS_get_token+0x69>   
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
  10dcef:	31 ff                	xor    %edi,%edi                      
  10dcf1:	eb 1c                	jmp    10dd0f <IMFS_get_token+0x73>   
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
  register int i = 0;                                                 
  IMFS_token_types  type = IMFS_NAME;                                 
  10dcf3:	bf 03 00 00 00       	mov    $0x3,%edi                      
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
    }                                                                 
  } else if (token[ i-1 ] != '\0') {                                  
  10dcf8:	80 7c 1e ff 00       	cmpb   $0x0,-0x1(%esi,%ebx,1)         
  10dcfd:	74 10                	je     10dd0f <IMFS_get_token+0x73>   <== NEVER TAKEN
    token[i] = '\0';                                                  
  10dcff:	c6 04 1e 00          	movb   $0x0,(%esi,%ebx,1)             
  10dd03:	eb 0a                	jmp    10dd0f <IMFS_get_token+0x73>   
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
  10dd05:	bf 01 00 00 00       	mov    $0x1,%edi                      
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
  10dd0a:	bb 01 00 00 00       	mov    $0x1,%ebx                      
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
  10dd0f:	8b 45 14             	mov    0x14(%ebp),%eax                
  10dd12:	89 18                	mov    %ebx,(%eax)                    
  /*                                                                  
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
  10dd14:	83 ff 03             	cmp    $0x3,%edi                      
  10dd17:	75 3d                	jne    10dd56 <IMFS_get_token+0xba>   
    if ( strcmp( token, "..") == 0 )                                  
  10dd19:	52                   	push   %edx                           
  10dd1a:	52                   	push   %edx                           
  10dd1b:	68 a1 ec 11 00       	push   $0x11eca1                      
  10dd20:	56                   	push   %esi                           
  10dd21:	e8 da 3f 00 00       	call   111d00 <strcmp>                
  10dd26:	83 c4 10             	add    $0x10,%esp                     
  10dd29:	85 c0                	test   %eax,%eax                      
  10dd2b:	74 1d                	je     10dd4a <IMFS_get_token+0xae>   
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
  10dd2d:	50                   	push   %eax                           
  10dd2e:	50                   	push   %eax                           
  10dd2f:	68 a2 ec 11 00       	push   $0x11eca2                      
  10dd34:	56                   	push   %esi                           
  10dd35:	e8 c6 3f 00 00       	call   111d00 <strcmp>                
  10dd3a:	83 c4 10             	add    $0x10,%esp                     
  10dd3d:	85 c0                	test   %eax,%eax                      
  10dd3f:	74 10                	je     10dd51 <IMFS_get_token+0xb5>   
  10dd41:	eb 13                	jmp    10dd56 <IMFS_get_token+0xba>   
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
       return IMFS_INVALID_TOKEN;                                     
  10dd43:	bf 04 00 00 00       	mov    $0x4,%edi                      
  10dd48:	eb 0c                	jmp    10dd56 <IMFS_get_token+0xba>   
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
      type = IMFS_UP_DIR;                                             
  10dd4a:	bf 02 00 00 00       	mov    $0x2,%edi                      
  10dd4f:	eb 05                	jmp    10dd56 <IMFS_get_token+0xba>   
    else if ( strcmp( token, "." ) == 0 )                             
      type = IMFS_CURRENT_DIR;                                        
  10dd51:	bf 01 00 00 00       	mov    $0x1,%edi                      
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
  10dd56:	89 f8                	mov    %edi,%eax                      
  10dd58:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10dd5b:	5b                   	pop    %ebx                           
  10dd5c:	5e                   	pop    %esi                           
  10dd5d:	5f                   	pop    %edi                           
  10dd5e:	c9                   	leave                                 
  10dd5f:	c3                   	ret                                   
                                                                      

00106aac <IMFS_initialize_support>: const rtems_filesystem_operations_table *op_table, const rtems_filesystem_file_handlers_r *memfile_handlers, const rtems_filesystem_file_handlers_r *directory_handlers, const rtems_filesystem_file_handlers_r *fifo_handlers ) {
  106aac:	55                   	push   %ebp                           
  106aad:	89 e5                	mov    %esp,%ebp                      
  106aaf:	57                   	push   %edi                           
  106ab0:	56                   	push   %esi                           
  106ab1:	53                   	push   %ebx                           
  106ab2:	83 ec 1c             	sub    $0x1c,%esp                     
  106ab5:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
  106ab8:	a1 48 01 12 00       	mov    0x120148,%eax                  
  106abd:	b9 06 00 00 00       	mov    $0x6,%ecx                      
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
  106ac2:	ba 10 00 00 00       	mov    $0x10,%edx                     
  106ac7:	39 c2                	cmp    %eax,%edx                      
  106ac9:	74 0a                	je     106ad5 <IMFS_initialize_support+0x29>
  106acb:	d1 e2                	shl    %edx                           
  106acd:	49                   	dec    %ecx                           
  106ace:	75 f7                	jne    106ac7 <IMFS_initialize_support+0x1b><== ALWAYS TAKEN
      is_valid = true;                                                
    }                                                                 
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
			   ? requested_bytes_per_block                                     
			   : default_bytes_per_block);                                     
  106ad0:	b8 80 00 00 00       	mov    $0x80,%eax                     <== NOT EXECUTED
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
    if (bit_mask == requested_bytes_per_block) {                      
      is_valid = true;                                                
    }                                                                 
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
  106ad5:	a3 8c 3d 12 00       	mov    %eax,0x123d8c                  
  /*                                                                  
   *  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();
  106ada:	e8 84 6a 00 00       	call   10d563 <IMFS_create_root_node> 
  106adf:	89 c2                	mov    %eax,%edx                      
  106ae1:	89 43 1c             	mov    %eax,0x1c(%ebx)                
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  106ae4:	8b 45 14             	mov    0x14(%ebp),%eax                
  106ae7:	89 43 24             	mov    %eax,0x24(%ebx)                
  temp_mt_entry->mt_fs_root.ops              = op_table;              
  106aea:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  106aed:	89 43 28             	mov    %eax,0x28(%ebx)                
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
  106af0:	8d 7b 38             	lea    0x38(%ebx),%edi                
  106af3:	be 34 ec 11 00       	mov    $0x11ec34,%esi                 
  106af8:	b9 0c 00 00 00       	mov    $0xc,%ecx                      
  106afd:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
  106aff:	50                   	push   %eax                           
  106b00:	50                   	push   %eax                           
  106b01:	6a 14                	push   $0x14                          
  106b03:	6a 01                	push   $0x1                           
  106b05:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  106b08:	e8 43 06 00 00       	call   107150 <calloc>                
  if ( !fs_info ) {                                                   
  106b0d:	83 c4 10             	add    $0x10,%esp                     
  106b10:	85 c0                	test   %eax,%eax                      
  106b12:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  106b15:	75 1c                	jne    106b33 <IMFS_initialize_support+0x87><== ALWAYS TAKEN
    free(temp_mt_entry->mt_fs_root.node_access);                      
  106b17:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  106b1a:	52                   	push   %edx                           <== NOT EXECUTED
  106b1b:	e8 ec 07 00 00       	call   10730c <free>                  <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  106b20:	e8 17 a6 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  106b25:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    <== NOT EXECUTED
  106b2b:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  106b2e:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  106b31:	eb 34                	jmp    106b67 <IMFS_initialize_support+0xbb><== NOT EXECUTED
  }                                                                   
  temp_mt_entry->fs_info = fs_info;                                   
  106b33:	89 43 34             	mov    %eax,0x34(%ebx)                
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  106b36:	8b 0d 90 3d 12 00    	mov    0x123d90,%ecx                  
  106b3c:	89 08                	mov    %ecx,(%eax)                    
  106b3e:	41                   	inc    %ecx                           
  106b3f:	89 0d 90 3d 12 00    	mov    %ecx,0x123d90                  
  fs_info->ino_count             = 1;                                 
  106b45:	c7 40 04 01 00 00 00 	movl   $0x1,0x4(%eax)                 
  fs_info->memfile_handlers      = memfile_handlers;                  
  106b4c:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  106b4f:	89 48 08             	mov    %ecx,0x8(%eax)                 
  fs_info->directory_handlers    = directory_handlers;                
  106b52:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  106b55:	89 48 0c             	mov    %ecx,0xc(%eax)                 
  fs_info->fifo_handlers         = fifo_handlers;                     
  106b58:	8b 4d 18             	mov    0x18(%ebp),%ecx                
  106b5b:	89 48 10             	mov    %ecx,0x10(%eax)                
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
  106b5e:	c7 42 38 01 00 00 00 	movl   $0x1,0x38(%edx)                
                                                                      
  return 0;                                                           
  106b65:	31 c0                	xor    %eax,%eax                      
}                                                                     
  106b67:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  106b6a:	5b                   	pop    %ebx                           
  106b6b:	5e                   	pop    %esi                           
  106b6c:	5f                   	pop    %edi                           
  106b6d:	c9                   	leave                                 
  106b6e:	c3                   	ret                                   
                                                                      

00106b70 <IMFS_link>: int IMFS_link( rtems_filesystem_location_info_t *to_loc, /* IN */ rtems_filesystem_location_info_t *parent_loc, /* IN */ const char *token /* IN */ ) {
  106b70:	55                   	push   %ebp                           
  106b71:	89 e5                	mov    %esp,%ebp                      
  106b73:	57                   	push   %edi                           
  106b74:	53                   	push   %ebx                           
  106b75:	83 ec 50             	sub    $0x50,%esp                     
  106b78:	8b 55 10             	mov    0x10(%ebp),%edx                
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
  106b7b:	8b 45 08             	mov    0x8(%ebp),%eax                 
  106b7e:	8b 00                	mov    (%eax),%eax                    
  106b80:	89 45 d8             	mov    %eax,-0x28(%ebp)               
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
  106b83:	66 83 78 34 07       	cmpw   $0x7,0x34(%eax)                
  106b88:	76 0d                	jbe    106b97 <IMFS_link+0x27>        
    rtems_set_errno_and_return_minus_one( EMLINK );                   
  106b8a:	e8 ad a5 00 00       	call   11113c <__errno>               
  106b8f:	c7 00 1f 00 00 00    	movl   $0x1f,(%eax)                   
  106b95:	eb 43                	jmp    106bda <IMFS_link+0x6a>        
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( token, strlen( token ), new_name, &i );             
  106b97:	31 c0                	xor    %eax,%eax                      
  106b99:	83 c9 ff             	or     $0xffffffff,%ecx               
  106b9c:	89 d7                	mov    %edx,%edi                      
  106b9e:	f2 ae                	repnz scas %es:(%edi),%al             
  106ba0:	f7 d1                	not    %ecx                           
  106ba2:	49                   	dec    %ecx                           
  106ba3:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  106ba6:	50                   	push   %eax                           
  106ba7:	8d 5d b7             	lea    -0x49(%ebp),%ebx               
  106baa:	53                   	push   %ebx                           
  106bab:	51                   	push   %ecx                           
  106bac:	52                   	push   %edx                           
  106bad:	e8 ea 70 00 00       	call   10dc9c <IMFS_get_token>        
  new_node = IMFS_create_node(                                        
    parent_loc,                                                       
    IMFS_HARD_LINK,                                                   
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  106bb2:	8d 45 d8             	lea    -0x28(%ebp),%eax               
   *        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(                                        
  106bb5:	89 04 24             	mov    %eax,(%esp)                    
  106bb8:	68 ff a1 00 00       	push   $0xa1ff                        
  106bbd:	53                   	push   %ebx                           
  106bbe:	6a 03                	push   $0x3                           
  106bc0:	ff 75 0c             	pushl  0xc(%ebp)                      
  106bc3:	e8 9b 68 00 00       	call   10d463 <IMFS_create_node>      
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
  106bc8:	83 c4 20             	add    $0x20,%esp                     
  106bcb:	85 c0                	test   %eax,%eax                      
  106bcd:	75 10                	jne    106bdf <IMFS_link+0x6f>        <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
  106bcf:	e8 68 a5 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  106bd4:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    <== NOT EXECUTED
  106bda:	83 c8 ff             	or     $0xffffffff,%eax               
  106bdd:	eb 22                	jmp    106c01 <IMFS_link+0x91>        
                                                                      
  /*                                                                  
   * Increment the link count of the node being pointed to.           
   */                                                                 
  info.hard_link.link_node->st_nlink++;                               
  106bdf:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  106be2:	66 ff 40 34          	incw   0x34(%eax)                     
  IMFS_update_ctime( info.hard_link.link_node );                      
  106be6:	50                   	push   %eax                           
  106be7:	50                   	push   %eax                           
  106be8:	6a 00                	push   $0x0                           
  106bea:	8d 45 ec             	lea    -0x14(%ebp),%eax               
  106bed:	50                   	push   %eax                           
  106bee:	e8 91 07 00 00       	call   107384 <gettimeofday>          
  106bf3:	8b 55 ec             	mov    -0x14(%ebp),%edx               
  106bf6:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  106bf9:	89 50 48             	mov    %edx,0x48(%eax)                
                                                                      
  return 0;                                                           
  106bfc:	83 c4 10             	add    $0x10,%esp                     
  106bff:	31 c0                	xor    %eax,%eax                      
}                                                                     
  106c01:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  106c04:	5b                   	pop    %ebx                           
  106c05:	5f                   	pop    %edi                           
  106c06:	c9                   	leave                                 
  106c07:	c3                   	ret                                   
                                                                      

0010fe3c <IMFS_memfile_addblock>: MEMFILE_STATIC int IMFS_memfile_addblock( IMFS_jnode_t *the_jnode, unsigned int block ) {
  10fe3c:	55                   	push   %ebp                           
  10fe3d:	89 e5                	mov    %esp,%ebp                      
  10fe3f:	53                   	push   %ebx                           
  10fe40:	83 ec 08             	sub    $0x8,%esp                      
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
    assert( the_jnode->type == IMFS_MEMORY_FILE );                    
  #endif                                                              
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
  10fe43:	6a 01                	push   $0x1                           
  10fe45:	ff 75 0c             	pushl  0xc(%ebp)                      
  10fe48:	ff 75 08             	pushl  0x8(%ebp)                      
  10fe4b:	e8 cc fc ff ff       	call   10fb1c <IMFS_memfile_get_block_pointer>
  10fe50:	89 c3                	mov    %eax,%ebx                      
  if ( *block_entry_ptr )                                             
  10fe52:	83 c4 10             	add    $0x10,%esp                     
    return 0;                                                         
  10fe55:	31 c0                	xor    %eax,%eax                      
    assert( the_jnode );                                              
    assert( the_jnode->type == IMFS_MEMORY_FILE );                    
  #endif                                                              
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
  if ( *block_entry_ptr )                                             
  10fe57:	83 3b 00             	cmpl   $0x0,(%ebx)                    
  10fe5a:	75 14                	jne    10fe70 <IMFS_memfile_addblock+0x34>
#if 0                                                                 
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
  10fe5c:	e8 99 fc ff ff       	call   10fafa <memfile_alloc_block>   
  10fe61:	89 c2                	mov    %eax,%edx                      
  if ( !memory )                                                      
    return 1;                                                         
  10fe63:	b8 01 00 00 00       	mov    $0x1,%eax                      
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
  if ( !memory )                                                      
  10fe68:	85 d2                	test   %edx,%edx                      
  10fe6a:	74 04                	je     10fe70 <IMFS_memfile_addblock+0x34><== NEVER TAKEN
    return 1;                                                         
  *block_entry_ptr = memory;                                          
  10fe6c:	89 13                	mov    %edx,(%ebx)                    
                                                                      
  return 0;                                                           
  10fe6e:	30 c0                	xor    %al,%al                        
}                                                                     
  10fe70:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10fe73:	c9                   	leave                                 
  10fe74:	c3                   	ret                                   
                                                                      

0011000a <IMFS_memfile_extend>: MEMFILE_STATIC int IMFS_memfile_extend( IMFS_jnode_t *the_jnode, off_t new_length ) {
  11000a:	55                   	push   %ebp                           
  11000b:	89 e5                	mov    %esp,%ebp                      
  11000d:	57                   	push   %edi                           
  11000e:	56                   	push   %esi                           
  11000f:	53                   	push   %ebx                           
  110010:	83 ec 2c             	sub    $0x2c,%esp                     
  110013:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  110016:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  110019:	8b 75 10             	mov    0x10(%ebp),%esi                
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
    assert( the_jnode->type == IMFS_MEMORY_FILE );                    
  #endif                                                              
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
  11001c:	a1 8c 3d 12 00       	mov    0x123d8c,%eax                  
  110021:	89 c1                	mov    %eax,%ecx                      
  110023:	c1 e9 02             	shr    $0x2,%ecx                      
  110026:	8d 51 01             	lea    0x1(%ecx),%edx                 
  110029:	0f af d1             	imul   %ecx,%edx                      
  11002c:	42                   	inc    %edx                           
  11002d:	0f af d1             	imul   %ecx,%edx                      
  110030:	4a                   	dec    %edx                           
  110031:	0f af d0             	imul   %eax,%edx                      
  110034:	83 fe 00             	cmp    $0x0,%esi                      
  110037:	7c 16                	jl     11004f <IMFS_memfile_extend+0x45><== NEVER TAKEN
  110039:	7f 04                	jg     11003f <IMFS_memfile_extend+0x35><== NEVER TAKEN
  11003b:	39 d3                	cmp    %edx,%ebx                      
  11003d:	72 10                	jb     11004f <IMFS_memfile_extend+0x45>
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  11003f:	e8 f8 10 00 00       	call   11113c <__errno>               
  110044:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  11004a:	e9 92 00 00 00       	jmp    1100e1 <IMFS_memfile_extend+0xd7>
                                                                      
  if ( new_length <= the_jnode->info.file.size )                      
  11004f:	8b 57 50             	mov    0x50(%edi),%edx                
  110052:	8b 4f 54             	mov    0x54(%edi),%ecx                
  110055:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  110058:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  11005b:	39 ce                	cmp    %ecx,%esi                      
  11005d:	0f 8c 8f 00 00 00    	jl     1100f2 <IMFS_memfile_extend+0xe8><== NEVER TAKEN
  110063:	7f 08                	jg     11006d <IMFS_memfile_extend+0x63><== NEVER TAKEN
  110065:	39 d3                	cmp    %edx,%ebx                      
  110067:	0f 86 85 00 00 00    	jbe    1100f2 <IMFS_memfile_extend+0xe8>
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
  11006d:	89 45 d8             	mov    %eax,-0x28(%ebp)               
  110070:	89 c1                	mov    %eax,%ecx                      
  110072:	c1 f9 1f             	sar    $0x1f,%ecx                     
  110075:	89 4d dc             	mov    %ecx,-0x24(%ebp)               
  110078:	ff 75 dc             	pushl  -0x24(%ebp)                    
  11007b:	ff 75 d8             	pushl  -0x28(%ebp)                    
  11007e:	56                   	push   %esi                           
  11007f:	53                   	push   %ebx                           
  110080:	e8 63 c2 00 00       	call   11c2e8 <__divdi3>              
  110085:	83 c4 10             	add    $0x10,%esp                     
  110088:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
  11008b:	ff 75 dc             	pushl  -0x24(%ebp)                    
  11008e:	ff 75 d8             	pushl  -0x28(%ebp)                    
  110091:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  110094:	ff 75 e0             	pushl  -0x20(%ebp)                    
  110097:	e8 4c c2 00 00       	call   11c2e8 <__divdi3>              
  11009c:	83 c4 10             	add    $0x10,%esp                     
  11009f:	89 45 e0             	mov    %eax,-0x20(%ebp)               
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
  1100a2:	89 c2                	mov    %eax,%edx                      
  1100a4:	eb 41                	jmp    1100e7 <IMFS_memfile_extend+0xdd>
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
  1100a6:	51                   	push   %ecx                           
  1100a7:	51                   	push   %ecx                           
  1100a8:	52                   	push   %edx                           
  1100a9:	57                   	push   %edi                           
  1100aa:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  1100ad:	e8 8a fd ff ff       	call   10fe3c <IMFS_memfile_addblock> 
  1100b2:	83 c4 10             	add    $0x10,%esp                     
  1100b5:	85 c0                	test   %eax,%eax                      
  1100b7:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  1100ba:	74 2a                	je     1100e6 <IMFS_memfile_extend+0xdc><== ALWAYS TAKEN
  1100bc:	eb 13                	jmp    1100d1 <IMFS_memfile_extend+0xc7><== NOT EXECUTED
       for ( ; block>=old_blocks ; block-- ) {                        
          IMFS_memfile_remove_block( the_jnode, block );              
  1100be:	50                   	push   %eax                           <== NOT EXECUTED
  1100bf:	50                   	push   %eax                           <== NOT EXECUTED
  1100c0:	52                   	push   %edx                           <== NOT EXECUTED
  1100c1:	57                   	push   %edi                           <== NOT EXECUTED
  1100c2:	89 55 d0             	mov    %edx,-0x30(%ebp)               <== NOT EXECUTED
  1100c5:	e8 0b ff ff ff       	call   10ffd5 <IMFS_memfile_remove_block><== NOT EXECUTED
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
       for ( ; block>=old_blocks ; block-- ) {                        
  1100ca:	8b 55 d0             	mov    -0x30(%ebp),%edx               <== NOT EXECUTED
  1100cd:	4a                   	dec    %edx                           <== NOT EXECUTED
  1100ce:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  1100d1:	3b 55 e0             	cmp    -0x20(%ebp),%edx               <== NOT EXECUTED
  1100d4:	73 e8                	jae    1100be <IMFS_memfile_extend+0xb4><== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
  1100d6:	e8 61 10 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  1100db:	c7 00 1c 00 00 00    	movl   $0x1c,(%eax)                   <== NOT EXECUTED
  1100e1:	83 c8 ff             	or     $0xffffffff,%eax               
  1100e4:	eb 0e                	jmp    1100f4 <IMFS_memfile_extend+0xea>
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
  1100e6:	42                   	inc    %edx                           
  1100e7:	3b 55 d4             	cmp    -0x2c(%ebp),%edx               
  1100ea:	76 ba                	jbe    1100a6 <IMFS_memfile_extend+0x9c>
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
  1100ec:	89 5f 50             	mov    %ebx,0x50(%edi)                
  1100ef:	89 77 54             	mov    %esi,0x54(%edi)                
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( new_length <= the_jnode->info.file.size )                      
    return 0;                                                         
  1100f2:	31 c0                	xor    %eax,%eax                      
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
  return 0;                                                           
}                                                                     
  1100f4:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1100f7:	5b                   	pop    %ebx                           
  1100f8:	5e                   	pop    %esi                           
  1100f9:	5f                   	pop    %edi                           
  1100fa:	c9                   	leave                                 
  1100fb:	c3                   	ret                                   
                                                                      

0010fb1c <IMFS_memfile_get_block_pointer>: #endif IMFS_jnode_t *the_jnode, unsigned int block, int malloc_it ) {
  10fb1c:	55                   	push   %ebp                           
  10fb1d:	89 e5                	mov    %esp,%ebp                      
  10fb1f:	57                   	push   %edi                           
  10fb20:	56                   	push   %esi                           
  10fb21:	53                   	push   %ebx                           
  10fb22:	83 ec 1c             	sub    $0x1c,%esp                     
  10fb25:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10fb28:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_INDIRECT ) {                                  
  10fb2b:	8b 0d 8c 3d 12 00    	mov    0x123d8c,%ecx                  
  10fb31:	c1 e9 02             	shr    $0x2,%ecx                      
  10fb34:	8d 41 ff             	lea    -0x1(%ecx),%eax                
  10fb37:	39 c7                	cmp    %eax,%edi                      
  10fb39:	77 40                	ja     10fb7b <IMFS_memfile_get_block_pointer+0x5f>
    p = info->indirect;                                               
  10fb3b:	8b 46 58             	mov    0x58(%esi),%eax                
                                                                      
    if ( malloc_it ) {                                                
  10fb3e:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  10fb42:	74 25                	je     10fb69 <IMFS_memfile_get_block_pointer+0x4d>
                                                                      
      if ( !p ) {                                                     
  10fb44:	85 c0                	test   %eax,%eax                      
  10fb46:	75 12                	jne    10fb5a <IMFS_memfile_get_block_pointer+0x3e>
        p = memfile_alloc_block();                                    
  10fb48:	e8 ad ff ff ff       	call   10fafa <memfile_alloc_block>   
        if ( !p )                                                     
           return 0;                                                  
  10fb4d:	31 db                	xor    %ebx,%ebx                      
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
  10fb4f:	85 c0                	test   %eax,%eax                      
  10fb51:	0f 84 04 01 00 00    	je     10fc5b <IMFS_memfile_get_block_pointer+0x13f><== NEVER TAKEN
           return 0;                                                  
        info->indirect = p;                                           
  10fb57:	89 46 58             	mov    %eax,0x58(%esi)                
      }                                                               
      return &info->indirect[ my_block ];                             
  10fb5a:	8d 1c bd 00 00 00 00 	lea    0x0(,%edi,4),%ebx              
  10fb61:	03 5e 58             	add    0x58(%esi),%ebx                
  10fb64:	e9 f2 00 00 00       	jmp    10fc5b <IMFS_memfile_get_block_pointer+0x13f>
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
  10fb69:	31 db                	xor    %ebx,%ebx                      
        info->indirect = p;                                           
      }                                                               
      return &info->indirect[ my_block ];                             
    }                                                                 
                                                                      
    if ( !p )                                                         
  10fb6b:	85 c0                	test   %eax,%eax                      
  10fb6d:	0f 84 e8 00 00 00    	je     10fc5b <IMFS_memfile_get_block_pointer+0x13f><== NEVER TAKEN
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
  10fb73:	8d 1c b8             	lea    (%eax,%edi,4),%ebx             
  10fb76:	e9 e0 00 00 00       	jmp    10fc5b <IMFS_memfile_get_block_pointer+0x13f>
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
  10fb7b:	8d 41 01             	lea    0x1(%ecx),%eax                 
  10fb7e:	0f af c1             	imul   %ecx,%eax                      
  10fb81:	8d 50 ff             	lea    -0x1(%eax),%edx                
  10fb84:	39 d7                	cmp    %edx,%edi                      
  10fb86:	77 47                	ja     10fbcf <IMFS_memfile_get_block_pointer+0xb3>
#if 0                                                                 
fprintf(stdout, "(d %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
  10fb88:	29 cf                	sub    %ecx,%edi                      
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
  10fb8a:	89 f8                	mov    %edi,%eax                      
  10fb8c:	31 d2                	xor    %edx,%edx                      
  10fb8e:	f7 f1                	div    %ecx                           
  10fb90:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10fb93:	89 c7                	mov    %eax,%edi                      
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
  10fb95:	8b 46 5c             	mov    0x5c(%esi),%eax                
    if ( malloc_it ) {                                                
  10fb98:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  10fb9c:	74 1b                	je     10fbb9 <IMFS_memfile_get_block_pointer+0x9d>
                                                                      
      if ( !p ) {                                                     
  10fb9e:	85 c0                	test   %eax,%eax                      
  10fba0:	75 12                	jne    10fbb4 <IMFS_memfile_get_block_pointer+0x98>
        p = memfile_alloc_block();                                    
  10fba2:	e8 53 ff ff ff       	call   10fafa <memfile_alloc_block>   
        if ( !p )                                                     
           return 0;                                                  
  10fba7:	31 db                	xor    %ebx,%ebx                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
  10fba9:	85 c0                	test   %eax,%eax                      
  10fbab:	0f 84 aa 00 00 00    	je     10fc5b <IMFS_memfile_get_block_pointer+0x13f><== NEVER TAKEN
           return 0;                                                  
        info->doubly_indirect = p;                                    
  10fbb1:	89 46 5c             	mov    %eax,0x5c(%esi)                
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
  10fbb4:	8d 34 b8             	lea    (%eax,%edi,4),%esi             
  10fbb7:	eb 6c                	jmp    10fc25 <IMFS_memfile_get_block_pointer+0x109>
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
  10fbb9:	31 db                	xor    %ebx,%ebx                      
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
  10fbbb:	85 c0                	test   %eax,%eax                      
  10fbbd:	0f 84 98 00 00 00    	je     10fc5b <IMFS_memfile_get_block_pointer+0x13f><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
  10fbc3:	8b 04 b8             	mov    (%eax,%edi,4),%eax             
    if ( !p )                                                         
  10fbc6:	85 c0                	test   %eax,%eax                      
  10fbc8:	75 6e                	jne    10fc38 <IMFS_memfile_get_block_pointer+0x11c><== ALWAYS TAKEN
  10fbca:	e9 8c 00 00 00       	jmp    10fc5b <IMFS_memfile_get_block_pointer+0x13f><== NOT EXECUTED
#endif                                                                
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
  10fbcf:	8d 50 01             	lea    0x1(%eax),%edx                 
  10fbd2:	0f af d1             	imul   %ecx,%edx                      
  10fbd5:	4a                   	dec    %edx                           
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
                                                                      
  return 0;                                                           
  10fbd6:	31 db                	xor    %ebx,%ebx                      
#endif                                                                
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
  10fbd8:	39 d7                	cmp    %edx,%edi                      
  10fbda:	77 7f                	ja     10fc5b <IMFS_memfile_get_block_pointer+0x13f><== NEVER TAKEN
    my_block -= FIRST_TRIPLY_INDIRECT;                                
  10fbdc:	29 c7                	sub    %eax,%edi                      
  10fbde:	89 f8                	mov    %edi,%eax                      
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
  10fbe0:	31 d2                	xor    %edx,%edx                      
  10fbe2:	f7 f1                	div    %ecx                           
  10fbe4:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
  10fbe7:	31 d2                	xor    %edx,%edx                      
  10fbe9:	f7 f1                	div    %ecx                           
  10fbeb:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10fbee:	89 c7                	mov    %eax,%edi                      
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
                                                                      
    p = info->triply_indirect;                                        
  10fbf0:	8b 46 60             	mov    0x60(%esi),%eax                
                                                                      
    if ( malloc_it ) {                                                
  10fbf3:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  10fbf7:	74 47                	je     10fc40 <IMFS_memfile_get_block_pointer+0x124>
      if ( !p ) {                                                     
  10fbf9:	85 c0                	test   %eax,%eax                      
  10fbfb:	75 0c                	jne    10fc09 <IMFS_memfile_get_block_pointer+0xed>
        p = memfile_alloc_block();                                    
  10fbfd:	e8 f8 fe ff ff       	call   10fafa <memfile_alloc_block>   
        if ( !p )                                                     
  10fc02:	85 c0                	test   %eax,%eax                      
  10fc04:	74 55                	je     10fc5b <IMFS_memfile_get_block_pointer+0x13f><== NEVER TAKEN
           return 0;                                                  
        info->triply_indirect = p;                                    
  10fc06:	89 46 60             	mov    %eax,0x60(%esi)                
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
  10fc09:	8d 34 b8             	lea    (%eax,%edi,4),%esi             
  10fc0c:	8b 06                	mov    (%esi),%eax                    
      if ( !p1 ) {                                                    
  10fc0e:	85 c0                	test   %eax,%eax                      
  10fc10:	75 0d                	jne    10fc1f <IMFS_memfile_get_block_pointer+0x103>
        p1 = memfile_alloc_block();                                   
  10fc12:	e8 e3 fe ff ff       	call   10fafa <memfile_alloc_block>   
        if ( !p1 )                                                    
           return 0;                                                  
  10fc17:	31 db                	xor    %ebx,%ebx                      
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
        if ( !p1 )                                                    
  10fc19:	85 c0                	test   %eax,%eax                      
  10fc1b:	74 3e                	je     10fc5b <IMFS_memfile_get_block_pointer+0x13f><== NEVER TAKEN
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
  10fc1d:	89 06                	mov    %eax,(%esi)                    
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
  10fc1f:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10fc22:	8d 34 90             	lea    (%eax,%edx,4),%esi             
  10fc25:	8b 06                	mov    (%esi),%eax                    
      if ( !p2 ) {                                                    
  10fc27:	85 c0                	test   %eax,%eax                      
  10fc29:	75 0d                	jne    10fc38 <IMFS_memfile_get_block_pointer+0x11c>
        p2 = memfile_alloc_block();                                   
  10fc2b:	e8 ca fe ff ff       	call   10fafa <memfile_alloc_block>   
        if ( !p2 )                                                    
           return 0;                                                  
  10fc30:	31 db                	xor    %ebx,%ebx                      
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
  10fc32:	85 c0                	test   %eax,%eax                      
  10fc34:	74 25                	je     10fc5b <IMFS_memfile_get_block_pointer+0x13f><== NEVER TAKEN
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
  10fc36:	89 06                	mov    %eax,(%esi)                    
      }                                                               
      return (block_p *)&p2[ singly ];                                
  10fc38:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10fc3b:	8d 1c 90             	lea    (%eax,%edx,4),%ebx             
  10fc3e:	eb 1b                	jmp    10fc5b <IMFS_memfile_get_block_pointer+0x13f>
    }                                                                 
                                                                      
    if ( !p )                                                         
  10fc40:	85 c0                	test   %eax,%eax                      
  10fc42:	74 17                	je     10fc5b <IMFS_memfile_get_block_pointer+0x13f><== NEVER TAKEN
                                                                      
#if 0                                                                 
fprintf(stdout, "(t %d %d %d %d %d) ", block, my_block, triply, doubly, singly );
fflush(stdout);                                                       
#endif                                                                
    p1 = (block_p *) p[ triply ];                                     
  10fc44:	8b 04 b8             	mov    (%eax,%edi,4),%eax             
    if ( !p1 )                                                        
  10fc47:	85 c0                	test   %eax,%eax                      
  10fc49:	74 10                	je     10fc5b <IMFS_memfile_get_block_pointer+0x13f><== NEVER TAKEN
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
  10fc4b:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10fc4e:	8d 1c 95 00 00 00 00 	lea    0x0(,%edx,4),%ebx              
  10fc55:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10fc58:	03 1c 90             	add    (%eax,%edx,4),%ebx             
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
  10fc5b:	89 d8                	mov    %ebx,%eax                      
  10fc5d:	83 c4 1c             	add    $0x1c,%esp                     
  10fc60:	5b                   	pop    %ebx                           
  10fc61:	5e                   	pop    %esi                           
  10fc62:	5f                   	pop    %edi                           
  10fc63:	c9                   	leave                                 
  10fc64:	c3                   	ret                                   
                                                                      

0010fc65 <IMFS_memfile_read>: IMFS_jnode_t *the_jnode, off_t start, unsigned char *destination, unsigned int length ) {
  10fc65:	55                   	push   %ebp                           
  10fc66:	89 e5                	mov    %esp,%ebp                      
  10fc68:	57                   	push   %edi                           
  10fc69:	56                   	push   %esi                           
  10fc6a:	53                   	push   %ebx                           
  10fc6b:	83 ec 3c             	sub    $0x3c,%esp                     
  10fc6e:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10fc71:	8b 7d 10             	mov    0x10(%ebp),%edi                
                                                                      
  /*                                                                  
   *  Error checks on arguments                                       
   */                                                                 
                                                                      
  if ( !dest )                                                        
  10fc74:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  10fc78:	74 06                	je     10fc80 <IMFS_memfile_read+0x1b><== NEVER TAKEN
  /*                                                                  
   *  If there is nothing to read, then quick exit.                   
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
  10fc7a:	83 7d 18 00          	cmpl   $0x0,0x18(%ebp)                
  10fc7e:	75 13                	jne    10fc93 <IMFS_memfile_read+0x2e><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10fc80:	e8 b7 14 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  10fc85:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
  10fc8b:	83 ca ff             	or     $0xffffffff,%edx               <== NOT EXECUTED
  10fc8e:	e9 80 01 00 00       	jmp    10fe13 <IMFS_memfile_read+0x1ae><== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
  10fc93:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10fc96:	83 78 4c 06          	cmpl   $0x6,0x4c(%eax)                
  10fc9a:	75 42                	jne    10fcde <IMFS_memfile_read+0x79><== ALWAYS TAKEN
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
  10fc9c:	8b 50 58             	mov    0x58(%eax),%edx                <== NOT EXECUTED
  10fc9f:	89 55 cc             	mov    %edx,-0x34(%ebp)               <== NOT EXECUTED
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
  10fca2:	8b 48 50             	mov    0x50(%eax),%ecx                <== NOT EXECUTED
  10fca5:	8b 58 54             	mov    0x54(%eax),%ebx                <== NOT EXECUTED
  10fca8:	89 c8                	mov    %ecx,%eax                      <== NOT EXECUTED
  10fcaa:	89 da                	mov    %ebx,%edx                      <== NOT EXECUTED
  10fcac:	29 f0                	sub    %esi,%eax                      <== NOT EXECUTED
  10fcae:	19 fa                	sbb    %edi,%edx                      <== NOT EXECUTED
  10fcb0:	89 45 d0             	mov    %eax,-0x30(%ebp)               <== NOT EXECUTED
  10fcb3:	89 55 d4             	mov    %edx,-0x2c(%ebp)               <== NOT EXECUTED
  10fcb6:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  10fcb8:	39 d0                	cmp    %edx,%eax                      <== NOT EXECUTED
  10fcba:	7c 10                	jl     10fccc <IMFS_memfile_read+0x67><== NOT EXECUTED
  10fcbc:	7f 08                	jg     10fcc6 <IMFS_memfile_read+0x61><== NOT EXECUTED
  10fcbe:	8b 55 d0             	mov    -0x30(%ebp),%edx               <== NOT EXECUTED
  10fcc1:	39 55 18             	cmp    %edx,0x18(%ebp)                <== NOT EXECUTED
  10fcc4:	76 06                	jbe    10fccc <IMFS_memfile_read+0x67><== NOT EXECUTED
      my_length = the_jnode->info.linearfile.size - start;            
  10fcc6:	89 ca                	mov    %ecx,%edx                      <== NOT EXECUTED
  10fcc8:	29 f2                	sub    %esi,%edx                      <== NOT EXECUTED
  10fcca:	eb 03                	jmp    10fccf <IMFS_memfile_read+0x6a><== NOT EXECUTED
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
  10fccc:	8b 55 18             	mov    0x18(%ebp),%edx                <== NOT EXECUTED
      my_length = the_jnode->info.linearfile.size - start;            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
  10fccf:	03 75 cc             	add    -0x34(%ebp),%esi               <== NOT EXECUTED
  10fcd2:	8b 7d 14             	mov    0x14(%ebp),%edi                <== NOT EXECUTED
  10fcd5:	89 d1                	mov    %edx,%ecx                      <== NOT EXECUTED
  10fcd7:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       <== NOT EXECUTED
  10fcd9:	e9 16 01 00 00       	jmp    10fdf4 <IMFS_memfile_read+0x18f><== 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;                                         
  10fcde:	89 f0                	mov    %esi,%eax                      
  if ( last_byte > the_jnode->info.file.size )                        
  10fce0:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10fce3:	8b 5a 50             	mov    0x50(%edx),%ebx                
  /*                                                                  
   *  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;                                         
  10fce6:	8b 4d 18             	mov    0x18(%ebp),%ecx                
  10fce9:	01 f1                	add    %esi,%ecx                      
  10fceb:	89 4d d0             	mov    %ecx,-0x30(%ebp)               
  if ( last_byte > the_jnode->info.file.size )                        
  10fcee:	31 c9                	xor    %ecx,%ecx                      
  10fcf0:	3b 4a 54             	cmp    0x54(%edx),%ecx                
  10fcf3:	7c 0e                	jl     10fd03 <IMFS_memfile_read+0x9e><== NEVER TAKEN
  10fcf5:	7f 05                	jg     10fcfc <IMFS_memfile_read+0x97><== NEVER TAKEN
  10fcf7:	39 5d d0             	cmp    %ebx,-0x30(%ebp)               
  10fcfa:	76 07                	jbe    10fd03 <IMFS_memfile_read+0x9e>
    my_length = the_jnode->info.file.size - start;                    
  10fcfc:	29 c3                	sub    %eax,%ebx                      
  10fcfe:	89 5d d0             	mov    %ebx,-0x30(%ebp)               
  10fd01:	eb 06                	jmp    10fd09 <IMFS_memfile_read+0xa4>
   *  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 )                        
  10fd03:	8b 45 18             	mov    0x18(%ebp),%eax                
  10fd06:	89 45 d0             	mov    %eax,-0x30(%ebp)               
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  10fd09:	8b 15 8c 3d 12 00    	mov    0x123d8c,%edx                  
  10fd0f:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  10fd12:	89 d0                	mov    %edx,%eax                      
  10fd14:	99                   	cltd                                  
  10fd15:	89 d3                	mov    %edx,%ebx                      
  10fd17:	52                   	push   %edx                           
  10fd18:	50                   	push   %eax                           
  10fd19:	57                   	push   %edi                           
  10fd1a:	56                   	push   %esi                           
  10fd1b:	89 45 c0             	mov    %eax,-0x40(%ebp)               
  10fd1e:	e8 25 c7 00 00       	call   11c448 <__moddi3>              
  10fd23:	83 c4 10             	add    $0x10,%esp                     
  10fd26:	89 45 cc             	mov    %eax,-0x34(%ebp)               
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  10fd29:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10fd2c:	53                   	push   %ebx                           
  10fd2d:	51                   	push   %ecx                           
  10fd2e:	57                   	push   %edi                           
  10fd2f:	56                   	push   %esi                           
  10fd30:	e8 b3 c5 00 00       	call   11c2e8 <__divdi3>              
  10fd35:	83 c4 10             	add    $0x10,%esp                     
  10fd38:	89 c3                	mov    %eax,%ebx                      
  if ( start_offset )  {                                              
  10fd3a:	83 7d cc 00          	cmpl   $0x0,-0x34(%ebp)               
  10fd3e:	74 3d                	je     10fd7d <IMFS_memfile_read+0x118>
    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 );
  10fd40:	57                   	push   %edi                           
  10fd41:	6a 00                	push   $0x0                           
  10fd43:	50                   	push   %eax                           
  10fd44:	ff 75 08             	pushl  0x8(%ebp)                      
  10fd47:	e8 d0 fd ff ff       	call   10fb1c <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
  10fd4c:	83 c4 10             	add    $0x10,%esp                     
      return copied;                                                  
  10fd4f:	31 d2                	xor    %edx,%edx                      
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
  10fd51:	85 c0                	test   %eax,%eax                      
  10fd53:	0f 84 ba 00 00 00    	je     10fe13 <IMFS_memfile_read+0x1ae><== NEVER TAKEN
   */                                                                 
                                                                      
  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;            
  10fd59:	8b 4d c4             	mov    -0x3c(%ebp),%ecx               
  10fd5c:	2b 4d cc             	sub    -0x34(%ebp),%ecx               
  10fd5f:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  10fd62:	39 ca                	cmp    %ecx,%edx                      
  10fd64:	76 02                	jbe    10fd68 <IMFS_memfile_read+0x103>
  10fd66:	89 ca                	mov    %ecx,%edx                      
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
  10fd68:	8b 75 cc             	mov    -0x34(%ebp),%esi               
  10fd6b:	03 30                	add    (%eax),%esi                    
    dest += to_copy;                                                  
  10fd6d:	8b 7d 14             	mov    0x14(%ebp),%edi                
  10fd70:	89 d1                	mov    %edx,%ecx                      
  10fd72:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
  10fd74:	89 7d cc             	mov    %edi,-0x34(%ebp)               
    block++;                                                          
  10fd77:	43                   	inc    %ebx                           
    my_length -= to_copy;                                             
  10fd78:	29 55 d0             	sub    %edx,-0x30(%ebp)               
  10fd7b:	eb 08                	jmp    10fd85 <IMFS_memfile_read+0x120>
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
  10fd7d:	8b 45 14             	mov    0x14(%ebp),%eax                
  10fd80:	89 45 cc             	mov    %eax,-0x34(%ebp)               
                                                                      
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
    my_length = the_jnode->info.file.size - start;                    
                                                                      
  copied = 0;                                                         
  10fd83:	31 d2                	xor    %edx,%edx                      
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  10fd85:	8b 0d 8c 3d 12 00    	mov    0x123d8c,%ecx                  
  10fd8b:	89 4d c8             	mov    %ecx,-0x38(%ebp)               
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
  10fd8e:	eb 2f                	jmp    10fdbf <IMFS_memfile_read+0x15a>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
  10fd90:	56                   	push   %esi                           
  10fd91:	6a 00                	push   $0x0                           
  10fd93:	53                   	push   %ebx                           
  10fd94:	ff 75 08             	pushl  0x8(%ebp)                      
  10fd97:	89 55 c0             	mov    %edx,-0x40(%ebp)               
  10fd9a:	e8 7d fd ff ff       	call   10fb1c <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
  10fd9f:	83 c4 10             	add    $0x10,%esp                     
  10fda2:	85 c0                	test   %eax,%eax                      
  10fda4:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  10fda7:	74 6a                	je     10fe13 <IMFS_memfile_read+0x1ae><== NEVER TAKEN
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
  10fda9:	8b 30                	mov    (%eax),%esi                    
  10fdab:	8b 7d cc             	mov    -0x34(%ebp),%edi               
  10fdae:	8b 4d c8             	mov    -0x38(%ebp),%ecx               
  10fdb1:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
    dest += to_copy;                                                  
  10fdb3:	89 7d cc             	mov    %edi,-0x34(%ebp)               
    block++;                                                          
  10fdb6:	43                   	inc    %ebx                           
    my_length -= to_copy;                                             
  10fdb7:	8b 7d c8             	mov    -0x38(%ebp),%edi               
  10fdba:	29 7d d0             	sub    %edi,-0x30(%ebp)               
    copied += to_copy;                                                
  10fdbd:	01 fa                	add    %edi,%edx                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
  10fdbf:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10fdc2:	3b 05 8c 3d 12 00    	cmp    0x123d8c,%eax                  
  10fdc8:	73 c6                	jae    10fd90 <IMFS_memfile_read+0x12b>
                                                                      
  #if defined(RTEMS_DEBUG)                                            
    assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );               
  #endif                                                              
                                                                      
  if ( my_length ) {                                                  
  10fdca:	85 c0                	test   %eax,%eax                      
  10fdcc:	74 26                	je     10fdf4 <IMFS_memfile_read+0x18f>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
  10fdce:	51                   	push   %ecx                           
  10fdcf:	6a 00                	push   $0x0                           
  10fdd1:	53                   	push   %ebx                           
  10fdd2:	ff 75 08             	pushl  0x8(%ebp)                      
  10fdd5:	89 55 c0             	mov    %edx,-0x40(%ebp)               
  10fdd8:	e8 3f fd ff ff       	call   10fb1c <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
  10fddd:	83 c4 10             	add    $0x10,%esp                     
  10fde0:	85 c0                	test   %eax,%eax                      
  10fde2:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  10fde5:	74 2c                	je     10fe13 <IMFS_memfile_read+0x1ae><== NEVER TAKEN
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
  10fde7:	8b 30                	mov    (%eax),%esi                    
  10fde9:	8b 7d cc             	mov    -0x34(%ebp),%edi               
  10fdec:	8b 4d d0             	mov    -0x30(%ebp),%ecx               
  10fdef:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
    copied += my_length;                                              
  10fdf1:	03 55 d0             	add    -0x30(%ebp),%edx               
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
  10fdf4:	50                   	push   %eax                           
  10fdf5:	50                   	push   %eax                           
  10fdf6:	6a 00                	push   $0x0                           
  10fdf8:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10fdfb:	50                   	push   %eax                           
  10fdfc:	89 55 c0             	mov    %edx,-0x40(%ebp)               
  10fdff:	e8 80 75 ff ff       	call   107384 <gettimeofday>          
  10fe04:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10fe07:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10fe0a:	89 41 40             	mov    %eax,0x40(%ecx)                
                                                                      
  return copied;                                                      
  10fe0d:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  10fe10:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10fe13:	89 d0                	mov    %edx,%eax                      
  10fe15:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10fe18:	5b                   	pop    %ebx                           
  10fe19:	5e                   	pop    %esi                           
  10fe1a:	5f                   	pop    %edi                           
  10fe1b:	c9                   	leave                                 
  10fe1c:	c3                   	ret                                   
                                                                      

0010fedf <IMFS_memfile_remove>: */ int IMFS_memfile_remove( IMFS_jnode_t *the_jnode ) {
  10fedf:	55                   	push   %ebp                           
  10fee0:	89 e5                	mov    %esp,%ebp                      
  10fee2:	57                   	push   %edi                           
  10fee3:	56                   	push   %esi                           
  10fee4:	53                   	push   %ebx                           
  10fee5:	83 ec 1c             	sub    $0x1c,%esp                     
  10fee8:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  /*                                                                  
   *  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;                                 
  10feeb:	8b 35 8c 3d 12 00    	mov    0x123d8c,%esi                  
  10fef1:	c1 ee 02             	shr    $0x2,%esi                      
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
  10fef4:	83 7b 58 00          	cmpl   $0x0,0x58(%ebx)                
  10fef8:	74 0f                	je     10ff09 <IMFS_memfile_remove+0x2a>
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  10fefa:	57                   	push   %edi                           
  10fefb:	57                   	push   %edi                           
  10fefc:	56                   	push   %esi                           
  10fefd:	8d 43 58             	lea    0x58(%ebx),%eax                
  10ff00:	50                   	push   %eax                           
  10ff01:	e8 88 ff ff ff       	call   10fe8e <memfile_free_blocks_in_table>
  10ff06:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
  10ff09:	83 7b 5c 00          	cmpl   $0x0,0x5c(%ebx)                
  10ff0d:	74 3e                	je     10ff4d <IMFS_memfile_remove+0x6e><== ALWAYS TAKEN
  10ff0f:	31 ff                	xor    %edi,%edi                      <== NOT EXECUTED
  10ff11:	eb 1f                	jmp    10ff32 <IMFS_memfile_remove+0x53><== NOT EXECUTED
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      if ( info->doubly_indirect[i] ) {                               
  10ff13:	8b 43 5c             	mov    0x5c(%ebx),%eax                <== NOT EXECUTED
  10ff16:	8d 14 bd 00 00 00 00 	lea    0x0(,%edi,4),%edx              <== NOT EXECUTED
  10ff1d:	83 3c b8 00          	cmpl   $0x0,(%eax,%edi,4)             <== NOT EXECUTED
  10ff21:	74 0e                	je     10ff31 <IMFS_memfile_remove+0x52><== NOT EXECUTED
        memfile_free_blocks_in_table(                                 
  10ff23:	51                   	push   %ecx                           <== NOT EXECUTED
  10ff24:	51                   	push   %ecx                           <== NOT EXECUTED
  10ff25:	56                   	push   %esi                           <== NOT EXECUTED
  10ff26:	01 d0                	add    %edx,%eax                      <== NOT EXECUTED
  10ff28:	50                   	push   %eax                           <== NOT EXECUTED
  10ff29:	e8 60 ff ff ff       	call   10fe8e <memfile_free_blocks_in_table><== NOT EXECUTED
  10ff2e:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
  10ff31:	47                   	inc    %edi                           <== NOT EXECUTED
  10ff32:	a1 8c 3d 12 00       	mov    0x123d8c,%eax                  <== NOT EXECUTED
  10ff37:	c1 e8 02             	shr    $0x2,%eax                      <== NOT EXECUTED
  10ff3a:	39 c7                	cmp    %eax,%edi                      <== NOT EXECUTED
  10ff3c:	72 d5                	jb     10ff13 <IMFS_memfile_remove+0x34><== 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 );  
  10ff3e:	57                   	push   %edi                           <== NOT EXECUTED
  10ff3f:	57                   	push   %edi                           <== NOT EXECUTED
  10ff40:	56                   	push   %esi                           <== NOT EXECUTED
  10ff41:	8d 43 5c             	lea    0x5c(%ebx),%eax                <== NOT EXECUTED
  10ff44:	50                   	push   %eax                           <== NOT EXECUTED
  10ff45:	e8 44 ff ff ff       	call   10fe8e <memfile_free_blocks_in_table><== NOT EXECUTED
  10ff4a:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
  10ff4d:	83 7b 60 00          	cmpl   $0x0,0x60(%ebx)                
  10ff51:	74 78                	je     10ffcb <IMFS_memfile_remove+0xec><== ALWAYS TAKEN
  10ff53:	31 ff                	xor    %edi,%edi                      <== NOT EXECUTED
  10ff55:	eb 59                	jmp    10ffb0 <IMFS_memfile_remove+0xd1><== NOT EXECUTED
  10ff57:	8d 04 bd 00 00 00 00 	lea    0x0(,%edi,4),%eax              <== NOT EXECUTED
  10ff5e:	89 45 e4             	mov    %eax,-0x1c(%ebp)               <== NOT EXECUTED
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
  10ff61:	8b 43 60             	mov    0x60(%ebx),%eax                <== NOT EXECUTED
  10ff64:	8b 04 b8             	mov    (%eax,%edi,4),%eax             <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
  10ff67:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  10ff69:	74 51                	je     10ffbc <IMFS_memfile_remove+0xdd><== NOT EXECUTED
  10ff6b:	31 d2                	xor    %edx,%edx                      <== NOT EXECUTED
  10ff6d:	eb 21                	jmp    10ff90 <IMFS_memfile_remove+0xb1><== NOT EXECUTED
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
        if ( p[j] ) {                                                 
  10ff6f:	83 38 00             	cmpl   $0x0,(%eax)                    <== NOT EXECUTED
  10ff72:	74 18                	je     10ff8c <IMFS_memfile_remove+0xad><== NOT EXECUTED
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
  10ff74:	51                   	push   %ecx                           <== NOT EXECUTED
  10ff75:	51                   	push   %ecx                           <== NOT EXECUTED
  10ff76:	56                   	push   %esi                           <== NOT EXECUTED
  10ff77:	50                   	push   %eax                           <== NOT EXECUTED
  10ff78:	89 45 dc             	mov    %eax,-0x24(%ebp)               <== NOT EXECUTED
  10ff7b:	89 55 e0             	mov    %edx,-0x20(%ebp)               <== NOT EXECUTED
  10ff7e:	e8 0b ff ff ff       	call   10fe8e <memfile_free_blocks_in_table><== NOT EXECUTED
  10ff83:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10ff86:	8b 55 e0             	mov    -0x20(%ebp),%edx               <== NOT EXECUTED
  10ff89:	8b 45 dc             	mov    -0x24(%ebp),%eax               <== 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++ ) {                
  10ff8c:	42                   	inc    %edx                           <== NOT EXECUTED
  10ff8d:	83 c0 04             	add    $0x4,%eax                      <== NOT EXECUTED
  10ff90:	8b 0d 8c 3d 12 00    	mov    0x123d8c,%ecx                  <== NOT EXECUTED
  10ff96:	c1 e9 02             	shr    $0x2,%ecx                      <== NOT EXECUTED
  10ff99:	39 ca                	cmp    %ecx,%edx                      <== NOT EXECUTED
  10ff9b:	72 d2                	jb     10ff6f <IMFS_memfile_remove+0x90><== NOT EXECUTED
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
  10ff9d:	52                   	push   %edx                           <== NOT EXECUTED
  10ff9e:	52                   	push   %edx                           <== NOT EXECUTED
  10ff9f:	56                   	push   %esi                           <== NOT EXECUTED
  10ffa0:	8b 45 e4             	mov    -0x1c(%ebp),%eax               <== NOT EXECUTED
  10ffa3:	03 43 60             	add    0x60(%ebx),%eax                <== NOT EXECUTED
  10ffa6:	50                   	push   %eax                           <== NOT EXECUTED
  10ffa7:	e8 e2 fe ff ff       	call   10fe8e <memfile_free_blocks_in_table><== NOT EXECUTED
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
  10ffac:	47                   	inc    %edi                           <== NOT EXECUTED
  10ffad:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10ffb0:	a1 8c 3d 12 00       	mov    0x123d8c,%eax                  <== NOT EXECUTED
  10ffb5:	c1 e8 02             	shr    $0x2,%eax                      <== NOT EXECUTED
  10ffb8:	39 c7                	cmp    %eax,%edi                      <== NOT EXECUTED
  10ffba:	72 9b                	jb     10ff57 <IMFS_memfile_remove+0x78><== NOT EXECUTED
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
  10ffbc:	50                   	push   %eax                           <== NOT EXECUTED
  10ffbd:	50                   	push   %eax                           <== NOT EXECUTED
  10ffbe:	56                   	push   %esi                           <== NOT EXECUTED
        (block_p **)&info->triply_indirect, to_free );                
  10ffbf:	83 c3 60             	add    $0x60,%ebx                     <== NOT EXECUTED
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
  10ffc2:	53                   	push   %ebx                           <== NOT EXECUTED
  10ffc3:	e8 c6 fe ff ff       	call   10fe8e <memfile_free_blocks_in_table><== NOT EXECUTED
  10ffc8:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
  10ffcb:	31 c0                	xor    %eax,%eax                      
  10ffcd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ffd0:	5b                   	pop    %ebx                           
  10ffd1:	5e                   	pop    %esi                           
  10ffd2:	5f                   	pop    %edi                           
  10ffd3:	c9                   	leave                                 
  10ffd4:	c3                   	ret                                   
                                                                      

0010ffd5 <IMFS_memfile_remove_block>: MEMFILE_STATIC int IMFS_memfile_remove_block( IMFS_jnode_t *the_jnode, unsigned int block ) {
  10ffd5:	55                   	push   %ebp                           <== NOT EXECUTED
  10ffd6:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  10ffd8:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  block_p *block_ptr;                                                 
  block_p  ptr;                                                       
                                                                      
  block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );  
  10ffdb:	6a 00                	push   $0x0                           <== NOT EXECUTED
  10ffdd:	ff 75 0c             	pushl  0xc(%ebp)                      <== NOT EXECUTED
  10ffe0:	ff 75 08             	pushl  0x8(%ebp)                      <== NOT EXECUTED
  10ffe3:	e8 34 fb ff ff       	call   10fb1c <IMFS_memfile_get_block_pointer><== NOT EXECUTED
  #if defined(RTEMS_DEBUG)                                            
    assert( block_ptr );                                              
  #endif                                                              
                                                                      
  if ( block_ptr ) {                                                  
  10ffe8:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10ffeb:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  10ffed:	74 14                	je     110003 <IMFS_memfile_remove_block+0x2e><== NOT EXECUTED
    ptr = *block_ptr;                                                 
  10ffef:	8b 10                	mov    (%eax),%edx                    <== NOT EXECUTED
    *block_ptr = 0;                                                   
  10fff1:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    <== NOT EXECUTED
    memfile_free_block( ptr );                                        
  10fff7:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10fffa:	52                   	push   %edx                           <== NOT EXECUTED
  10fffb:	e8 75 fe ff ff       	call   10fe75 <memfile_free_block>    <== NOT EXECUTED
  110000:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  }                                                                   
                                                                      
  return 1;                                                           
}                                                                     
  110003:	b8 01 00 00 00       	mov    $0x1,%eax                      <== NOT EXECUTED
  110008:	c9                   	leave                                 <== NOT EXECUTED
  110009:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

001100fc <IMFS_memfile_write>: IMFS_jnode_t *the_jnode, off_t start, const unsigned char *source, unsigned int length ) {
  1100fc:	55                   	push   %ebp                           
  1100fd:	89 e5                	mov    %esp,%ebp                      
  1100ff:	57                   	push   %edi                           
  110100:	56                   	push   %esi                           
  110101:	53                   	push   %ebx                           
  110102:	83 ec 3c             	sub    $0x3c,%esp                     
  110105:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  110108:	8b 75 10             	mov    0x10(%ebp),%esi                
                                                                      
  /*                                                                  
   *  Error check arguments                                           
   */                                                                 
                                                                      
  if ( !source )                                                      
  11010b:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  11010f:	74 06                	je     110117 <IMFS_memfile_write+0x1b><== NEVER TAKEN
  /*                                                                  
   *  If there is nothing to write, then quick exit.                  
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
  110111:	83 7d 18 00          	cmpl   $0x0,0x18(%ebp)                
  110115:	75 0d                	jne    110124 <IMFS_memfile_write+0x28><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  110117:	e8 20 10 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  11011c:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
  110122:	eb 35                	jmp    110159 <IMFS_memfile_write+0x5d><== 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;                                         
  110124:	8b 4d 18             	mov    0x18(%ebp),%ecx                
  110127:	01 d9                	add    %ebx,%ecx                      
  if ( last_byte > the_jnode->info.file.size ) {                      
  110129:	89 c8                	mov    %ecx,%eax                      
  11012b:	31 d2                	xor    %edx,%edx                      
  11012d:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  110130:	3b 57 54             	cmp    0x54(%edi),%edx                
  110133:	7c 2c                	jl     110161 <IMFS_memfile_write+0x65><== NEVER TAKEN
  110135:	7f 05                	jg     11013c <IMFS_memfile_write+0x40><== NEVER TAKEN
  110137:	3b 4f 50             	cmp    0x50(%edi),%ecx                
  11013a:	76 25                	jbe    110161 <IMFS_memfile_write+0x65><== NEVER TAKEN
    status = IMFS_memfile_extend( the_jnode, last_byte );             
  11013c:	57                   	push   %edi                           
  11013d:	52                   	push   %edx                           
  11013e:	50                   	push   %eax                           
  11013f:	ff 75 08             	pushl  0x8(%ebp)                      
  110142:	e8 c3 fe ff ff       	call   11000a <IMFS_memfile_extend>   
    if ( status )                                                     
  110147:	83 c4 10             	add    $0x10,%esp                     
  11014a:	85 c0                	test   %eax,%eax                      
  11014c:	74 13                	je     110161 <IMFS_memfile_write+0x65>
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
  11014e:	e8 e9 0f 00 00       	call   11113c <__errno>               
  110153:	c7 00 1c 00 00 00    	movl   $0x1c,(%eax)                   
  110159:	83 cb ff             	or     $0xffffffff,%ebx               
  11015c:	e9 fe 00 00 00       	jmp    11025f <IMFS_memfile_write+0x163>
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  110161:	a1 8c 3d 12 00       	mov    0x123d8c,%eax                  
  110166:	89 45 cc             	mov    %eax,-0x34(%ebp)               
  110169:	99                   	cltd                                  
  11016a:	89 45 c0             	mov    %eax,-0x40(%ebp)               
  11016d:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  110170:	52                   	push   %edx                           
  110171:	50                   	push   %eax                           
  110172:	56                   	push   %esi                           
  110173:	53                   	push   %ebx                           
  110174:	e8 cf c2 00 00       	call   11c448 <__moddi3>              
  110179:	83 c4 10             	add    $0x10,%esp                     
  11017c:	89 c7                	mov    %eax,%edi                      
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  11017e:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  110181:	ff 75 c0             	pushl  -0x40(%ebp)                    
  110184:	56                   	push   %esi                           
  110185:	53                   	push   %ebx                           
  110186:	e8 5d c1 00 00       	call   11c2e8 <__divdi3>              
  11018b:	83 c4 10             	add    $0x10,%esp                     
  11018e:	89 c2                	mov    %eax,%edx                      
  if ( start_offset )  {                                              
  110190:	85 ff                	test   %edi,%edi                      
  110192:	74 40                	je     1101d4 <IMFS_memfile_write+0xd8>
    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 );
  110194:	51                   	push   %ecx                           
  110195:	6a 00                	push   $0x0                           
  110197:	50                   	push   %eax                           
  110198:	ff 75 08             	pushl  0x8(%ebp)                      
  11019b:	89 45 bc             	mov    %eax,-0x44(%ebp)               
  11019e:	e8 79 f9 ff ff       	call   10fb1c <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
  1101a3:	83 c4 10             	add    $0x10,%esp                     
      return copied;                                                  
  1101a6:	31 db                	xor    %ebx,%ebx                      
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
  1101a8:	85 c0                	test   %eax,%eax                      
  1101aa:	8b 55 bc             	mov    -0x44(%ebp),%edx               
  1101ad:	0f 84 ac 00 00 00    	je     11025f <IMFS_memfile_write+0x163><== NEVER TAKEN
   */                                                                 
                                                                      
  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;            
  1101b3:	8b 5d cc             	mov    -0x34(%ebp),%ebx               
  1101b6:	29 fb                	sub    %edi,%ebx                      
  1101b8:	3b 5d 18             	cmp    0x18(%ebp),%ebx                
  1101bb:	76 03                	jbe    1101c0 <IMFS_memfile_write+0xc4>
  1101bd:	8b 5d 18             	mov    0x18(%ebp),%ebx                
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
  1101c0:	03 38                	add    (%eax),%edi                    
    src += to_copy;                                                   
  1101c2:	8b 75 14             	mov    0x14(%ebp),%esi                
  1101c5:	89 d9                	mov    %ebx,%ecx                      
  1101c7:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
    block++;                                                          
  1101c9:	42                   	inc    %edx                           
    my_length -= to_copy;                                             
  1101ca:	8b 7d 18             	mov    0x18(%ebp),%edi                
  1101cd:	29 df                	sub    %ebx,%edi                      
  1101cf:	89 7d d4             	mov    %edi,-0x2c(%ebp)               
  1101d2:	eb 0b                	jmp    1101df <IMFS_memfile_write+0xe3>
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
  1101d4:	8b 75 14             	mov    0x14(%ebp),%esi                
  1101d7:	8b 45 18             	mov    0x18(%ebp),%eax                
  1101da:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
    status = IMFS_memfile_extend( the_jnode, last_byte );             
    if ( status )                                                     
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
  }                                                                   
                                                                      
  copied = 0;                                                         
  1101dd:	31 db                	xor    %ebx,%ebx                      
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  1101df:	8b 3d 8c 3d 12 00    	mov    0x123d8c,%edi                  
  1101e5:	89 7d d0             	mov    %edi,-0x30(%ebp)               
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
  1101e8:	eb 2b                	jmp    110215 <IMFS_memfile_write+0x119>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
  1101ea:	50                   	push   %eax                           
  1101eb:	6a 00                	push   $0x0                           
  1101ed:	52                   	push   %edx                           
  1101ee:	ff 75 08             	pushl  0x8(%ebp)                      
  1101f1:	89 55 bc             	mov    %edx,-0x44(%ebp)               
  1101f4:	e8 23 f9 ff ff       	call   10fb1c <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
  1101f9:	83 c4 10             	add    $0x10,%esp                     
  1101fc:	85 c0                	test   %eax,%eax                      
  1101fe:	8b 55 bc             	mov    -0x44(%ebp),%edx               
  110201:	74 5c                	je     11025f <IMFS_memfile_write+0x163><== NEVER TAKEN
      return copied;                                                  
    #if 0                                                             
      fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
    #endif                                                            
    memcpy( &(*block_ptr)[ 0 ], src, to_copy );                       
  110203:	8b 00                	mov    (%eax),%eax                    
    src += to_copy;                                                   
  110205:	89 c7                	mov    %eax,%edi                      
  110207:	8b 4d d0             	mov    -0x30(%ebp),%ecx               
  11020a:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
    block++;                                                          
  11020c:	42                   	inc    %edx                           
    my_length -= to_copy;                                             
  11020d:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  110210:	29 45 d4             	sub    %eax,-0x2c(%ebp)               
 *                                                                    
 *  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(                            
  110213:	01 c3                	add    %eax,%ebx                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
  110215:	8b 7d d4             	mov    -0x2c(%ebp),%edi               
  110218:	3b 3d 8c 3d 12 00    	cmp    0x123d8c,%edi                  
  11021e:	73 ca                	jae    1101ea <IMFS_memfile_write+0xee>
  #if defined(RTEMS_DEBUG)                                            
    assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );               
  #endif                                                              
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
  110220:	85 ff                	test   %edi,%edi                      
  110222:	74 1f                	je     110243 <IMFS_memfile_write+0x147>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
  110224:	57                   	push   %edi                           
  110225:	6a 00                	push   $0x0                           
  110227:	52                   	push   %edx                           
  110228:	ff 75 08             	pushl  0x8(%ebp)                      
  11022b:	e8 ec f8 ff ff       	call   10fb1c <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
  110230:	83 c4 10             	add    $0x10,%esp                     
  110233:	85 c0                	test   %eax,%eax                      
  110235:	74 28                	je     11025f <IMFS_memfile_write+0x163><== NEVER TAKEN
      return copied;                                                  
    #if 0                                                             
    fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
    #endif                                                            
    memcpy( &(*block_ptr)[ 0 ], src, my_length );                     
  110237:	8b 00                	mov    (%eax),%eax                    
  110239:	89 c7                	mov    %eax,%edi                      
  11023b:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  11023e:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
    my_length = 0;                                                    
    copied += to_copy;                                                
  110240:	03 5d d4             	add    -0x2c(%ebp),%ebx               
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
  110243:	56                   	push   %esi                           
  110244:	56                   	push   %esi                           
  110245:	6a 00                	push   $0x0                           
  110247:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  11024a:	50                   	push   %eax                           
  11024b:	e8 34 71 ff ff       	call   107384 <gettimeofday>          
  110250:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  110253:	8b 55 08             	mov    0x8(%ebp),%edx                 
  110256:	89 42 44             	mov    %eax,0x44(%edx)                
  110259:	89 42 48             	mov    %eax,0x48(%edx)                
                                                                      
  return copied;                                                      
  11025c:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  11025f:	89 d8                	mov    %ebx,%eax                      
  110261:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110264:	5b                   	pop    %ebx                           
  110265:	5e                   	pop    %esi                           
  110266:	5f                   	pop    %edi                           
  110267:	c9                   	leave                                 
  110268:	c3                   	ret                                   
                                                                      

00106c08 <IMFS_mknod>: const char *token, /* IN */ mode_t mode, /* IN */ dev_t dev, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
  106c08:	55                   	push   %ebp                           
  106c09:	89 e5                	mov    %esp,%ebp                      
  106c0b:	57                   	push   %edi                           
  106c0c:	56                   	push   %esi                           
  106c0d:	53                   	push   %ebx                           
  106c0e:	83 ec 4c             	sub    $0x4c,%esp                     
  106c11:	8b 55 08             	mov    0x8(%ebp),%edx                 
  106c14:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  106c17:	8b 75 14             	mov    0x14(%ebp),%esi                
  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 );        
  106c1a:	31 c0                	xor    %eax,%eax                      
  106c1c:	83 c9 ff             	or     $0xffffffff,%ecx               
  106c1f:	89 d7                	mov    %edx,%edi                      
  106c21:	f2 ae                	repnz scas %es:(%edi),%al             
  106c23:	f7 d1                	not    %ecx                           
  106c25:	49                   	dec    %ecx                           
  106c26:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  106c29:	50                   	push   %eax                           
  106c2a:	8d 45 af             	lea    -0x51(%ebp),%eax               
  106c2d:	50                   	push   %eax                           
  106c2e:	51                   	push   %ecx                           
  106c2f:	52                   	push   %edx                           
  106c30:	e8 67 70 00 00       	call   10dc9c <IMFS_get_token>        
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
  106c35:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  106c38:	25 00 f0 00 00       	and    $0xf000,%eax                   
  106c3d:	83 c4 10             	add    $0x10,%esp                     
  106c40:	3d 00 40 00 00       	cmp    $0x4000,%eax                   
  106c45:	74 3b                	je     106c82 <IMFS_mknod+0x7a>       
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
  106c47:	3d 00 80 00 00       	cmp    $0x8000,%eax                   
  106c4c:	74 3b                	je     106c89 <IMFS_mknod+0x81>       
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
  106c4e:	3d 00 20 00 00       	cmp    $0x2000,%eax                   
  106c53:	74 07                	je     106c5c <IMFS_mknod+0x54>       
  106c55:	3d 00 60 00 00       	cmp    $0x6000,%eax                   
  106c5a:	75 0d                	jne    106c69 <IMFS_mknod+0x61>       
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
  106c5c:	89 5d d0             	mov    %ebx,-0x30(%ebp)               
  106c5f:	89 75 d4             	mov    %esi,-0x2c(%ebp)               
  if ( S_ISDIR(mode) )                                                
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
    type = IMFS_DEVICE;                                               
  106c62:	ba 02 00 00 00       	mov    $0x2,%edx                      
  106c67:	eb 25                	jmp    106c8e <IMFS_mknod+0x86>       
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
  }                                                                   
  else if (S_ISFIFO(mode))                                            
    type = IMFS_FIFO;                                                 
  106c69:	ba 07 00 00 00       	mov    $0x7,%edx                      
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
  }                                                                   
  else if (S_ISFIFO(mode))                                            
  106c6e:	3d 00 10 00 00       	cmp    $0x1000,%eax                   
  106c73:	74 19                	je     106c8e <IMFS_mknod+0x86>       <== ALWAYS TAKEN
    type = IMFS_FIFO;                                                 
  else  {                                                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  106c75:	e8 c2 a4 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  106c7a:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
  106c80:	eb 39                	jmp    106cbb <IMFS_mknod+0xb3>       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
    type = IMFS_DIRECTORY;                                            
  106c82:	ba 01 00 00 00       	mov    $0x1,%edx                      
  106c87:	eb 05                	jmp    106c8e <IMFS_mknod+0x86>       
  else if ( S_ISREG(mode) )                                           
    type = IMFS_MEMORY_FILE;                                          
  106c89:	ba 05 00 00 00       	mov    $0x5,%edx                      
   *        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(                                        
  106c8e:	83 ec 0c             	sub    $0xc,%esp                      
    pathloc,                                                          
    type,                                                             
    new_name,                                                         
    mode,                                                             
    &info                                                             
  106c91:	8d 45 d0             	lea    -0x30(%ebp),%eax               
   *        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(                                        
  106c94:	50                   	push   %eax                           
  106c95:	ff 75 0c             	pushl  0xc(%ebp)                      
  106c98:	8d 45 af             	lea    -0x51(%ebp),%eax               
  106c9b:	50                   	push   %eax                           
  106c9c:	52                   	push   %edx                           
  106c9d:	ff 75 18             	pushl  0x18(%ebp)                     
  106ca0:	e8 be 67 00 00       	call   10d463 <IMFS_create_node>      
  106ca5:	89 c2                	mov    %eax,%edx                      
    new_name,                                                         
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
  106ca7:	83 c4 20             	add    $0x20,%esp                     
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  return 0;                                                           
  106caa:	31 c0                	xor    %eax,%eax                      
    new_name,                                                         
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
  106cac:	85 d2                	test   %edx,%edx                      
  106cae:	75 0e                	jne    106cbe <IMFS_mknod+0xb6>       
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
  106cb0:	e8 87 a4 00 00       	call   11113c <__errno>               
  106cb5:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    
  106cbb:	83 c8 ff             	or     $0xffffffff,%eax               
                                                                      
  return 0;                                                           
}                                                                     
  106cbe:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  106cc1:	5b                   	pop    %ebx                           
  106cc2:	5e                   	pop    %esi                           
  106cc3:	5f                   	pop    %edi                           
  106cc4:	c9                   	leave                                 
  106cc5:	c3                   	ret                                   
                                                                      

00106cc8 <IMFS_mount>: #include <rtems/seterr.h> int IMFS_mount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
  106cc8:	55                   	push   %ebp                           
  106cc9:	89 e5                	mov    %esp,%ebp                      
  106ccb:	83 ec 08             	sub    $0x8,%esp                      
  106cce:	8b 55 08             	mov    0x8(%ebp),%edx                 
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
  106cd1:	8b 42 08             	mov    0x8(%edx),%eax                 
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
  106cd4:	83 78 4c 01          	cmpl   $0x1,0x4c(%eax)                
  106cd8:	74 10                	je     106cea <IMFS_mount+0x22>       <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  106cda:	e8 5d a4 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  106cdf:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   <== NOT EXECUTED
  106ce5:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  106ce8:	eb 05                	jmp    106cef <IMFS_mount+0x27>       <== 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;                              
  106cea:	89 50 5c             	mov    %edx,0x5c(%eax)                
  return 0;                                                           
  106ced:	31 c0                	xor    %eax,%eax                      
}                                                                     
  106cef:	c9                   	leave                                 
  106cf0:	c3                   	ret                                   
                                                                      

00108598 <IMFS_print_jnode>: */ void IMFS_print_jnode( IMFS_jnode_t *the_jnode ) {
  108598:	55                   	push   %ebp                           
  108599:	89 e5                	mov    %esp,%ebp                      
  10859b:	53                   	push   %ebx                           
  10859c:	83 ec 0c             	sub    $0xc,%esp                      
  10859f:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
  #endif                                                              
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  1085a2:	a1 40 70 12 00       	mov    0x127040,%eax                  
  1085a7:	ff 70 08             	pushl  0x8(%eax)                      
  1085aa:	8d 43 0c             	lea    0xc(%ebx),%eax                 
  1085ad:	50                   	push   %eax                           
  1085ae:	e8 15 bd 00 00       	call   1142c8 <fputs>                 
  switch( the_jnode->type ) {                                         
  1085b3:	8b 43 4c             	mov    0x4c(%ebx),%eax                
  1085b6:	83 c4 10             	add    $0x10,%esp                     
  1085b9:	8d 50 ff             	lea    -0x1(%eax),%edx                
  1085bc:	83 fa 06             	cmp    $0x6,%edx                      
  1085bf:	77 75                	ja     108636 <IMFS_print_jnode+0x9e> <== NEVER TAKEN
  1085c1:	a1 40 70 12 00       	mov    0x127040,%eax                  
  1085c6:	ff 24 95 04 2f 12 00 	jmp    *0x122f04(,%edx,4)             
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
  1085cd:	51                   	push   %ecx                           
  1085ce:	51                   	push   %ecx                           
  1085cf:	ff 70 08             	pushl  0x8(%eax)                      
  1085d2:	6a 2f                	push   $0x2f                          
  1085d4:	e8 43 bc 00 00       	call   11421c <fputc>                 
  1085d9:	eb 2b                	jmp    108606 <IMFS_print_jnode+0x6e> 
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
  1085db:	ff 73 54             	pushl  0x54(%ebx)                     
  1085de:	ff 73 50             	pushl  0x50(%ebx)                     
  1085e1:	68 10 2e 12 00       	push   $0x122e10                      
  1085e6:	eb 16                	jmp    1085fe <IMFS_print_jnode+0x66> 
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      fprintf(stdout, " (file %" PRId32 " %p)",                       
  1085e8:	ff 73 58             	pushl  0x58(%ebx)                     <== NOT EXECUTED
  1085eb:	ff 73 50             	pushl  0x50(%ebx)                     <== NOT EXECUTED
  1085ee:	68 23 2e 12 00       	push   $0x122e23                      <== NOT EXECUTED
  1085f3:	eb 09                	jmp    1085fe <IMFS_print_jnode+0x66> <== NOT EXECUTED
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
  1085f5:	52                   	push   %edx                           
  1085f6:	ff 73 50             	pushl  0x50(%ebx)                     
  1085f9:	68 32 2e 12 00       	push   $0x122e32                      
  1085fe:	ff 70 08             	pushl  0x8(%eax)                      
  108601:	e8 b6 bb 00 00       	call   1141bc <fprintf>               
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
  108606:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
  108609:	c7 45 08 d1 30 12 00 	movl   $0x1230d1,0x8(%ebp)            
}                                                                     
  108610:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108613:	c9                   	leave                                 
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
  108614:	e9 8b d4 00 00       	jmp    115aa4 <puts>                  
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
  108619:	53                   	push   %ebx                           <== NOT EXECUTED
  10861a:	53                   	push   %ebx                           <== NOT EXECUTED
  10861b:	ff 70 08             	pushl  0x8(%eax)                      <== NOT EXECUTED
  10861e:	68 3e 2e 12 00       	push   $0x122e3e                      <== NOT EXECUTED
  108623:	eb 0a                	jmp    10862f <IMFS_print_jnode+0x97> <== NOT EXECUTED
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
  108625:	51                   	push   %ecx                           <== NOT EXECUTED
  108626:	51                   	push   %ecx                           <== NOT EXECUTED
  108627:	ff 70 08             	pushl  0x8(%eax)                      <== NOT EXECUTED
  10862a:	68 52 2e 12 00       	push   $0x122e52                      <== NOT EXECUTED
  10862f:	e8 94 bc 00 00       	call   1142c8 <fputs>                 <== NOT EXECUTED
  108634:	eb 14                	jmp    10864a <IMFS_print_jnode+0xb2> <== NOT EXECUTED
      return;                                                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
  108636:	52                   	push   %edx                           <== NOT EXECUTED
  108637:	50                   	push   %eax                           <== NOT EXECUTED
  108638:	68 65 2e 12 00       	push   $0x122e65                      <== NOT EXECUTED
  10863d:	a1 40 70 12 00       	mov    0x127040,%eax                  <== NOT EXECUTED
  108642:	ff 70 08             	pushl  0x8(%eax)                      <== NOT EXECUTED
  108645:	e8 72 bb 00 00       	call   1141bc <fprintf>               <== NOT EXECUTED
      return;                                                         
  10864a:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  }                                                                   
  puts("");                                                           
}                                                                     
  10864d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  108650:	c9                   	leave                                 <== NOT EXECUTED
  108651:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

00106d04 <IMFS_readlink>: int IMFS_readlink( rtems_filesystem_location_info_t *loc, char *buf, /* OUT */ size_t bufsize ) {
  106d04:	55                   	push   %ebp                           
  106d05:	89 e5                	mov    %esp,%ebp                      
  106d07:	56                   	push   %esi                           
  106d08:	53                   	push   %ebx                           
  106d09:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  106d0c:	8b 75 10             	mov    0x10(%ebp),%esi                
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
  106d0f:	8b 45 08             	mov    0x8(%ebp),%eax                 
  106d12:	8b 10                	mov    (%eax),%edx                    
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
  106d14:	83 7a 4c 04          	cmpl   $0x4,0x4c(%edx)                
  106d18:	75 04                	jne    106d1e <IMFS_readlink+0x1a>    <== NEVER TAKEN
  106d1a:	31 c0                	xor    %eax,%eax                      
  106d1c:	eb 14                	jmp    106d32 <IMFS_readlink+0x2e>    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  106d1e:	e8 19 a4 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  106d23:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
  106d29:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  106d2c:	eb 12                	jmp    106d40 <IMFS_readlink+0x3c>    <== NOT EXECUTED
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
    buf[i] = node->info.sym_link.name[i];                             
  106d2e:	88 0c 03             	mov    %cl,(%ebx,%eax,1)              
  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++ )
  106d31:	40                   	inc    %eax                           
  106d32:	39 f0                	cmp    %esi,%eax                      
  106d34:	73 0a                	jae    106d40 <IMFS_readlink+0x3c>    
  106d36:	8b 4a 50             	mov    0x50(%edx),%ecx                
  106d39:	8a 0c 01             	mov    (%ecx,%eax,1),%cl              
  106d3c:	84 c9                	test   %cl,%cl                        
  106d3e:	75 ee                	jne    106d2e <IMFS_readlink+0x2a>    
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
  106d40:	5b                   	pop    %ebx                           
  106d41:	5e                   	pop    %esi                           
  106d42:	c9                   	leave                                 
  106d43:	c3                   	ret                                   
                                                                      

00106d44 <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 */ ) {
  106d44:	55                   	push   %ebp                           
  106d45:	89 e5                	mov    %esp,%ebp                      
  106d47:	53                   	push   %ebx                           
  106d48:	83 ec 18             	sub    $0x18,%esp                     
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
  106d4b:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  106d4e:	8b 18                	mov    (%eax),%ebx                    
                                                                      
  strncpy( the_jnode->name, new_name, IMFS_NAME_MAX );                
  106d50:	6a 20                	push   $0x20                          
  106d52:	ff 75 14             	pushl  0x14(%ebp)                     
  106d55:	8d 43 0c             	lea    0xc(%ebx),%eax                 
  106d58:	50                   	push   %eax                           
  106d59:	e8 ae b1 00 00       	call   111f0c <strncpy>               
                                                                      
  if ( the_jnode->Parent != NULL )                                    
  106d5e:	83 c4 10             	add    $0x10,%esp                     
  106d61:	83 7b 08 00          	cmpl   $0x0,0x8(%ebx)                 
  106d65:	74 0c                	je     106d73 <IMFS_rename+0x2f>      <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
  106d67:	83 ec 0c             	sub    $0xc,%esp                      
  106d6a:	53                   	push   %ebx                           
  106d6b:	e8 04 3d 00 00       	call   10aa74 <_Chain_Extract>        
  106d70:	83 c4 10             	add    $0x10,%esp                     
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
                                                                      
  new_parent = new_parent_loc->node_access;                           
  106d73:	8b 45 10             	mov    0x10(%ebp),%eax                
  106d76:	8b 00                	mov    (%eax),%eax                    
  the_jnode->Parent = new_parent;                                     
  106d78:	89 43 08             	mov    %eax,0x8(%ebx)                 
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
  106d7b:	51                   	push   %ecx                           
  106d7c:	51                   	push   %ecx                           
  106d7d:	53                   	push   %ebx                           
                                                                      
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
  106d7e:	83 c0 50             	add    $0x50,%eax                     
  106d81:	50                   	push   %eax                           
  106d82:	e8 c9 3c 00 00       	call   10aa50 <_Chain_Append>         
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
  106d87:	58                   	pop    %eax                           
  106d88:	5a                   	pop    %edx                           
  106d89:	6a 00                	push   $0x0                           
  106d8b:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  106d8e:	50                   	push   %eax                           
  106d8f:	e8 f0 05 00 00       	call   107384 <gettimeofday>          
  106d94:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  106d97:	89 43 48             	mov    %eax,0x48(%ebx)                
                                                                      
  return 0;                                                           
}                                                                     
  106d9a:	31 c0                	xor    %eax,%eax                      
  106d9c:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  106d9f:	c9                   	leave                                 
  106da0:	c3                   	ret                                   
                                                                      

0010de2c <IMFS_stat>: int IMFS_stat( rtems_filesystem_location_info_t *loc, struct stat *buf ) {
  10de2c:	55                   	push   %ebp                           
  10de2d:	89 e5                	mov    %esp,%ebp                      
  10de2f:	56                   	push   %esi                           
  10de30:	53                   	push   %ebx                           
  10de31:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10de34:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  IMFS_fs_info_t *fs_info;                                            
  IMFS_jnode_t   *the_jnode;                                          
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
  10de37:	8b 11                	mov    (%ecx),%edx                    
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
  10de39:	8b 5a 4c             	mov    0x4c(%edx),%ebx                
  10de3c:	83 eb 02             	sub    $0x2,%ebx                      
  10de3f:	83 fb 05             	cmp    $0x5,%ebx                      
  10de42:	77 33                	ja     10de77 <IMFS_stat+0x4b>        <== NEVER TAKEN
  10de44:	ff 24 9d 84 ed 11 00 	jmp    *0x11ed84(,%ebx,4)             
                                                                      
    case IMFS_DEVICE:                                                 
      io           = &the_jnode->info.device;                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
  10de4b:	8b 5a 54             	mov    0x54(%edx),%ebx                
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
  10de4e:	8b 72 50             	mov    0x50(%edx),%esi                
  10de51:	89 70 18             	mov    %esi,0x18(%eax)                
  10de54:	89 58 1c             	mov    %ebx,0x1c(%eax)                
      break;                                                          
  10de57:	eb 2e                	jmp    10de87 <IMFS_stat+0x5b>        
                                                                      
    case IMFS_LINEAR_FILE:                                            
    case IMFS_MEMORY_FILE:                                            
      buf->st_size = the_jnode->info.file.size;                       
  10de59:	8b 5a 50             	mov    0x50(%edx),%ebx                
  10de5c:	8b 72 54             	mov    0x54(%edx),%esi                
  10de5f:	89 58 20             	mov    %ebx,0x20(%eax)                
  10de62:	89 70 24             	mov    %esi,0x24(%eax)                
      break;                                                          
  10de65:	eb 20                	jmp    10de87 <IMFS_stat+0x5b>        
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
  10de67:	c7 40 20 00 00 00 00 	movl   $0x0,0x20(%eax)                
  10de6e:	c7 40 24 00 00 00 00 	movl   $0x0,0x24(%eax)                
      break;                                                          
  10de75:	eb 10                	jmp    10de87 <IMFS_stat+0x5b>        
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
  10de77:	e8 c0 32 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  10de7c:	c7 00 86 00 00 00    	movl   $0x86,(%eax)                   <== NOT EXECUTED
  10de82:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  10de85:	eb 47                	jmp    10dece <IMFS_stat+0xa2>        <== 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;                                   
  10de87:	8b 49 10             	mov    0x10(%ecx),%ecx                
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
  10de8a:	8b 49 34             	mov    0x34(%ecx),%ecx                
  10de8d:	8b 09                	mov    (%ecx),%ecx                    
  /*                                                                  
   * 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 =                                                       
  10de8f:	c7 00 fe ff 00 00    	movl   $0xfffe,(%eax)                 
  10de95:	89 48 04             	mov    %ecx,0x4(%eax)                 
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  10de98:	8b 4a 30             	mov    0x30(%edx),%ecx                
  10de9b:	89 48 0c             	mov    %ecx,0xc(%eax)                 
  buf->st_nlink = the_jnode->st_nlink;                                
  10de9e:	8b 4a 34             	mov    0x34(%edx),%ecx                
  10dea1:	66 89 48 10          	mov    %cx,0x10(%eax)                 
  buf->st_ino   = the_jnode->st_ino;                                  
  10dea5:	8b 4a 38             	mov    0x38(%edx),%ecx                
  10dea8:	89 48 08             	mov    %ecx,0x8(%eax)                 
  buf->st_uid   = the_jnode->st_uid;                                  
  10deab:	8b 4a 3c             	mov    0x3c(%edx),%ecx                
  10deae:	66 89 48 12          	mov    %cx,0x12(%eax)                 
  buf->st_gid   = the_jnode->st_gid;                                  
  10deb2:	66 8b 4a 3e          	mov    0x3e(%edx),%cx                 
  10deb6:	66 89 48 14          	mov    %cx,0x14(%eax)                 
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  10deba:	8b 4a 40             	mov    0x40(%edx),%ecx                
  10debd:	89 48 28             	mov    %ecx,0x28(%eax)                
  buf->st_mtime = the_jnode->stat_mtime;                              
  10dec0:	8b 4a 44             	mov    0x44(%edx),%ecx                
  10dec3:	89 48 30             	mov    %ecx,0x30(%eax)                
  buf->st_ctime = the_jnode->stat_ctime;                              
  10dec6:	8b 52 48             	mov    0x48(%edx),%edx                
  10dec9:	89 50 38             	mov    %edx,0x38(%eax)                
                                                                      
  return 0;                                                           
  10decc:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10dece:	5b                   	pop    %ebx                           
  10decf:	5e                   	pop    %esi                           
  10ded0:	c9                   	leave                                 
  10ded1:	c3                   	ret                                   
                                                                      

00106da4 <IMFS_symlink>: int IMFS_symlink( rtems_filesystem_location_info_t *parent_loc, const char *link_name, const char *node_name ) {
  106da4:	55                   	push   %ebp                           
  106da5:	89 e5                	mov    %esp,%ebp                      
  106da7:	57                   	push   %edi                           
  106da8:	53                   	push   %ebx                           
  106da9:	83 ec 40             	sub    $0x40,%esp                     
  106dac:	8b 55 10             	mov    0x10(%ebp),%edx                
  int                i;                                               
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( node_name, strlen( node_name ), new_name, &i );     
  106daf:	31 c0                	xor    %eax,%eax                      
  106db1:	83 c9 ff             	or     $0xffffffff,%ecx               
  106db4:	89 d7                	mov    %edx,%edi                      
  106db6:	f2 ae                	repnz scas %es:(%edi),%al             
  106db8:	f7 d1                	not    %ecx                           
  106dba:	49                   	dec    %ecx                           
  106dbb:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  106dbe:	50                   	push   %eax                           
  106dbf:	8d 5d bf             	lea    -0x41(%ebp),%ebx               
  106dc2:	53                   	push   %ebx                           
  106dc3:	51                   	push   %ecx                           
  106dc4:	52                   	push   %edx                           
  106dc5:	e8 d2 6e 00 00       	call   10dc9c <IMFS_get_token>        
                                                                      
  /*                                                                  
   * Duplicate link name                                              
   */                                                                 
  info.sym_link.name = strdup(link_name);                             
  106dca:	58                   	pop    %eax                           
  106dcb:	ff 75 0c             	pushl  0xc(%ebp)                      
  106dce:	e8 d5 af 00 00       	call   111da8 <strdup>                
  106dd3:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  if (info.sym_link.name == NULL) {                                   
  106dd6:	83 c4 10             	add    $0x10,%esp                     
  106dd9:	85 c0                	test   %eax,%eax                      
  106ddb:	75 0d                	jne    106dea <IMFS_symlink+0x46>     <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  106ddd:	e8 5a a3 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  106de2:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    <== NOT EXECUTED
  106de8:	eb 3b                	jmp    106e25 <IMFS_symlink+0x81>     <== 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(                                        
  106dea:	83 ec 0c             	sub    $0xc,%esp                      
    parent_loc,                                                       
    IMFS_SYM_LINK,                                                    
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  106ded:	8d 45 e0             	lea    -0x20(%ebp),%eax               
   *        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(                                        
  106df0:	50                   	push   %eax                           
  106df1:	68 ff a1 00 00       	push   $0xa1ff                        
  106df6:	53                   	push   %ebx                           
  106df7:	6a 04                	push   $0x4                           
  106df9:	ff 75 08             	pushl  0x8(%ebp)                      
  106dfc:	e8 62 66 00 00       	call   10d463 <IMFS_create_node>      
  106e01:	89 c2                	mov    %eax,%edx                      
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
  106e03:	83 c4 20             	add    $0x20,%esp                     
    free(info.sym_link.name);                                         
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
                                                                      
  return 0;                                                           
  106e06:	31 c0                	xor    %eax,%eax                      
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
  106e08:	85 d2                	test   %edx,%edx                      
  106e0a:	75 1c                	jne    106e28 <IMFS_symlink+0x84>     <== ALWAYS TAKEN
    free(info.sym_link.name);                                         
  106e0c:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  106e0f:	ff 75 e0             	pushl  -0x20(%ebp)                    <== NOT EXECUTED
  106e12:	e8 f5 04 00 00       	call   10730c <free>                  <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  106e17:	e8 20 a3 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  106e1c:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    <== NOT EXECUTED
  106e22:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  106e25:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
  106e28:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  106e2b:	5b                   	pop    %ebx                           
  106e2c:	5f                   	pop    %edi                           
  106e2d:	c9                   	leave                                 
  106e2e:	c3                   	ret                                   
                                                                      

00106e30 <IMFS_unlink>: int IMFS_unlink( rtems_filesystem_location_info_t *parentloc, /* IN */ rtems_filesystem_location_info_t *loc /* IN */ ) {
  106e30:	55                   	push   %ebp                           
  106e31:	89 e5                	mov    %esp,%ebp                      
  106e33:	57                   	push   %edi                           
  106e34:	56                   	push   %esi                           
  106e35:	53                   	push   %ebx                           
  106e36:	83 ec 2c             	sub    $0x2c,%esp                     
  IMFS_jnode_t                      *node;                            
  rtems_filesystem_location_info_t   the_link;                        
  int                                result = 0;                      
                                                                      
  node = loc->node_access;                                            
  106e39:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  106e3c:	8b 18                	mov    (%eax),%ebx                    
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
  106e3e:	83 7b 4c 03          	cmpl   $0x3,0x4c(%ebx)                
  106e42:	75 7a                	jne    106ebe <IMFS_unlink+0x8e>      
                                                                      
    if ( !node->info.hard_link.link_node )                            
  106e44:	8b 43 50             	mov    0x50(%ebx),%eax                
  106e47:	85 c0                	test   %eax,%eax                      
  106e49:	75 10                	jne    106e5b <IMFS_unlink+0x2b>      <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  106e4b:	e8 ec a2 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  106e50:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
  106e56:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  106e59:	eb 75                	jmp    106ed0 <IMFS_unlink+0xa0>      <== NOT EXECUTED
                                                                      
    the_link = *loc;                                                  
  106e5b:	8d 7d cc             	lea    -0x34(%ebp),%edi               
  106e5e:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  106e63:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  106e66:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
    the_link.node_access = node->info.hard_link.link_node;            
  106e68:	89 45 cc             	mov    %eax,-0x34(%ebp)               
    IMFS_Set_handlers( &the_link );                                   
  106e6b:	83 ec 0c             	sub    $0xc,%esp                      
  106e6e:	8d 75 cc             	lea    -0x34(%ebp),%esi               
  106e71:	56                   	push   %esi                           
  106e72:	e8 21 67 00 00       	call   10d598 <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)               
  106e77:	8b 43 50             	mov    0x50(%ebx),%eax                
  106e7a:	8b 50 34             	mov    0x34(%eax),%edx                
  106e7d:	83 c4 10             	add    $0x10,%esp                     
  106e80:	66 83 fa 01          	cmp    $0x1,%dx                       
  106e84:	75 1a                	jne    106ea0 <IMFS_unlink+0x70>      
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
  106e86:	51                   	push   %ecx                           
  106e87:	51                   	push   %ecx                           
  106e88:	56                   	push   %esi                           
  106e89:	ff 75 08             	pushl  0x8(%ebp)                      
  106e8c:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  106e8f:	ff 50 34             	call   *0x34(%eax)                    
  106e92:	89 c2                	mov    %eax,%edx                      
        if ( result != 0 )                                            
  106e94:	83 c4 10             	add    $0x10,%esp                     
            return -1;                                                
  106e97:	83 c8 ff             	or     $0xffffffff,%eax               
     */                                                               
                                                                      
    if ( node->info.hard_link.link_node->st_nlink == 1)               
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
        if ( result != 0 )                                            
  106e9a:	85 d2                	test   %edx,%edx                      
  106e9c:	74 20                	je     106ebe <IMFS_unlink+0x8e>      
  106e9e:	eb 30                	jmp    106ed0 <IMFS_unlink+0xa0>      
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
  106ea0:	4a                   	dec    %edx                           
  106ea1:	66 89 50 34          	mov    %dx,0x34(%eax)                 
        IMFS_update_ctime( node->info.hard_link.link_node );          
  106ea5:	52                   	push   %edx                           
  106ea6:	52                   	push   %edx                           
  106ea7:	6a 00                	push   $0x0                           
  106ea9:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  106eac:	50                   	push   %eax                           
  106ead:	e8 d2 04 00 00       	call   107384 <gettimeofday>          
  106eb2:	8b 43 50             	mov    0x50(%ebx),%eax                
  106eb5:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  106eb8:	89 50 48             	mov    %edx,0x48(%eax)                
  106ebb:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  /*                                                                  
   *  Now actually free the node we were asked to free.               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
  106ebe:	50                   	push   %eax                           
  106ebf:	50                   	push   %eax                           
  106ec0:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  106ec3:	8b 42 08             	mov    0x8(%edx),%eax                 
  106ec6:	52                   	push   %edx                           
  106ec7:	ff 75 08             	pushl  0x8(%ebp)                      
  106eca:	ff 50 34             	call   *0x34(%eax)                    
                                                                      
  return result;                                                      
  106ecd:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  106ed0:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  106ed3:	5b                   	pop    %ebx                           
  106ed4:	5e                   	pop    %esi                           
  106ed5:	5f                   	pop    %edi                           
  106ed6:	c9                   	leave                                 
  106ed7:	c3                   	ret                                   
                                                                      

00106ed8 <IMFS_unmount>: #include <rtems/seterr.h> int IMFS_unmount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
  106ed8:	55                   	push   %ebp                           
  106ed9:	89 e5                	mov    %esp,%ebp                      
  106edb:	83 ec 08             	sub    $0x8,%esp                      
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
  106ede:	8b 45 08             	mov    0x8(%ebp),%eax                 
  106ee1:	8b 40 08             	mov    0x8(%eax),%eax                 
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
  106ee4:	83 78 4c 01          	cmpl   $0x1,0x4c(%eax)                
  106ee8:	74 0d                	je     106ef7 <IMFS_unmount+0x1f>     <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  106eea:	e8 4d a2 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  106eef:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   <== NOT EXECUTED
  106ef5:	eb 11                	jmp    106f08 <IMFS_unmount+0x30>     <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
  106ef7:	83 78 5c 00          	cmpl   $0x0,0x5c(%eax)                
  106efb:	75 10                	jne    106f0d <IMFS_unmount+0x35>     <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );  /* XXX */        
  106efd:	e8 3a a2 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  106f02:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
  106f08:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  106f0b:	eb 09                	jmp    106f16 <IMFS_unmount+0x3e>     <== NOT EXECUTED
  /*                                                                  
   * Set the mt_fs pointer to indicate that there is no longer        
   * a file system mounted to this point.                             
   */                                                                 
                                                                      
  node->info.directory.mt_fs = NULL;                                  
  106f0d:	c7 40 5c 00 00 00 00 	movl   $0x0,0x5c(%eax)                
                                                                      
  return 0;                                                           
  106f14:	31 c0                	xor    %eax,%eax                      
}                                                                     
  106f16:	c9                   	leave                                 
  106f17:	c3                   	ret                                   
                                                                      

00107504 <RTEMS_Malloc_Initialize>: void RTEMS_Malloc_Initialize( void *heap_begin, uintptr_t heap_size, size_t sbrk_amount ) {
  107504:	55                   	push   %ebp                           
  107505:	89 e5                	mov    %esp,%ebp                      
  107507:	57                   	push   %edi                           
  107508:	56                   	push   %esi                           
  107509:	53                   	push   %ebx                           
  10750a:	83 ec 0c             	sub    $0xc,%esp                      
  10750d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  107510:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
  107513:	a1 10 25 12 00       	mov    0x122510,%eax                  
  107518:	85 c0                	test   %eax,%eax                      
  10751a:	74 02                	je     10751e <RTEMS_Malloc_Initialize+0x1a><== ALWAYS TAKEN
    (*rtems_malloc_statistics_helpers->initialize)();                 
  10751c:	ff 10                	call   *(%eax)                        <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize the garbage collection list to start with nothing on it.
   */                                                                 
  malloc_deferred_frees_initialize();                                 
  10751e:	e8 7c ff ff ff       	call   10749f <malloc_deferred_frees_initialize>
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
  107523:	a1 14 25 12 00       	mov    0x122514,%eax                  
  107528:	85 c0                	test   %eax,%eax                      
  10752a:	74 12                	je     10753e <RTEMS_Malloc_Initialize+0x3a><== ALWAYS TAKEN
    void *new_heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(  
  10752c:	52                   	push   %edx                           <== NOT EXECUTED
  10752d:	52                   	push   %edx                           <== NOT EXECUTED
  10752e:	ff 75 10             	pushl  0x10(%ebp)                     <== NOT EXECUTED
  107531:	53                   	push   %ebx                           <== NOT EXECUTED
  107532:	ff 10                	call   *(%eax)                        <== NOT EXECUTED
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
                                                                      
    heap_size -= (uintptr_t) new_heap_begin - (uintptr_t) heap_begin; 
  107534:	8d 34 33             	lea    (%ebx,%esi,1),%esi             <== NOT EXECUTED
  107537:	29 c6                	sub    %eax,%esi                      <== NOT EXECUTED
  107539:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    heap_begin = new_heap_begin;                                      
  10753c:	89 c3                	mov    %eax,%ebx                      <== 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 (                                                                
  10753e:	80 3d 0c 25 12 00 00 	cmpb   $0x0,0x12250c                  
  107545:	75 11                	jne    107558 <RTEMS_Malloc_Initialize+0x54>
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
  107547:	80 3d 20 02 12 00 00 	cmpb   $0x0,0x120220                  
  10754e:	74 08                	je     107558 <RTEMS_Malloc_Initialize+0x54>
  ) {                                                                 
     memset( heap_begin, 0, heap_size );                              
  107550:	31 c0                	xor    %eax,%eax                      
  107552:	89 df                	mov    %ebx,%edi                      
  107554:	89 f1                	mov    %esi,%ecx                      
  107556:	f3 aa                	rep stos %al,%es:(%edi)               
   *  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 ) {                                   
  107558:	80 3d 0c 25 12 00 00 	cmpb   $0x0,0x12250c                  
  10755f:	75 20                	jne    107581 <RTEMS_Malloc_Initialize+0x7d>
  void *area_begin,                                                   
  uintptr_t area_size,                                                
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return _Heap_Initialize( heap, area_begin, area_size, page_size );  
  107561:	6a 04                	push   $0x4                           
  107563:	56                   	push   %esi                           
  107564:	53                   	push   %ebx                           
  107565:	ff 35 50 01 12 00    	pushl  0x120150                       
  10756b:	e8 88 3a 00 00       	call   10aff8 <_Heap_Initialize>      
      RTEMS_Malloc_Heap,                                              
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
  107570:	83 c4 10             	add    $0x10,%esp                     
  107573:	85 c0                	test   %eax,%eax                      
  107575:	75 0a                	jne    107581 <RTEMS_Malloc_Initialize+0x7d><== ALWAYS TAKEN
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
  107577:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10757a:	6a 1a                	push   $0x1a                          <== NOT EXECUTED
  10757c:	e8 2b 32 00 00       	call   10a7ac <rtems_fatal_error_occurred><== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
  107581:	8b 1d b0 40 12 00    	mov    0x1240b0,%ebx                  
  107587:	83 ec 0c             	sub    $0xc,%esp                      
  10758a:	ff 35 50 01 12 00    	pushl  0x120150                       
  107590:	e8 db 44 00 00       	call   10ba70 <_Protected_heap_Get_size>
  107595:	8d 1c 18             	lea    (%eax,%ebx,1),%ebx             
  107598:	89 1d b0 40 12 00    	mov    %ebx,0x1240b0                  
  10759e:	83 c4 10             	add    $0x10,%esp                     
      printk( "\n" );                                                 
      rtems_print_buffer( (heap_begin + heap_size) - 48, 48 );        
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  #endif                                                              
}                                                                     
  1075a1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1075a4:	5b                   	pop    %ebx                           
  1075a5:	5e                   	pop    %esi                           
  1075a6:	5f                   	pop    %edi                           
  1075a7:	c9                   	leave                                 
  1075a8:	c3                   	ret                                   
                                                                      

00106a68 <Stack_check_Dump_threads_usage>: static rtems_printk_plugin_t print_handler; void Stack_check_Dump_threads_usage( Thread_Control *the_thread ) {
  106a68:	55                   	push   %ebp                           <== NOT EXECUTED
  106a69:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  106a6b:	57                   	push   %edi                           <== NOT EXECUTED
  106a6c:	56                   	push   %esi                           <== NOT EXECUTED
  106a6d:	53                   	push   %ebx                           <== NOT EXECUTED
  106a6e:	83 ec 1c             	sub    $0x1c,%esp                     <== NOT EXECUTED
  106a71:	8b 5d 08             	mov    0x8(%ebp),%ebx                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (the_thread == (Thread_Control *) -1) {                        
  106a74:	83 fb ff             	cmp    $0xffffffff,%ebx               <== NOT EXECUTED
  106a77:	75 0f                	jne    106a88 <Stack_check_Dump_threads_usage+0x20><== NOT EXECUTED
      if (!Stack_check_Interrupt_stack.area)                          
  106a79:	83 3d d4 51 12 00 00 	cmpl   $0x0,0x1251d4                  <== NOT EXECUTED
  106a80:	0f 84 8b 00 00 00    	je     106b11 <Stack_check_Dump_threads_usage+0xa9><== NOT EXECUTED
        return;                                                       
      stack = &Stack_check_Interrupt_stack;                           
      the_thread = 0;                                                 
  106a86:	31 db                	xor    %ebx,%ebx                      <== NOT EXECUTED
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
  #endif                                                              
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
  106a88:	8b 3d d0 51 12 00    	mov    0x1251d0,%edi                  <== NOT EXECUTED
  106a8e:	83 ef 10             	sub    $0x10,%edi                     <== NOT EXECUTED
  if ( high_water_mark )                                              
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
  else                                                                
    used = 0;                                                         
                                                                      
  if ( the_thread ) {                                                 
  106a91:	85 db                	test   %ebx,%ebx                      <== NOT EXECUTED
  106a93:	8b 35 b0 4e 12 00    	mov    0x124eb0,%esi                  <== NOT EXECUTED
  106a99:	74 25                	je     106ac0 <Stack_check_Dump_threads_usage+0x58><== NOT EXECUTED
    (*print_handler)(                                                 
  106a9b:	50                   	push   %eax                           <== NOT EXECUTED
  106a9c:	8d 45 e3             	lea    -0x1d(%ebp),%eax               <== NOT EXECUTED
  106a9f:	50                   	push   %eax                           <== NOT EXECUTED
  106aa0:	6a 05                	push   $0x5                           <== NOT EXECUTED
  106aa2:	ff 73 08             	pushl  0x8(%ebx)                      <== NOT EXECUTED
  106aa5:	e8 c6 37 00 00       	call   10a270 <rtems_object_get_name> <== NOT EXECUTED
  106aaa:	50                   	push   %eax                           <== NOT EXECUTED
  106aab:	ff 73 08             	pushl  0x8(%ebx)                      <== NOT EXECUTED
  106aae:	68 fd ea 11 00       	push   $0x11eafd                      <== NOT EXECUTED
  106ab3:	ff 35 ac 4e 12 00    	pushl  0x124eac                       <== NOT EXECUTED
  106ab9:	ff d6                	call   *%esi                          <== NOT EXECUTED
  106abb:	83 c4 20             	add    $0x20,%esp                     <== NOT EXECUTED
  106abe:	eb 13                	jmp    106ad3 <Stack_check_Dump_threads_usage+0x6b><== 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 );   
  106ac0:	51                   	push   %ecx                           <== NOT EXECUTED
  106ac1:	6a ff                	push   $0xffffffff                    <== NOT EXECUTED
  106ac3:	68 0a eb 11 00       	push   $0x11eb0a                      <== NOT EXECUTED
  106ac8:	ff 35 ac 4e 12 00    	pushl  0x124eac                       <== NOT EXECUTED
  106ace:	ff d6                	call   *%esi                          <== NOT EXECUTED
  106ad0:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
                                                                      
  (*print_handler)(                                                   
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
  106ad3:	a1 d4 51 12 00       	mov    0x1251d4,%eax                  <== NOT EXECUTED
    );                                                                
  } else {                                                            
    (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );   
  }                                                                   
                                                                      
  (*print_handler)(                                                   
  106ad8:	52                   	push   %edx                           <== NOT EXECUTED
  106ad9:	52                   	push   %edx                           <== NOT EXECUTED
  106ada:	57                   	push   %edi                           <== NOT EXECUTED
  106adb:	6a 00                	push   $0x0                           <== NOT EXECUTED
  106add:	8b 15 d0 51 12 00    	mov    0x1251d0,%edx                  <== NOT EXECUTED
  106ae3:	8d 54 10 ff          	lea    -0x1(%eax,%edx,1),%edx         <== NOT EXECUTED
  106ae7:	52                   	push   %edx                           <== NOT EXECUTED
  106ae8:	50                   	push   %eax                           <== NOT EXECUTED
  106ae9:	68 18 eb 11 00       	push   $0x11eb18                      <== NOT EXECUTED
  106aee:	ff 35 ac 4e 12 00    	pushl  0x124eac                       <== NOT EXECUTED
  106af4:	ff 15 b0 4e 12 00    	call   *0x124eb0                      <== NOT EXECUTED
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
    (*print_handler)( print_context, "Unavailable\n" );               
  106afa:	83 c4 18             	add    $0x18,%esp                     <== NOT EXECUTED
  106afd:	68 36 eb 11 00       	push   $0x11eb36                      <== NOT EXECUTED
  106b02:	ff 35 ac 4e 12 00    	pushl  0x124eac                       <== NOT EXECUTED
  106b08:	ff 15 b0 4e 12 00    	call   *0x124eb0                      <== NOT EXECUTED
  106b0e:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
  }                                                                   
                                                                      
                                                                      
}                                                                     
  106b11:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  106b14:	5b                   	pop    %ebx                           <== NOT EXECUTED
  106b15:	5e                   	pop    %esi                           <== NOT EXECUTED
  106b16:	5f                   	pop    %edi                           <== NOT EXECUTED
  106b17:	c9                   	leave                                 <== NOT EXECUTED
  106b18:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

00106b19 <Stack_check_Initialize>: /* * Stack_check_Initialize */ void Stack_check_Initialize( void ) {
  106b19:	55                   	push   %ebp                           <== NOT EXECUTED
  106b1a:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
      Stack_check_Dope_stack(&Stack_check_Interrupt_stack);           
   }                                                                  
  #endif                                                              
                                                                      
  Stack_check_Initialized = 1;                                        
}                                                                     
  106b1c:	c9                   	leave                                 <== NOT EXECUTED
  106b1d:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

00106b67 <Stack_check_report_blown_task>: Thread_Control *running, bool pattern_ok ) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok) {
  106b67:	55                   	push   %ebp                           <== NOT EXECUTED
  106b68:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  106b6a:	56                   	push   %esi                           <== NOT EXECUTED
  106b6b:	53                   	push   %ebx                           <== NOT EXECUTED
  106b6c:	83 ec 3c             	sub    $0x3c,%esp                     <== NOT EXECUTED
  106b6f:	8b 5d 08             	mov    0x8(%ebp),%ebx                 <== NOT EXECUTED
  106b72:	8a 55 0c             	mov    0xc(%ebp),%dl                  <== NOT EXECUTED
  Stack_Control *stack = &running->Start.Initial_stack;               
  void *pattern_area = Stack_check_Get_pattern_area(stack);           
  106b75:	8b b3 c8 00 00 00    	mov    0xc8(%ebx),%esi                <== NOT EXECUTED
  char name [32];                                                     
                                                                      
  printk("BLOWN STACK!!!\n");                                         
  106b7b:	68 43 eb 11 00       	push   $0x11eb43                      <== NOT EXECUTED
  106b80:	88 55 d4             	mov    %dl,-0x2c(%ebp)                <== NOT EXECUTED
  106b83:	e8 74 16 00 00       	call   1081fc <printk>                <== NOT EXECUTED
  printk("task control block: 0x%08" PRIxPTR "\n", running);          
  106b88:	5a                   	pop    %edx                           <== NOT EXECUTED
  106b89:	59                   	pop    %ecx                           <== NOT EXECUTED
  106b8a:	53                   	push   %ebx                           <== NOT EXECUTED
  106b8b:	68 53 eb 11 00       	push   $0x11eb53                      <== NOT EXECUTED
  106b90:	e8 67 16 00 00       	call   1081fc <printk>                <== NOT EXECUTED
  printk("task ID: 0x%08lx\n", (unsigned long) running->Object.id);   
  106b95:	59                   	pop    %ecx                           <== NOT EXECUTED
  106b96:	58                   	pop    %eax                           <== NOT EXECUTED
  106b97:	ff 73 08             	pushl  0x8(%ebx)                      <== NOT EXECUTED
  106b9a:	68 70 eb 11 00       	push   $0x11eb70                      <== NOT EXECUTED
  106b9f:	e8 58 16 00 00       	call   1081fc <printk>                <== NOT EXECUTED
  printk(                                                             
  106ba4:	58                   	pop    %eax                           <== NOT EXECUTED
  106ba5:	5a                   	pop    %edx                           <== NOT EXECUTED
  106ba6:	ff 73 0c             	pushl  0xc(%ebx)                      <== NOT EXECUTED
  106ba9:	68 82 eb 11 00       	push   $0x11eb82                      <== NOT EXECUTED
  106bae:	e8 49 16 00 00       	call   1081fc <printk>                <== NOT EXECUTED
    "task name: 0x%08" PRIx32 "\n",                                   
    running->Object.name.name_u32                                     
  );                                                                  
  printk(                                                             
  106bb3:	83 c4 0c             	add    $0xc,%esp                      <== NOT EXECUTED
  106bb6:	8d 45 d8             	lea    -0x28(%ebp),%eax               <== NOT EXECUTED
  106bb9:	50                   	push   %eax                           <== NOT EXECUTED
  106bba:	6a 20                	push   $0x20                          <== NOT EXECUTED
  106bbc:	ff 73 08             	pushl  0x8(%ebx)                      <== NOT EXECUTED
  106bbf:	e8 ac 36 00 00       	call   10a270 <rtems_object_get_name> <== NOT EXECUTED
  106bc4:	5a                   	pop    %edx                           <== NOT EXECUTED
  106bc5:	59                   	pop    %ecx                           <== NOT EXECUTED
  106bc6:	50                   	push   %eax                           <== NOT EXECUTED
  106bc7:	68 96 eb 11 00       	push   $0x11eb96                      <== NOT EXECUTED
  106bcc:	e8 2b 16 00 00       	call   1081fc <printk>                <== NOT EXECUTED
  );                                                                  
  printk(                                                             
    "task stack area (%lu Bytes): 0x%08" PRIxPTR " .. 0x%08" PRIxPTR "\n",
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
  106bd1:	8b 8b c8 00 00 00    	mov    0xc8(%ebx),%ecx                <== NOT EXECUTED
  106bd7:	8b 83 c4 00 00 00    	mov    0xc4(%ebx),%eax                <== NOT EXECUTED
  );                                                                  
  printk(                                                             
    "task name string: %s\n",                                         
    rtems_object_get_name(running->Object.id, sizeof(name), name)     
  );                                                                  
  printk(                                                             
  106bdd:	8d 1c 01             	lea    (%ecx,%eax,1),%ebx             <== NOT EXECUTED
  106be0:	53                   	push   %ebx                           <== NOT EXECUTED
  106be1:	51                   	push   %ecx                           <== NOT EXECUTED
  106be2:	50                   	push   %eax                           <== NOT EXECUTED
  106be3:	68 ac eb 11 00       	push   $0x11ebac                      <== NOT EXECUTED
  106be8:	e8 0f 16 00 00       	call   1081fc <printk>                <== NOT EXECUTED
    "task stack area (%lu Bytes): 0x%08" PRIxPTR " .. 0x%08" PRIxPTR "\n",
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
  );                                                                  
  if (!pattern_ok) {                                                  
  106bed:	83 c4 20             	add    $0x20,%esp                     <== NOT EXECUTED
  106bf0:	8a 55 d4             	mov    -0x2c(%ebp),%dl                <== NOT EXECUTED
  106bf3:	84 d2                	test   %dl,%dl                        <== NOT EXECUTED
  106bf5:	75 17                	jne    106c0e <Stack_check_report_blown_task+0xa7><== NOT EXECUTED
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;                                 
                                                                      
void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok)
{                                                                     
  Stack_Control *stack = &running->Start.Initial_stack;               
  void *pattern_area = Stack_check_Get_pattern_area(stack);           
  106bf7:	8d 46 08             	lea    0x8(%esi),%eax                 <== NOT EXECUTED
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
  );                                                                  
  if (!pattern_ok) {                                                  
    printk(                                                           
  106bfa:	83 c6 18             	add    $0x18,%esi                     <== NOT EXECUTED
  106bfd:	56                   	push   %esi                           <== NOT EXECUTED
  106bfe:	50                   	push   %eax                           <== NOT EXECUTED
  106bff:	6a 10                	push   $0x10                          <== NOT EXECUTED
  106c01:	68 dd eb 11 00       	push   $0x11ebdd                      <== NOT EXECUTED
  106c06:	e8 f1 15 00 00       	call   1081fc <printk>                <== NOT EXECUTED
  106c0b:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
          rtems_configuration_get_user_multiprocessing_table()->node  
      );                                                              
    }                                                                 
  #endif                                                              
                                                                      
  rtems_fatal_error_occurred(0x81);                                   
  106c0e:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  106c11:	68 81 00 00 00       	push   $0x81                          <== NOT EXECUTED
  106c16:	e8 0d 3e 00 00       	call   10aa28 <rtems_fatal_error_occurred><== NOT EXECUTED
                                                                      

0010cb80 <_CORE_RWLock_Obtain_for_reading>: Objects_Id id, bool wait, Watchdog_Interval timeout, CORE_RWLock_API_mp_support_callout api_rwlock_mp_support ) {
  10cb80:	55                   	push   %ebp                           
  10cb81:	89 e5                	mov    %esp,%ebp                      
  10cb83:	57                   	push   %edi                           
  10cb84:	56                   	push   %esi                           
  10cb85:	53                   	push   %ebx                           
  10cb86:	83 ec 1c             	sub    $0x1c,%esp                     
  10cb89:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10cb8c:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10cb8f:	8b 45 14             	mov    0x14(%ebp),%eax                
  10cb92:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  10cb95:	8a 55 10             	mov    0x10(%ebp),%dl                 
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
  10cb98:	8b 35 44 77 12 00    	mov    0x127744,%esi                  
   *  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 );                                              
  10cb9e:	9c                   	pushf                                 
  10cb9f:	fa                   	cli                                   
  10cba0:	5f                   	pop    %edi                           
    switch ( the_rwlock->current_state ) {                            
  10cba1:	8b 43 44             	mov    0x44(%ebx),%eax                
  10cba4:	85 c0                	test   %eax,%eax                      
  10cba6:	74 05                	je     10cbad <_CORE_RWLock_Obtain_for_reading+0x2d>
  10cba8:	48                   	dec    %eax                           
  10cba9:	75 3a                	jne    10cbe5 <_CORE_RWLock_Obtain_for_reading+0x65>
  10cbab:	eb 0e                	jmp    10cbbb <_CORE_RWLock_Obtain_for_reading+0x3b>
      case CORE_RWLOCK_UNLOCKED:                                      
	the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;          
  10cbad:	c7 43 44 01 00 00 00 	movl   $0x1,0x44(%ebx)                
	the_rwlock->number_of_readers += 1;                                  
  10cbb4:	ff 43 48             	incl   0x48(%ebx)                     
	_ISR_Enable( level );                                                
  10cbb7:	57                   	push   %edi                           
  10cbb8:	9d                   	popf                                  
  10cbb9:	eb 21                	jmp    10cbdc <_CORE_RWLock_Obtain_for_reading+0x5c>
	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 );      
  10cbbb:	83 ec 0c             	sub    $0xc,%esp                      
  10cbbe:	53                   	push   %ebx                           
  10cbbf:	88 55 dc             	mov    %dl,-0x24(%ebp)                
  10cbc2:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  10cbc5:	e8 9e 1a 00 00       	call   10e668 <_Thread_queue_First>   
        if ( !waiter ) {                                              
  10cbca:	83 c4 10             	add    $0x10,%esp                     
  10cbcd:	85 c0                	test   %eax,%eax                      
  10cbcf:	8a 55 dc             	mov    -0x24(%ebp),%dl                
  10cbd2:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  10cbd5:	75 0e                	jne    10cbe5 <_CORE_RWLock_Obtain_for_reading+0x65><== NEVER TAKEN
	  the_rwlock->number_of_readers += 1;                                
  10cbd7:	ff 43 48             	incl   0x48(%ebx)                     
	  _ISR_Enable( level );                                              
  10cbda:	57                   	push   %edi                           
  10cbdb:	9d                   	popf                                  
	  executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;              
  10cbdc:	c7 46 34 00 00 00 00 	movl   $0x0,0x34(%esi)                
          return;                                                     
  10cbe3:	eb 48                	jmp    10cc2d <_CORE_RWLock_Obtain_for_reading+0xad>
                                                                      
    /*                                                                
     *  If the thread is not willing to wait, then return immediately.
     */                                                               
                                                                      
    if ( !wait ) {                                                    
  10cbe5:	84 d2                	test   %dl,%dl                        
  10cbe7:	75 0b                	jne    10cbf4 <_CORE_RWLock_Obtain_for_reading+0x74>
      _ISR_Enable( level );                                           
  10cbe9:	57                   	push   %edi                           
  10cbea:	9d                   	popf                                  
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
  10cbeb:	c7 46 34 02 00 00 00 	movl   $0x2,0x34(%esi)                
  10cbf2:	eb 39                	jmp    10cc2d <_CORE_RWLock_Obtain_for_reading+0xad>
  10cbf4:	c7 43 30 01 00 00 00 	movl   $0x1,0x30(%ebx)                
    /*                                                                
     *  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;            
  10cbfb:	89 5e 44             	mov    %ebx,0x44(%esi)                
    executing->Wait.id          = id;                                 
  10cbfe:	89 4e 20             	mov    %ecx,0x20(%esi)                
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_READ;
  10cc01:	c7 46 30 00 00 00 00 	movl   $0x0,0x30(%esi)                
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
  10cc08:	c7 46 34 00 00 00 00 	movl   $0x0,0x34(%esi)                
    _ISR_Enable( level );                                             
  10cc0f:	57                   	push   %edi                           
  10cc10:	9d                   	popf                                  
                                                                      
    _Thread_queue_Enqueue_with_handler(                               
  10cc11:	c7 45 10 5c cd 10 00 	movl   $0x10cd5c,0x10(%ebp)           
  10cc18:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10cc1b:	89 45 0c             	mov    %eax,0xc(%ebp)                 
  10cc1e:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
       timeout,                                                       
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
  10cc21:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10cc24:	5b                   	pop    %ebx                           
  10cc25:	5e                   	pop    %esi                           
  10cc26:	5f                   	pop    %edi                           
  10cc27:	c9                   	leave                                 
    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(                               
  10cc28:	e9 57 17 00 00       	jmp    10e384 <_Thread_queue_Enqueue_with_handler>
       timeout,                                                       
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
  10cc2d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10cc30:	5b                   	pop    %ebx                           
  10cc31:	5e                   	pop    %esi                           
  10cc32:	5f                   	pop    %edi                           
  10cc33:	c9                   	leave                                 
  10cc34:	c3                   	ret                                   
                                                                      

0010ccbc <_CORE_RWLock_Release>: */ CORE_RWLock_Status _CORE_RWLock_Release( CORE_RWLock_Control *the_rwlock ) {
  10ccbc:	55                   	push   %ebp                           
  10ccbd:	89 e5                	mov    %esp,%ebp                      
  10ccbf:	53                   	push   %ebx                           
  10ccc0:	83 ec 04             	sub    $0x4,%esp                      
  10ccc3:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
  10ccc6:	8b 15 44 77 12 00    	mov    0x127744,%edx                  
   *  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 );                                              
  10cccc:	9c                   	pushf                                 
  10cccd:	fa                   	cli                                   
  10ccce:	58                   	pop    %eax                           
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
  10cccf:	8b 4b 44             	mov    0x44(%ebx),%ecx                
  10ccd2:	85 c9                	test   %ecx,%ecx                      
  10ccd4:	75 0b                	jne    10cce1 <_CORE_RWLock_Release+0x25>
      _ISR_Enable( level );                                           
  10ccd6:	50                   	push   %eax                           
  10ccd7:	9d                   	popf                                  
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
  10ccd8:	c7 42 34 02 00 00 00 	movl   $0x2,0x34(%edx)                
      return CORE_RWLOCK_SUCCESSFUL;                                  
  10ccdf:	eb 72                	jmp    10cd53 <_CORE_RWLock_Release+0x97>
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
  10cce1:	49                   	dec    %ecx                           
  10cce2:	75 0f                	jne    10ccf3 <_CORE_RWLock_Release+0x37>
	the_rwlock->number_of_readers -= 1;                                  
  10cce4:	8b 4b 48             	mov    0x48(%ebx),%ecx                
  10cce7:	49                   	dec    %ecx                           
  10cce8:	89 4b 48             	mov    %ecx,0x48(%ebx)                
	if ( the_rwlock->number_of_readers != 0 ) {                          
  10cceb:	85 c9                	test   %ecx,%ecx                      
  10cced:	74 04                	je     10ccf3 <_CORE_RWLock_Release+0x37>
          /* must be unlocked again */                                
	  _ISR_Enable( level );                                              
  10ccef:	50                   	push   %eax                           
  10ccf0:	9d                   	popf                                  
          return CORE_RWLOCK_SUCCESSFUL;                              
  10ccf1:	eb 60                	jmp    10cd53 <_CORE_RWLock_Release+0x97>
        }                                                             
    }                                                                 
                                                                      
    /* CORE_RWLOCK_LOCKED_FOR_WRITING or READING with readers */      
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
  10ccf3:	c7 42 34 00 00 00 00 	movl   $0x0,0x34(%edx)                
                                                                      
    /*                                                                
     * Implicitly transition to "unlocked" and find another thread interested
     * in obtaining this rwlock.                                      
     */                                                               
    the_rwlock->current_state = CORE_RWLOCK_UNLOCKED;                 
  10ccfa:	c7 43 44 00 00 00 00 	movl   $0x0,0x44(%ebx)                
  _ISR_Enable( level );                                               
  10cd01:	50                   	push   %eax                           
  10cd02:	9d                   	popf                                  
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
  10cd03:	83 ec 0c             	sub    $0xc,%esp                      
  10cd06:	53                   	push   %ebx                           
  10cd07:	e8 70 15 00 00       	call   10e27c <_Thread_queue_Dequeue> 
                                                                      
  if ( next ) {                                                       
  10cd0c:	83 c4 10             	add    $0x10,%esp                     
  10cd0f:	85 c0                	test   %eax,%eax                      
  10cd11:	74 40                	je     10cd53 <_CORE_RWLock_Release+0x97>
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
  10cd13:	83 78 30 01          	cmpl   $0x1,0x30(%eax)                
  10cd17:	75 09                	jne    10cd22 <_CORE_RWLock_Release+0x66>
      the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_WRITING;     
  10cd19:	c7 43 44 02 00 00 00 	movl   $0x2,0x44(%ebx)                
      return CORE_RWLOCK_SUCCESSFUL;                                  
  10cd20:	eb 31                	jmp    10cd53 <_CORE_RWLock_Release+0x97>
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
  10cd22:	ff 43 48             	incl   0x48(%ebx)                     
    the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;       
  10cd25:	c7 43 44 01 00 00 00 	movl   $0x1,0x44(%ebx)                
                                                                      
    /*                                                                
     * Now see if more readers can be let go.                         
     */                                                               
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
  10cd2c:	83 ec 0c             	sub    $0xc,%esp                      
  10cd2f:	53                   	push   %ebx                           
  10cd30:	e8 33 19 00 00       	call   10e668 <_Thread_queue_First>   
      if ( !next ||                                                   
  10cd35:	83 c4 10             	add    $0x10,%esp                     
  10cd38:	85 c0                	test   %eax,%eax                      
  10cd3a:	74 17                	je     10cd53 <_CORE_RWLock_Release+0x97>
  10cd3c:	83 78 30 01          	cmpl   $0x1,0x30(%eax)                
  10cd40:	74 11                	je     10cd53 <_CORE_RWLock_Release+0x97><== NEVER TAKEN
           next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE )
        return CORE_RWLOCK_SUCCESSFUL;                                
      the_rwlock->number_of_readers += 1;                             
  10cd42:	ff 43 48             	incl   0x48(%ebx)                     
      _Thread_queue_Extract( &the_rwlock->Wait_queue, next );         
  10cd45:	52                   	push   %edx                           
  10cd46:	52                   	push   %edx                           
  10cd47:	50                   	push   %eax                           
  10cd48:	53                   	push   %ebx                           
  10cd49:	e8 0e 18 00 00       	call   10e55c <_Thread_queue_Extract> 
    }                                                                 
  10cd4e:	83 c4 10             	add    $0x10,%esp                     
  10cd51:	eb d9                	jmp    10cd2c <_CORE_RWLock_Release+0x70>
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
  10cd53:	31 c0                	xor    %eax,%eax                      
  10cd55:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10cd58:	c9                   	leave                                 
  10cd59:	c3                   	ret                                   
                                                                      

0010cd5c <_CORE_RWLock_Timeout>: void _CORE_RWLock_Timeout( Objects_Id id, void *ignored ) {
  10cd5c:	55                   	push   %ebp                           
  10cd5d:	89 e5                	mov    %esp,%ebp                      
  10cd5f:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10cd62:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10cd65:	50                   	push   %eax                           
  10cd66:	ff 75 08             	pushl  0x8(%ebp)                      
  10cd69:	e8 ae 11 00 00       	call   10df1c <_Thread_Get>           
  switch ( location ) {                                               
  10cd6e:	83 c4 10             	add    $0x10,%esp                     
  10cd71:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10cd75:	75 17                	jne    10cd8e <_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 );                    
  10cd77:	83 ec 0c             	sub    $0xc,%esp                      
  10cd7a:	50                   	push   %eax                           
  10cd7b:	e8 b4 19 00 00       	call   10e734 <_Thread_queue_Process_timeout>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10cd80:	a1 f4 71 12 00       	mov    0x1271f4,%eax                  
  10cd85:	48                   	dec    %eax                           
  10cd86:	a3 f4 71 12 00       	mov    %eax,0x1271f4                  
  10cd8b:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10cd8e:	c9                   	leave                                 
  10cd8f:	c3                   	ret                                   
                                                                      

00117474 <_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 ) {
  117474:	55                   	push   %ebp                           
  117475:	89 e5                	mov    %esp,%ebp                      
  117477:	57                   	push   %edi                           
  117478:	56                   	push   %esi                           
  117479:	53                   	push   %ebx                           
  11747a:	83 ec 1c             	sub    $0x1c,%esp                     
  11747d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
    return CORE_MESSAGE_QUEUE_STATUS_INVALID_SIZE;                    
  117480:	b8 01 00 00 00       	mov    $0x1,%eax                      
{                                                                     
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
  117485:	8b 55 10             	mov    0x10(%ebp),%edx                
  117488:	3b 53 4c             	cmp    0x4c(%ebx),%edx                
  11748b:	77 4e                	ja     1174db <_CORE_message_queue_Broadcast+0x67><== NEVER TAKEN
   *  NOTE: This check is critical because threads can block on       
   *        send and receive and this ensures that we are broadcasting
   *        the message to threads waiting to receive -- not to send. 
   */                                                                 
                                                                      
  if ( the_message_queue->number_of_pending_messages != 0 ) {         
  11748d:	83 7b 48 00          	cmpl   $0x0,0x48(%ebx)                
  117491:	75 09                	jne    11749c <_CORE_message_queue_Broadcast+0x28>
  117493:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  11749a:	eb 23                	jmp    1174bf <_CORE_message_queue_Broadcast+0x4b>
    *count = 0;                                                       
  11749c:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  11749f:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  1174a5:	eb 32                	jmp    1174d9 <_CORE_message_queue_Broadcast+0x65>
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
    waitp = &the_thread->Wait;                                        
    number_broadcasted += 1;                                          
  1174a7:	ff 45 e4             	incl   -0x1c(%ebp)                    
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  1174aa:	8b 42 2c             	mov    0x2c(%edx),%eax                
  1174ad:	89 c7                	mov    %eax,%edi                      
  1174af:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  1174b2:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  1174b5:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
  1174b7:	8b 42 28             	mov    0x28(%edx),%eax                
  1174ba:	8b 55 10             	mov    0x10(%ebp),%edx                
  1174bd:	89 10                	mov    %edx,(%eax)                    
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
  1174bf:	83 ec 0c             	sub    $0xc,%esp                      
  1174c2:	53                   	push   %ebx                           
  1174c3:	e8 9c 22 00 00       	call   119764 <_Thread_queue_Dequeue> 
  1174c8:	89 c2                	mov    %eax,%edx                      
  1174ca:	83 c4 10             	add    $0x10,%esp                     
  1174cd:	85 c0                	test   %eax,%eax                      
  1174cf:	75 d6                	jne    1174a7 <_CORE_message_queue_Broadcast+0x33>
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  1174d1:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  1174d4:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  1174d7:	89 10                	mov    %edx,(%eax)                    
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
  1174d9:	31 c0                	xor    %eax,%eax                      
}                                                                     
  1174db:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1174de:	5b                   	pop    %ebx                           
  1174df:	5e                   	pop    %esi                           
  1174e0:	5f                   	pop    %edi                           
  1174e1:	c9                   	leave                                 
  1174e2:	c3                   	ret                                   
                                                                      

00112294 <_CORE_message_queue_Initialize>: 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 ) {
  112294:	55                   	push   %ebp                           
  112295:	89 e5                	mov    %esp,%ebp                      
  112297:	57                   	push   %edi                           
  112298:	56                   	push   %esi                           
  112299:	53                   	push   %ebx                           
  11229a:	83 ec 1c             	sub    $0x1c,%esp                     
  11229d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1122a0:	8b 7d 10             	mov    0x10(%ebp),%edi                
  1122a3:	8b 55 14             	mov    0x14(%ebp),%edx                
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
  1122a6:	89 7b 44             	mov    %edi,0x44(%ebx)                
  the_message_queue->number_of_pending_messages = 0;                  
  1122a9:	c7 43 48 00 00 00 00 	movl   $0x0,0x48(%ebx)                
  the_message_queue->maximum_message_size       = maximum_message_size;
  1122b0:	89 53 4c             	mov    %edx,0x4c(%ebx)                
    CORE_message_queue_Control        *the_message_queue,             
    CORE_message_queue_Notify_Handler  the_handler,                   
    void                              *the_argument                   
  )                                                                   
  {                                                                   
    the_message_queue->notify_handler  = the_handler;                 
  1122b3:	c7 43 60 00 00 00 00 	movl   $0x0,0x60(%ebx)                
    the_message_queue->notify_argument = the_argument;                
  1122ba:	c7 43 64 00 00 00 00 	movl   $0x0,0x64(%ebx)                
  /*                                                                  
   *  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)) {              
  1122c1:	89 d0                	mov    %edx,%eax                      
  1122c3:	f6 c2 03             	test   $0x3,%dl                       
  1122c6:	74 0c                	je     1122d4 <_CORE_message_queue_Initialize+0x40>
    allocated_message_size += sizeof(uint32_t);                       
  1122c8:	83 c0 04             	add    $0x4,%eax                      
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
  1122cb:	83 e0 fc             	and    $0xfffffffc,%eax               
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
    return false;                                                     
  1122ce:	31 f6                	xor    %esi,%esi                      
  if (allocated_message_size & (sizeof(uint32_t) - 1)) {              
    allocated_message_size += sizeof(uint32_t);                       
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
  1122d0:	39 d0                	cmp    %edx,%eax                      
  1122d2:	72 68                	jb     11233c <_CORE_message_queue_Initialize+0xa8><== 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));
  1122d4:	8d 50 14             	lea    0x14(%eax),%edx                
                                                                      
  /*                                                                  
   *  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 *    
  1122d7:	89 d1                	mov    %edx,%ecx                      
  1122d9:	0f af cf             	imul   %edi,%ecx                      
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
    return false;                                                     
  1122dc:	31 f6                	xor    %esi,%esi                      
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
  1122de:	39 c1                	cmp    %eax,%ecx                      
  1122e0:	72 5a                	jb     11233c <_CORE_message_queue_Initialize+0xa8><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
  1122e2:	83 ec 0c             	sub    $0xc,%esp                      
  1122e5:	51                   	push   %ecx                           
  1122e6:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  1122e9:	e8 b0 26 00 00       	call   11499e <_Workspace_Allocate>   
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
  1122ee:	89 43 5c             	mov    %eax,0x5c(%ebx)                
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
  1122f1:	83 c4 10             	add    $0x10,%esp                     
  1122f4:	85 c0                	test   %eax,%eax                      
  1122f6:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  1122f9:	74 41                	je     11233c <_CORE_message_queue_Initialize+0xa8>
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
  1122fb:	52                   	push   %edx                           
  1122fc:	57                   	push   %edi                           
  1122fd:	50                   	push   %eax                           
  1122fe:	8d 43 68             	lea    0x68(%ebx),%eax                
  112301:	50                   	push   %eax                           
  112302:	e8 e9 48 00 00       	call   116bf0 <_Chain_Initialize>     
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  112307:	8d 43 54             	lea    0x54(%ebx),%eax                
  11230a:	89 43 50             	mov    %eax,0x50(%ebx)                
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
  11230d:	c7 43 54 00 00 00 00 	movl   $0x0,0x54(%ebx)                
    the_message_queue->message_buffers,                               
    (size_t) maximum_pending_messages,                                
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
  112314:	8d 43 50             	lea    0x50(%ebx),%eax                
  112317:	89 43 58             	mov    %eax,0x58(%ebx)                
                                                                      
  _Thread_queue_Initialize(                                           
  11231a:	6a 06                	push   $0x6                           
  11231c:	68 80 00 00 00       	push   $0x80                          
  112321:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  112324:	83 38 01             	cmpl   $0x1,(%eax)                    
  112327:	0f 94 c0             	sete   %al                            
  11232a:	0f b6 c0             	movzbl %al,%eax                       
  11232d:	50                   	push   %eax                           
  11232e:	53                   	push   %ebx                           
  11232f:	e8 14 1d 00 00       	call   114048 <_Thread_queue_Initialize>
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
  112334:	83 c4 20             	add    $0x20,%esp                     
  112337:	be 01 00 00 00       	mov    $0x1,%esi                      
}                                                                     
  11233c:	89 f0                	mov    %esi,%eax                      
  11233e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112341:	5b                   	pop    %ebx                           
  112342:	5e                   	pop    %esi                           
  112343:	5f                   	pop    %edi                           
  112344:	c9                   	leave                                 
  112345:	c3                   	ret                                   
                                                                      

00112348 <_CORE_message_queue_Seize>: void *buffer, size_t *size_p, bool wait, Watchdog_Interval timeout ) {
  112348:	55                   	push   %ebp                           
  112349:	89 e5                	mov    %esp,%ebp                      
  11234b:	57                   	push   %edi                           
  11234c:	56                   	push   %esi                           
  11234d:	53                   	push   %ebx                           
  11234e:	83 ec 2c             	sub    $0x2c,%esp                     
  112351:	8b 55 08             	mov    0x8(%ebp),%edx                 
  112354:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  112357:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  11235a:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  11235d:	89 5d e0             	mov    %ebx,-0x20(%ebp)               
  112360:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  112363:	8b 75 1c             	mov    0x1c(%ebp),%esi                
  112366:	89 75 d4             	mov    %esi,-0x2c(%ebp)               
  112369:	8a 45 18             	mov    0x18(%ebp),%al                 
  11236c:	88 45 db             	mov    %al,-0x25(%ebp)                
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
  11236f:	a1 9c c8 12 00       	mov    0x12c89c,%eax                  
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
  112374:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
  _ISR_Disable( level );                                              
  11237b:	9c                   	pushf                                 
  11237c:	fa                   	cli                                   
  11237d:	8f 45 e4             	popl   -0x1c(%ebp)                    
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  112380:	8b 5a 50             	mov    0x50(%edx),%ebx                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  112383:	8d 72 54             	lea    0x54(%edx),%esi                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
  112386:	39 f3                	cmp    %esi,%ebx                      
  112388:	0f 84 8a 00 00 00    	je     112418 <_CORE_message_queue_Seize+0xd0>
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
  11238e:	8b 33                	mov    (%ebx),%esi                    
  the_chain->first    = new_first;                                    
  112390:	89 72 50             	mov    %esi,0x50(%edx)                
  CORE_message_queue_Buffer_control *_CORE_message_queue_Get_pending_message (
  CORE_message_queue_Control *the_message_queue                       
)                                                                     
{                                                                     
  return (CORE_message_queue_Buffer_control *)                        
    _Chain_Get_unprotected( &the_message_queue->Pending_messages );   
  112393:	8d 7a 50             	lea    0x50(%edx),%edi                
  112396:	89 7e 04             	mov    %edi,0x4(%esi)                 
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
  112399:	85 db                	test   %ebx,%ebx                      
  11239b:	74 7b                	je     112418 <_CORE_message_queue_Seize+0xd0><== NEVER TAKEN
    the_message_queue->number_of_pending_messages -= 1;               
  11239d:	ff 4a 48             	decl   0x48(%edx)                     
    _ISR_Enable( level );                                             
  1123a0:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  1123a3:	9d                   	popf                                  
                                                                      
    *size_p = the_message->Contents.size;                             
  1123a4:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  1123a7:	89 01                	mov    %eax,(%ecx)                    
    _Thread_Executing->Wait.count =                                   
  1123a9:	8b 73 08             	mov    0x8(%ebx),%esi                 
  1123ac:	a1 9c c8 12 00       	mov    0x12c89c,%eax                  
  1123b1:	89 70 24             	mov    %esi,0x24(%eax)                
      _CORE_message_queue_Get_message_priority( the_message );        
    _CORE_message_queue_Copy_buffer(                                  
      the_message->Contents.buffer,                                   
  1123b4:	8d 73 10             	lea    0x10(%ebx),%esi                
  1123b7:	89 75 e4             	mov    %esi,-0x1c(%ebp)               
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  1123ba:	8b 09                	mov    (%ecx),%ecx                    
  1123bc:	8b 7d e0             	mov    -0x20(%ebp),%edi               
  1123bf:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
       *  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 );
  1123c1:	83 ec 0c             	sub    $0xc,%esp                      
  1123c4:	52                   	push   %edx                           
  1123c5:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  1123c8:	e8 4b 19 00 00       	call   113d18 <_Thread_queue_Dequeue> 
      if ( !the_thread ) {                                            
  1123cd:	83 c4 10             	add    $0x10,%esp                     
  1123d0:	85 c0                	test   %eax,%eax                      
  1123d2:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  1123d5:	75 15                	jne    1123ec <_CORE_message_queue_Seize+0xa4>
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 );
  1123d7:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  1123da:	83 c2 68             	add    $0x68,%edx                     
  1123dd:	89 55 08             	mov    %edx,0x8(%ebp)                 
  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 );   
}                                                                     
  1123e0:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1123e3:	5b                   	pop    %ebx                           
  1123e4:	5e                   	pop    %esi                           
  1123e5:	5f                   	pop    %edi                           
  1123e6:	c9                   	leave                                 
  1123e7:	e9 28 fe ff ff       	jmp    112214 <_Chain_Append>         
  CORE_message_queue_Buffer_control *the_message,                     
  int                                priority                         
)                                                                     
{                                                                     
  #if defined(RTEMS_SCORE_COREMSG_ENABLE_MESSAGE_PRIORITY)            
    the_message->priority = priority;                                 
  1123ec:	8b 48 24             	mov    0x24(%eax),%ecx                
  1123ef:	89 4b 08             	mov    %ecx,0x8(%ebx)                 
       */                                                             
      _CORE_message_queue_Set_message_priority(                       
        the_message,                                                  
        the_thread->Wait.count                                        
      );                                                              
      the_message->Contents.size = (size_t) the_thread->Wait.option;  
  1123f2:	8b 48 30             	mov    0x30(%eax),%ecx                
  1123f5:	89 4b 0c             	mov    %ecx,0xc(%ebx)                 
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  1123f8:	8b 70 2c             	mov    0x2c(%eax),%esi                
  1123fb:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  1123fe:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
        the_thread->Wait.return_argument_second.immutable_object,     
        the_message->Contents.buffer,                                 
        the_message->Contents.size                                    
      );                                                              
                                                                      
      _CORE_message_queue_Insert_message(                             
  112400:	8b 43 08             	mov    0x8(%ebx),%eax                 
  112403:	89 45 10             	mov    %eax,0x10(%ebp)                
  112406:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  112409:	89 55 08             	mov    %edx,0x8(%ebp)                 
  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 );   
}                                                                     
  11240c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11240f:	5b                   	pop    %ebx                           
  112410:	5e                   	pop    %esi                           
  112411:	5f                   	pop    %edi                           
  112412:	c9                   	leave                                 
        the_thread->Wait.return_argument_second.immutable_object,     
        the_message->Contents.buffer,                                 
        the_message->Contents.size                                    
      );                                                              
                                                                      
      _CORE_message_queue_Insert_message(                             
  112413:	e9 10 48 00 00       	jmp    116c28 <_CORE_message_queue_Insert_message>
      return;                                                         
    }                                                                 
    #endif                                                            
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
  112418:	80 7d db 00          	cmpb   $0x0,-0x25(%ebp)               
  11241c:	75 13                	jne    112431 <_CORE_message_queue_Seize+0xe9>
    _ISR_Enable( level );                                             
  11241e:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  112421:	9d                   	popf                                  
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
  112422:	c7 40 34 04 00 00 00 	movl   $0x4,0x34(%eax)                
  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 );   
}                                                                     
  112429:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11242c:	5b                   	pop    %ebx                           
  11242d:	5e                   	pop    %esi                           
  11242e:	5f                   	pop    %edi                           
  11242f:	c9                   	leave                                 
  112430:	c3                   	ret                                   
                                                                      
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;
  112431:	c7 42 30 01 00 00 00 	movl   $0x1,0x30(%edx)                
    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;             
  112438:	89 50 44             	mov    %edx,0x44(%eax)                
  executing->Wait.id = id;                                            
  11243b:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
  11243e:	89 58 20             	mov    %ebx,0x20(%eax)                
  executing->Wait.return_argument_second.mutable_object = buffer;     
  112441:	8b 75 e0             	mov    -0x20(%ebp),%esi               
  112444:	89 70 2c             	mov    %esi,0x2c(%eax)                
  executing->Wait.return_argument = size_p;                           
  112447:	89 48 28             	mov    %ecx,0x28(%eax)                
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
  11244a:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  11244d:	9d                   	popf                                  
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
  11244e:	c7 45 10 f8 40 11 00 	movl   $0x1140f8,0x10(%ebp)           
  112455:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  112458:	89 45 0c             	mov    %eax,0xc(%ebp)                 
  11245b:	89 55 08             	mov    %edx,0x8(%ebp)                 
}                                                                     
  11245e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112461:	5b                   	pop    %ebx                           
  112462:	5e                   	pop    %esi                           
  112463:	5f                   	pop    %edi                           
  112464:	c9                   	leave                                 
  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 );   
  112465:	e9 b6 19 00 00       	jmp    113e20 <_Thread_queue_Enqueue_with_handler>
                                                                      

0010abb4 <_CORE_mutex_Initialize>: CORE_mutex_Status _CORE_mutex_Initialize( CORE_mutex_Control *the_mutex, CORE_mutex_Attributes *the_mutex_attributes, uint32_t initial_lock ) {
  10abb4:	55                   	push   %ebp                           
  10abb5:	89 e5                	mov    %esp,%ebp                      
  10abb7:	57                   	push   %edi                           
  10abb8:	56                   	push   %esi                           
  10abb9:	53                   	push   %ebx                           
  10abba:	83 ec 0c             	sub    $0xc,%esp                      
  10abbd:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10abc0:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10abc3:	8b 45 10             	mov    0x10(%ebp),%eax                
/* Add this to the RTEMS environment later ?????????                  
  rtems_assert( initial_lock == CORE_MUTEX_LOCKED ||                  
                initial_lock == CORE_MUTEX_UNLOCKED );                
 */                                                                   
                                                                      
  the_mutex->Attributes    = *the_mutex_attributes;                   
  10abc6:	8d 7a 40             	lea    0x40(%edx),%edi                
  10abc9:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10abce:	89 de                	mov    %ebx,%esi                      
  10abd0:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  the_mutex->lock          = initial_lock;                            
  10abd2:	89 42 50             	mov    %eax,0x50(%edx)                
  the_mutex->blocked_count = 0;                                       
  10abd5:	c7 42 58 00 00 00 00 	movl   $0x0,0x58(%edx)                
                                                                      
  if ( initial_lock == CORE_MUTEX_LOCKED ) {                          
  10abdc:	85 c0                	test   %eax,%eax                      
  10abde:	75 35                	jne    10ac15 <_CORE_mutex_Initialize+0x61>
    the_mutex->nest_count = 1;                                        
  10abe0:	c7 42 54 01 00 00 00 	movl   $0x1,0x54(%edx)                
    the_mutex->holder     = _Thread_Executing;                        
  10abe7:	8b 0d 34 47 12 00    	mov    0x124734,%ecx                  
  10abed:	89 4a 5c             	mov    %ecx,0x5c(%edx)                
    the_mutex->holder_id  = _Thread_Executing->Object.id;             
  10abf0:	8b 41 08             	mov    0x8(%ecx),%eax                 
  10abf3:	89 42 60             	mov    %eax,0x60(%edx)                
    STATES_WAITING_FOR_MUTEX,                                         
    CORE_MUTEX_TIMEOUT                                                
  );                                                                  
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
}                                                                     
  10abf6:	8b 42 48             	mov    0x48(%edx),%eax                
                                                                      
  if ( initial_lock == CORE_MUTEX_LOCKED ) {                          
    the_mutex->nest_count = 1;                                        
    the_mutex->holder     = _Thread_Executing;                        
    the_mutex->holder_id  = _Thread_Executing->Object.id;             
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
  10abf9:	83 f8 02             	cmp    $0x2,%eax                      
  10abfc:	74 05                	je     10ac03 <_CORE_mutex_Initialize+0x4f>
  10abfe:	83 f8 03             	cmp    $0x3,%eax                      
  10ac01:	75 27                	jne    10ac2a <_CORE_mutex_Initialize+0x76>
         _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
                                                                      
      if ( _Thread_Executing->current_priority <                      
             the_mutex->Attributes.priority_ceiling )                 
       return CORE_MUTEX_STATUS_CEILING_VIOLATED;                     
  10ac03:	b8 06 00 00 00       	mov    $0x6,%eax                      
    the_mutex->holder     = _Thread_Executing;                        
    the_mutex->holder_id  = _Thread_Executing->Object.id;             
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
         _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
                                                                      
      if ( _Thread_Executing->current_priority <                      
  10ac08:	8b 72 4c             	mov    0x4c(%edx),%esi                
  10ac0b:	39 71 14             	cmp    %esi,0x14(%ecx)                
  10ac0e:	72 36                	jb     10ac46 <_CORE_mutex_Initialize+0x92><== NEVER TAKEN
       _Chain_Prepend_unprotected( &_Thread_Executing->lock_mutex,    
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = _Thread_Executing->current_priority;
#endif                                                                
                                                                      
      _Thread_Executing->resource_count++;                            
  10ac10:	ff 41 1c             	incl   0x1c(%ecx)                     
  10ac13:	eb 15                	jmp    10ac2a <_CORE_mutex_Initialize+0x76>
    }                                                                 
  } else {                                                            
    the_mutex->nest_count = 0;                                        
  10ac15:	c7 42 54 00 00 00 00 	movl   $0x0,0x54(%edx)                
    the_mutex->holder     = NULL;                                     
  10ac1c:	c7 42 5c 00 00 00 00 	movl   $0x0,0x5c(%edx)                
    the_mutex->holder_id  = 0;                                        
  10ac23:	c7 42 60 00 00 00 00 	movl   $0x0,0x60(%edx)                
  }                                                                   
                                                                      
  _Thread_queue_Initialize(                                           
  10ac2a:	6a 05                	push   $0x5                           
  10ac2c:	68 00 04 00 00       	push   $0x400                         
  10ac31:	31 c0                	xor    %eax,%eax                      
  10ac33:	83 7b 08 00          	cmpl   $0x0,0x8(%ebx)                 
  10ac37:	0f 95 c0             	setne  %al                            
  10ac3a:	50                   	push   %eax                           
  10ac3b:	52                   	push   %edx                           
  10ac3c:	e8 cb 19 00 00       	call   10c60c <_Thread_queue_Initialize>
      THREAD_QUEUE_DISCIPLINE_FIFO : THREAD_QUEUE_DISCIPLINE_PRIORITY,
    STATES_WAITING_FOR_MUTEX,                                         
    CORE_MUTEX_TIMEOUT                                                
  );                                                                  
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
  10ac41:	83 c4 10             	add    $0x10,%esp                     
  10ac44:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10ac46:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ac49:	5b                   	pop    %ebx                           
  10ac4a:	5e                   	pop    %esi                           
  10ac4b:	5f                   	pop    %edi                           
  10ac4c:	c9                   	leave                                 
  10ac4d:	c3                   	ret                                   
                                                                      

0010ac9d <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
  10ac9d:	55                   	push   %ebp                           
  10ac9e:	89 e5                	mov    %esp,%ebp                      
  10aca0:	53                   	push   %ebx                           
  10aca1:	83 ec 14             	sub    $0x14,%esp                     
  10aca4:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10aca7:	8a 55 10             	mov    0x10(%ebp),%dl                 
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
  10acaa:	a1 e4 41 12 00       	mov    0x1241e4,%eax                  
  10acaf:	85 c0                	test   %eax,%eax                      
  10acb1:	74 19                	je     10accc <_CORE_mutex_Seize+0x2f>
  10acb3:	84 d2                	test   %dl,%dl                        
  10acb5:	74 15                	je     10accc <_CORE_mutex_Seize+0x2f><== NEVER TAKEN
  10acb7:	83 3d 64 43 12 00 01 	cmpl   $0x1,0x124364                  
  10acbe:	76 0c                	jbe    10accc <_CORE_mutex_Seize+0x2f>
  10acc0:	53                   	push   %ebx                           
  10acc1:	6a 13                	push   $0x13                          
  10acc3:	6a 00                	push   $0x0                           
  10acc5:	6a 00                	push   $0x0                           
  10acc7:	e8 f8 05 00 00       	call   10b2c4 <_Internal_error_Occurred>
  10accc:	51                   	push   %ecx                           
  10accd:	51                   	push   %ecx                           
  10acce:	8d 45 18             	lea    0x18(%ebp),%eax                
  10acd1:	50                   	push   %eax                           
  10acd2:	53                   	push   %ebx                           
  10acd3:	88 55 f4             	mov    %dl,-0xc(%ebp)                 
  10acd6:	e8 91 45 00 00       	call   10f26c <_CORE_mutex_Seize_interrupt_trylock>
  10acdb:	83 c4 10             	add    $0x10,%esp                     
  10acde:	85 c0                	test   %eax,%eax                      
  10ace0:	8a 55 f4             	mov    -0xc(%ebp),%dl                 
  10ace3:	74 48                	je     10ad2d <_CORE_mutex_Seize+0x90>
  10ace5:	84 d2                	test   %dl,%dl                        
  10ace7:	75 12                	jne    10acfb <_CORE_mutex_Seize+0x5e>
  10ace9:	ff 75 18             	pushl  0x18(%ebp)                     
  10acec:	9d                   	popf                                  
  10aced:	a1 34 47 12 00       	mov    0x124734,%eax                  
  10acf2:	c7 40 34 01 00 00 00 	movl   $0x1,0x34(%eax)                
  10acf9:	eb 32                	jmp    10ad2d <_CORE_mutex_Seize+0x90>
  10acfb:	c7 43 30 01 00 00 00 	movl   $0x1,0x30(%ebx)                
  10ad02:	a1 34 47 12 00       	mov    0x124734,%eax                  
  10ad07:	89 58 44             	mov    %ebx,0x44(%eax)                
  10ad0a:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10ad0d:	89 50 20             	mov    %edx,0x20(%eax)                
  10ad10:	a1 e4 41 12 00       	mov    0x1241e4,%eax                  
  10ad15:	40                   	inc    %eax                           
  10ad16:	a3 e4 41 12 00       	mov    %eax,0x1241e4                  
  10ad1b:	ff 75 18             	pushl  0x18(%ebp)                     
  10ad1e:	9d                   	popf                                  
  10ad1f:	50                   	push   %eax                           
  10ad20:	50                   	push   %eax                           
  10ad21:	ff 75 14             	pushl  0x14(%ebp)                     
  10ad24:	53                   	push   %ebx                           
  10ad25:	e8 26 ff ff ff       	call   10ac50 <_CORE_mutex_Seize_interrupt_blocking>
  10ad2a:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10ad2d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ad30:	c9                   	leave                                 
  10ad31:	c3                   	ret                                   
                                                                      

0010ae60 <_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 ) {
  10ae60:	55                   	push   %ebp                           
  10ae61:	89 e5                	mov    %esp,%ebp                      
  10ae63:	53                   	push   %ebx                           
  10ae64:	83 ec 10             	sub    $0x10,%esp                     
  10ae67:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
  10ae6a:	53                   	push   %ebx                           
  10ae6b:	e8 6c 14 00 00       	call   10c2dc <_Thread_queue_Dequeue> 
  10ae70:	89 c2                	mov    %eax,%edx                      
  10ae72:	83 c4 10             	add    $0x10,%esp                     
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
  10ae75:	31 c0                	xor    %eax,%eax                      
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
  10ae77:	85 d2                	test   %edx,%edx                      
  10ae79:	75 15                	jne    10ae90 <_CORE_semaphore_Surrender+0x30>
    if ( !_Objects_Is_local_id( the_thread->Object.id ) )             
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
  10ae7b:	9c                   	pushf                                 
  10ae7c:	fa                   	cli                                   
  10ae7d:	59                   	pop    %ecx                           
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
  10ae7e:	8b 53 48             	mov    0x48(%ebx),%edx                
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
  10ae81:	b0 04                	mov    $0x4,%al                       
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
  10ae83:	3b 53 40             	cmp    0x40(%ebx),%edx                
  10ae86:	73 06                	jae    10ae8e <_CORE_semaphore_Surrender+0x2e><== NEVER TAKEN
        the_semaphore->count += 1;                                    
  10ae88:	42                   	inc    %edx                           
  10ae89:	89 53 48             	mov    %edx,0x48(%ebx)                
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
  10ae8c:	30 c0                	xor    %al,%al                        
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  10ae8e:	51                   	push   %ecx                           
  10ae8f:	9d                   	popf                                  
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
  10ae90:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ae93:	c9                   	leave                                 
  10ae94:	c3                   	ret                                   
                                                                      

00109c74 <_Event_Seize>: rtems_event_set event_in, rtems_option option_set, rtems_interval ticks, rtems_event_set *event_out ) {
  109c74:	55                   	push   %ebp                           
  109c75:	89 e5                	mov    %esp,%ebp                      
  109c77:	57                   	push   %edi                           
  109c78:	56                   	push   %esi                           
  109c79:	53                   	push   %ebx                           
  109c7a:	83 ec 1c             	sub    $0x1c,%esp                     
  109c7d:	8b 45 08             	mov    0x8(%ebp),%eax                 
  109c80:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  109c83:	8b 55 10             	mov    0x10(%ebp),%edx                
  109c86:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  109c89:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  rtems_event_set                   pending_events;                   
  ISR_Level                         level;                            
  RTEMS_API_Control                *api;                              
  Thread_blocking_operation_States  sync_state;                       
                                                                      
  executing = _Thread_Executing;                                      
  109c8c:	8b 1d 34 47 12 00    	mov    0x124734,%ebx                  
  executing->Wait.return_code = RTEMS_SUCCESSFUL;                     
  109c92:	c7 43 34 00 00 00 00 	movl   $0x0,0x34(%ebx)                
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  109c99:	8b bb f4 00 00 00    	mov    0xf4(%ebx),%edi                
                                                                      
  _ISR_Disable( level );                                              
  109c9f:	9c                   	pushf                                 
  109ca0:	fa                   	cli                                   
  109ca1:	8f 45 e0             	popl   -0x20(%ebp)                    
  pending_events = api->pending_events;                               
  109ca4:	8b 17                	mov    (%edi),%edx                    
  109ca6:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  seized_events  = _Event_sets_Get( pending_events, event_in );       
                                                                      
  if ( !_Event_sets_Is_empty( seized_events ) &&                      
  109ca9:	21 c2                	and    %eax,%edx                      
  109cab:	74 1b                	je     109cc8 <_Event_Seize+0x54>     
  109cad:	39 c2                	cmp    %eax,%edx                      
  109caf:	74 08                	je     109cb9 <_Event_Seize+0x45>     
       (seized_events == event_in || _Options_Is_any( option_set )) ) {
  109cb1:	f7 c6 02 00 00 00    	test   $0x2,%esi                      
  109cb7:	74 0f                	je     109cc8 <_Event_Seize+0x54>     <== NEVER TAKEN
RTEMS_INLINE_ROUTINE rtems_event_set _Event_sets_Clear(               
 rtems_event_set the_event_set,                                       
 rtems_event_set the_mask                                             
)                                                                     
{                                                                     
   return ( the_event_set & ~(the_mask) );                            
  109cb9:	89 d0                	mov    %edx,%eax                      
  109cbb:	f7 d0                	not    %eax                           
  109cbd:	23 45 e4             	and    -0x1c(%ebp),%eax               
  109cc0:	89 07                	mov    %eax,(%edi)                    
    api->pending_events =                                             
      _Event_sets_Clear( pending_events, seized_events );             
    _ISR_Enable( level );                                             
  109cc2:	ff 75 e0             	pushl  -0x20(%ebp)                    
  109cc5:	9d                   	popf                                  
  109cc6:	eb 13                	jmp    109cdb <_Event_Seize+0x67>     
    *event_out = seized_events;                                       
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
  109cc8:	f7 c6 01 00 00 00    	test   $0x1,%esi                      
  109cce:	74 12                	je     109ce2 <_Event_Seize+0x6e>     
    _ISR_Enable( level );                                             
  109cd0:	ff 75 e0             	pushl  -0x20(%ebp)                    
  109cd3:	9d                   	popf                                  
    executing->Wait.return_code = RTEMS_UNSATISFIED;                  
  109cd4:	c7 43 34 0d 00 00 00 	movl   $0xd,0x34(%ebx)                
    *event_out = seized_events;                                       
  109cdb:	89 11                	mov    %edx,(%ecx)                    
    return;                                                           
  109cdd:	e9 91 00 00 00       	jmp    109d73 <_Event_Seize+0xff>     
   *  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;          
  109ce2:	89 73 30             	mov    %esi,0x30(%ebx)                
  executing->Wait.count             = (uint32_t) event_in;            
  109ce5:	89 43 24             	mov    %eax,0x24(%ebx)                
  executing->Wait.return_argument   = event_out;                      
  109ce8:	89 4b 28             	mov    %ecx,0x28(%ebx)                
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
  109ceb:	c7 05 e4 4a 12 00 01 	movl   $0x1,0x124ae4                  
  109cf2:	00 00 00                                                    
                                                                      
  _ISR_Enable( level );                                               
  109cf5:	ff 75 e0             	pushl  -0x20(%ebp)                    
  109cf8:	9d                   	popf                                  
                                                                      
  if ( ticks ) {                                                      
  109cf9:	83 7d dc 00          	cmpl   $0x0,-0x24(%ebp)               
  109cfd:	74 34                	je     109d33 <_Event_Seize+0xbf>     
    _Watchdog_Initialize(                                             
  109cff:	8b 43 08             	mov    0x8(%ebx),%eax                 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  109d02:	c7 43 50 00 00 00 00 	movl   $0x0,0x50(%ebx)                
  the_watchdog->routine   = routine;                                  
  109d09:	c7 43 64 b0 9e 10 00 	movl   $0x109eb0,0x64(%ebx)           
  the_watchdog->id        = id;                                       
  109d10:	89 43 68             	mov    %eax,0x68(%ebx)                
  the_watchdog->user_data = user_data;                                
  109d13:	c7 43 6c 00 00 00 00 	movl   $0x0,0x6c(%ebx)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  109d1a:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  109d1d:	89 43 54             	mov    %eax,0x54(%ebx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  109d20:	52                   	push   %edx                           
  109d21:	52                   	push   %edx                           
      &executing->Timer,                                              
      _Event_Timeout,                                                 
      executing->Object.id,                                           
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &executing->Timer, ticks );               
  109d22:	8d 43 48             	lea    0x48(%ebx),%eax                
  109d25:	50                   	push   %eax                           
  109d26:	68 ac 42 12 00       	push   $0x1242ac                      
  109d2b:	e8 00 30 00 00       	call   10cd30 <_Watchdog_Insert>      
  109d30:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  _Thread_Set_state( executing, STATES_WAITING_FOR_EVENT );           
  109d33:	50                   	push   %eax                           
  109d34:	50                   	push   %eax                           
  109d35:	68 00 01 00 00       	push   $0x100                         
  109d3a:	53                   	push   %ebx                           
  109d3b:	e8 18 2a 00 00       	call   10c758 <_Thread_Set_state>     
                                                                      
  _ISR_Disable( level );                                              
  109d40:	9c                   	pushf                                 
  109d41:	fa                   	cli                                   
  109d42:	5a                   	pop    %edx                           
                                                                      
  sync_state = _Event_Sync_state;                                     
  109d43:	a1 e4 4a 12 00       	mov    0x124ae4,%eax                  
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
  109d48:	c7 05 e4 4a 12 00 00 	movl   $0x0,0x124ae4                  
  109d4f:	00 00 00                                                    
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
  109d52:	83 c4 10             	add    $0x10,%esp                     
  109d55:	83 f8 01             	cmp    $0x1,%eax                      
  109d58:	75 04                	jne    109d5e <_Event_Seize+0xea>     
    _ISR_Enable( level );                                             
  109d5a:	52                   	push   %edx                           
  109d5b:	9d                   	popf                                  
  109d5c:	eb 15                	jmp    109d73 <_Event_Seize+0xff>     
   *  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 );  
  109d5e:	89 55 10             	mov    %edx,0x10(%ebp)                
  109d61:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  109d64:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  109d67:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109d6a:	5b                   	pop    %ebx                           
  109d6b:	5e                   	pop    %esi                           
  109d6c:	5f                   	pop    %edi                           
  109d6d:	c9                   	leave                                 
   *  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 );  
  109d6e:	e9 09 1d 00 00       	jmp    10ba7c <_Thread_blocking_operation_Cancel>
}                                                                     
  109d73:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109d76:	5b                   	pop    %ebx                           
  109d77:	5e                   	pop    %esi                           
  109d78:	5f                   	pop    %edi                           
  109d79:	c9                   	leave                                 
  109d7a:	c3                   	ret                                   
                                                                      

00109dc8 <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
  109dc8:	55                   	push   %ebp                           
  109dc9:	89 e5                	mov    %esp,%ebp                      
  109dcb:	57                   	push   %edi                           
  109dcc:	56                   	push   %esi                           
  109dcd:	53                   	push   %ebx                           
  109dce:	83 ec 2c             	sub    $0x2c,%esp                     
  109dd1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  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 ];               
  109dd4:	8b bb f4 00 00 00    	mov    0xf4(%ebx),%edi                
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
  109dda:	8b 43 30             	mov    0x30(%ebx),%eax                
  109ddd:	89 45 e0             	mov    %eax,-0x20(%ebp)               
                                                                      
  _ISR_Disable( level );                                              
  109de0:	9c                   	pushf                                 
  109de1:	fa                   	cli                                   
  109de2:	58                   	pop    %eax                           
  pending_events  = api->pending_events;                              
  109de3:	8b 17                	mov    (%edi),%edx                    
  109de5:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  event_condition = (rtems_event_set) the_thread->Wait.count;         
  109de8:	8b 73 24             	mov    0x24(%ebx),%esi                
  seized_events = _Event_sets_Get( pending_events, event_condition ); 
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
  109deb:	21 f2                	and    %esi,%edx                      
  109ded:	75 07                	jne    109df6 <_Event_Surrender+0x2e> 
    _ISR_Enable( level );                                             
  109def:	50                   	push   %eax                           
  109df0:	9d                   	popf                                  
    return;                                                           
  109df1:	e9 af 00 00 00       	jmp    109ea5 <_Event_Surrender+0xdd> 
                                                                      
  /*                                                                  
   *  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() &&                                       
  109df6:	83 3d 30 47 12 00 00 	cmpl   $0x0,0x124730                  
  109dfd:	74 49                	je     109e48 <_Event_Surrender+0x80> 
  109dff:	3b 1d 34 47 12 00    	cmp    0x124734,%ebx                  
  109e05:	75 41                	jne    109e48 <_Event_Surrender+0x80> 
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
  109e07:	8b 0d e4 4a 12 00    	mov    0x124ae4,%ecx                  
  /*                                                                  
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
  109e0d:	83 f9 02             	cmp    $0x2,%ecx                      
  109e10:	74 09                	je     109e1b <_Event_Surrender+0x53> <== NEVER TAKEN
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
  109e12:	8b 0d e4 4a 12 00    	mov    0x124ae4,%ecx                  
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
  109e18:	49                   	dec    %ecx                           
  109e19:	75 2d                	jne    109e48 <_Event_Surrender+0x80> 
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
  109e1b:	39 f2                	cmp    %esi,%edx                      
  109e1d:	74 06                	je     109e25 <_Event_Surrender+0x5d> 
  109e1f:	f6 45 e0 02          	testb  $0x2,-0x20(%ebp)               
  109e23:	74 1f                	je     109e44 <_Event_Surrender+0x7c> <== NEVER TAKEN
RTEMS_INLINE_ROUTINE rtems_event_set _Event_sets_Clear(               
 rtems_event_set the_event_set,                                       
 rtems_event_set the_mask                                             
)                                                                     
{                                                                     
   return ( the_event_set & ~(the_mask) );                            
  109e25:	89 d6                	mov    %edx,%esi                      
  109e27:	f7 d6                	not    %esi                           
  109e29:	23 75 d4             	and    -0x2c(%ebp),%esi               
  109e2c:	89 37                	mov    %esi,(%edi)                    
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
  109e2e:	c7 43 24 00 00 00 00 	movl   $0x0,0x24(%ebx)                
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
  109e35:	8b 4b 28             	mov    0x28(%ebx),%ecx                
  109e38:	89 11                	mov    %edx,(%ecx)                    
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
  109e3a:	c7 05 e4 4a 12 00 03 	movl   $0x3,0x124ae4                  
  109e41:	00 00 00                                                    
    }                                                                 
    _ISR_Enable( level );                                             
  109e44:	50                   	push   %eax                           
  109e45:	9d                   	popf                                  
    return;                                                           
  109e46:	eb 5d                	jmp    109ea5 <_Event_Surrender+0xdd> 
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
  109e48:	f6 43 11 01          	testb  $0x1,0x11(%ebx)                
  109e4c:	74 55                	je     109ea3 <_Event_Surrender+0xdb> 
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
  109e4e:	39 f2                	cmp    %esi,%edx                      
  109e50:	74 06                	je     109e58 <_Event_Surrender+0x90> 
  109e52:	f6 45 e0 02          	testb  $0x2,-0x20(%ebp)               
  109e56:	74 4b                	je     109ea3 <_Event_Surrender+0xdb> <== NEVER TAKEN
  109e58:	89 d6                	mov    %edx,%esi                      
  109e5a:	f7 d6                	not    %esi                           
  109e5c:	23 75 d4             	and    -0x2c(%ebp),%esi               
  109e5f:	89 37                	mov    %esi,(%edi)                    
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
      the_thread->Wait.count = 0;                                     
  109e61:	c7 43 24 00 00 00 00 	movl   $0x0,0x24(%ebx)                
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
  109e68:	8b 4b 28             	mov    0x28(%ebx),%ecx                
  109e6b:	89 11                	mov    %edx,(%ecx)                    
                                                                      
      _ISR_Flash( level );                                            
  109e6d:	50                   	push   %eax                           
  109e6e:	9d                   	popf                                  
  109e6f:	fa                   	cli                                   
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
  109e70:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  109e74:	74 06                	je     109e7c <_Event_Surrender+0xb4> 
        _ISR_Enable( level );                                         
  109e76:	50                   	push   %eax                           
  109e77:	9d                   	popf                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  109e78:	51                   	push   %ecx                           
  109e79:	51                   	push   %ecx                           
  109e7a:	eb 17                	jmp    109e93 <_Event_Surrender+0xcb> 
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
  109e7c:	c7 43 50 03 00 00 00 	movl   $0x3,0x50(%ebx)                
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
  109e83:	50                   	push   %eax                           
  109e84:	9d                   	popf                                  
        (void) _Watchdog_Remove( &the_thread->Timer );                
  109e85:	83 ec 0c             	sub    $0xc,%esp                      
  109e88:	8d 43 48             	lea    0x48(%ebx),%eax                
  109e8b:	50                   	push   %eax                           
  109e8c:	e8 b7 2f 00 00       	call   10ce48 <_Watchdog_Remove>      
  109e91:	58                   	pop    %eax                           
  109e92:	5a                   	pop    %edx                           
  109e93:	68 f8 ff 03 10       	push   $0x1003fff8                    
  109e98:	53                   	push   %ebx                           
  109e99:	e8 4a 1d 00 00       	call   10bbe8 <_Thread_Clear_state>   
  109e9e:	83 c4 10             	add    $0x10,%esp                     
  109ea1:	eb 02                	jmp    109ea5 <_Event_Surrender+0xdd> 
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
  109ea3:	50                   	push   %eax                           
  109ea4:	9d                   	popf                                  
}                                                                     
  109ea5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109ea8:	5b                   	pop    %ebx                           
  109ea9:	5e                   	pop    %esi                           
  109eaa:	5f                   	pop    %edi                           
  109eab:	c9                   	leave                                 
  109eac:	c3                   	ret                                   
                                                                      

00109eb0 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
  109eb0:	55                   	push   %ebp                           
  109eb1:	89 e5                	mov    %esp,%ebp                      
  109eb3:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  109eb6:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  109eb9:	50                   	push   %eax                           
  109eba:	ff 75 08             	pushl  0x8(%ebp)                      
  109ebd:	e8 ba 20 00 00       	call   10bf7c <_Thread_Get>           
  switch ( location ) {                                               
  109ec2:	83 c4 10             	add    $0x10,%esp                     
  109ec5:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  109ec9:	75 49                	jne    109f14 <_Event_Timeout+0x64>   <== 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 );                                          
  109ecb:	9c                   	pushf                                 
  109ecc:	fa                   	cli                                   
  109ecd:	5a                   	pop    %edx                           
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
  109ece:	c7 40 24 00 00 00 00 	movl   $0x0,0x24(%eax)                
        if ( _Thread_Is_executing( the_thread ) ) {                   
  109ed5:	3b 05 34 47 12 00    	cmp    0x124734,%eax                  
  109edb:	75 13                	jne    109ef0 <_Event_Timeout+0x40>   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
  109edd:	8b 0d e4 4a 12 00    	mov    0x124ae4,%ecx                  
  109ee3:	49                   	dec    %ecx                           
  109ee4:	75 0a                	jne    109ef0 <_Event_Timeout+0x40>   
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
  109ee6:	c7 05 e4 4a 12 00 02 	movl   $0x2,0x124ae4                  
  109eed:	00 00 00                                                    
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
  109ef0:	c7 40 34 06 00 00 00 	movl   $0x6,0x34(%eax)                
      _ISR_Enable( level );                                           
  109ef7:	52                   	push   %edx                           
  109ef8:	9d                   	popf                                  
  109ef9:	52                   	push   %edx                           
  109efa:	52                   	push   %edx                           
  109efb:	68 f8 ff 03 10       	push   $0x1003fff8                    
  109f00:	50                   	push   %eax                           
  109f01:	e8 e2 1c 00 00       	call   10bbe8 <_Thread_Clear_state>   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  109f06:	a1 e4 41 12 00       	mov    0x1241e4,%eax                  
  109f0b:	48                   	dec    %eax                           
  109f0c:	a3 e4 41 12 00       	mov    %eax,0x1241e4                  
      _Thread_Unblock( the_thread );                                  
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  109f11:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
  109f14:	c9                   	leave                                 
  109f15:	c3                   	ret                                   
                                                                      

0010f3ac <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
  10f3ac:	55                   	push   %ebp                           
  10f3ad:	89 e5                	mov    %esp,%ebp                      
  10f3af:	57                   	push   %edi                           
  10f3b0:	56                   	push   %esi                           
  10f3b1:	53                   	push   %ebx                           
  10f3b2:	83 ec 3c             	sub    $0x3c,%esp                     
  10f3b5:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10f3b8:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
  10f3bb:	8b 4e 08             	mov    0x8(%esi),%ecx                 
)                                                                     
{                                                                     
  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
  10f3be:	8d 47 04             	lea    0x4(%edi),%eax                 
  10f3c1:	89 45 d0             	mov    %eax,-0x30(%ebp)               
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
  10f3c4:	8b 46 10             	mov    0x10(%esi),%eax                
  10f3c7:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
    /* Integer overflow occured */                                    
    return NULL;                                                      
  10f3ca:	31 c0                	xor    %eax,%eax                      
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
  10f3cc:	39 7d d0             	cmp    %edi,-0x30(%ebp)               
  10f3cf:	0f 82 22 01 00 00    	jb     10f4f7 <_Heap_Allocate_aligned_with_boundary+0x14b>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
  10f3d5:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  10f3d9:	74 15                	je     10f3f0 <_Heap_Allocate_aligned_with_boundary+0x44>
    if ( boundary < alloc_size ) {                                    
  10f3db:	39 7d 14             	cmp    %edi,0x14(%ebp)                
  10f3de:	0f 82 13 01 00 00    	jb     10f4f7 <_Heap_Allocate_aligned_with_boundary+0x14b>
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
  10f3e4:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  10f3e8:	75 06                	jne    10f3f0 <_Heap_Allocate_aligned_with_boundary+0x44>
      alignment = page_size;                                          
  10f3ea:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10f3ed:	89 45 10             	mov    %eax,0x10(%ebp)                
  10f3f0:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
  10f3f7:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10f3fa:	83 c0 07             	add    $0x7,%eax                      
  10f3fd:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  10f400:	c7 45 d4 04 00 00 00 	movl   $0x4,-0x2c(%ebp)               
  10f407:	29 7d d4             	sub    %edi,-0x2c(%ebp)               
  10f40a:	89 75 dc             	mov    %esi,-0x24(%ebp)               
  10f40d:	e9 ca 00 00 00       	jmp    10f4dc <_Heap_Allocate_aligned_with_boundary+0x130>
                                                                      
  while ( block != free_list_tail ) {                                 
    _HAssert( _Heap_Is_prev_used( block ) );                          
                                                                      
    /* Statistics */                                                  
    ++search_count;                                                   
  10f412:	ff 45 e4             	incl   -0x1c(%ebp)                    
    /*                                                                
     * 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 ) {                  
  10f415:	8b 59 04             	mov    0x4(%ecx),%ebx                 
  10f418:	3b 5d d0             	cmp    -0x30(%ebp),%ebx               
  10f41b:	0f 86 b8 00 00 00    	jbe    10f4d9 <_Heap_Allocate_aligned_with_boundary+0x12d>
      if ( alignment == 0 ) {                                         
  10f421:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  10f425:	8d 41 08             	lea    0x8(%ecx),%eax                 
  10f428:	89 45 d8             	mov    %eax,-0x28(%ebp)               
  10f42b:	75 07                	jne    10f434 <_Heap_Allocate_aligned_with_boundary+0x88>
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
  10f42d:	89 c3                	mov    %eax,%ebx                      
  10f42f:	e9 8a 00 00 00       	jmp    10f4be <_Heap_Allocate_aligned_with_boundary+0x112>
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  10f434:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10f437:	8b 40 14             	mov    0x14(%eax),%eax                
  10f43a:	89 45 cc             	mov    %eax,-0x34(%ebp)               
    - 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;                
  10f43d:	83 e3 fe             	and    $0xfffffffe,%ebx               
                                                                      
  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;               
  10f440:	8d 1c 19             	lea    (%ecx,%ebx,1),%ebx             
                                                                      
  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;                         
  10f443:	8b 75 c4             	mov    -0x3c(%ebp),%esi               
  10f446:	29 c6                	sub    %eax,%esi                      
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
  10f448:	01 de                	add    %ebx,%esi                      
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
  10f44a:	03 5d d4             	add    -0x2c(%ebp),%ebx               
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  10f44d:	89 d8                	mov    %ebx,%eax                      
  10f44f:	31 d2                	xor    %edx,%edx                      
  10f451:	f7 75 10             	divl   0x10(%ebp)                     
  10f454:	29 d3                	sub    %edx,%ebx                      
                                                                      
  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 ) {                          
  10f456:	39 f3                	cmp    %esi,%ebx                      
  10f458:	76 0b                	jbe    10f465 <_Heap_Allocate_aligned_with_boundary+0xb9>
  10f45a:	89 f0                	mov    %esi,%eax                      
  10f45c:	31 d2                	xor    %edx,%edx                      
  10f45e:	f7 75 10             	divl   0x10(%ebp)                     
  10f461:	89 f3                	mov    %esi,%ebx                      
  10f463:	29 d3                	sub    %edx,%ebx                      
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
  10f465:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  10f469:	74 35                	je     10f4a0 <_Heap_Allocate_aligned_with_boundary+0xf4>
  /* 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;                               
  10f46b:	8d 34 3b             	lea    (%ebx,%edi,1),%esi             
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
  10f46e:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  10f471:	01 f8                	add    %edi,%eax                      
  10f473:	89 45 c8             	mov    %eax,-0x38(%ebp)               
  10f476:	eb 15                	jmp    10f48d <_Heap_Allocate_aligned_with_boundary+0xe1>
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
  10f478:	3b 45 c8             	cmp    -0x38(%ebp),%eax               
  10f47b:	72 5c                	jb     10f4d9 <_Heap_Allocate_aligned_with_boundary+0x12d>
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
  10f47d:	89 c3                	mov    %eax,%ebx                      
  10f47f:	29 fb                	sub    %edi,%ebx                      
  10f481:	89 d8                	mov    %ebx,%eax                      
  10f483:	31 d2                	xor    %edx,%edx                      
  10f485:	f7 75 10             	divl   0x10(%ebp)                     
  10f488:	29 d3                	sub    %edx,%ebx                      
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
  10f48a:	8d 34 3b             	lea    (%ebx,%edi,1),%esi             
  10f48d:	89 f0                	mov    %esi,%eax                      
  10f48f:	31 d2                	xor    %edx,%edx                      
  10f491:	f7 75 14             	divl   0x14(%ebp)                     
  10f494:	89 f0                	mov    %esi,%eax                      
  10f496:	29 d0                	sub    %edx,%eax                      
  /* 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 ) {
  10f498:	39 f0                	cmp    %esi,%eax                      
  10f49a:	73 04                	jae    10f4a0 <_Heap_Allocate_aligned_with_boundary+0xf4>
  10f49c:	39 c3                	cmp    %eax,%ebx                      
  10f49e:	72 d8                	jb     10f478 <_Heap_Allocate_aligned_with_boundary+0xcc>
      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 ) {                           
  10f4a0:	3b 5d d8             	cmp    -0x28(%ebp),%ebx               
  10f4a3:	72 34                	jb     10f4d9 <_Heap_Allocate_aligned_with_boundary+0x12d>
  10f4a5:	be f8 ff ff ff       	mov    $0xfffffff8,%esi               
  10f4aa:	29 ce                	sub    %ecx,%esi                      
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
  10f4ac:	01 de                	add    %ebx,%esi                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  10f4ae:	89 d8                	mov    %ebx,%eax                      
  10f4b0:	31 d2                	xor    %edx,%edx                      
  10f4b2:	f7 75 e0             	divl   -0x20(%ebp)                    
    uintptr_t const alloc_block_begin =                               
      (uintptr_t) _Heap_Block_of_alloc_area( alloc_begin, page_size );
    uintptr_t const free_size = alloc_block_begin - block_begin;      
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
  10f4b5:	29 d6                	sub    %edx,%esi                      
  10f4b7:	74 05                	je     10f4be <_Heap_Allocate_aligned_with_boundary+0x112>
  10f4b9:	3b 75 cc             	cmp    -0x34(%ebp),%esi               
  10f4bc:	72 1b                	jb     10f4d9 <_Heap_Allocate_aligned_with_boundary+0x12d>
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
  10f4be:	85 db                	test   %ebx,%ebx                      
  10f4c0:	74 17                	je     10f4d9 <_Heap_Allocate_aligned_with_boundary+0x12d><== NEVER TAKEN
  10f4c2:	8b 75 dc             	mov    -0x24(%ebp),%esi               
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
  10f4c5:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10f4c8:	01 46 4c             	add    %eax,0x4c(%esi)                
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
  10f4cb:	57                   	push   %edi                           
  10f4cc:	53                   	push   %ebx                           
  10f4cd:	51                   	push   %ecx                           
  10f4ce:	56                   	push   %esi                           
  10f4cf:	e8 11 bd ff ff       	call   10b1e5 <_Heap_Block_allocate>  
  10f4d4:	83 c4 10             	add    $0x10,%esp                     
  10f4d7:	eb 11                	jmp    10f4ea <_Heap_Allocate_aligned_with_boundary+0x13e>
                                                                      
    if ( alloc_begin != 0 ) {                                         
      break;                                                          
    }                                                                 
                                                                      
    block = block->next;                                              
  10f4d9:	8b 49 08             	mov    0x8(%ecx),%ecx                 
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
  10f4dc:	3b 4d dc             	cmp    -0x24(%ebp),%ecx               
  10f4df:	0f 85 2d ff ff ff    	jne    10f412 <_Heap_Allocate_aligned_with_boundary+0x66>
  10f4e5:	8b 75 dc             	mov    -0x24(%ebp),%esi               
  10f4e8:	31 db                	xor    %ebx,%ebx                      
      boundary                                                        
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
  10f4ea:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10f4ed:	39 46 44             	cmp    %eax,0x44(%esi)                
  10f4f0:	73 03                	jae    10f4f5 <_Heap_Allocate_aligned_with_boundary+0x149>
    stats->max_search = search_count;                                 
  10f4f2:	89 46 44             	mov    %eax,0x44(%esi)                
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
  10f4f5:	89 d8                	mov    %ebx,%eax                      
}                                                                     
  10f4f7:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f4fa:	5b                   	pop    %ebx                           
  10f4fb:	5e                   	pop    %esi                           
  10f4fc:	5f                   	pop    %edi                           
  10f4fd:	c9                   	leave                                 
  10f4fe:	c3                   	ret                                   
                                                                      

001128e3 <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t *extended_size_ptr ) {
  1128e3:	55                   	push   %ebp                           
  1128e4:	89 e5                	mov    %esp,%ebp                      
  1128e6:	57                   	push   %edi                           
  1128e7:	56                   	push   %esi                           
  1128e8:	53                   	push   %ebx                           
  1128e9:	83 ec 4c             	sub    $0x4c,%esp                     
  1128ec:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1128ef:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
  1128f2:	8b 43 20             	mov    0x20(%ebx),%eax                
  1128f5:	89 45 c0             	mov    %eax,-0x40(%ebp)               
  Heap_Block *start_block = first_block;                              
  Heap_Block *merge_below_block = NULL;                               
  Heap_Block *merge_above_block = NULL;                               
  Heap_Block *link_below_block = NULL;                                
  Heap_Block *link_above_block = NULL;                                
  Heap_Block *extend_first_block = NULL;                              
  1128f8:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  Heap_Block *extend_last_block = NULL;                               
  1128ff:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  uintptr_t const page_size = heap->page_size;                        
  112906:	8b 53 10             	mov    0x10(%ebx),%edx                
  112909:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  uintptr_t const min_block_size = heap->min_block_size;              
  11290c:	8b 43 14             	mov    0x14(%ebx),%eax                
  uintptr_t const extend_area_begin = (uintptr_t) extend_area_begin_ptr;
  uintptr_t const extend_area_end = extend_area_begin + extend_area_size;
  uintptr_t const free_size = stats->free_size;                       
  11290f:	8b 7b 30             	mov    0x30(%ebx),%edi                
  112912:	89 7d bc             	mov    %edi,-0x44(%ebp)               
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
    return false;                                                     
  112915:	31 f6                	xor    %esi,%esi                      
  uintptr_t const free_size = stats->free_size;                       
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
  112917:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  11291a:	01 cf                	add    %ecx,%edi                      
  11291c:	0f 82 d4 01 00 00    	jb     112af6 <_Heap_Extend+0x213>    
    return false;                                                     
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
  112922:	52                   	push   %edx                           
  112923:	52                   	push   %edx                           
  112924:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  112927:	52                   	push   %edx                           
  112928:	8d 55 e4             	lea    -0x1c(%ebp),%edx               
  11292b:	52                   	push   %edx                           
  11292c:	50                   	push   %eax                           
  11292d:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  112930:	51                   	push   %ecx                           
  112931:	ff 75 0c             	pushl  0xc(%ebp)                      
  112934:	e8 8f b4 ff ff       	call   10ddc8 <_Heap_Get_first_and_last_block>
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
  112939:	83 c4 20             	add    $0x20,%esp                     
  11293c:	84 c0                	test   %al,%al                        
  11293e:	0f 84 b2 01 00 00    	je     112af6 <_Heap_Extend+0x213>    
  112944:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  112947:	c7 45 cc 00 00 00 00 	movl   $0x0,-0x34(%ebp)               
  11294e:	c7 45 c8 00 00 00 00 	movl   $0x0,-0x38(%ebp)               
  112955:	31 f6                	xor    %esi,%esi                      
  112957:	c7 45 d0 00 00 00 00 	movl   $0x0,-0x30(%ebp)               
    return false;                                                     
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
  11295e:	8b 43 18             	mov    0x18(%ebx),%eax                
  112961:	89 5d b8             	mov    %ebx,-0x48(%ebp)               
  112964:	eb 02                	jmp    112968 <_Heap_Extend+0x85>     
  112966:	89 c8                	mov    %ecx,%eax                      
    uintptr_t const sub_area_end = start_block->prev_size;            
  112968:	8b 19                	mov    (%ecx),%ebx                    
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
  11296a:	39 c7                	cmp    %eax,%edi                      
  11296c:	76 09                	jbe    112977 <_Heap_Extend+0x94>     
  11296e:	39 5d 0c             	cmp    %ebx,0xc(%ebp)                 
  112971:	0f 82 7d 01 00 00    	jb     112af4 <_Heap_Extend+0x211>    <== NEVER TAKEN
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
  112977:	39 c7                	cmp    %eax,%edi                      
  112979:	74 06                	je     112981 <_Heap_Extend+0x9e>     
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
  11297b:	39 df                	cmp    %ebx,%edi                      
  11297d:	72 07                	jb     112986 <_Heap_Extend+0xa3>     
  11297f:	eb 08                	jmp    112989 <_Heap_Extend+0xa6>     
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
  112981:	89 4d d0             	mov    %ecx,-0x30(%ebp)               
  112984:	eb 03                	jmp    112989 <_Heap_Extend+0xa6>     
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
  112986:	89 4d c8             	mov    %ecx,-0x38(%ebp)               
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  112989:	8d 43 f8             	lea    -0x8(%ebx),%eax                
  11298c:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  11298f:	89 d8                	mov    %ebx,%eax                      
  112991:	31 d2                	xor    %edx,%edx                      
  112993:	f7 75 c4             	divl   -0x3c(%ebp)                    
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
  112996:	29 55 d4             	sub    %edx,-0x2c(%ebp)               
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
  112999:	3b 5d 0c             	cmp    0xc(%ebp),%ebx                 
  11299c:	75 07                	jne    1129a5 <_Heap_Extend+0xc2>     
      start_block->prev_size = extend_area_end;                       
  11299e:	89 39                	mov    %edi,(%ecx)                    
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 )   
  1129a0:	8b 75 d4             	mov    -0x2c(%ebp),%esi               
  1129a3:	eb 08                	jmp    1129ad <_Heap_Extend+0xca>     
                                                                      
      merge_above_block = end_block;                                  
    } else if ( sub_area_end < extend_area_begin ) {                  
  1129a5:	73 06                	jae    1129ad <_Heap_Extend+0xca>     
  1129a7:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  1129aa:	89 55 cc             	mov    %edx,-0x34(%ebp)               
    - 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;                
  1129ad:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  1129b0:	8b 48 04             	mov    0x4(%eax),%ecx                 
  1129b3:	83 e1 fe             	and    $0xfffffffe,%ecx               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  1129b6:	01 c1                	add    %eax,%ecx                      
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
  1129b8:	3b 4d c0             	cmp    -0x40(%ebp),%ecx               
  1129bb:	75 a9                	jne    112966 <_Heap_Extend+0x83>     
  1129bd:	8b 5d b8             	mov    -0x48(%ebp),%ebx               
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
  1129c0:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  1129c3:	3b 53 18             	cmp    0x18(%ebx),%edx                
  1129c6:	73 05                	jae    1129cd <_Heap_Extend+0xea>     
    heap->area_begin = extend_area_begin;                             
  1129c8:	89 53 18             	mov    %edx,0x18(%ebx)                
  1129cb:	eb 08                	jmp    1129d5 <_Heap_Extend+0xf2>     
  } else if ( heap->area_end < extend_area_end ) {                    
  1129cd:	39 7b 1c             	cmp    %edi,0x1c(%ebx)                
  1129d0:	73 03                	jae    1129d5 <_Heap_Extend+0xf2>     
    heap->area_end = extend_area_end;                                 
  1129d2:	89 7b 1c             	mov    %edi,0x1c(%ebx)                
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
  1129d5:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  1129d8:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
  1129db:	89 c1                	mov    %eax,%ecx                      
  1129dd:	29 d1                	sub    %edx,%ecx                      
  1129df:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  1129e2:	89 3a                	mov    %edi,(%edx)                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
  1129e4:	83 c9 01             	or     $0x1,%ecx                      
  1129e7:	89 4a 04             	mov    %ecx,0x4(%edx)                 
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  1129ea:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  1129ed:	89 08                	mov    %ecx,(%eax)                    
  extend_last_block->size_and_flag = 0;                               
  1129ef:	c7 40 04 00 00 00 00 	movl   $0x0,0x4(%eax)                 
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
  1129f6:	39 53 20             	cmp    %edx,0x20(%ebx)                
  1129f9:	76 05                	jbe    112a00 <_Heap_Extend+0x11d>    
    heap->first_block = extend_first_block;                           
  1129fb:	89 53 20             	mov    %edx,0x20(%ebx)                
  1129fe:	eb 08                	jmp    112a08 <_Heap_Extend+0x125>    
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
  112a00:	39 43 24             	cmp    %eax,0x24(%ebx)                
  112a03:	73 03                	jae    112a08 <_Heap_Extend+0x125>    
    heap->last_block = extend_last_block;                             
  112a05:	89 43 24             	mov    %eax,0x24(%ebx)                
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
  112a08:	83 7d d0 00          	cmpl   $0x0,-0x30(%ebp)               
  112a0c:	74 3b                	je     112a49 <_Heap_Extend+0x166>    
  Heap_Control *heap,                                                 
  uintptr_t extend_area_begin,                                        
  Heap_Block *first_block                                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  112a0e:	8b 43 10             	mov    0x10(%ebx),%eax                
  112a11:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
  112a14:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  112a17:	83 c1 08             	add    $0x8,%ecx                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_up(                        
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  uintptr_t remainder = value % alignment;                            
  112a1a:	89 c8                	mov    %ecx,%eax                      
  112a1c:	31 d2                	xor    %edx,%edx                      
  112a1e:	f7 75 d4             	divl   -0x2c(%ebp)                    
                                                                      
  if ( remainder != 0 ) {                                             
  112a21:	85 d2                	test   %edx,%edx                      
  112a23:	74 05                	je     112a2a <_Heap_Extend+0x147>    <== ALWAYS TAKEN
    return value - remainder + alignment;                             
  112a25:	03 4d d4             	add    -0x2c(%ebp),%ecx               <== NOT EXECUTED
  112a28:	29 d1                	sub    %edx,%ecx                      <== NOT EXECUTED
  uintptr_t const new_first_block_begin =                             
  112a2a:	8d 51 f8             	lea    -0x8(%ecx),%edx                
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
  uintptr_t const new_first_block_size =                              
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
  112a2d:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  112a30:	8b 00                	mov    (%eax),%eax                    
  112a32:	89 41 f8             	mov    %eax,-0x8(%ecx)                
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
  uintptr_t const new_first_block_begin =                             
    new_first_block_alloc_begin - HEAP_BLOCK_HEADER_SIZE;             
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
  uintptr_t const new_first_block_size =                              
  112a35:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  112a38:	29 d0                	sub    %edx,%eax                      
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
  new_first_block->size_and_flag = new_first_block_size | HEAP_PREV_BLOCK_USED;
  112a3a:	83 c8 01             	or     $0x1,%eax                      
  112a3d:	89 42 04             	mov    %eax,0x4(%edx)                 
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
  112a40:	89 d8                	mov    %ebx,%eax                      
  112a42:	e8 81 fe ff ff       	call   1128c8 <_Heap_Free_block>      
  112a47:	eb 14                	jmp    112a5d <_Heap_Extend+0x17a>    
    heap->last_block = extend_last_block;                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
    _Heap_Merge_below( heap, extend_area_begin, merge_below_block );  
  } else if ( link_below_block != NULL ) {                            
  112a49:	83 7d c8 00          	cmpl   $0x0,-0x38(%ebp)               
  112a4d:	74 0e                	je     112a5d <_Heap_Extend+0x17a>    
    _Heap_Link_below(                                                 
  112a4f:	8b 55 e0             	mov    -0x20(%ebp),%edx               
{                                                                     
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const link_begin = (uintptr_t) link;                      
                                                                      
  last_block->size_and_flag =                                         
    (link_begin - last_block_begin) | HEAP_PREV_BLOCK_USED;           
  112a52:	8b 45 c8             	mov    -0x38(%ebp),%eax               
  112a55:	29 d0                	sub    %edx,%eax                      
  112a57:	83 c8 01             	or     $0x1,%eax                      
  112a5a:	89 42 04             	mov    %eax,0x4(%edx)                 
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
  112a5d:	85 f6                	test   %esi,%esi                      
  112a5f:	74 30                	je     112a91 <_Heap_Extend+0x1ae>    
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const last_block_new_size = _Heap_Align_down(             
    extend_area_end - last_block_begin - HEAP_BLOCK_HEADER_SIZE,      
  112a61:	83 ef 08             	sub    $0x8,%edi                      
  uintptr_t extend_area_end                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const last_block_new_size = _Heap_Align_down(             
  112a64:	29 f7                	sub    %esi,%edi                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  112a66:	89 f8                	mov    %edi,%eax                      
  112a68:	31 d2                	xor    %edx,%edx                      
  112a6a:	f7 73 10             	divl   0x10(%ebx)                     
  112a6d:	29 d7                	sub    %edx,%edi                      
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
    (last_block->size_and_flag - last_block_new_size)                 
  112a6f:	8b 46 04             	mov    0x4(%esi),%eax                 
  112a72:	29 f8                	sub    %edi,%eax                      
      | HEAP_PREV_BLOCK_USED;                                         
  112a74:	83 c8 01             	or     $0x1,%eax                      
  112a77:	89 44 37 04          	mov    %eax,0x4(%edi,%esi,1)          
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
  112a7b:	8b 46 04             	mov    0x4(%esi),%eax                 
  112a7e:	83 e0 01             	and    $0x1,%eax                      
                                                                      
  block->size_and_flag = size | flag;                                 
  112a81:	09 f8                	or     %edi,%eax                      
  112a83:	89 46 04             	mov    %eax,0x4(%esi)                 
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
  112a86:	89 f2                	mov    %esi,%edx                      
  112a88:	89 d8                	mov    %ebx,%eax                      
  112a8a:	e8 39 fe ff ff       	call   1128c8 <_Heap_Free_block>      
  112a8f:	eb 21                	jmp    112ab2 <_Heap_Extend+0x1cf>    
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
  112a91:	83 7d cc 00          	cmpl   $0x0,-0x34(%ebp)               
  112a95:	74 1b                	je     112ab2 <_Heap_Extend+0x1cf>    
    _Heap_Link_above(                                                 
  112a97:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
)                                                                     
{                                                                     
  uintptr_t const link_begin = (uintptr_t) link;                      
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
                                                                      
  _Heap_Block_set_size( link, first_block_begin - link_begin );       
  112a9a:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  112a9d:	2b 45 cc             	sub    -0x34(%ebp),%eax               
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
  112aa0:	8b 7d cc             	mov    -0x34(%ebp),%edi               
  112aa3:	8b 57 04             	mov    0x4(%edi),%edx                 
  112aa6:	83 e2 01             	and    $0x1,%edx                      
                                                                      
  block->size_and_flag = size | flag;                                 
  112aa9:	09 d0                	or     %edx,%eax                      
  112aab:	89 47 04             	mov    %eax,0x4(%edi)                 
                                                                      
  last_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                  
  112aae:	83 49 04 01          	orl    $0x1,0x4(%ecx)                 
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
  112ab2:	85 f6                	test   %esi,%esi                      
  112ab4:	75 10                	jne    112ac6 <_Heap_Extend+0x1e3>    
  112ab6:	83 7d d0 00          	cmpl   $0x0,-0x30(%ebp)               
  112aba:	75 0a                	jne    112ac6 <_Heap_Extend+0x1e3>    
    _Heap_Free_block( heap, extend_first_block );                     
  112abc:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  112abf:	89 d8                	mov    %ebx,%eax                      
  112ac1:	e8 02 fe ff ff       	call   1128c8 <_Heap_Free_block>      
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
    heap->last_block,                                                 
    (uintptr_t) heap->first_block - (uintptr_t) heap->last_block      
  112ac6:	8b 53 24             	mov    0x24(%ebx),%edx                
 * This feature will be used to terminate the scattered heap area list.  See
 * also _Heap_Extend().                                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
  112ac9:	8b 43 20             	mov    0x20(%ebx),%eax                
  112acc:	29 d0                	sub    %edx,%eax                      
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
  112ace:	8b 4a 04             	mov    0x4(%edx),%ecx                 
  112ad1:	83 e1 01             	and    $0x1,%ecx                      
                                                                      
  block->size_and_flag = size | flag;                                 
  112ad4:	09 c8                	or     %ecx,%eax                      
  112ad6:	89 42 04             	mov    %eax,0x4(%edx)                 
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
  112ad9:	8b 43 30             	mov    0x30(%ebx),%eax                
  112adc:	2b 45 bc             	sub    -0x44(%ebp),%eax               
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
  112adf:	01 43 2c             	add    %eax,0x2c(%ebx)                
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
  112ae2:	be 01 00 00 00       	mov    $0x1,%esi                      
  extended_size = stats->free_size - free_size;                       
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
  112ae7:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  112aeb:	74 09                	je     112af6 <_Heap_Extend+0x213>    <== NEVER TAKEN
    *extended_size_ptr = extended_size;                               
  112aed:	8b 55 14             	mov    0x14(%ebp),%edx                
  112af0:	89 02                	mov    %eax,(%edx)                    
  112af2:	eb 02                	jmp    112af6 <_Heap_Extend+0x213>    
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
  112af4:	31 f6                	xor    %esi,%esi                      
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
  112af6:	89 f0                	mov    %esi,%eax                      
  112af8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112afb:	5b                   	pop    %ebx                           
  112afc:	5e                   	pop    %esi                           
  112afd:	5f                   	pop    %edi                           
  112afe:	c9                   	leave                                 
  112aff:	c3                   	ret                                   
                                                                      

0010f500 <_Heap_Free>: #include <rtems/system.h> #include <rtems/score/sysstate.h> #include <rtems/score/heap.h> bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr ) {
  10f500:	55                   	push   %ebp                           
  10f501:	89 e5                	mov    %esp,%ebp                      
  10f503:	57                   	push   %edi                           
  10f504:	56                   	push   %esi                           
  10f505:	53                   	push   %ebx                           
  10f506:	83 ec 14             	sub    $0x14,%esp                     
  10f509:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10f50c:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10f50f:	8d 58 f8             	lea    -0x8(%eax),%ebx                
  10f512:	31 d2                	xor    %edx,%edx                      
  10f514:	f7 71 10             	divl   0x10(%ecx)                     
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
  10f517:	29 d3                	sub    %edx,%ebx                      
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           
  10f519:	8b 41 20             	mov    0x20(%ecx),%eax                
  10f51c:	89 45 ec             	mov    %eax,-0x14(%ebp)               
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  10f51f:	31 d2                	xor    %edx,%edx                      
  10f521:	39 c3                	cmp    %eax,%ebx                      
  10f523:	72 08                	jb     10f52d <_Heap_Free+0x2d>       
  10f525:	31 d2                	xor    %edx,%edx                      
  10f527:	39 59 24             	cmp    %ebx,0x24(%ecx)                
  10f52a:	0f 93 c2             	setae  %dl                            
  uintptr_t block_size = 0;                                           
  uintptr_t next_block_size = 0;                                      
  bool next_is_free = false;                                          
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
    return false;                                                     
  10f52d:	31 c0                	xor    %eax,%eax                      
  Heap_Block *next_block = NULL;                                      
  uintptr_t block_size = 0;                                           
  uintptr_t next_block_size = 0;                                      
  bool next_is_free = false;                                          
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
  10f52f:	85 d2                	test   %edx,%edx                      
  10f531:	0f 84 21 01 00 00    	je     10f658 <_Heap_Free+0x158>      
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
  10f537:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10f53a:	89 45 f0             	mov    %eax,-0x10(%ebp)               
    - 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;                
  10f53d:	89 c6                	mov    %eax,%esi                      
  10f53f:	83 e6 fe             	and    $0xfffffffe,%esi               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  10f542:	8d 14 33             	lea    (%ebx,%esi,1),%edx             
  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;             
  10f545:	31 ff                	xor    %edi,%edi                      
  10f547:	3b 55 ec             	cmp    -0x14(%ebp),%edx               
  10f54a:	72 0a                	jb     10f556 <_Heap_Free+0x56>       <== NEVER TAKEN
  10f54c:	31 c0                	xor    %eax,%eax                      
  10f54e:	39 51 24             	cmp    %edx,0x24(%ecx)                
  10f551:	0f 93 c0             	setae  %al                            
  10f554:	89 c7                	mov    %eax,%edi                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
    _HAssert( false );                                                
    return false;                                                     
  10f556:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
  10f558:	85 ff                	test   %edi,%edi                      
  10f55a:	0f 84 f8 00 00 00    	je     10f658 <_Heap_Free+0x158>      <== NEVER TAKEN
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
  10f560:	8b 7a 04             	mov    0x4(%edx),%edi                 
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
  10f563:	f7 c7 01 00 00 00    	test   $0x1,%edi                      
  10f569:	0f 84 e9 00 00 00    	je     10f658 <_Heap_Free+0x158>      <== NEVER TAKEN
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
  10f56f:	83 e7 fe             	and    $0xfffffffe,%edi               
  10f572:	89 7d e8             	mov    %edi,-0x18(%ebp)               
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
  10f575:	8b 41 24             	mov    0x24(%ecx),%eax                
  10f578:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
  10f57b:	31 c0                	xor    %eax,%eax                      
  10f57d:	3b 55 e4             	cmp    -0x1c(%ebp),%edx               
  10f580:	74 0a                	je     10f58c <_Heap_Free+0x8c>       
  10f582:	31 c0                	xor    %eax,%eax                      
  10f584:	f6 44 3a 04 01       	testb  $0x1,0x4(%edx,%edi,1)          
  10f589:	0f 94 c0             	sete   %al                            
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
  10f58c:	88 45 e3             	mov    %al,-0x1d(%ebp)                
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
  10f58f:	f6 45 f0 01          	testb  $0x1,-0x10(%ebp)               
  10f593:	75 62                	jne    10f5f7 <_Heap_Free+0xf7>       
    uintptr_t const prev_size = block->prev_size;                     
  10f595:	8b 03                	mov    (%ebx),%eax                    
  10f597:	89 45 f0             	mov    %eax,-0x10(%ebp)               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  10f59a:	29 c3                	sub    %eax,%ebx                      
  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;             
  10f59c:	31 ff                	xor    %edi,%edi                      
  10f59e:	3b 5d ec             	cmp    -0x14(%ebp),%ebx               
  10f5a1:	72 0a                	jb     10f5ad <_Heap_Free+0xad>       <== NEVER TAKEN
  10f5a3:	31 c0                	xor    %eax,%eax                      
  10f5a5:	39 5d e4             	cmp    %ebx,-0x1c(%ebp)               
  10f5a8:	0f 93 c0             	setae  %al                            
  10f5ab:	89 c7                	mov    %eax,%edi                      
    Heap_Block * const prev_block = _Heap_Block_at( block, -prev_size );
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, prev_block ) ) {              
      _HAssert( false );                                              
      return( false );                                                
  10f5ad:	31 c0                	xor    %eax,%eax                      
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
    uintptr_t const prev_size = block->prev_size;                     
    Heap_Block * const prev_block = _Heap_Block_at( block, -prev_size );
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, prev_block ) ) {              
  10f5af:	85 ff                	test   %edi,%edi                      
  10f5b1:	0f 84 a1 00 00 00    	je     10f658 <_Heap_Free+0x158>      <== NEVER TAKEN
      return( false );                                                
    }                                                                 
                                                                      
    /* As we always coalesce free blocks, the block that preceedes prev_block
       must have been used. */                                        
    if ( !_Heap_Is_prev_used ( prev_block) ) {                        
  10f5b7:	f6 43 04 01          	testb  $0x1,0x4(%ebx)                 
  10f5bb:	0f 84 97 00 00 00    	je     10f658 <_Heap_Free+0x158>      <== NEVER TAKEN
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
  10f5c1:	80 7d e3 00          	cmpb   $0x0,-0x1d(%ebp)               
  10f5c5:	74 1a                	je     10f5e1 <_Heap_Free+0xe1>       
      uintptr_t const size = block_size + prev_size + next_block_size;
  10f5c7:	8b 45 e8             	mov    -0x18(%ebp),%eax               
  10f5ca:	8d 04 06             	lea    (%esi,%eax,1),%eax             
  10f5cd:	03 45 f0             	add    -0x10(%ebp),%eax               
  return _Heap_Free_list_tail(heap)->prev;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  10f5d0:	8b 7a 08             	mov    0x8(%edx),%edi                 
  Heap_Block *prev = block->prev;                                     
  10f5d3:	8b 52 0c             	mov    0xc(%edx),%edx                 
                                                                      
  prev->next = next;                                                  
  10f5d6:	89 7a 08             	mov    %edi,0x8(%edx)                 
  next->prev = prev;                                                  
  10f5d9:	89 57 0c             	mov    %edx,0xc(%edi)                 
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
  10f5dc:	ff 49 38             	decl   0x38(%ecx)                     
  10f5df:	eb 33                	jmp    10f614 <_Heap_Free+0x114>      
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
  10f5e1:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  10f5e4:	8d 04 06             	lea    (%esi,%eax,1),%eax             
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
  10f5e7:	89 c7                	mov    %eax,%edi                      
  10f5e9:	83 cf 01             	or     $0x1,%edi                      
  10f5ec:	89 7b 04             	mov    %edi,0x4(%ebx)                 
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
  10f5ef:	83 62 04 fe          	andl   $0xfffffffe,0x4(%edx)          
      next_block->prev_size = size;                                   
  10f5f3:	89 02                	mov    %eax,(%edx)                    
  10f5f5:	eb 56                	jmp    10f64d <_Heap_Free+0x14d>      
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
  10f5f7:	80 7d e3 00          	cmpb   $0x0,-0x1d(%ebp)               
  10f5fb:	74 24                	je     10f621 <_Heap_Free+0x121>      
    uintptr_t const size = block_size + next_block_size;              
  10f5fd:	8b 45 e8             	mov    -0x18(%ebp),%eax               
  10f600:	01 f0                	add    %esi,%eax                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_replace(                    
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  10f602:	8b 7a 08             	mov    0x8(%edx),%edi                 
  Heap_Block *prev = old_block->prev;                                 
  10f605:	8b 52 0c             	mov    0xc(%edx),%edx                 
                                                                      
  new_block->next = next;                                             
  10f608:	89 7b 08             	mov    %edi,0x8(%ebx)                 
  new_block->prev = prev;                                             
  10f60b:	89 53 0c             	mov    %edx,0xc(%ebx)                 
                                                                      
  next->prev = new_block;                                             
  10f60e:	89 5f 0c             	mov    %ebx,0xc(%edi)                 
  prev->next = new_block;                                             
  10f611:	89 5a 08             	mov    %ebx,0x8(%edx)                 
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
  10f614:	89 c2                	mov    %eax,%edx                      
  10f616:	83 ca 01             	or     $0x1,%edx                      
  10f619:	89 53 04             	mov    %edx,0x4(%ebx)                 
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
  10f61c:	89 04 03             	mov    %eax,(%ebx,%eax,1)             
  10f61f:	eb 2c                	jmp    10f64d <_Heap_Free+0x14d>      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
  10f621:	8b 41 08             	mov    0x8(%ecx),%eax                 
                                                                      
  new_block->next = next;                                             
  10f624:	89 43 08             	mov    %eax,0x8(%ebx)                 
  new_block->prev = block_before;                                     
  10f627:	89 4b 0c             	mov    %ecx,0xc(%ebx)                 
  block_before->next = new_block;                                     
  10f62a:	89 59 08             	mov    %ebx,0x8(%ecx)                 
  next->prev = new_block;                                             
  10f62d:	89 58 0c             	mov    %ebx,0xc(%eax)                 
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
  10f630:	89 f0                	mov    %esi,%eax                      
  10f632:	83 c8 01             	or     $0x1,%eax                      
  10f635:	89 43 04             	mov    %eax,0x4(%ebx)                 
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
  10f638:	83 62 04 fe          	andl   $0xfffffffe,0x4(%edx)          
    next_block->prev_size = block_size;                               
  10f63c:	89 32                	mov    %esi,(%edx)                    
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
  10f63e:	8b 41 38             	mov    0x38(%ecx),%eax                
  10f641:	40                   	inc    %eax                           
  10f642:	89 41 38             	mov    %eax,0x38(%ecx)                
    if ( stats->max_free_blocks < stats->free_blocks ) {              
  10f645:	39 41 3c             	cmp    %eax,0x3c(%ecx)                
  10f648:	73 03                	jae    10f64d <_Heap_Free+0x14d>      
      stats->max_free_blocks = stats->free_blocks;                    
  10f64a:	89 41 3c             	mov    %eax,0x3c(%ecx)                
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  10f64d:	ff 49 40             	decl   0x40(%ecx)                     
  ++stats->frees;                                                     
  10f650:	ff 41 50             	incl   0x50(%ecx)                     
  stats->free_size += block_size;                                     
  10f653:	01 71 30             	add    %esi,0x30(%ecx)                
                                                                      
  return( true );                                                     
  10f656:	b0 01                	mov    $0x1,%al                       
}                                                                     
  10f658:	83 c4 14             	add    $0x14,%esp                     
  10f65b:	5b                   	pop    %ebx                           
  10f65c:	5e                   	pop    %esi                           
  10f65d:	5f                   	pop    %edi                           
  10f65e:	c9                   	leave                                 
  10f65f:	c3                   	ret                                   
                                                                      

0011ce2c <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
  11ce2c:	55                   	push   %ebp                           
  11ce2d:	89 e5                	mov    %esp,%ebp                      
  11ce2f:	57                   	push   %edi                           
  11ce30:	56                   	push   %esi                           
  11ce31:	53                   	push   %ebx                           
  11ce32:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11ce35:	8b 75 0c             	mov    0xc(%ebp),%esi                 
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  11ce38:	8d 4e f8             	lea    -0x8(%esi),%ecx                
  11ce3b:	89 f0                	mov    %esi,%eax                      
  11ce3d:	31 d2                	xor    %edx,%edx                      
  11ce3f:	f7 73 10             	divl   0x10(%ebx)                     
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
  11ce42:	29 d1                	sub    %edx,%ecx                      
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           
  11ce44:	8b 53 20             	mov    0x20(%ebx),%edx                
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  11ce47:	31 ff                	xor    %edi,%edi                      
  11ce49:	39 d1                	cmp    %edx,%ecx                      
  11ce4b:	72 0a                	jb     11ce57 <_Heap_Size_of_alloc_area+0x2b>
  11ce4d:	31 c0                	xor    %eax,%eax                      
  11ce4f:	39 4b 24             	cmp    %ecx,0x24(%ebx)                
  11ce52:	0f 93 c0             	setae  %al                            
  11ce55:	89 c7                	mov    %eax,%edi                      
  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 ) ) {                     
    return false;                                                     
  11ce57:	31 c0                	xor    %eax,%eax                      
  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 ) ) {                     
  11ce59:	85 ff                	test   %edi,%edi                      
  11ce5b:	74 30                	je     11ce8d <_Heap_Size_of_alloc_area+0x61>
    - 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;                
  11ce5d:	8b 41 04             	mov    0x4(%ecx),%eax                 
  11ce60:	83 e0 fe             	and    $0xfffffffe,%eax               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  11ce63:	01 c1                	add    %eax,%ecx                      
  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;             
  11ce65:	31 ff                	xor    %edi,%edi                      
  11ce67:	39 d1                	cmp    %edx,%ecx                      
  11ce69:	72 0a                	jb     11ce75 <_Heap_Size_of_alloc_area+0x49><== NEVER TAKEN
  11ce6b:	31 c0                	xor    %eax,%eax                      
  11ce6d:	39 4b 24             	cmp    %ecx,0x24(%ebx)                
  11ce70:	0f 93 c0             	setae  %al                            
  11ce73:	89 c7                	mov    %eax,%edi                      
                                                                      
  if (                                                                
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
  11ce75:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
  11ce77:	85 ff                	test   %edi,%edi                      
  11ce79:	74 12                	je     11ce8d <_Heap_Size_of_alloc_area+0x61><== NEVER TAKEN
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  11ce7b:	f6 41 04 01          	testb  $0x1,0x4(%ecx)                 
  11ce7f:	74 0c                	je     11ce8d <_Heap_Size_of_alloc_area+0x61><== NEVER TAKEN
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_BLOCK_SIZE_OFFSET - alloc_begin;
  11ce81:	29 f1                	sub    %esi,%ecx                      
  11ce83:	8d 51 04             	lea    0x4(%ecx),%edx                 
  11ce86:	8b 45 10             	mov    0x10(%ebp),%eax                
  11ce89:	89 10                	mov    %edx,(%eax)                    
                                                                      
  return true;                                                        
  11ce8b:	b0 01                	mov    $0x1,%al                       
}                                                                     
  11ce8d:	5b                   	pop    %ebx                           
  11ce8e:	5e                   	pop    %esi                           
  11ce8f:	5f                   	pop    %edi                           
  11ce90:	c9                   	leave                                 
  11ce91:	c3                   	ret                                   
                                                                      

0010bc92 <_Heap_Walk>: bool _Heap_Walk( Heap_Control *heap, int source, bool dump ) {
  10bc92:	55                   	push   %ebp                           
  10bc93:	89 e5                	mov    %esp,%ebp                      
  10bc95:	57                   	push   %edi                           
  10bc96:	56                   	push   %esi                           
  10bc97:	53                   	push   %ebx                           
  10bc98:	83 ec 4c             	sub    $0x4c,%esp                     
  10bc9b:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10bc9e:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  uintptr_t const page_size = heap->page_size;                        
  10bca1:	8b 46 10             	mov    0x10(%esi),%eax                
  10bca4:	89 45 d8             	mov    %eax,-0x28(%ebp)               
  uintptr_t const min_block_size = heap->min_block_size;              
  10bca7:	8b 4e 14             	mov    0x14(%esi),%ecx                
  10bcaa:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  Heap_Block *const first_block = heap->first_block;                  
  10bcad:	8b 46 20             	mov    0x20(%esi),%eax                
  10bcb0:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  Heap_Block *const last_block = heap->last_block;                    
  10bcb3:	8b 4e 24             	mov    0x24(%esi),%ecx                
  10bcb6:	89 4d c8             	mov    %ecx,-0x38(%ebp)               
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
  10bcb9:	c7 45 e4 54 bc 10 00 	movl   $0x10bc54,-0x1c(%ebp)          
  10bcc0:	80 7d 10 00          	cmpb   $0x0,0x10(%ebp)                
  10bcc4:	74 07                	je     10bccd <_Heap_Walk+0x3b>       
  10bcc6:	c7 45 e4 59 bc 10 00 	movl   $0x10bc59,-0x1c(%ebp)          
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  10bccd:	b0 01                	mov    $0x1,%al                       
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
  10bccf:	83 3d ec 73 12 00 03 	cmpl   $0x3,0x1273ec                  
  10bcd6:	0f 85 e8 02 00 00    	jne    10bfc4 <_Heap_Walk+0x332>      
  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)(                                                         
  10bcdc:	52                   	push   %edx                           
  10bcdd:	ff 76 0c             	pushl  0xc(%esi)                      
  10bce0:	ff 76 08             	pushl  0x8(%esi)                      
  10bce3:	ff 75 c8             	pushl  -0x38(%ebp)                    
  10bce6:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10bce9:	ff 76 1c             	pushl  0x1c(%esi)                     
  10bcec:	ff 76 18             	pushl  0x18(%esi)                     
  10bcef:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10bcf2:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10bcf5:	68 49 f9 11 00       	push   $0x11f949                      
  10bcfa:	6a 00                	push   $0x0                           
  10bcfc:	53                   	push   %ebx                           
  10bcfd:	ff 55 e4             	call   *-0x1c(%ebp)                   
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
  10bd00:	83 c4 30             	add    $0x30,%esp                     
  10bd03:	83 7d d8 00          	cmpl   $0x0,-0x28(%ebp)               
  10bd07:	75 0b                	jne    10bd14 <_Heap_Walk+0x82>       
    (*printer)( source, true, "page size is zero\n" );                
  10bd09:	50                   	push   %eax                           
  10bd0a:	68 da f9 11 00       	push   $0x11f9da                      
  10bd0f:	e9 6b 02 00 00       	jmp    10bf7f <_Heap_Walk+0x2ed>      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
  10bd14:	f6 45 d8 03          	testb  $0x3,-0x28(%ebp)               
  10bd18:	74 0d                	je     10bd27 <_Heap_Walk+0x95>       
    (*printer)(                                                       
  10bd1a:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10bd1d:	68 ed f9 11 00       	push   $0x11f9ed                      
  10bd22:	e9 58 02 00 00       	jmp    10bf7f <_Heap_Walk+0x2ed>      
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10bd27:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10bd2a:	31 d2                	xor    %edx,%edx                      
  10bd2c:	f7 75 d8             	divl   -0x28(%ebp)                    
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
  10bd2f:	85 d2                	test   %edx,%edx                      
  10bd31:	74 0d                	je     10bd40 <_Heap_Walk+0xae>       
    (*printer)(                                                       
  10bd33:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10bd36:	68 0b fa 11 00       	push   $0x11fa0b                      
  10bd3b:	e9 3f 02 00 00       	jmp    10bf7f <_Heap_Walk+0x2ed>      
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
  10bd40:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10bd43:	83 c0 08             	add    $0x8,%eax                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10bd46:	31 d2                	xor    %edx,%edx                      
  10bd48:	f7 75 d8             	divl   -0x28(%ebp)                    
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
  10bd4b:	85 d2                	test   %edx,%edx                      
  10bd4d:	74 0d                	je     10bd5c <_Heap_Walk+0xca>       
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
  10bd4f:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10bd52:	68 2f fa 11 00       	push   $0x11fa2f                      
  10bd57:	e9 23 02 00 00       	jmp    10bf7f <_Heap_Walk+0x2ed>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
  10bd5c:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10bd5f:	f6 40 04 01          	testb  $0x1,0x4(%eax)                 
  10bd63:	75 0b                	jne    10bd70 <_Heap_Walk+0xde>       
    (*printer)(                                                       
  10bd65:	57                   	push   %edi                           
  10bd66:	68 60 fa 11 00       	push   $0x11fa60                      
  10bd6b:	e9 0f 02 00 00       	jmp    10bf7f <_Heap_Walk+0x2ed>      
    - 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;                
  10bd70:	8b 4d c8             	mov    -0x38(%ebp),%ecx               
  10bd73:	8b 79 04             	mov    0x4(%ecx),%edi                 
  10bd76:	83 e7 fe             	and    $0xfffffffe,%edi               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  10bd79:	01 cf                	add    %ecx,%edi                      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
  10bd7b:	f6 47 04 01          	testb  $0x1,0x4(%edi)                 
  10bd7f:	75 0b                	jne    10bd8c <_Heap_Walk+0xfa>       
    (*printer)(                                                       
  10bd81:	56                   	push   %esi                           
  10bd82:	68 8e fa 11 00       	push   $0x11fa8e                      
  10bd87:	e9 f3 01 00 00       	jmp    10bf7f <_Heap_Walk+0x2ed>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
  10bd8c:	3b 7d d0             	cmp    -0x30(%ebp),%edi               
  10bd8f:	74 0b                	je     10bd9c <_Heap_Walk+0x10a>      <== ALWAYS TAKEN
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
  10bd91:	51                   	push   %ecx                           <== NOT EXECUTED
  10bd92:	68 a3 fa 11 00       	push   $0x11faa3                      <== NOT EXECUTED
  10bd97:	e9 e3 01 00 00       	jmp    10bf7f <_Heap_Walk+0x2ed>      <== NOT EXECUTED
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  10bd9c:	8b 46 10             	mov    0x10(%esi),%eax                
  10bd9f:	89 45 e0             	mov    %eax,-0x20(%ebp)               
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10bda2:	8b 4e 08             	mov    0x8(%esi),%ecx                 
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  10bda5:	89 75 dc             	mov    %esi,-0x24(%ebp)               
  10bda8:	eb 75                	jmp    10be1f <_Heap_Walk+0x18d>      
  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;             
  10bdaa:	31 c0                	xor    %eax,%eax                      
  10bdac:	39 4e 20             	cmp    %ecx,0x20(%esi)                
  10bdaf:	77 08                	ja     10bdb9 <_Heap_Walk+0x127>      
  10bdb1:	31 c0                	xor    %eax,%eax                      
  10bdb3:	39 4e 24             	cmp    %ecx,0x24(%esi)                
  10bdb6:	0f 93 c0             	setae  %al                            
  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 ) ) {              
  10bdb9:	85 c0                	test   %eax,%eax                      
  10bdbb:	75 0b                	jne    10bdc8 <_Heap_Walk+0x136>      
      (*printer)(                                                     
  10bdbd:	51                   	push   %ecx                           
  10bdbe:	68 d2 fa 11 00       	push   $0x11fad2                      
  10bdc3:	e9 b7 01 00 00       	jmp    10bf7f <_Heap_Walk+0x2ed>      
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
  10bdc8:	8d 41 08             	lea    0x8(%ecx),%eax                 
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10bdcb:	31 d2                	xor    %edx,%edx                      
  10bdcd:	f7 75 e0             	divl   -0x20(%ebp)                    
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
  10bdd0:	85 d2                	test   %edx,%edx                      
  10bdd2:	74 0b                	je     10bddf <_Heap_Walk+0x14d>      
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
  10bdd4:	51                   	push   %ecx                           
  10bdd5:	68 f2 fa 11 00       	push   $0x11faf2                      
  10bdda:	e9 a0 01 00 00       	jmp    10bf7f <_Heap_Walk+0x2ed>      
    - 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;                
  10bddf:	8b 41 04             	mov    0x4(%ecx),%eax                 
  10bde2:	83 e0 fe             	and    $0xfffffffe,%eax               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
  10bde5:	f6 44 01 04 01       	testb  $0x1,0x4(%ecx,%eax,1)          
  10bdea:	74 0b                	je     10bdf7 <_Heap_Walk+0x165>      
      (*printer)(                                                     
  10bdec:	51                   	push   %ecx                           
  10bded:	68 22 fb 11 00       	push   $0x11fb22                      
  10bdf2:	e9 88 01 00 00       	jmp    10bf7f <_Heap_Walk+0x2ed>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
  10bdf7:	8b 41 0c             	mov    0xc(%ecx),%eax                 
  10bdfa:	3b 45 dc             	cmp    -0x24(%ebp),%eax               
  10bdfd:	74 1a                	je     10be19 <_Heap_Walk+0x187>      
      (*printer)(                                                     
  10bdff:	83 ec 0c             	sub    $0xc,%esp                      
  10be02:	50                   	push   %eax                           
  10be03:	51                   	push   %ecx                           
  10be04:	68 3e fb 11 00       	push   $0x11fb3e                      
  10be09:	6a 01                	push   $0x1                           
  10be0b:	53                   	push   %ebx                           
  10be0c:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10be0f:	83 c4 20             	add    $0x20,%esp                     
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  10be12:	31 c0                	xor    %eax,%eax                      
  10be14:	e9 ab 01 00 00       	jmp    10bfc4 <_Heap_Walk+0x332>      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
  10be19:	89 4d dc             	mov    %ecx,-0x24(%ebp)               
  10be1c:	8b 49 08             	mov    0x8(%ecx),%ecx                 
  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 ) {                            
  10be1f:	39 f1                	cmp    %esi,%ecx                      
  10be21:	75 87                	jne    10bdaa <_Heap_Walk+0x118>      
  10be23:	89 5d dc             	mov    %ebx,-0x24(%ebp)               
  10be26:	eb 02                	jmp    10be2a <_Heap_Walk+0x198>      
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
  10be28:	89 df                	mov    %ebx,%edi                      
                                                                      
  return true;                                                        
}                                                                     
  10be2a:	8b 4f 04             	mov    0x4(%edi),%ecx                 
  10be2d:	89 4d cc             	mov    %ecx,-0x34(%ebp)               
  10be30:	83 e1 fe             	and    $0xfffffffe,%ecx               
  10be33:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  10be36:	8d 1c 0f             	lea    (%edi,%ecx,1),%ebx             
  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;             
  10be39:	31 c0                	xor    %eax,%eax                      
  10be3b:	39 5e 20             	cmp    %ebx,0x20(%esi)                
  10be3e:	77 08                	ja     10be48 <_Heap_Walk+0x1b6>      <== NEVER TAKEN
  10be40:	31 c0                	xor    %eax,%eax                      
  10be42:	39 5e 24             	cmp    %ebx,0x24(%esi)                
  10be45:	0f 93 c0             	setae  %al                            
    bool const prev_used = _Heap_Is_prev_used( block );               
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
    bool const is_not_last_block = block != last_block;               
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
  10be48:	85 c0                	test   %eax,%eax                      
  10be4a:	75 11                	jne    10be5d <_Heap_Walk+0x1cb>      
  10be4c:	89 d9                	mov    %ebx,%ecx                      
  10be4e:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
      (*printer)(                                                     
  10be51:	83 ec 0c             	sub    $0xc,%esp                      
  10be54:	51                   	push   %ecx                           
  10be55:	57                   	push   %edi                           
  10be56:	68 70 fb 11 00       	push   $0x11fb70                      
  10be5b:	eb ac                	jmp    10be09 <_Heap_Walk+0x177>      
    uintptr_t const block_begin = (uintptr_t) block;                  
    uintptr_t const block_size = _Heap_Block_size( block );           
    bool const prev_used = _Heap_Is_prev_used( block );               
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
    bool const is_not_last_block = block != last_block;               
  10be5d:	3b 7d c8             	cmp    -0x38(%ebp),%edi               
  10be60:	0f 95 c1             	setne  %cl                            
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10be63:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10be66:	31 d2                	xor    %edx,%edx                      
  10be68:	f7 75 d8             	divl   -0x28(%ebp)                    
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
  10be6b:	85 d2                	test   %edx,%edx                      
  10be6d:	74 15                	je     10be84 <_Heap_Walk+0x1f2>      
  10be6f:	84 c9                	test   %cl,%cl                        
  10be71:	74 11                	je     10be84 <_Heap_Walk+0x1f2>      
  10be73:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
      (*printer)(                                                     
  10be76:	83 ec 0c             	sub    $0xc,%esp                      
  10be79:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10be7c:	57                   	push   %edi                           
  10be7d:	68 9d fb 11 00       	push   $0x11fb9d                      
  10be82:	eb 85                	jmp    10be09 <_Heap_Walk+0x177>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
  10be84:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10be87:	39 45 e0             	cmp    %eax,-0x20(%ebp)               
  10be8a:	73 18                	jae    10bea4 <_Heap_Walk+0x212>      
  10be8c:	84 c9                	test   %cl,%cl                        
  10be8e:	74 14                	je     10bea4 <_Heap_Walk+0x212>      <== NEVER TAKEN
  10be90:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
      (*printer)(                                                     
  10be93:	52                   	push   %edx                           
  10be94:	52                   	push   %edx                           
  10be95:	50                   	push   %eax                           
  10be96:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10be99:	57                   	push   %edi                           
  10be9a:	68 cb fb 11 00       	push   $0x11fbcb                      
  10be9f:	e9 65 ff ff ff       	jmp    10be09 <_Heap_Walk+0x177>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
  10bea4:	39 fb                	cmp    %edi,%ebx                      
  10bea6:	77 18                	ja     10bec0 <_Heap_Walk+0x22e>      
  10bea8:	84 c9                	test   %cl,%cl                        
  10beaa:	74 14                	je     10bec0 <_Heap_Walk+0x22e>      
  10beac:	89 d9                	mov    %ebx,%ecx                      
  10beae:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
      (*printer)(                                                     
  10beb1:	83 ec 0c             	sub    $0xc,%esp                      
  10beb4:	51                   	push   %ecx                           
  10beb5:	57                   	push   %edi                           
  10beb6:	68 f6 fb 11 00       	push   $0x11fbf6                      
  10bebb:	e9 49 ff ff ff       	jmp    10be09 <_Heap_Walk+0x177>      
  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;                 
  10bec0:	8b 4d cc             	mov    -0x34(%ebp),%ecx               
  10bec3:	83 e1 01             	and    $0x1,%ecx                      
  10bec6:	89 4d c4             	mov    %ecx,-0x3c(%ebp)               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
  10bec9:	f6 43 04 01          	testb  $0x1,0x4(%ebx)                 
  10becd:	0f 85 ba 00 00 00    	jne    10bf8d <_Heap_Walk+0x2fb>      
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10bed3:	8b 46 08             	mov    0x8(%esi),%eax                 
  10bed6:	89 45 c0             	mov    %eax,-0x40(%ebp)               
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
  10bed9:	8b 4f 08             	mov    0x8(%edi),%ecx                 
  10bedc:	89 4d b4             	mov    %ecx,-0x4c(%ebp)               
  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)(                                                         
  10bedf:	ba 16 f9 11 00       	mov    $0x11f916,%edx                 
  10bee4:	3b 4e 0c             	cmp    0xc(%esi),%ecx                 
  10bee7:	74 0e                	je     10bef7 <_Heap_Walk+0x265>      
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  10bee9:	ba 4d f8 11 00       	mov    $0x11f84d,%edx                 
  10beee:	39 f1                	cmp    %esi,%ecx                      
  10bef0:	75 05                	jne    10bef7 <_Heap_Walk+0x265>      
  10bef2:	ba 25 f9 11 00       	mov    $0x11f925,%edx                 
    false,                                                            
    "block 0x%08x: size %u, prev 0x%08x%s, next 0x%08x%s\n",          
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
  10bef7:	8b 47 0c             	mov    0xc(%edi),%eax                 
  10befa:	89 45 cc             	mov    %eax,-0x34(%ebp)               
  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)(                                                         
  10befd:	b8 2f f9 11 00       	mov    $0x11f92f,%eax                 
  10bf02:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10bf05:	39 4d cc             	cmp    %ecx,-0x34(%ebp)               
  10bf08:	74 0f                	je     10bf19 <_Heap_Walk+0x287>      
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
  10bf0a:	b8 4d f8 11 00       	mov    $0x11f84d,%eax                 
  10bf0f:	39 75 cc             	cmp    %esi,-0x34(%ebp)               
  10bf12:	75 05                	jne    10bf19 <_Heap_Walk+0x287>      
  10bf14:	b8 3f f9 11 00       	mov    $0x11f93f,%eax                 
  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)(                                                         
  10bf19:	83 ec 0c             	sub    $0xc,%esp                      
  10bf1c:	52                   	push   %edx                           
  10bf1d:	ff 75 b4             	pushl  -0x4c(%ebp)                    
  10bf20:	50                   	push   %eax                           
  10bf21:	ff 75 cc             	pushl  -0x34(%ebp)                    
  10bf24:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bf27:	57                   	push   %edi                           
  10bf28:	68 2a fc 11 00       	push   $0x11fc2a                      
  10bf2d:	6a 00                	push   $0x0                           
  10bf2f:	ff 75 dc             	pushl  -0x24(%ebp)                    
  10bf32:	ff 55 e4             	call   *-0x1c(%ebp)                   
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
  10bf35:	8b 03                	mov    (%ebx),%eax                    
  10bf37:	83 c4 30             	add    $0x30,%esp                     
  10bf3a:	39 45 e0             	cmp    %eax,-0x20(%ebp)               
  10bf3d:	74 16                	je     10bf55 <_Heap_Walk+0x2c3>      
  10bf3f:	89 d9                	mov    %ebx,%ecx                      
  10bf41:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
    (*printer)(                                                       
  10bf44:	56                   	push   %esi                           
  10bf45:	51                   	push   %ecx                           
  10bf46:	50                   	push   %eax                           
  10bf47:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bf4a:	57                   	push   %edi                           
  10bf4b:	68 5f fc 11 00       	push   $0x11fc5f                      
  10bf50:	e9 b4 fe ff ff       	jmp    10be09 <_Heap_Walk+0x177>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
  10bf55:	83 7d c4 00          	cmpl   $0x0,-0x3c(%ebp)               
  10bf59:	75 0b                	jne    10bf66 <_Heap_Walk+0x2d4>      
  10bf5b:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
    (*printer)(                                                       
  10bf5e:	57                   	push   %edi                           
  10bf5f:	68 98 fc 11 00       	push   $0x11fc98                      
  10bf64:	eb 19                	jmp    10bf7f <_Heap_Walk+0x2ed>      
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10bf66:	8b 46 08             	mov    0x8(%esi),%eax                 
  10bf69:	eb 07                	jmp    10bf72 <_Heap_Walk+0x2e0>      
{                                                                     
  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 ) {                                      
  10bf6b:	39 f8                	cmp    %edi,%eax                      
  10bf6d:	74 4a                	je     10bfb9 <_Heap_Walk+0x327>      
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
  10bf6f:	8b 40 08             	mov    0x8(%eax),%eax                 
)                                                                     
{                                                                     
  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 ) {                            
  10bf72:	39 f0                	cmp    %esi,%eax                      
  10bf74:	75 f5                	jne    10bf6b <_Heap_Walk+0x2d9>      
  10bf76:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
  10bf79:	57                   	push   %edi                           
  10bf7a:	68 03 fd 11 00       	push   $0x11fd03                      
  10bf7f:	6a 01                	push   $0x1                           
  10bf81:	53                   	push   %ebx                           
  10bf82:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10bf85:	83 c4 10             	add    $0x10,%esp                     
  10bf88:	e9 85 fe ff ff       	jmp    10be12 <_Heap_Walk+0x180>      
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
  10bf8d:	83 7d c4 00          	cmpl   $0x0,-0x3c(%ebp)               
  10bf91:	74 0e                	je     10bfa1 <_Heap_Walk+0x30f>      
      (*printer)(                                                     
  10bf93:	83 ec 0c             	sub    $0xc,%esp                      
  10bf96:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bf99:	57                   	push   %edi                           
  10bf9a:	68 c7 fc 11 00       	push   $0x11fcc7                      
  10bf9f:	eb 0d                	jmp    10bfae <_Heap_Walk+0x31c>      
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
  10bfa1:	51                   	push   %ecx                           
  10bfa2:	51                   	push   %ecx                           
  10bfa3:	ff 37                	pushl  (%edi)                         
  10bfa5:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bfa8:	57                   	push   %edi                           
  10bfa9:	68 de fc 11 00       	push   $0x11fcde                      
  10bfae:	6a 00                	push   $0x0                           
  10bfb0:	ff 75 dc             	pushl  -0x24(%ebp)                    
  10bfb3:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10bfb6:	83 c4 20             	add    $0x20,%esp                     
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
  10bfb9:	3b 5d d0             	cmp    -0x30(%ebp),%ebx               
  10bfbc:	0f 85 66 fe ff ff    	jne    10be28 <_Heap_Walk+0x196>      
                                                                      
  return true;                                                        
  10bfc2:	b0 01                	mov    $0x1,%al                       
}                                                                     
  10bfc4:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bfc7:	5b                   	pop    %ebx                           
  10bfc8:	5e                   	pop    %esi                           
  10bfc9:	5f                   	pop    %edi                           
  10bfca:	c9                   	leave                                 
  10bfcb:	c3                   	ret                                   
                                                                      

0010b2c4 <_Internal_error_Occurred>: void _Internal_error_Occurred( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
  10b2c4:	55                   	push   %ebp                           
  10b2c5:	89 e5                	mov    %esp,%ebp                      
  10b2c7:	53                   	push   %ebx                           
  10b2c8:	83 ec 08             	sub    $0x8,%esp                      
  10b2cb:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10b2ce:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10b2d1:	8b 5d 10             	mov    0x10(%ebp),%ebx                
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  10b2d4:	a3 7c 42 12 00       	mov    %eax,0x12427c                  
  _Internal_errors_What_happened.is_internal = is_internal;           
  10b2d9:	88 15 80 42 12 00    	mov    %dl,0x124280                   
  _Internal_errors_What_happened.the_error   = the_error;             
  10b2df:	89 1d 84 42 12 00    	mov    %ebx,0x124284                  
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
  10b2e5:	53                   	push   %ebx                           
  10b2e6:	0f b6 d2             	movzbl %dl,%edx                       
  10b2e9:	52                   	push   %edx                           
  10b2ea:	50                   	push   %eax                           
  10b2eb:	e8 1f 19 00 00       	call   10cc0f <_User_extensions_Fatal>
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
  10b2f0:	c7 05 64 43 12 00 05 	movl   $0x5,0x124364                  <== NOT EXECUTED
  10b2f7:	00 00 00                                                    
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
  10b2fa:	fa                   	cli                                   <== NOT EXECUTED
  10b2fb:	89 d8                	mov    %ebx,%eax                      <== NOT EXECUTED
  10b2fd:	f4                   	hlt                                   <== NOT EXECUTED
  10b2fe:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10b301:	eb fe                	jmp    10b301 <_Internal_error_Occurred+0x3d><== NOT EXECUTED
                                                                      

0010b354 <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
  10b354:	55                   	push   %ebp                           
  10b355:	89 e5                	mov    %esp,%ebp                      
  10b357:	56                   	push   %esi                           
  10b358:	53                   	push   %ebx                           
  10b359:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
   *  still attempts to create the object, the information block      
   *  should be all zeroed out because it is in the BSS.  So let's    
   *  check that code for this manager is even present.               
   */                                                                 
  if ( information->size == 0 )                                       
    return NULL;                                                      
  10b35c:	31 c9                	xor    %ecx,%ecx                      
   *  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 )                                       
  10b35e:	83 7b 18 00          	cmpl   $0x0,0x18(%ebx)                
  10b362:	74 53                	je     10b3b7 <_Objects_Allocate+0x63><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  OK.  The manager should be initialized and configured to have objects.
   *  With any luck, it is safe to attempt to allocate an object.     
   */                                                                 
  the_object = (Objects_Control *) _Chain_Get( &information->Inactive );
  10b364:	8d 73 20             	lea    0x20(%ebx),%esi                
  10b367:	83 ec 0c             	sub    $0xc,%esp                      
  10b36a:	56                   	push   %esi                           
  10b36b:	e8 1c f7 ff ff       	call   10aa8c <_Chain_Get>            
  10b370:	89 c1                	mov    %eax,%ecx                      
                                                                      
  if ( information->auto_extend ) {                                   
  10b372:	83 c4 10             	add    $0x10,%esp                     
  10b375:	80 7b 12 00          	cmpb   $0x0,0x12(%ebx)                
  10b379:	74 3c                	je     10b3b7 <_Objects_Allocate+0x63>
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
  10b37b:	85 c0                	test   %eax,%eax                      
  10b37d:	75 1a                	jne    10b399 <_Objects_Allocate+0x45>
      _Objects_Extend_information( information );                     
  10b37f:	83 ec 0c             	sub    $0xc,%esp                      
  10b382:	53                   	push   %ebx                           
  10b383:	e8 60 00 00 00       	call   10b3e8 <_Objects_Extend_information>
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
  10b388:	89 34 24             	mov    %esi,(%esp)                    
  10b38b:	e8 fc f6 ff ff       	call   10aa8c <_Chain_Get>            
  10b390:	89 c1                	mov    %eax,%ecx                      
    }                                                                 
                                                                      
    if ( the_object ) {                                               
  10b392:	83 c4 10             	add    $0x10,%esp                     
  10b395:	85 c0                	test   %eax,%eax                      
  10b397:	74 1e                	je     10b3b7 <_Objects_Allocate+0x63>
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
  10b399:	0f b7 41 08          	movzwl 0x8(%ecx),%eax                 
  10b39d:	0f b7 53 08          	movzwl 0x8(%ebx),%edx                 
  10b3a1:	29 d0                	sub    %edx,%eax                      
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
  10b3a3:	0f b7 73 14          	movzwl 0x14(%ebx),%esi                
  10b3a7:	31 d2                	xor    %edx,%edx                      
  10b3a9:	f7 f6                	div    %esi                           
                                                                      
      information->inactive_per_block[ block ]--;                     
  10b3ab:	c1 e0 02             	shl    $0x2,%eax                      
  10b3ae:	03 43 30             	add    0x30(%ebx),%eax                
  10b3b1:	ff 08                	decl   (%eax)                         
      information->inactive--;                                        
  10b3b3:	66 ff 4b 2c          	decw   0x2c(%ebx)                     
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
  10b3b7:	89 c8                	mov    %ecx,%eax                      
  10b3b9:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10b3bc:	5b                   	pop    %ebx                           
  10b3bd:	5e                   	pop    %esi                           
  10b3be:	c9                   	leave                                 
  10b3bf:	c3                   	ret                                   
                                                                      

0010b3e8 <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
  10b3e8:	55                   	push   %ebp                           
  10b3e9:	89 e5                	mov    %esp,%ebp                      
  10b3eb:	57                   	push   %edi                           
  10b3ec:	56                   	push   %esi                           
  10b3ed:	53                   	push   %ebx                           
  10b3ee:	83 ec 4c             	sub    $0x4c,%esp                     
  10b3f1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
  10b3f4:	0f b7 43 08          	movzwl 0x8(%ebx),%eax                 
  10b3f8:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
  10b3fb:	8b 4b 34             	mov    0x34(%ebx),%ecx                
  10b3fe:	85 c9                	test   %ecx,%ecx                      
  10b400:	74 38                	je     10b43a <_Objects_Extend_information+0x52>
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
  10b402:	0f b7 73 14          	movzwl 0x14(%ebx),%esi                
  10b406:	8b 43 10             	mov    0x10(%ebx),%eax                
  10b409:	31 d2                	xor    %edx,%edx                      
  10b40b:	66 f7 f6             	div    %si                            
  10b40e:	0f b7 d0             	movzwl %ax,%edx                       
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
  10b411:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10b414:	89 45 cc             	mov    %eax,-0x34(%ebp)               
  index_base    = minimum_index;                                      
  block         = 0;                                                  
  10b417:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
  10b41e:	31 c0                	xor    %eax,%eax                      
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
  10b420:	eb 0a                	jmp    10b42c <_Objects_Extend_information+0x44>
      if ( information->object_blocks[ block ] == NULL ) {            
  10b422:	83 3c 81 00          	cmpl   $0x0,(%ecx,%eax,4)             
  10b426:	74 28                	je     10b450 <_Objects_Extend_information+0x68>
  10b428:	01 75 cc             	add    %esi,-0x34(%ebp)               
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
  10b42b:	40                   	inc    %eax                           
  10b42c:	39 d0                	cmp    %edx,%eax                      
  10b42e:	72 f2                	jb     10b422 <_Objects_Extend_information+0x3a>
  10b430:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  10b433:	be 01 00 00 00       	mov    $0x1,%esi                      
  10b438:	eb 1b                	jmp    10b455 <_Objects_Extend_information+0x6d>
  minimum_index = _Objects_Get_index( information->minimum_id );      
  10b43a:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  10b43d:	89 55 cc             	mov    %edx,-0x34(%ebp)               
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  10b440:	be 01 00 00 00       	mov    $0x1,%esi                      
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
  10b445:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  10b44c:	31 d2                	xor    %edx,%edx                      
  10b44e:	eb 05                	jmp    10b455 <_Objects_Extend_information+0x6d>
  10b450:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
        do_extend = false;                                            
  10b453:	31 f6                	xor    %esi,%esi                      
      } else                                                          
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
  10b455:	0f b7 43 14          	movzwl 0x14(%ebx),%eax                
  10b459:	0f b7 4b 10          	movzwl 0x10(%ebx),%ecx                
  10b45d:	8d 0c 08             	lea    (%eax,%ecx,1),%ecx             
  10b460:	89 4d bc             	mov    %ecx,-0x44(%ebp)               
  /*                                                                  
   *  We need to limit the number of objects to the maximum number    
   *  representable in the index portion of the object Id.  In the    
   *  case of 16-bit Ids, this is only 256 object instances.          
   */                                                                 
  if ( maximum > OBJECTS_ID_FINAL_INDEX ) {                           
  10b463:	81 f9 ff ff 00 00    	cmp    $0xffff,%ecx                   
  10b469:	0f 87 d4 01 00 00    	ja     10b643 <_Objects_Extend_information+0x25b>
                                                                      
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
  10b46f:	0f af 43 18          	imul   0x18(%ebx),%eax                
  if ( information->auto_extend ) {                                   
  10b473:	80 7b 12 00          	cmpb   $0x0,0x12(%ebx)                
  10b477:	74 1e                	je     10b497 <_Objects_Extend_information+0xaf>
    new_object_block = _Workspace_Allocate( block_size );             
  10b479:	83 ec 0c             	sub    $0xc,%esp                      
  10b47c:	50                   	push   %eax                           
  10b47d:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
  10b480:	e8 dd 1a 00 00       	call   10cf62 <_Workspace_Allocate>   
  10b485:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
    if ( !new_object_block )                                          
  10b488:	83 c4 10             	add    $0x10,%esp                     
  10b48b:	85 c0                	test   %eax,%eax                      
  10b48d:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  10b490:	75 1a                	jne    10b4ac <_Objects_Extend_information+0xc4>
  10b492:	e9 ac 01 00 00       	jmp    10b643 <_Objects_Extend_information+0x25b>
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
  10b497:	83 ec 0c             	sub    $0xc,%esp                      
  10b49a:	50                   	push   %eax                           
  10b49b:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
  10b49e:	e8 ed 1a 00 00       	call   10cf90 <_Workspace_Allocate_or_fatal_error>
  10b4a3:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  10b4a6:	83 c4 10             	add    $0x10,%esp                     
  10b4a9:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  }                                                                   
                                                                      
  /*                                                                  
   *  Do we need to grow the tables?                                  
   */                                                                 
  if ( do_extend ) {                                                  
  10b4ac:	89 f1                	mov    %esi,%ecx                      
  10b4ae:	84 c9                	test   %cl,%cl                        
  10b4b0:	0f 84 0d 01 00 00    	je     10b5c3 <_Objects_Extend_information+0x1db><== NEVER TAKEN
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
  10b4b6:	8d 72 01             	lea    0x1(%edx),%esi                 
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
  10b4b9:	83 ec 0c             	sub    $0xc,%esp                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
  10b4bc:	8b 4d bc             	mov    -0x44(%ebp),%ecx               
  10b4bf:	03 4d d0             	add    -0x30(%ebp),%ecx               
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
  10b4c2:	8d 04 76             	lea    (%esi,%esi,2),%eax             
  10b4c5:	8d 04 01             	lea    (%ecx,%eax,1),%eax             
    block_count++;                                                    
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
  10b4c8:	c1 e0 02             	shl    $0x2,%eax                      
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
  10b4cb:	50                   	push   %eax                           
  10b4cc:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
  10b4cf:	e8 8e 1a 00 00       	call   10cf62 <_Workspace_Allocate>   
                                                                      
    if ( !object_blocks ) {                                           
  10b4d4:	83 c4 10             	add    $0x10,%esp                     
  10b4d7:	85 c0                	test   %eax,%eax                      
  10b4d9:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  10b4dc:	75 13                	jne    10b4f1 <_Objects_Extend_information+0x109>
      _Workspace_Free( new_object_block );                            
  10b4de:	83 ec 0c             	sub    $0xc,%esp                      
  10b4e1:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  10b4e4:	e8 92 1a 00 00       	call   10cf7b <_Workspace_Free>       
      return;                                                         
  10b4e9:	83 c4 10             	add    $0x10,%esp                     
  10b4ec:	e9 52 01 00 00       	jmp    10b643 <_Objects_Extend_information+0x25b>
  10b4f1:	8d 0c b0             	lea    (%eax,%esi,4),%ecx             
  10b4f4:	89 4d b8             	mov    %ecx,-0x48(%ebp)               
  10b4f7:	8d 34 f0             	lea    (%eax,%esi,8),%esi             
  10b4fa:	89 75 c0             	mov    %esi,-0x40(%ebp)               
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
  10b4fd:	0f b7 4b 10          	movzwl 0x10(%ebx),%ecx                
  10b501:	3b 4d d0             	cmp    -0x30(%ebp),%ecx               
  10b504:	77 04                	ja     10b50a <_Objects_Extend_information+0x122>
  10b506:	31 c9                	xor    %ecx,%ecx                      
  10b508:	eb 3e                	jmp    10b548 <_Objects_Extend_information+0x160>
      /*                                                              
       *  Copy each section of the table over. This has to be performed as
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
  10b50a:	8d 34 95 00 00 00 00 	lea    0x0(,%edx,4),%esi              
  10b511:	89 75 c8             	mov    %esi,-0x38(%ebp)               
  10b514:	8b 73 34             	mov    0x34(%ebx),%esi                
  10b517:	89 c7                	mov    %eax,%edi                      
  10b519:	8b 4d c8             	mov    -0x38(%ebp),%ecx               
  10b51c:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
  10b51e:	8b 73 30             	mov    0x30(%ebx),%esi                
  10b521:	8b 7d b8             	mov    -0x48(%ebp),%edi               
  10b524:	8b 4d c8             	mov    -0x38(%ebp),%ecx               
  10b527:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
  10b529:	0f b7 4b 10          	movzwl 0x10(%ebx),%ecx                
  10b52d:	03 4d d0             	add    -0x30(%ebp),%ecx               
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
  10b530:	c1 e1 02             	shl    $0x2,%ecx                      
  10b533:	8b 73 1c             	mov    0x1c(%ebx),%esi                
  10b536:	8b 7d c0             	mov    -0x40(%ebp),%edi               
  10b539:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
  10b53b:	eb 10                	jmp    10b54d <_Objects_Extend_information+0x165>
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
        local_table[ index ] = NULL;                                  
  10b53d:	8b 75 c0             	mov    -0x40(%ebp),%esi               
  10b540:	c7 04 8e 00 00 00 00 	movl   $0x0,(%esi,%ecx,4)             
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
  10b547:	41                   	inc    %ecx                           
  10b548:	3b 4d d0             	cmp    -0x30(%ebp),%ecx               
  10b54b:	72 f0                	jb     10b53d <_Objects_Extend_information+0x155>
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
  10b54d:	c7 04 90 00 00 00 00 	movl   $0x0,(%eax,%edx,4)             
    inactive_per_block[block_count] = 0;                              
  10b554:	8b 4d b8             	mov    -0x48(%ebp),%ecx               
  10b557:	c7 04 91 00 00 00 00 	movl   $0x0,(%ecx,%edx,4)             
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
  10b55e:	0f b7 4b 14          	movzwl 0x14(%ebx),%ecx                
  10b562:	03 4d cc             	add    -0x34(%ebp),%ecx               
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
  10b565:	8b 55 cc             	mov    -0x34(%ebp),%edx               
  10b568:	eb 0b                	jmp    10b575 <_Objects_Extend_information+0x18d>
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
  10b56a:	8b 75 c0             	mov    -0x40(%ebp),%esi               
  10b56d:	c7 04 96 00 00 00 00 	movl   $0x0,(%esi,%edx,4)             
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
  10b574:	42                   	inc    %edx                           
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
  10b575:	39 ca                	cmp    %ecx,%edx                      
  10b577:	72 f1                	jb     10b56a <_Objects_Extend_information+0x182>
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
  10b579:	9c                   	pushf                                 
  10b57a:	fa                   	cli                                   
  10b57b:	5e                   	pop    %esi                           
                                                                      
    old_tables = information->object_blocks;                          
  10b57c:	8b 53 34             	mov    0x34(%ebx),%edx                
                                                                      
    information->object_blocks = object_blocks;                       
  10b57f:	89 43 34             	mov    %eax,0x34(%ebx)                
    information->inactive_per_block = inactive_per_block;             
  10b582:	8b 45 b8             	mov    -0x48(%ebp),%eax               
  10b585:	89 43 30             	mov    %eax,0x30(%ebx)                
    information->local_table = local_table;                           
  10b588:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10b58b:	89 4b 1c             	mov    %ecx,0x1c(%ebx)                
    information->maximum = (Objects_Maximum) maximum;                 
  10b58e:	8b 45 bc             	mov    -0x44(%ebp),%eax               
  10b591:	66 89 43 10          	mov    %ax,0x10(%ebx)                 
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
  10b595:	8b 03                	mov    (%ebx),%eax                    
  10b597:	c1 e0 18             	shl    $0x18,%eax                     
  10b59a:	0d 00 00 01 00       	or     $0x10000,%eax                  
    information->maximum_id = _Objects_Build_id(                      
  10b59f:	0f b7 4b 04          	movzwl 0x4(%ebx),%ecx                 
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
  10b5a3:	c1 e1 1b             	shl    $0x1b,%ecx                     
  10b5a6:	09 c8                	or     %ecx,%eax                      
  10b5a8:	0f b7 4d bc          	movzwl -0x44(%ebp),%ecx               
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
  10b5ac:	09 c8                	or     %ecx,%eax                      
  10b5ae:	89 43 0c             	mov    %eax,0xc(%ebx)                 
        information->the_class,                                       
        _Objects_Local_node,                                          
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
  10b5b1:	56                   	push   %esi                           
  10b5b2:	9d                   	popf                                  
                                                                      
    if ( old_tables )                                                 
  10b5b3:	85 d2                	test   %edx,%edx                      
  10b5b5:	74 0c                	je     10b5c3 <_Objects_Extend_information+0x1db>
      _Workspace_Free( old_tables );                                  
  10b5b7:	83 ec 0c             	sub    $0xc,%esp                      
  10b5ba:	52                   	push   %edx                           
  10b5bb:	e8 bb 19 00 00       	call   10cf7b <_Workspace_Free>       
  10b5c0:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
  10b5c3:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  10b5c6:	c1 e2 02             	shl    $0x2,%edx                      
  10b5c9:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  10b5cc:	8b 43 34             	mov    0x34(%ebx),%eax                
  10b5cf:	8b 75 c4             	mov    -0x3c(%ebp),%esi               
  10b5d2:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  10b5d5:	89 34 88             	mov    %esi,(%eax,%ecx,4)             
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
  10b5d8:	ff 73 18             	pushl  0x18(%ebx)                     
  10b5db:	0f b7 43 14          	movzwl 0x14(%ebx),%eax                
  10b5df:	50                   	push   %eax                           
  10b5e0:	56                   	push   %esi                           
  10b5e1:	8d 7d dc             	lea    -0x24(%ebp),%edi               
  10b5e4:	57                   	push   %edi                           
  10b5e5:	e8 b2 3b 00 00       	call   10f19c <_Chain_Initialize>     
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
  10b5ea:	83 c4 10             	add    $0x10,%esp                     
  );                                                                  
                                                                      
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
  10b5ed:	8b 75 cc             	mov    -0x34(%ebp),%esi               
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
  10b5f0:	8d 43 20             	lea    0x20(%ebx),%eax                
  10b5f3:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
  10b5f6:	eb 28                	jmp    10b620 <_Objects_Extend_information+0x238>
  10b5f8:	8b 13                	mov    (%ebx),%edx                    
  10b5fa:	c1 e2 18             	shl    $0x18,%edx                     
  10b5fd:	81 ca 00 00 01 00    	or     $0x10000,%edx                  
                                                                      
    the_object->id = _Objects_Build_id(                               
  10b603:	0f b7 4b 04          	movzwl 0x4(%ebx),%ecx                 
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
  10b607:	c1 e1 1b             	shl    $0x1b,%ecx                     
  10b60a:	09 ca                	or     %ecx,%edx                      
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
  10b60c:	09 f2                	or     %esi,%edx                      
  10b60e:	89 50 08             	mov    %edx,0x8(%eax)                 
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
  10b611:	52                   	push   %edx                           
  10b612:	52                   	push   %edx                           
  10b613:	50                   	push   %eax                           
  10b614:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b617:	e8 34 f4 ff ff       	call   10aa50 <_Chain_Append>         
                                                                      
    index++;                                                          
  10b61c:	46                   	inc    %esi                           
  10b61d:	83 c4 10             	add    $0x10,%esp                     
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
  10b620:	83 ec 0c             	sub    $0xc,%esp                      
  10b623:	57                   	push   %edi                           
  10b624:	e8 63 f4 ff ff       	call   10aa8c <_Chain_Get>            
  10b629:	83 c4 10             	add    $0x10,%esp                     
  10b62c:	85 c0                	test   %eax,%eax                      
  10b62e:	75 c8                	jne    10b5f8 <_Objects_Extend_information+0x210>
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  10b630:	8b 43 14             	mov    0x14(%ebx),%eax                
  10b633:	8b 53 30             	mov    0x30(%ebx),%edx                
  10b636:	0f b7 c8             	movzwl %ax,%ecx                       
  10b639:	8b 75 d0             	mov    -0x30(%ebp),%esi               
  10b63c:	89 0c 32             	mov    %ecx,(%edx,%esi,1)             
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
  10b63f:	66 01 43 2c          	add    %ax,0x2c(%ebx)                 
}                                                                     
  10b643:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b646:	5b                   	pop    %ebx                           
  10b647:	5e                   	pop    %esi                           
  10b648:	5f                   	pop    %edi                           
  10b649:	c9                   	leave                                 
  10b64a:	c3                   	ret                                   
                                                                      

0010b6dc <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint32_t the_class ) {
  10b6dc:	55                   	push   %ebp                           
  10b6dd:	89 e5                	mov    %esp,%ebp                      
  10b6df:	57                   	push   %edi                           
  10b6e0:	56                   	push   %esi                           
  10b6e1:	53                   	push   %ebx                           
  10b6e2:	83 ec 0c             	sub    $0xc,%esp                      
  10b6e5:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10b6e8:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
    return NULL;                                                      
  10b6eb:	31 db                	xor    %ebx,%ebx                      
)                                                                     
{                                                                     
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
  10b6ed:	85 f6                	test   %esi,%esi                      
  10b6ef:	74 34                	je     10b725 <_Objects_Get_information+0x49>
                                                                      
  /*                                                                  
   *  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 );      
  10b6f1:	83 ec 0c             	sub    $0xc,%esp                      
  10b6f4:	57                   	push   %edi                           
  10b6f5:	e8 66 3f 00 00       	call   10f660 <_Objects_API_maximum_class>
  if ( the_class_api_maximum == 0 )                                   
  10b6fa:	83 c4 10             	add    $0x10,%esp                     
  10b6fd:	85 c0                	test   %eax,%eax                      
  10b6ff:	74 24                	je     10b725 <_Objects_Get_information+0x49>
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
  10b701:	39 c6                	cmp    %eax,%esi                      
  10b703:	77 20                	ja     10b725 <_Objects_Get_information+0x49>
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
  10b705:	8b 04 bd bc 41 12 00 	mov    0x1241bc(,%edi,4),%eax         
  10b70c:	85 c0                	test   %eax,%eax                      
  10b70e:	74 15                	je     10b725 <_Objects_Get_information+0x49><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
  10b710:	8b 1c b0             	mov    (%eax,%esi,4),%ebx             
  if ( !info )                                                        
  10b713:	85 db                	test   %ebx,%ebx                      
  10b715:	74 0e                	je     10b725 <_Objects_Get_information+0x49><== NEVER TAKEN
   *  Thus we may have 0 local instances and still have a valid object
   *  pointer.                                                        
   */                                                                 
  #if !defined(RTEMS_MULTIPROCESSING)                                 
    if ( info->maximum == 0 )                                         
      return NULL;                                                    
  10b717:	31 c0                	xor    %eax,%eax                      
  10b719:	66 83 7b 10 00       	cmpw   $0x0,0x10(%ebx)                
  10b71e:	0f 95 c0             	setne  %al                            
  10b721:	f7 d8                	neg    %eax                           
  10b723:	21 c3                	and    %eax,%ebx                      
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
  10b725:	89 d8                	mov    %ebx,%eax                      
  10b727:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b72a:	5b                   	pop    %ebx                           
  10b72b:	5e                   	pop    %esi                           
  10b72c:	5f                   	pop    %edi                           
  10b72d:	c9                   	leave                                 
  10b72e:	c3                   	ret                                   
                                                                      

00118bcc <_Objects_Get_no_protection>: Objects_Control *_Objects_Get_no_protection( Objects_Information *information, Objects_Id id, Objects_Locations *location ) {
  118bcc:	55                   	push   %ebp                           
  118bcd:	89 e5                	mov    %esp,%ebp                      
  118bcf:	53                   	push   %ebx                           
  118bd0:	8b 55 08             	mov    0x8(%ebp),%edx                 
  118bd3:	8b 4d 10             	mov    0x10(%ebp),%ecx                
                                                                      
  /*                                                                  
   * 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;                           
  118bd6:	b8 01 00 00 00       	mov    $0x1,%eax                      
  118bdb:	2b 42 08             	sub    0x8(%edx),%eax                 
  118bde:	03 45 0c             	add    0xc(%ebp),%eax                 
                                                                      
  if ( information->maximum >= index ) {                              
  118be1:	0f b7 5a 10          	movzwl 0x10(%edx),%ebx                
  118be5:	39 c3                	cmp    %eax,%ebx                      
  118be7:	72 12                	jb     118bfb <_Objects_Get_no_protection+0x2f>
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
  118be9:	8b 52 1c             	mov    0x1c(%edx),%edx                
  118bec:	8b 04 82             	mov    (%edx,%eax,4),%eax             
  118bef:	85 c0                	test   %eax,%eax                      
  118bf1:	74 08                	je     118bfb <_Objects_Get_no_protection+0x2f><== NEVER TAKEN
      *location = OBJECTS_LOCAL;                                      
  118bf3:	c7 01 00 00 00 00    	movl   $0x0,(%ecx)                    
      return the_object;                                              
  118bf9:	eb 08                	jmp    118c03 <_Objects_Get_no_protection+0x37>
                                                                      
  /*                                                                  
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
  118bfb:	c7 01 01 00 00 00    	movl   $0x1,(%ecx)                    
  return NULL;                                                        
  118c01:	31 c0                	xor    %eax,%eax                      
}                                                                     
  118c03:	5b                   	pop    %ebx                           
  118c04:	c9                   	leave                                 
  118c05:	c3                   	ret                                   
                                                                      

0010c8ec <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
  10c8ec:	55                   	push   %ebp                           
  10c8ed:	89 e5                	mov    %esp,%ebp                      
  10c8ef:	53                   	push   %ebx                           
  10c8f0:	83 ec 14             	sub    $0x14,%esp                     
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
  10c8f3:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c8f6:	85 c0                	test   %eax,%eax                      
  10c8f8:	75 08                	jne    10c902 <_Objects_Id_to_name+0x16>
  10c8fa:	a1 80 77 12 00       	mov    0x127780,%eax                  
  10c8ff:	8b 40 08             	mov    0x8(%eax),%eax                 
  10c902:	89 c2                	mov    %eax,%edx                      
  10c904:	c1 ea 18             	shr    $0x18,%edx                     
  10c907:	83 e2 07             	and    $0x7,%edx                      
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
  10c90a:	8d 4a ff             	lea    -0x1(%edx),%ecx                
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
  10c90d:	bb 03 00 00 00       	mov    $0x3,%ebx                      
  10c912:	83 f9 02             	cmp    $0x2,%ecx                      
  10c915:	77 36                	ja     10c94d <_Objects_Id_to_name+0x61>
  10c917:	eb 3b                	jmp    10c954 <_Objects_Id_to_name+0x68>
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (uint32_t)                                                   
  10c919:	89 c1                	mov    %eax,%ecx                      
  10c91b:	c1 e9 1b             	shr    $0x1b,%ecx                     
  if ( !_Objects_Information_table[ the_api ] )                       
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
  10c91e:	8b 14 8a             	mov    (%edx,%ecx,4),%edx             
  if ( !information )                                                 
  10c921:	85 d2                	test   %edx,%edx                      
  10c923:	74 28                	je     10c94d <_Objects_Id_to_name+0x61><== NEVER TAKEN
    return OBJECTS_INVALID_ID;                                        
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
  10c925:	80 7a 38 00          	cmpb   $0x0,0x38(%edx)                
  10c929:	75 22                	jne    10c94d <_Objects_Id_to_name+0x61><== NEVER TAKEN
      return OBJECTS_INVALID_ID;                                      
  #endif                                                              
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
  10c92b:	51                   	push   %ecx                           
  10c92c:	8d 4d f4             	lea    -0xc(%ebp),%ecx                
  10c92f:	51                   	push   %ecx                           
  10c930:	50                   	push   %eax                           
  10c931:	52                   	push   %edx                           
  10c932:	e8 5d ff ff ff       	call   10c894 <_Objects_Get>          
  if ( !the_object )                                                  
  10c937:	83 c4 10             	add    $0x10,%esp                     
  10c93a:	85 c0                	test   %eax,%eax                      
  10c93c:	74 0f                	je     10c94d <_Objects_Id_to_name+0x61>
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  10c93e:	8b 50 0c             	mov    0xc(%eax),%edx                 
  10c941:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10c944:	89 10                	mov    %edx,(%eax)                    
  _Thread_Enable_dispatch();                                          
  10c946:	e8 9b 07 00 00       	call   10d0e6 <_Thread_Enable_dispatch>
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
  10c94b:	31 db                	xor    %ebx,%ebx                      
}                                                                     
  10c94d:	89 d8                	mov    %ebx,%eax                      
  10c94f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c952:	c9                   	leave                                 
  10c953:	c3                   	ret                                   
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
  10c954:	8b 14 95 08 72 12 00 	mov    0x127208(,%edx,4),%edx         
  10c95b:	85 d2                	test   %edx,%edx                      
  10c95d:	75 ba                	jne    10c919 <_Objects_Id_to_name+0x2d><== ALWAYS TAKEN
  10c95f:	eb ec                	jmp    10c94d <_Objects_Id_to_name+0x61><== NOT EXECUTED
                                                                      

0010bf6c <_Objects_Set_name>: bool _Objects_Set_name( Objects_Information *information, Objects_Control *the_object, const char *name ) {
  10bf6c:	55                   	push   %ebp                           
  10bf6d:	89 e5                	mov    %esp,%ebp                      
  10bf6f:	57                   	push   %edi                           
  10bf70:	56                   	push   %esi                           
  10bf71:	53                   	push   %ebx                           
  10bf72:	83 ec 24             	sub    $0x24,%esp                     
  10bf75:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10bf78:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10bf7b:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
  10bf7e:	0f b7 42 3a          	movzwl 0x3a(%edx),%eax                
  10bf82:	50                   	push   %eax                           
  10bf83:	53                   	push   %ebx                           
  10bf84:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10bf87:	e8 7c 6e 00 00       	call   112e08 <strnlen>               
  10bf8c:	89 c6                	mov    %eax,%esi                      
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
  10bf8e:	83 c4 10             	add    $0x10,%esp                     
  10bf91:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10bf94:	80 7a 38 00          	cmpb   $0x0,0x38(%edx)                
  10bf98:	74 52                	je     10bfec <_Objects_Set_name+0x80>
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
  10bf9a:	83 ec 0c             	sub    $0xc,%esp                      
  10bf9d:	8d 40 01             	lea    0x1(%eax),%eax                 
  10bfa0:	50                   	push   %eax                           
  10bfa1:	e8 9c 16 00 00       	call   10d642 <_Workspace_Allocate>   
  10bfa6:	89 c2                	mov    %eax,%edx                      
    if ( !d )                                                         
  10bfa8:	83 c4 10             	add    $0x10,%esp                     
      return false;                                                   
  10bfab:	31 c0                	xor    %eax,%eax                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
    if ( !d )                                                         
  10bfad:	85 d2                	test   %edx,%edx                      
  10bfaf:	74 7c                	je     10c02d <_Objects_Set_name+0xc1><== NEVER TAKEN
      return false;                                                   
                                                                      
    if ( the_object->name.name_p ) {                                  
  10bfb1:	8b 47 0c             	mov    0xc(%edi),%eax                 
  10bfb4:	85 c0                	test   %eax,%eax                      
  10bfb6:	74 19                	je     10bfd1 <_Objects_Set_name+0x65>
      _Workspace_Free( (void *)the_object->name.name_p );             
  10bfb8:	83 ec 0c             	sub    $0xc,%esp                      
  10bfbb:	50                   	push   %eax                           
  10bfbc:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10bfbf:	e8 97 16 00 00       	call   10d65b <_Workspace_Free>       
      the_object->name.name_p = NULL;                                 
  10bfc4:	c7 47 0c 00 00 00 00 	movl   $0x0,0xc(%edi)                 
  10bfcb:	83 c4 10             	add    $0x10,%esp                     
  10bfce:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
    }                                                                 
                                                                      
    strncpy( d, name, length );                                       
  10bfd1:	50                   	push   %eax                           
  10bfd2:	56                   	push   %esi                           
  10bfd3:	53                   	push   %ebx                           
  10bfd4:	52                   	push   %edx                           
  10bfd5:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10bfd8:	e8 af 6d 00 00       	call   112d8c <strncpy>               
    d[length] = '\0';                                                 
  10bfdd:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10bfe0:	c6 04 32 00          	movb   $0x0,(%edx,%esi,1)             
    the_object->name.name_p = d;                                      
  10bfe4:	89 57 0c             	mov    %edx,0xc(%edi)                 
  10bfe7:	83 c4 10             	add    $0x10,%esp                     
  10bfea:	eb 3f                	jmp    10c02b <_Objects_Set_name+0xbf>
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
  10bfec:	0f be 13             	movsbl (%ebx),%edx                    
  10bfef:	c1 e2 18             	shl    $0x18,%edx                     
  10bff2:	b8 00 00 20 00       	mov    $0x200000,%eax                 
  10bff7:	83 fe 01             	cmp    $0x1,%esi                      
  10bffa:	76 07                	jbe    10c003 <_Objects_Set_name+0x97>
  10bffc:	0f be 43 01          	movsbl 0x1(%ebx),%eax                 
  10c000:	c1 e0 10             	shl    $0x10,%eax                     
  10c003:	09 c2                	or     %eax,%edx                      
  10c005:	b8 00 20 00 00       	mov    $0x2000,%eax                   
  10c00a:	83 fe 02             	cmp    $0x2,%esi                      
  10c00d:	76 07                	jbe    10c016 <_Objects_Set_name+0xaa>
  10c00f:	0f be 43 02          	movsbl 0x2(%ebx),%eax                 
  10c013:	c1 e0 08             	shl    $0x8,%eax                      
  10c016:	09 d0                	or     %edx,%eax                      
  10c018:	b9 20 00 00 00       	mov    $0x20,%ecx                     
  10c01d:	83 fe 03             	cmp    $0x3,%esi                      
  10c020:	76 04                	jbe    10c026 <_Objects_Set_name+0xba>
  10c022:	0f be 4b 03          	movsbl 0x3(%ebx),%ecx                 
  10c026:	09 c1                	or     %eax,%ecx                      
  10c028:	89 4f 0c             	mov    %ecx,0xc(%edi)                 
      ((3 <  length) ? s[ 3 ] : ' ')                                  
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
  10c02b:	b0 01                	mov    $0x1,%al                       
}                                                                     
  10c02d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c030:	5b                   	pop    %ebx                           
  10c031:	5e                   	pop    %esi                           
  10c032:	5f                   	pop    %edi                           
  10c033:	c9                   	leave                                 
  10c034:	c3                   	ret                                   
                                                                      

0010ae1c <_POSIX_Condition_variables_Wait_support>: pthread_cond_t *cond, pthread_mutex_t *mutex, Watchdog_Interval timeout, bool already_timedout ) {
  10ae1c:	55                   	push   %ebp                           
  10ae1d:	89 e5                	mov    %esp,%ebp                      
  10ae1f:	57                   	push   %edi                           
  10ae20:	56                   	push   %esi                           
  10ae21:	53                   	push   %ebx                           
  10ae22:	83 ec 34             	sub    $0x34,%esp                     
  10ae25:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10ae28:	8a 45 14             	mov    0x14(%ebp),%al                 
  10ae2b:	88 45 d7             	mov    %al,-0x29(%ebp)                
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
  10ae2e:	8d 7d e4             	lea    -0x1c(%ebp),%edi               
  10ae31:	57                   	push   %edi                           
  10ae32:	56                   	push   %esi                           
  10ae33:	e8 48 01 00 00       	call   10af80 <_POSIX_Mutex_Get>      
  10ae38:	83 c4 10             	add    $0x10,%esp                     
     return EINVAL;                                                   
  10ae3b:	bb 16 00 00 00       	mov    $0x16,%ebx                     
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
  10ae40:	85 c0                	test   %eax,%eax                      
  10ae42:	0f 84 bb 00 00 00    	je     10af03 <_POSIX_Condition_variables_Wait_support+0xe7>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10ae48:	a1 e4 73 12 00       	mov    0x1273e4,%eax                  
  10ae4d:	48                   	dec    %eax                           
  10ae4e:	a3 e4 73 12 00       	mov    %eax,0x1273e4                  
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
  10ae53:	52                   	push   %edx                           
  10ae54:	52                   	push   %edx                           
  10ae55:	57                   	push   %edi                           
  10ae56:	ff 75 08             	pushl  0x8(%ebp)                      
  10ae59:	e8 16 fe ff ff       	call   10ac74 <_POSIX_Condition_variables_Get>
  10ae5e:	89 c7                	mov    %eax,%edi                      
  switch ( location ) {                                               
  10ae60:	83 c4 10             	add    $0x10,%esp                     
  10ae63:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10ae67:	0f 85 96 00 00 00    	jne    10af03 <_POSIX_Condition_variables_Wait_support+0xe7>
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      if ( the_cond->Mutex && ( the_cond->Mutex != *mutex ) ) {       
  10ae6d:	8b 40 14             	mov    0x14(%eax),%eax                
  10ae70:	85 c0                	test   %eax,%eax                      
  10ae72:	74 0e                	je     10ae82 <_POSIX_Condition_variables_Wait_support+0x66>
  10ae74:	3b 06                	cmp    (%esi),%eax                    
  10ae76:	74 0a                	je     10ae82 <_POSIX_Condition_variables_Wait_support+0x66>
        _Thread_Enable_dispatch();                                    
  10ae78:	e8 81 2d 00 00       	call   10dbfe <_Thread_Enable_dispatch>
        return EINVAL;                                                
  10ae7d:	e9 81 00 00 00       	jmp    10af03 <_POSIX_Condition_variables_Wait_support+0xe7>
      }                                                               
                                                                      
      (void) pthread_mutex_unlock( mutex );                           
  10ae82:	83 ec 0c             	sub    $0xc,%esp                      
  10ae85:	56                   	push   %esi                           
  10ae86:	e8 25 03 00 00       	call   10b1b0 <pthread_mutex_unlock>  
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
  10ae8b:	83 c4 10             	add    $0x10,%esp                     
  10ae8e:	80 7d d7 00          	cmpb   $0x0,-0x29(%ebp)               
  10ae92:	75 50                	jne    10aee4 <_POSIX_Condition_variables_Wait_support+0xc8>
        the_cond->Mutex = *mutex;                                     
  10ae94:	8b 06                	mov    (%esi),%eax                    
  10ae96:	89 47 14             	mov    %eax,0x14(%edi)                
                                                                      
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;
  10ae99:	c7 47 48 01 00 00 00 	movl   $0x1,0x48(%edi)                
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
  10aea0:	a1 34 79 12 00       	mov    0x127934,%eax                  
  10aea5:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
  10aeac:	83 c7 18             	add    $0x18,%edi                     
  10aeaf:	89 78 44             	mov    %edi,0x44(%eax)                
        _Thread_Executing->Wait.id          = *cond;                  
  10aeb2:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10aeb5:	8b 11                	mov    (%ecx),%edx                    
  10aeb7:	89 50 20             	mov    %edx,0x20(%eax)                
                                                                      
        _Thread_queue_Enqueue( &the_cond->Wait_queue, timeout );      
  10aeba:	50                   	push   %eax                           
  10aebb:	68 a8 e3 10 00       	push   $0x10e3a8                      
  10aec0:	ff 75 10             	pushl  0x10(%ebp)                     
  10aec3:	57                   	push   %edi                           
  10aec4:	e8 bf 31 00 00       	call   10e088 <_Thread_queue_Enqueue_with_handler>
                                                                      
        _Thread_Enable_dispatch();                                    
  10aec9:	e8 30 2d 00 00       	call   10dbfe <_Thread_Enable_dispatch>
        /*                                                            
         *  Switch ourself out because we blocked as a result of the  
         *  _Thread_queue_Enqueue.                                    
         */                                                           
                                                                      
        status = _Thread_Executing->Wait.return_code;                 
  10aece:	a1 34 79 12 00       	mov    0x127934,%eax                  
  10aed3:	8b 58 34             	mov    0x34(%eax),%ebx                
        if ( status && status != ETIMEDOUT )                          
  10aed6:	83 c4 10             	add    $0x10,%esp                     
  10aed9:	83 fb 74             	cmp    $0x74,%ebx                     
  10aedc:	74 10                	je     10aeee <_POSIX_Condition_variables_Wait_support+0xd2>
  10aede:	85 db                	test   %ebx,%ebx                      
  10aee0:	74 0c                	je     10aeee <_POSIX_Condition_variables_Wait_support+0xd2><== ALWAYS TAKEN
  10aee2:	eb 1f                	jmp    10af03 <_POSIX_Condition_variables_Wait_support+0xe7><== NOT EXECUTED
          return status;                                              
                                                                      
      } else {                                                        
        _Thread_Enable_dispatch();                                    
  10aee4:	e8 15 2d 00 00       	call   10dbfe <_Thread_Enable_dispatch>
        status = ETIMEDOUT;                                           
  10aee9:	bb 74 00 00 00       	mov    $0x74,%ebx                     
                                                                      
      /*                                                              
       *  When we get here the dispatch disable level is 0.           
       */                                                             
                                                                      
      mutex_status = pthread_mutex_lock( mutex );                     
  10aeee:	83 ec 0c             	sub    $0xc,%esp                      
  10aef1:	56                   	push   %esi                           
  10aef2:	e8 39 02 00 00       	call   10b130 <pthread_mutex_lock>    
      if ( mutex_status )                                             
  10aef7:	83 c4 10             	add    $0x10,%esp                     
  10aefa:	85 c0                	test   %eax,%eax                      
  10aefc:	74 05                	je     10af03 <_POSIX_Condition_variables_Wait_support+0xe7>
        return EINVAL;                                                
  10aefe:	bb 16 00 00 00       	mov    $0x16,%ebx                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10af03:	89 d8                	mov    %ebx,%eax                      
  10af05:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10af08:	5b                   	pop    %ebx                           
  10af09:	5e                   	pop    %esi                           
  10af0a:	5f                   	pop    %edi                           
  10af0b:	c9                   	leave                                 
  10af0c:	c3                   	ret                                   
                                                                      

0010e2bc <_POSIX_Message_queue_Receive_support>: size_t msg_len, unsigned int *msg_prio, bool wait, Watchdog_Interval timeout ) {
  10e2bc:	55                   	push   %ebp                           
  10e2bd:	89 e5                	mov    %esp,%ebp                      
  10e2bf:	57                   	push   %edi                           
  10e2c0:	56                   	push   %esi                           
  10e2c1:	53                   	push   %ebx                           
  10e2c2:	83 ec 30             	sub    $0x30,%esp                     
  10e2c5:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10e2c8:	8b 5d 14             	mov    0x14(%ebp),%ebx                
  10e2cb:	8a 55 18             	mov    0x18(%ebp),%dl                 
  POSIX_Message_queue_Control_fd  *the_mq_fd;                         
  Objects_Locations                location;                          
  size_t                           length_out;                        
  bool                             do_wait;                           
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  10e2ce:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
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(             
  10e2d1:	50                   	push   %eax                           
  10e2d2:	56                   	push   %esi                           
  10e2d3:	68 7c d9 12 00       	push   $0x12d97c                      
  10e2d8:	88 55 d4             	mov    %dl,-0x2c(%ebp)                
  10e2db:	e8 dc 2a 00 00       	call   110dbc <_Objects_Get>          
  switch ( location ) {                                               
  10e2e0:	83 c4 10             	add    $0x10,%esp                     
  10e2e3:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10e2e7:	8a 55 d4             	mov    -0x2c(%ebp),%dl                
  10e2ea:	0f 85 aa 00 00 00    	jne    10e39a <_POSIX_Message_queue_Receive_support+0xde>
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
  10e2f0:	8b 78 14             	mov    0x14(%eax),%edi                
  10e2f3:	89 f9                	mov    %edi,%ecx                      
  10e2f5:	83 e1 03             	and    $0x3,%ecx                      
  10e2f8:	49                   	dec    %ecx                           
  10e2f9:	75 0a                	jne    10e305 <_POSIX_Message_queue_Receive_support+0x49>
        _Thread_Enable_dispatch();                                    
  10e2fb:	e8 da 32 00 00       	call   1115da <_Thread_Enable_dispatch>
  10e300:	e9 95 00 00 00       	jmp    10e39a <_POSIX_Message_queue_Receive_support+0xde>
        rtems_set_errno_and_return_minus_one( EBADF );                
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
  10e305:	8b 40 10             	mov    0x10(%eax),%eax                
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
  10e308:	8b 48 68             	mov    0x68(%eax),%ecx                
  10e30b:	39 4d 10             	cmp    %ecx,0x10(%ebp)                
  10e30e:	73 15                	jae    10e325 <_POSIX_Message_queue_Receive_support+0x69>
        _Thread_Enable_dispatch();                                    
  10e310:	e8 c5 32 00 00       	call   1115da <_Thread_Enable_dispatch>
        rtems_set_errno_and_return_minus_one( EMSGSIZE );             
  10e315:	e8 2a 8a 00 00       	call   116d44 <__errno>               
  10e31a:	c7 00 7a 00 00 00    	movl   $0x7a,(%eax)                   
  10e320:	e9 80 00 00 00       	jmp    10e3a5 <_POSIX_Message_queue_Receive_support+0xe9>
      /*                                                              
       *  Now if something goes wrong, we return a "length" of -1     
       *  to indicate an error.                                       
       */                                                             
                                                                      
      length_out = -1;                                                
  10e325:	c7 45 e0 ff ff ff ff 	movl   $0xffffffff,-0x20(%ebp)        
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
  10e32c:	31 c9                	xor    %ecx,%ecx                      
  10e32e:	84 d2                	test   %dl,%dl                        
  10e330:	74 09                	je     10e33b <_POSIX_Message_queue_Receive_support+0x7f><== NEVER TAKEN
        do_wait = (the_mq_fd->oflag & O_NONBLOCK) ? false : true;     
  10e332:	81 e7 00 40 00 00    	and    $0x4000,%edi                   
  10e338:	0f 94 c1             	sete   %cl                            
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
  10e33b:	52                   	push   %edx                           
  10e33c:	52                   	push   %edx                           
  10e33d:	ff 75 1c             	pushl  0x1c(%ebp)                     
  10e340:	0f b6 c9             	movzbl %cl,%ecx                       
  10e343:	51                   	push   %ecx                           
  10e344:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  10e347:	52                   	push   %edx                           
  10e348:	ff 75 0c             	pushl  0xc(%ebp)                      
  10e34b:	56                   	push   %esi                           
  10e34c:	83 c0 1c             	add    $0x1c,%eax                     
  10e34f:	50                   	push   %eax                           
  10e350:	e8 4f 1c 00 00       	call   10ffa4 <_CORE_message_queue_Seize>
        &length_out,                                                  
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
  10e355:	83 c4 20             	add    $0x20,%esp                     
  10e358:	e8 7d 32 00 00       	call   1115da <_Thread_Enable_dispatch>
      *msg_prio =                                                     
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
  10e35d:	a1 f4 d9 12 00       	mov    0x12d9f4,%eax                  
RTEMS_INLINE_ROUTINE unsigned int _POSIX_Message_queue_Priority_from_core(
  CORE_message_queue_Submit_types priority                            
)                                                                     
{                                                                     
  /* absolute value without a library dependency */                   
  return ((priority >= 0) ? priority : -priority);                    
  10e362:	8b 50 24             	mov    0x24(%eax),%edx                
  10e365:	c1 fa 1f             	sar    $0x1f,%edx                     
  10e368:	8b 48 24             	mov    0x24(%eax),%ecx                
  10e36b:	31 d1                	xor    %edx,%ecx                      
  10e36d:	89 0b                	mov    %ecx,(%ebx)                    
  10e36f:	29 13                	sub    %edx,(%ebx)                    
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
  10e371:	83 78 34 00          	cmpl   $0x0,0x34(%eax)                
  10e375:	75 05                	jne    10e37c <_POSIX_Message_queue_Receive_support+0xc0>
        return length_out;                                            
  10e377:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10e37a:	eb 2c                	jmp    10e3a8 <_POSIX_Message_queue_Receive_support+0xec>
                                                                      
      rtems_set_errno_and_return_minus_one(                           
  10e37c:	e8 c3 89 00 00       	call   116d44 <__errno>               
  10e381:	89 c3                	mov    %eax,%ebx                      
  10e383:	83 ec 0c             	sub    $0xc,%esp                      
  10e386:	a1 f4 d9 12 00       	mov    0x12d9f4,%eax                  
  10e38b:	ff 70 34             	pushl  0x34(%eax)                     
  10e38e:	e8 ed 01 00 00       	call   10e580 <_POSIX_Message_queue_Translate_core_message_queue_return_code>
  10e393:	89 03                	mov    %eax,(%ebx)                    
  10e395:	83 c4 10             	add    $0x10,%esp                     
  10e398:	eb 0b                	jmp    10e3a5 <_POSIX_Message_queue_Receive_support+0xe9>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
  10e39a:	e8 a5 89 00 00       	call   116d44 <__errno>               
  10e39f:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  10e3a5:	83 c8 ff             	or     $0xffffffff,%eax               
}                                                                     
  10e3a8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e3ab:	5b                   	pop    %ebx                           
  10e3ac:	5e                   	pop    %esi                           
  10e3ad:	5f                   	pop    %edi                           
  10e3ae:	c9                   	leave                                 
  10e3af:	c3                   	ret                                   
                                                                      

0010e7f4 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch>: #include <rtems/posix/pthread.h> void _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch( Thread_Control *the_thread ) {
  10e7f4:	55                   	push   %ebp                           
  10e7f5:	89 e5                	mov    %esp,%ebp                      
  10e7f7:	83 ec 08             	sub    $0x8,%esp                      
  10e7fa:	8b 55 08             	mov    0x8(%ebp),%edx                 
  POSIX_API_Control *thread_support;                                  
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
  10e7fd:	8b 82 f8 00 00 00    	mov    0xf8(%edx),%eax                
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
  10e803:	83 b8 d4 00 00 00 00 	cmpl   $0x0,0xd4(%eax)                
  10e80a:	75 2c                	jne    10e838 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x44><== NEVER TAKEN
  10e80c:	83 b8 d8 00 00 00 01 	cmpl   $0x1,0xd8(%eax)                
  10e813:	75 23                	jne    10e838 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x44>
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
  10e815:	83 b8 dc 00 00 00 00 	cmpl   $0x0,0xdc(%eax)                
  10e81c:	74 1a                	je     10e838 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x44>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10e81e:	a1 d4 51 12 00       	mov    0x1251d4,%eax                  
  10e823:	48                   	dec    %eax                           
  10e824:	a3 d4 51 12 00       	mov    %eax,0x1251d4                  
       thread_support->cancelation_requested ) {                      
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
  10e829:	50                   	push   %eax                           
  10e82a:	50                   	push   %eax                           
  10e82b:	6a ff                	push   $0xffffffff                    
  10e82d:	52                   	push   %edx                           
  10e82e:	e8 4d 08 00 00       	call   10f080 <_POSIX_Thread_Exit>    
  10e833:	83 c4 10             	add    $0x10,%esp                     
  } else                                                              
    _Thread_Enable_dispatch();                                        
                                                                      
}                                                                     
  10e836:	c9                   	leave                                 
  10e837:	c3                   	ret                                   
  10e838:	c9                   	leave                                 
       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();                                        
  10e839:	e9 c4 da ff ff       	jmp    10c302 <_Thread_Enable_dispatch>
                                                                      

0010faa0 <_POSIX_Thread_Translate_sched_param>: int policy, struct sched_param *param, Thread_CPU_budget_algorithms *budget_algorithm, Thread_CPU_budget_algorithm_callout *budget_callout ) {
  10faa0:	55                   	push   %ebp                           
  10faa1:	89 e5                	mov    %esp,%ebp                      
  10faa3:	57                   	push   %edi                           
  10faa4:	56                   	push   %esi                           
  10faa5:	53                   	push   %ebx                           
  10faa6:	83 ec 28             	sub    $0x28,%esp                     
  10faa9:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10faac:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10faaf:	8b 7d 10             	mov    0x10(%ebp),%edi                
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
  10fab2:	ff 33                	pushl  (%ebx)                         
  10fab4:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10fab7:	e8 c4 ff ff ff       	call   10fa80 <_POSIX_Priority_Is_valid>
  10fabc:	83 c4 10             	add    $0x10,%esp                     
    return EINVAL;                                                    
  10fabf:	be 16 00 00 00       	mov    $0x16,%esi                     
  struct sched_param                  *param,                         
  Thread_CPU_budget_algorithms        *budget_algorithm,              
  Thread_CPU_budget_algorithm_callout *budget_callout                 
)                                                                     
{                                                                     
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
  10fac4:	84 c0                	test   %al,%al                        
  10fac6:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10fac9:	0f 84 a4 00 00 00    	je     10fb73 <_POSIX_Thread_Translate_sched_param+0xd3><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
  10facf:	c7 07 00 00 00 00    	movl   $0x0,(%edi)                    
  *budget_callout = NULL;                                             
  10fad5:	8b 45 14             	mov    0x14(%ebp),%eax                
  10fad8:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
  10fade:	85 d2                	test   %edx,%edx                      
  10fae0:	75 0b                	jne    10faed <_POSIX_Thread_Translate_sched_param+0x4d>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
  10fae2:	c7 07 01 00 00 00    	movl   $0x1,(%edi)                    
  10fae8:	e9 83 00 00 00       	jmp    10fb70 <_POSIX_Thread_Translate_sched_param+0xd0>
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
  10faed:	31 f6                	xor    %esi,%esi                      
  if ( policy == SCHED_OTHER ) {                                      
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
  10faef:	83 fa 01             	cmp    $0x1,%edx                      
  10faf2:	74 7f                	je     10fb73 <_POSIX_Thread_Translate_sched_param+0xd3>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
  10faf4:	83 fa 02             	cmp    $0x2,%edx                      
  10faf7:	75 08                	jne    10fb01 <_POSIX_Thread_Translate_sched_param+0x61>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
  10faf9:	c7 07 02 00 00 00    	movl   $0x2,(%edi)                    
    return 0;                                                         
  10faff:	eb 72                	jmp    10fb73 <_POSIX_Thread_Translate_sched_param+0xd3>
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
  }                                                                   
                                                                      
  return EINVAL;                                                      
  10fb01:	be 16 00 00 00       	mov    $0x16,%esi                     
  if ( policy == SCHED_RR ) {                                         
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_SPORADIC ) {                                   
  10fb06:	83 fa 04             	cmp    $0x4,%edx                      
  10fb09:	75 68                	jne    10fb73 <_POSIX_Thread_Translate_sched_param+0xd3>
    if ( (param->sched_ss_repl_period.tv_sec == 0) &&                 
  10fb0b:	83 7b 08 00          	cmpl   $0x0,0x8(%ebx)                 
  10fb0f:	75 06                	jne    10fb17 <_POSIX_Thread_Translate_sched_param+0x77>
  10fb11:	83 7b 0c 00          	cmpl   $0x0,0xc(%ebx)                 
  10fb15:	74 5c                	je     10fb73 <_POSIX_Thread_Translate_sched_param+0xd3>
         (param->sched_ss_repl_period.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
  10fb17:	83 7b 10 00          	cmpl   $0x0,0x10(%ebx)                
  10fb1b:	75 0b                	jne    10fb28 <_POSIX_Thread_Translate_sched_param+0x88>
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
  10fb1d:	be 16 00 00 00       	mov    $0x16,%esi                     
  if ( policy == SCHED_SPORADIC ) {                                   
    if ( (param->sched_ss_repl_period.tv_sec == 0) &&                 
         (param->sched_ss_repl_period.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
  10fb22:	83 7b 14 00          	cmpl   $0x0,0x14(%ebx)                
  10fb26:	74 4b                	je     10fb73 <_POSIX_Thread_Translate_sched_param+0xd3>
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
  10fb28:	83 ec 0c             	sub    $0xc,%esp                      
  10fb2b:	8d 43 08             	lea    0x8(%ebx),%eax                 
  10fb2e:	50                   	push   %eax                           
  10fb2f:	e8 f4 de ff ff       	call   10da28 <_Timespec_To_ticks>    
  10fb34:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
  10fb37:	8d 43 10             	lea    0x10(%ebx),%eax                
  10fb3a:	89 04 24             	mov    %eax,(%esp)                    
  10fb3d:	e8 e6 de ff ff       	call   10da28 <_Timespec_To_ticks>    
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
  10fb42:	83 c4 10             	add    $0x10,%esp                     
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
      return EINVAL;                                                  
  10fb45:	be 16 00 00 00       	mov    $0x16,%esi                     
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
  10fb4a:	39 45 e4             	cmp    %eax,-0x1c(%ebp)               
  10fb4d:	72 24                	jb     10fb73 <_POSIX_Thread_Translate_sched_param+0xd3>
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
      return EINVAL;                                                  
                                                                      
    if ( !_POSIX_Priority_Is_valid( param->sched_ss_low_priority ) )  
  10fb4f:	83 ec 0c             	sub    $0xc,%esp                      
  10fb52:	ff 73 04             	pushl  0x4(%ebx)                      
  10fb55:	e8 26 ff ff ff       	call   10fa80 <_POSIX_Priority_Is_valid>
  10fb5a:	83 c4 10             	add    $0x10,%esp                     
  10fb5d:	84 c0                	test   %al,%al                        
  10fb5f:	74 12                	je     10fb73 <_POSIX_Thread_Translate_sched_param+0xd3>
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
  10fb61:	c7 07 03 00 00 00    	movl   $0x3,(%edi)                    
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
  10fb67:	8b 45 14             	mov    0x14(%ebp),%eax                
  10fb6a:	c7 00 5d a8 10 00    	movl   $0x10a85d,(%eax)               
    return 0;                                                         
  10fb70:	66 31 f6             	xor    %si,%si                        
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10fb73:	89 f0                	mov    %esi,%eax                      
  10fb75:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10fb78:	5b                   	pop    %ebx                           
  10fb79:	5e                   	pop    %esi                           
  10fb7a:	5f                   	pop    %edi                           
  10fb7b:	c9                   	leave                                 
  10fb7c:	c3                   	ret                                   
                                                                      

0010a560 <_POSIX_Threads_Initialize_user_threads_body>: * * Output parameters: NONE */ void _POSIX_Threads_Initialize_user_threads_body(void) {
  10a560:	55                   	push   %ebp                           
  10a561:	89 e5                	mov    %esp,%ebp                      
  10a563:	57                   	push   %edi                           
  10a564:	56                   	push   %esi                           
  10a565:	53                   	push   %ebx                           
  10a566:	83 ec 5c             	sub    $0x5c,%esp                     
  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;
  10a569:	8b 3d 10 12 12 00    	mov    0x121210,%edi                  
  maximum      = Configuration_POSIX_API.number_of_initialization_threads;
  10a56f:	8b 15 0c 12 12 00    	mov    0x12120c,%edx                  
                                                                      
  if ( !user_threads || maximum == 0 )                                
  10a575:	85 d2                	test   %edx,%edx                      
  10a577:	74 54                	je     10a5cd <_POSIX_Threads_Initialize_user_threads_body+0x6d><== NEVER TAKEN
  10a579:	85 ff                	test   %edi,%edi                      
  10a57b:	74 50                	je     10a5cd <_POSIX_Threads_Initialize_user_threads_body+0x6d><== NEVER TAKEN
  10a57d:	31 db                	xor    %ebx,%ebx                      
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
    /*                                                                
     * There is no way for these calls to fail in this situation.     
     */                                                               
    (void) pthread_attr_init( &attr );                                
  10a57f:	8d 75 a8             	lea    -0x58(%ebp),%esi               
  10a582:	83 ec 0c             	sub    $0xc,%esp                      
  10a585:	56                   	push   %esi                           
  10a586:	89 55 a4             	mov    %edx,-0x5c(%ebp)               
  10a589:	e8 f2 55 00 00       	call   10fb80 <pthread_attr_init>     
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
  10a58e:	5a                   	pop    %edx                           
  10a58f:	59                   	pop    %ecx                           
  10a590:	6a 02                	push   $0x2                           
  10a592:	56                   	push   %esi                           
  10a593:	e8 10 56 00 00       	call   10fba8 <pthread_attr_setinheritsched>
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
  10a598:	59                   	pop    %ecx                           
  10a599:	58                   	pop    %eax                           
  10a59a:	ff 74 df 04          	pushl  0x4(%edi,%ebx,8)               
  10a59e:	56                   	push   %esi                           
  10a59f:	e8 30 56 00 00       	call   10fbd4 <pthread_attr_setstacksize>
                                                                      
    status = pthread_create(                                          
  10a5a4:	6a 00                	push   $0x0                           
  10a5a6:	ff 34 df             	pushl  (%edi,%ebx,8)                  
  10a5a9:	56                   	push   %esi                           
  10a5aa:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10a5ad:	50                   	push   %eax                           
  10a5ae:	e8 e5 fc ff ff       	call   10a298 <pthread_create>        
      &thread_id,                                                     
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
  10a5b3:	83 c4 20             	add    $0x20,%esp                     
  10a5b6:	85 c0                	test   %eax,%eax                      
  10a5b8:	8b 55 a4             	mov    -0x5c(%ebp),%edx               
  10a5bb:	74 0b                	je     10a5c8 <_POSIX_Threads_Initialize_user_threads_body+0x68>
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
  10a5bd:	52                   	push   %edx                           
  10a5be:	50                   	push   %eax                           
  10a5bf:	6a 01                	push   $0x1                           
  10a5c1:	6a 02                	push   $0x2                           
  10a5c3:	e8 04 1c 00 00       	call   10c1cc <_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++ ) {                       
  10a5c8:	43                   	inc    %ebx                           
  10a5c9:	39 d3                	cmp    %edx,%ebx                      
  10a5cb:	72 b5                	jb     10a582 <_POSIX_Threads_Initialize_user_threads_body+0x22><== NEVER TAKEN
      NULL                                                            
    );                                                                
    if ( status )                                                     
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
  }                                                                   
}                                                                     
  10a5cd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a5d0:	5b                   	pop    %ebx                           
  10a5d1:	5e                   	pop    %esi                           
  10a5d2:	5f                   	pop    %edi                           
  10a5d3:	c9                   	leave                                 
  10a5d4:	c3                   	ret                                   
                                                                      

0010ebd3 <_POSIX_Threads_Sporadic_budget_TSR>: */ void _POSIX_Threads_Sporadic_budget_TSR( Objects_Id id __attribute__((unused)), void *argument ) {
  10ebd3:	55                   	push   %ebp                           
  10ebd4:	89 e5                	mov    %esp,%ebp                      
  10ebd6:	56                   	push   %esi                           
  10ebd7:	53                   	push   %ebx                           
  10ebd8:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Thread_Control     *the_thread;                                     
  POSIX_API_Control  *api;                                            
                                                                      
  the_thread = argument;                                              
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  10ebdb:	8b b3 f8 00 00 00    	mov    0xf8(%ebx),%esi                
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
  10ebe1:	83 ec 0c             	sub    $0xc,%esp                      
  10ebe4:	8d 86 94 00 00 00    	lea    0x94(%esi),%eax                
  10ebea:	50                   	push   %eax                           
  10ebeb:	e8 58 0e 00 00       	call   10fa48 <_Timespec_To_ticks>    
                                                                      
  the_thread->cpu_time_budget = ticks;                                
  10ebf0:	89 43 78             	mov    %eax,0x78(%ebx)                
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
  10ebf3:	0f b6 05 f4 01 12 00 	movzbl 0x1201f4,%eax                  
  10ebfa:	2b 86 84 00 00 00    	sub    0x84(%esi),%eax                
                                                                      
  new_priority = _POSIX_Priority_To_core( api->schedparam.sched_priority );
  the_thread->real_priority = new_priority;                           
  10ec00:	89 43 18             	mov    %eax,0x18(%ebx)                
   */                                                                 
  #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 ) {                            
  10ec03:	83 c4 10             	add    $0x10,%esp                     
  10ec06:	83 7b 1c 00          	cmpl   $0x0,0x1c(%ebx)                
  10ec0a:	75 12                	jne    10ec1e <_POSIX_Threads_Sporadic_budget_TSR+0x4b><== NEVER TAKEN
    /*                                                                
     *  If this would make them less important, then do not change it.
     */                                                               
    if ( the_thread->current_priority > new_priority ) {              
  10ec0c:	39 43 14             	cmp    %eax,0x14(%ebx)                
  10ec0f:	76 0d                	jbe    10ec1e <_POSIX_Threads_Sporadic_budget_TSR+0x4b>
      _Thread_Change_priority( the_thread, new_priority, true );      
  10ec11:	52                   	push   %edx                           
  10ec12:	6a 01                	push   $0x1                           
  10ec14:	50                   	push   %eax                           
  10ec15:	53                   	push   %ebx                           
  10ec16:	e8 ad ce ff ff       	call   10bac8 <_Thread_Change_priority>
  10ec1b:	83 c4 10             	add    $0x10,%esp                     
      #endif                                                          
    }                                                                 
  }                                                                   
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_repl_period );
  10ec1e:	83 ec 0c             	sub    $0xc,%esp                      
  10ec21:	8d 86 8c 00 00 00    	lea    0x8c(%esi),%eax                
  10ec27:	50                   	push   %eax                           
  10ec28:	e8 1b 0e 00 00       	call   10fa48 <_Timespec_To_ticks>    
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10ec2d:	89 86 b0 00 00 00    	mov    %eax,0xb0(%esi)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10ec33:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  _Watchdog_Insert_ticks( &api->Sporadic_timer, ticks );              
  10ec36:	81 c6 a4 00 00 00    	add    $0xa4,%esi                     
  10ec3c:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  10ec3f:	c7 45 08 ac 42 12 00 	movl   $0x1242ac,0x8(%ebp)            
}                                                                     
  10ec46:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ec49:	5b                   	pop    %ebx                           
  10ec4a:	5e                   	pop    %esi                           
  10ec4b:	c9                   	leave                                 
  10ec4c:	e9 df e0 ff ff       	jmp    10cd30 <_Watchdog_Insert>      
                                                                      

0010ec51 <_POSIX_Threads_Sporadic_budget_callout>: * _POSIX_Threads_Sporadic_budget_callout */ void _POSIX_Threads_Sporadic_budget_callout( Thread_Control *the_thread ) {
  10ec51:	55                   	push   %ebp                           
  10ec52:	89 e5                	mov    %esp,%ebp                      
  10ec54:	83 ec 08             	sub    $0x8,%esp                      
  10ec57:	8b 45 08             	mov    0x8(%ebp),%eax                 
  POSIX_API_Control *api;                                             
  uint32_t           new_priority;                                    
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  10ec5a:	8b 88 f8 00 00 00    	mov    0xf8(%eax),%ecx                
                                                                      
  /*                                                                  
   *  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 */
  10ec60:	c7 40 78 ff ff ff ff 	movl   $0xffffffff,0x78(%eax)         
  10ec67:	0f b6 15 f4 01 12 00 	movzbl 0x1201f4,%edx                  
  10ec6e:	2b 91 88 00 00 00    	sub    0x88(%ecx),%edx                
                                                                      
  new_priority = _POSIX_Priority_To_core(api->schedparam.sched_ss_low_priority);
  the_thread->real_priority = new_priority;                           
  10ec74:	89 50 18             	mov    %edx,0x18(%eax)                
   */                                                                 
  #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 ) {                            
  10ec77:	83 78 1c 00          	cmpl   $0x0,0x1c(%eax)                
  10ec7b:	75 12                	jne    10ec8f <_POSIX_Threads_Sporadic_budget_callout+0x3e><== 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 ) {              
  10ec7d:	39 50 14             	cmp    %edx,0x14(%eax)                
  10ec80:	73 0d                	jae    10ec8f <_POSIX_Threads_Sporadic_budget_callout+0x3e><== NEVER TAKEN
      _Thread_Change_priority( the_thread, new_priority, true );      
  10ec82:	51                   	push   %ecx                           
  10ec83:	6a 01                	push   $0x1                           
  10ec85:	52                   	push   %edx                           
  10ec86:	50                   	push   %eax                           
  10ec87:	e8 3c ce ff ff       	call   10bac8 <_Thread_Change_priority>
  10ec8c:	83 c4 10             	add    $0x10,%esp                     
      #if 0                                                           
        printk( "lower priority\n" );                                 
      #endif                                                          
    }                                                                 
  }                                                                   
}                                                                     
  10ec8f:	c9                   	leave                                 
  10ec90:	c3                   	ret                                   
                                                                      

00110a78 <_POSIX_Threads_cancel_run>: #include <rtems/posix/threadsup.h> void _POSIX_Threads_cancel_run( Thread_Control *the_thread ) {
  110a78:	55                   	push   %ebp                           
  110a79:	89 e5                	mov    %esp,%ebp                      
  110a7b:	57                   	push   %edi                           
  110a7c:	56                   	push   %esi                           
  110a7d:	53                   	push   %ebx                           
  110a7e:	83 ec 0c             	sub    $0xc,%esp                      
  POSIX_Cancel_Handler_control      *handler;                         
  Chain_Control                     *handler_stack;                   
  POSIX_API_Control                 *thread_support;                  
  ISR_Level                          level;                           
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
  110a81:	8b 45 08             	mov    0x8(%ebp),%eax                 
  110a84:	8b 98 f8 00 00 00    	mov    0xf8(%eax),%ebx                
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
                                                                      
  thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;       
  110a8a:	c7 83 d4 00 00 00 01 	movl   $0x1,0xd4(%ebx)                
  110a91:	00 00 00                                                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  110a94:	8d b3 e4 00 00 00    	lea    0xe4(%ebx),%esi                
                                                                      
  while ( !_Chain_Is_empty( handler_stack ) ) {                       
  110a9a:	eb 26                	jmp    110ac2 <_POSIX_Threads_cancel_run+0x4a>
    _ISR_Disable( level );                                            
  110a9c:	9c                   	pushf                                 
  110a9d:	fa                   	cli                                   
  110a9e:	59                   	pop    %ecx                           
      handler = (POSIX_Cancel_Handler_control *)                      
  110a9f:	8b 7e 04             	mov    0x4(%esi),%edi                 
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  110aa2:	8b 17                	mov    (%edi),%edx                    
  previous       = the_node->previous;                                
  110aa4:	8b 47 04             	mov    0x4(%edi),%eax                 
  next->previous = previous;                                          
  110aa7:	89 42 04             	mov    %eax,0x4(%edx)                 
  previous->next = next;                                              
  110aaa:	89 10                	mov    %edx,(%eax)                    
           _Chain_Tail( handler_stack )->previous;                    
      _Chain_Extract_unprotected( &handler->Node );                   
    _ISR_Enable( level );                                             
  110aac:	51                   	push   %ecx                           
  110aad:	9d                   	popf                                  
                                                                      
    (*handler->routine)( handler->arg );                              
  110aae:	83 ec 0c             	sub    $0xc,%esp                      
  110ab1:	ff 77 0c             	pushl  0xc(%edi)                      
  110ab4:	ff 57 08             	call   *0x8(%edi)                     
                                                                      
    _Workspace_Free( handler );                                       
  110ab7:	89 3c 24             	mov    %edi,(%esp)                    
  110aba:	e8 bc c4 ff ff       	call   10cf7b <_Workspace_Free>       
  110abf:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
                                                                      
  thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;       
                                                                      
  while ( !_Chain_Is_empty( handler_stack ) ) {                       
  110ac2:	39 b3 e0 00 00 00    	cmp    %esi,0xe0(%ebx)                
  110ac8:	75 d2                	jne    110a9c <_POSIX_Threads_cancel_run+0x24><== NEVER TAKEN
                                                                      
    (*handler->routine)( handler->arg );                              
                                                                      
    _Workspace_Free( handler );                                       
  }                                                                   
}                                                                     
  110aca:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110acd:	5b                   	pop    %ebx                           
  110ace:	5e                   	pop    %esi                           
  110acf:	5f                   	pop    %edi                           
  110ad0:	c9                   	leave                                 
  110ad1:	c3                   	ret                                   
                                                                      

0010a330 <_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) {
  10a330:	55                   	push   %ebp                           
  10a331:	89 e5                	mov    %esp,%ebp                      
  10a333:	53                   	push   %ebx                           
  10a334:	83 ec 04             	sub    $0x4,%esp                      
  10a337:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
  10a33a:	ff 43 68             	incl   0x68(%ebx)                     
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
  10a33d:	83 7b 54 00          	cmpl   $0x0,0x54(%ebx)                
  10a341:	75 06                	jne    10a349 <_POSIX_Timer_TSR+0x19> 
  10a343:	83 7b 58 00          	cmpl   $0x0,0x58(%ebx)                
  10a347:	74 34                	je     10a37d <_POSIX_Timer_TSR+0x4d> <== NEVER TAKEN
       ( ptimer->timer_data.it_interval.tv_nsec != 0 ) ) {            
    activated = _POSIX_Timer_Insert_helper(                           
  10a349:	83 ec 0c             	sub    $0xc,%esp                      
  10a34c:	53                   	push   %ebx                           
  10a34d:	68 30 a3 10 00       	push   $0x10a330                      
  10a352:	ff 73 08             	pushl  0x8(%ebx)                      
  10a355:	ff 73 64             	pushl  0x64(%ebx)                     
  10a358:	8d 43 10             	lea    0x10(%ebx),%eax                
  10a35b:	50                   	push   %eax                           
  10a35c:	e8 c3 54 00 00       	call   10f824 <_POSIX_Timer_Insert_helper>
      ptimer->ticks,                                                  
      ptimer->Object.id,                                              
      _POSIX_Timer_TSR,                                               
      ptimer                                                          
    );                                                                
    if ( !activated )                                                 
  10a361:	83 c4 20             	add    $0x20,%esp                     
  10a364:	84 c0                	test   %al,%al                        
  10a366:	74 30                	je     10a398 <_POSIX_Timer_TSR+0x68> <== NEVER TAKEN
      return;                                                         
                                                                      
    /* Store the time when the timer was started again */             
    _TOD_Get( &ptimer->time );                                        
  10a368:	83 ec 0c             	sub    $0xc,%esp                      
  10a36b:	8d 43 6c             	lea    0x6c(%ebx),%eax                
  10a36e:	50                   	push   %eax                           
  10a36f:	e8 4c 14 00 00       	call   10b7c0 <_TOD_Get>              
                                                                      
    /* The state really did not change but just to be safe */         
    ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                     
  10a374:	c6 43 3c 03          	movb   $0x3,0x3c(%ebx)                
  10a378:	83 c4 10             	add    $0x10,%esp                     
  10a37b:	eb 04                	jmp    10a381 <_POSIX_Timer_TSR+0x51> 
  } else {                                                            
   /* Indicates that the timer is stopped */                          
   ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;                     
  10a37d:	c6 43 3c 04          	movb   $0x4,0x3c(%ebx)                <== NOT EXECUTED
  /*                                                                  
   * The sending of the signal to the process running the handling function
   * specified for that signal is simulated                           
   */                                                                 
                                                                      
  if ( pthread_kill ( ptimer->thread_id, ptimer->inf.sigev_signo ) ) {
  10a381:	50                   	push   %eax                           
  10a382:	50                   	push   %eax                           
  10a383:	ff 73 44             	pushl  0x44(%ebx)                     
  10a386:	ff 73 38             	pushl  0x38(%ebx)                     
  10a389:	e8 6a 50 00 00       	call   10f3f8 <pthread_kill>          
  }                                                                   
                                                                      
  /* After the signal handler returns, the count of expirations of the
   * timer must be set to 0.                                          
   */                                                                 
  ptimer->overrun = 0;                                                
  10a38e:	c7 43 68 00 00 00 00 	movl   $0x0,0x68(%ebx)                
  10a395:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10a398:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10a39b:	c9                   	leave                                 
  10a39c:	c3                   	ret                                   
                                                                      

00110b7c <_POSIX_signals_Check_signal>: bool _POSIX_signals_Check_signal( POSIX_API_Control *api, int signo, bool is_global ) {
  110b7c:	55                   	push   %ebp                           
  110b7d:	89 e5                	mov    %esp,%ebp                      
  110b7f:	57                   	push   %edi                           
  110b80:	56                   	push   %esi                           
  110b81:	53                   	push   %ebx                           
  110b82:	83 ec 38             	sub    $0x38,%esp                     
  110b85:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  110b88:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
  110b8b:	6a 01                	push   $0x1                           
  110b8d:	0f b6 45 10          	movzbl 0x10(%ebp),%eax                
  110b91:	50                   	push   %eax                           
  110b92:	8d 7d dc             	lea    -0x24(%ebp),%edi               
  110b95:	57                   	push   %edi                           
  110b96:	56                   	push   %esi                           
  110b97:	53                   	push   %ebx                           
  110b98:	e8 5b 00 00 00       	call   110bf8 <_POSIX_signals_Clear_signals>
  110b9d:	88 c2                	mov    %al,%dl                        
  110b9f:	83 c4 20             	add    $0x20,%esp                     
                                       is_global, true ) )            
    return false;                                                     
  110ba2:	31 c0                	xor    %eax,%eax                      
)                                                                     
{                                                                     
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
  110ba4:	84 d2                	test   %dl,%dl                        
  110ba6:	74 46                	je     110bee <_POSIX_signals_Check_signal+0x72>
  #endif                                                              
                                                                      
  /*                                                                  
   *  Just to prevent sending a signal which is currently being ignored.
   */                                                                 
  if ( _POSIX_signals_Vectors[ signo ].sa_handler == SIG_IGN )        
  110ba8:	6b ce 0c             	imul   $0xc,%esi,%ecx                 
  110bab:	8b 91 4c 47 12 00    	mov    0x12474c(%ecx),%edx            
  110bb1:	83 fa 01             	cmp    $0x1,%edx                      
  110bb4:	74 38                	je     110bee <_POSIX_signals_Check_signal+0x72><== NEVER TAKEN
    return false;                                                     
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
  110bb6:	8b 83 cc 00 00 00    	mov    0xcc(%ebx),%eax                
  110bbc:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
  110bbf:	0b 81 48 47 12 00    	or     0x124748(%ecx),%eax            
  110bc5:	89 83 cc 00 00 00    	mov    %eax,0xcc(%ebx)                
                                                                      
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
  110bcb:	83 b9 44 47 12 00 02 	cmpl   $0x2,0x124744(%ecx)            
  110bd2:	75 06                	jne    110bda <_POSIX_signals_Check_signal+0x5e>
    case SA_SIGINFO:                                                  
      (*_POSIX_signals_Vectors[ signo ].sa_sigaction)(                
  110bd4:	50                   	push   %eax                           
  110bd5:	6a 00                	push   $0x0                           
  110bd7:	57                   	push   %edi                           
  110bd8:	eb 03                	jmp    110bdd <_POSIX_signals_Check_signal+0x61>
        &siginfo_struct,                                              
        NULL        /* context is undefined per 1003.1b-1993, p. 66 */
      );                                                              
      break;                                                          
    default:                                                          
      (*_POSIX_signals_Vectors[ signo ].sa_handler)( signo );         
  110bda:	83 ec 0c             	sub    $0xc,%esp                      
  110bdd:	56                   	push   %esi                           
  110bde:	ff d2                	call   *%edx                          
      break;                                                          
  110be0:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  /*                                                                  
   *  Restore the previous set of blocked signals                     
   */                                                                 
  api->signals_blocked = saved_signals_blocked;                       
  110be3:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  110be6:	89 83 cc 00 00 00    	mov    %eax,0xcc(%ebx)                
                                                                      
  return true;                                                        
  110bec:	b0 01                	mov    $0x1,%al                       
}                                                                     
  110bee:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110bf1:	5b                   	pop    %ebx                           
  110bf2:	5e                   	pop    %esi                           
  110bf3:	5f                   	pop    %edi                           
  110bf4:	c9                   	leave                                 
  110bf5:	c3                   	ret                                   
                                                                      

001110ec <_POSIX_signals_Clear_process_signals>: */ void _POSIX_signals_Clear_process_signals( int signo ) {
  1110ec:	55                   	push   %ebp                           
  1110ed:	89 e5                	mov    %esp,%ebp                      
  1110ef:	53                   	push   %ebx                           
  1110f0:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  clear_signal = true;                                                
  mask         = signo_to_mask( signo );                              
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
  1110f3:	9c                   	pushf                                 
  1110f4:	fa                   	cli                                   
  1110f5:	5a                   	pop    %edx                           
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
  1110f6:	6b c1 0c             	imul   $0xc,%ecx,%eax                 
  1110f9:	83 b8 44 47 12 00 02 	cmpl   $0x2,0x124744(%eax)            
  111100:	75 0e                	jne    111110 <_POSIX_signals_Clear_process_signals+0x24>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  111102:	8d 98 40 49 12 00    	lea    0x124940(%eax),%ebx            
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
  111108:	39 98 3c 49 12 00    	cmp    %ebx,0x12493c(%eax)            
  11110e:	75 0e                	jne    11111e <_POSIX_signals_Clear_process_signals+0x32><== NEVER TAKEN
  111110:	49                   	dec    %ecx                           
  111111:	b8 fe ff ff ff       	mov    $0xfffffffe,%eax               
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
  111116:	d3 c0                	rol    %cl,%eax                       
  111118:	21 05 38 49 12 00    	and    %eax,0x124938                  
    }                                                                 
  _ISR_Enable( level );                                               
  11111e:	52                   	push   %edx                           
  11111f:	9d                   	popf                                  
}                                                                     
  111120:	5b                   	pop    %ebx                           
  111121:	c9                   	leave                                 
  111122:	c3                   	ret                                   
                                                                      

0010abd4 <_POSIX_signals_Get_highest>: #include <rtems/score/isr.h> int _POSIX_signals_Get_highest( sigset_t set ) {
  10abd4:	55                   	push   %ebp                           
  10abd5:	89 e5                	mov    %esp,%ebp                      
  10abd7:	56                   	push   %esi                           
  10abd8:	53                   	push   %ebx                           
  10abd9:	8b 55 08             	mov    0x8(%ebp),%edx                 
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
  10abdc:	b8 1b 00 00 00       	mov    $0x1b,%eax                     
  10abe1:	bb 01 00 00 00       	mov    $0x1,%ebx                      
#include <rtems/posix/psignal.h>                                      
#include <rtems/seterr.h>                                             
#include <rtems/posix/time.h>                                         
#include <rtems/score/isr.h>                                          
                                                                      
int _POSIX_signals_Get_highest(                                       
  10abe6:	8d 48 ff             	lea    -0x1(%eax),%ecx                
  10abe9:	89 de                	mov    %ebx,%esi                      
  10abeb:	d3 e6                	shl    %cl,%esi                       
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
    if ( set & signo_to_mask( signo ) ) {                             
  10abed:	85 d6                	test   %edx,%esi                      
  10abef:	75 1e                	jne    10ac0f <_POSIX_signals_Get_highest+0x3b><== NEVER TAKEN
  sigset_t   set                                                      
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
  10abf1:	40                   	inc    %eax                           
  10abf2:	83 f8 20             	cmp    $0x20,%eax                     
  10abf5:	75 ef                	jne    10abe6 <_POSIX_signals_Get_highest+0x12>
  10abf7:	b0 01                	mov    $0x1,%al                       
  10abf9:	bb 01 00 00 00       	mov    $0x1,%ebx                      
#include <rtems/posix/psignal.h>                                      
#include <rtems/seterr.h>                                             
#include <rtems/posix/time.h>                                         
#include <rtems/score/isr.h>                                          
                                                                      
int _POSIX_signals_Get_highest(                                       
  10abfe:	8d 48 ff             	lea    -0x1(%eax),%ecx                
  10ac01:	89 de                	mov    %ebx,%esi                      
  10ac03:	d3 e6                	shl    %cl,%esi                       
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
    if ( set & signo_to_mask( signo ) ) {                             
  10ac05:	85 d6                	test   %edx,%esi                      
  10ac07:	75 06                	jne    10ac0f <_POSIX_signals_Get_highest+0x3b>
   */                                                                 
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
  10ac09:	40                   	inc    %eax                           
  10ac0a:	83 f8 1b             	cmp    $0x1b,%eax                     
  10ac0d:	75 ef                	jne    10abfe <_POSIX_signals_Get_highest+0x2a><== 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;                                                       
}                                                                     
  10ac0f:	5b                   	pop    %ebx                           
  10ac10:	5e                   	pop    %esi                           
  10ac11:	c9                   	leave                                 
  10ac12:	c3                   	ret                                   
                                                                      

00121af8 <_POSIX_signals_Unblock_thread>: bool _POSIX_signals_Unblock_thread( Thread_Control *the_thread, int signo, siginfo_t *info ) {
  121af8:	55                   	push   %ebp                           
  121af9:	89 e5                	mov    %esp,%ebp                      
  121afb:	57                   	push   %edi                           
  121afc:	56                   	push   %esi                           
  121afd:	53                   	push   %ebx                           
  121afe:	83 ec 0c             	sub    $0xc,%esp                      
  121b01:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  121b04:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  POSIX_API_Control  *api;                                            
  sigset_t            mask;                                           
  siginfo_t          *the_info = NULL;                                
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  121b07:	8b 83 f8 00 00 00    	mov    0xf8(%ebx),%eax                
  121b0d:	8d 4e ff             	lea    -0x1(%esi),%ecx                
  121b10:	ba 01 00 00 00       	mov    $0x1,%edx                      
  121b15:	d3 e2                	shl    %cl,%edx                       
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
  121b17:	8b 4b 10             	mov    0x10(%ebx),%ecx                
  121b1a:	89 cf                	mov    %ecx,%edi                      
  121b1c:	81 e7 00 80 00 10    	and    $0x10008000,%edi               
  121b22:	81 ff 00 80 00 10    	cmp    $0x10008000,%edi               
  121b28:	75 55                	jne    121b7f <_POSIX_signals_Unblock_thread+0x87>
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
  121b2a:	85 53 30             	test   %edx,0x30(%ebx)                
  121b2d:	75 12                	jne    121b41 <_POSIX_signals_Unblock_thread+0x49>
  121b2f:	8b 88 cc 00 00 00    	mov    0xcc(%eax),%ecx                
  121b35:	f7 d1                	not    %ecx                           
                                                                      
    /*                                                                
     *  This should only be reached via pthread_kill().               
     */                                                               
                                                                      
    return false;                                                     
  121b37:	31 c0                	xor    %eax,%eax                      
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
  121b39:	85 ca                	test   %ecx,%edx                      
  121b3b:	0f 84 a5 00 00 00    	je     121be6 <_POSIX_signals_Unblock_thread+0xee>
      the_thread->Wait.return_code = EINTR;                           
  121b41:	c7 43 34 04 00 00 00 	movl   $0x4,0x34(%ebx)                
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
  121b48:	8b 43 28             	mov    0x28(%ebx),%eax                
                                                                      
      if ( !info ) {                                                  
  121b4b:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  121b4f:	75 12                	jne    121b63 <_POSIX_signals_Unblock_thread+0x6b>
        the_info->si_signo = signo;                                   
  121b51:	89 30                	mov    %esi,(%eax)                    
        the_info->si_code = SI_USER;                                  
  121b53:	c7 40 04 01 00 00 00 	movl   $0x1,0x4(%eax)                 
        the_info->si_value.sival_int = 0;                             
  121b5a:	c7 40 08 00 00 00 00 	movl   $0x0,0x8(%eax)                 
  121b61:	eb 0c                	jmp    121b6f <_POSIX_signals_Unblock_thread+0x77>
      } else {                                                        
        *the_info = *info;                                            
  121b63:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  121b68:	89 c7                	mov    %eax,%edi                      
  121b6a:	8b 75 10             	mov    0x10(%ebp),%esi                
  121b6d:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
      }                                                               
                                                                      
      _Thread_queue_Extract_with_proxy( the_thread );                 
  121b6f:	83 ec 0c             	sub    $0xc,%esp                      
  121b72:	53                   	push   %ebx                           
  121b73:	e8 10 f2 fe ff       	call   110d88 <_Thread_queue_Extract_with_proxy>
      return true;                                                    
  121b78:	83 c4 10             	add    $0x10,%esp                     
  121b7b:	b0 01                	mov    $0x1,%al                       
  121b7d:	eb 67                	jmp    121be6 <_POSIX_signals_Unblock_thread+0xee>
  }                                                                   
                                                                      
  /*                                                                  
   *  Thread is not waiting due to a sigwait.                         
   */                                                                 
  if ( ~api->signals_blocked & mask ) {                               
  121b7f:	8b b0 cc 00 00 00    	mov    0xcc(%eax),%esi                
  121b85:	f7 d6                	not    %esi                           
    } else if ( the_thread->current_state == STATES_READY ) {         
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
	_Context_Switch_necessary = true;                                    
    }                                                                 
  }                                                                   
  return false;                                                       
  121b87:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  /*                                                                  
   *  Thread is not waiting due to a sigwait.                         
   */                                                                 
  if ( ~api->signals_blocked & mask ) {                               
  121b89:	85 f2                	test   %esi,%edx                      
  121b8b:	74 59                	je     121be6 <_POSIX_signals_Unblock_thread+0xee>
     *      it is not blocked, THEN                                   
     *        we need to dispatch at the end of this ISR.             
     *    + Any other combination, do nothing.                        
     */                                                               
                                                                      
    if ( the_thread->current_state & STATES_INTERRUPTIBLE_BY_SIGNAL ) {
  121b8d:	f7 c1 00 00 00 10    	test   $0x10000000,%ecx               
  121b93:	74 35                	je     121bca <_POSIX_signals_Unblock_thread+0xd2>
      the_thread->Wait.return_code = EINTR;                           
  121b95:	c7 43 34 04 00 00 00 	movl   $0x4,0x34(%ebx)                
      #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) ){             
  121b9c:	80 e1 08             	and    $0x8,%cl                       
  121b9f:	74 45                	je     121be6 <_POSIX_signals_Unblock_thread+0xee><== NEVER TAKEN
	    if ( _Watchdog_Is_active( &the_thread->Timer ) )                 
  121ba1:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  121ba5:	75 0f                	jne    121bb6 <_POSIX_signals_Unblock_thread+0xbe><== NEVER TAKEN
	      (void) _Watchdog_Remove( &the_thread->Timer );                 
  121ba7:	83 ec 0c             	sub    $0xc,%esp                      
  121baa:	8d 43 48             	lea    0x48(%ebx),%eax                
  121bad:	50                   	push   %eax                           
  121bae:	e8 61 fa fe ff       	call   111614 <_Watchdog_Remove>      
  121bb3:	83 c4 10             	add    $0x10,%esp                     
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  121bb6:	50                   	push   %eax                           
  121bb7:	50                   	push   %eax                           
  121bb8:	68 f8 ff 03 10       	push   $0x1003fff8                    
  121bbd:	53                   	push   %ebx                           
  121bbe:	e8 f1 e7 fe ff       	call   1103b4 <_Thread_Clear_state>   
  121bc3:	83 c4 10             	add    $0x10,%esp                     
    } else if ( the_thread->current_state == STATES_READY ) {         
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
	_Context_Switch_necessary = true;                                    
    }                                                                 
  }                                                                   
  return false;                                                       
  121bc6:	31 c0                	xor    %eax,%eax                      
  121bc8:	eb 1c                	jmp    121be6 <_POSIX_signals_Unblock_thread+0xee>
	  if ( _States_Is_delaying(the_thread->current_state) ){             
	    if ( _Watchdog_Is_active( &the_thread->Timer ) )                 
	      (void) _Watchdog_Remove( &the_thread->Timer );                 
	    _Thread_Unblock( the_thread );                                   
	  }                                                                  
    } else if ( the_thread->current_state == STATES_READY ) {         
  121bca:	85 c9                	test   %ecx,%ecx                      
  121bcc:	75 18                	jne    121be6 <_POSIX_signals_Unblock_thread+0xee><== NEVER TAKEN
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
  121bce:	83 3d a4 a8 12 00 00 	cmpl   $0x0,0x12a8a4                  
  121bd5:	74 0f                	je     121be6 <_POSIX_signals_Unblock_thread+0xee>
  121bd7:	3b 1d a8 a8 12 00    	cmp    0x12a8a8,%ebx                  
  121bdd:	75 07                	jne    121be6 <_POSIX_signals_Unblock_thread+0xee><== NEVER TAKEN
	_Context_Switch_necessary = true;                                    
  121bdf:	c6 05 b4 a8 12 00 01 	movb   $0x1,0x12a8b4                  
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
  121be6:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  121be9:	5b                   	pop    %ebx                           
  121bea:	5e                   	pop    %esi                           
  121beb:	5f                   	pop    %edi                           
  121bec:	c9                   	leave                                 
  121bed:	c3                   	ret                                   
                                                                      

0010ef19 <_RTEMS_tasks_Post_switch_extension>: */ void _RTEMS_tasks_Post_switch_extension( Thread_Control *executing ) {
  10ef19:	55                   	push   %ebp                           
  10ef1a:	89 e5                	mov    %esp,%ebp                      
  10ef1c:	57                   	push   %edi                           
  10ef1d:	56                   	push   %esi                           
  10ef1e:	53                   	push   %ebx                           
  10ef1f:	83 ec 1c             	sub    $0x1c,%esp                     
  RTEMS_API_Control *api;                                             
  ASR_Information   *asr;                                             
  rtems_signal_set   signal_set;                                      
  Modes_Control      prev_mode;                                       
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  10ef22:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10ef25:	8b 98 f4 00 00 00    	mov    0xf4(%eax),%ebx                
  if ( !api )                                                         
  10ef2b:	85 db                	test   %ebx,%ebx                      
  10ef2d:	74 45                	je     10ef74 <_RTEMS_tasks_Post_switch_extension+0x5b><== NEVER TAKEN
   *  Signal Processing                                               
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
  10ef2f:	9c                   	pushf                                 
  10ef30:	fa                   	cli                                   
  10ef31:	58                   	pop    %eax                           
    signal_set = asr->signals_posted;                                 
  10ef32:	8b 7b 14             	mov    0x14(%ebx),%edi                
    asr->signals_posted = 0;                                          
  10ef35:	c7 43 14 00 00 00 00 	movl   $0x0,0x14(%ebx)                
  _ISR_Enable( level );                                               
  10ef3c:	50                   	push   %eax                           
  10ef3d:	9d                   	popf                                  
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
  10ef3e:	85 ff                	test   %edi,%edi                      
  10ef40:	74 32                	je     10ef74 <_RTEMS_tasks_Post_switch_extension+0x5b>
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
  10ef42:	ff 43 1c             	incl   0x1c(%ebx)                     
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
  10ef45:	50                   	push   %eax                           
  10ef46:	8d 75 e4             	lea    -0x1c(%ebp),%esi               
  10ef49:	56                   	push   %esi                           
  10ef4a:	68 ff ff 00 00       	push   $0xffff                        
  10ef4f:	ff 73 10             	pushl  0x10(%ebx)                     
  10ef52:	e8 09 1e 00 00       	call   110d60 <rtems_task_mode>       
                                                                      
  (*asr->handler)( signal_set );                                      
  10ef57:	89 3c 24             	mov    %edi,(%esp)                    
  10ef5a:	ff 53 0c             	call   *0xc(%ebx)                     
                                                                      
  asr->nest_level -= 1;                                               
  10ef5d:	ff 4b 1c             	decl   0x1c(%ebx)                     
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
  10ef60:	83 c4 0c             	add    $0xc,%esp                      
  10ef63:	56                   	push   %esi                           
  10ef64:	68 ff ff 00 00       	push   $0xffff                        
  10ef69:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10ef6c:	e8 ef 1d 00 00       	call   110d60 <rtems_task_mode>       
  10ef71:	83 c4 10             	add    $0x10,%esp                     
                                                                      
}                                                                     
  10ef74:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ef77:	5b                   	pop    %ebx                           
  10ef78:	5e                   	pop    %esi                           
  10ef79:	5f                   	pop    %edi                           
  10ef7a:	c9                   	leave                                 
  10ef7b:	c3                   	ret                                   
                                                                      

0010b42c <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
  10b42c:	55                   	push   %ebp                           
  10b42d:	89 e5                	mov    %esp,%ebp                      
  10b42f:	53                   	push   %ebx                           
  10b430:	83 ec 18             	sub    $0x18,%esp                     
                                                                      
  /*                                                                  
   *  When we get here, the Timer is already off the chain so we do not
   *  have to worry about that -- hence no _Watchdog_Remove().        
   */                                                                 
  the_period = _Rate_monotonic_Get( id, &location );                  
  10b433:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10b436:	50                   	push   %eax                           
  10b437:	ff 75 08             	pushl  0x8(%ebp)                      
  10b43a:	68 14 72 12 00       	push   $0x127214                      
  10b43f:	e8 dc 1a 00 00       	call   10cf20 <_Objects_Get>          
  10b444:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  10b446:	83 c4 10             	add    $0x10,%esp                     
  10b449:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10b44d:	75 64                	jne    10b4b3 <_Rate_monotonic_Timeout+0x87><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
  10b44f:	8b 40 40             	mov    0x40(%eax),%eax                
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
  10b452:	f6 40 11 40          	testb  $0x40,0x11(%eax)               
  10b456:	74 18                	je     10b470 <_Rate_monotonic_Timeout+0x44>
  10b458:	8b 53 08             	mov    0x8(%ebx),%edx                 
  10b45b:	39 50 20             	cmp    %edx,0x20(%eax)                
  10b45e:	75 10                	jne    10b470 <_Rate_monotonic_Timeout+0x44>
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  10b460:	52                   	push   %edx                           
  10b461:	52                   	push   %edx                           
  10b462:	68 f8 ff 03 10       	push   $0x1003fff8                    
  10b467:	50                   	push   %eax                           
  10b468:	e8 1b 1f 00 00       	call   10d388 <_Thread_Clear_state>   
            the_thread->Wait.id == the_period->Object.id ) {          
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
  10b46d:	59                   	pop    %ecx                           
  10b46e:	eb 10                	jmp    10b480 <_Rate_monotonic_Timeout+0x54>
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
  10b470:	83 7b 38 01          	cmpl   $0x1,0x38(%ebx)                
  10b474:	75 2b                	jne    10b4a1 <_Rate_monotonic_Timeout+0x75>
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
  10b476:	c7 43 38 03 00 00 00 	movl   $0x3,0x38(%ebx)                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
  10b47d:	83 ec 0c             	sub    $0xc,%esp                      
  10b480:	53                   	push   %ebx                           
  10b481:	e8 e8 fa ff ff       	call   10af6e <_Rate_monotonic_Initiate_statistics>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10b486:	8b 43 3c             	mov    0x3c(%ebx),%eax                
  10b489:	89 43 1c             	mov    %eax,0x1c(%ebx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10b48c:	58                   	pop    %eax                           
  10b48d:	5a                   	pop    %edx                           
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
  10b48e:	83 c3 10             	add    $0x10,%ebx                     
  10b491:	53                   	push   %ebx                           
  10b492:	68 d0 73 12 00       	push   $0x1273d0                      
  10b497:	e8 c8 31 00 00       	call   10e664 <_Watchdog_Insert>      
  10b49c:	83 c4 10             	add    $0x10,%esp                     
  10b49f:	eb 07                	jmp    10b4a8 <_Rate_monotonic_Timeout+0x7c>
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
  10b4a1:	c7 43 38 04 00 00 00 	movl   $0x4,0x38(%ebx)                
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10b4a8:	a1 08 73 12 00       	mov    0x127308,%eax                  
  10b4ad:	48                   	dec    %eax                           
  10b4ae:	a3 08 73 12 00       	mov    %eax,0x127308                  
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
  10b4b3:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b4b6:	c9                   	leave                                 
  10b4b7:	c3                   	ret                                   
                                                                      

0010ad34 <_TOD_Validate>: */ bool _TOD_Validate( const rtems_time_of_day *the_tod ) {
  10ad34:	55                   	push   %ebp                           
  10ad35:	89 e5                	mov    %esp,%ebp                      
  10ad37:	56                   	push   %esi                           
  10ad38:	53                   	push   %ebx                           
  10ad39:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  10ad3c:	8b 35 64 44 12 00    	mov    0x124464,%esi                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
     return false;                                                    
  10ad42:	31 db                	xor    %ebx,%ebx                      
  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)                                  ||                  
  10ad44:	85 c9                	test   %ecx,%ecx                      
  10ad46:	74 57                	je     10ad9f <_TOD_Validate+0x6b>    <== NEVER TAKEN
)                                                                     
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
  10ad48:	b8 40 42 0f 00       	mov    $0xf4240,%eax                  
  10ad4d:	31 d2                	xor    %edx,%edx                      
  10ad4f:	f7 f6                	div    %esi                           
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
  10ad51:	39 41 18             	cmp    %eax,0x18(%ecx)                
  10ad54:	73 49                	jae    10ad9f <_TOD_Validate+0x6b>    
      (the_tod->ticks  >= ticks_per_second)       ||                  
  10ad56:	83 79 14 3b          	cmpl   $0x3b,0x14(%ecx)               
  10ad5a:	77 43                	ja     10ad9f <_TOD_Validate+0x6b>    
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
  10ad5c:	83 79 10 3b          	cmpl   $0x3b,0x10(%ecx)               
  10ad60:	77 3d                	ja     10ad9f <_TOD_Validate+0x6b>    
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
  10ad62:	83 79 0c 17          	cmpl   $0x17,0xc(%ecx)                
  10ad66:	77 37                	ja     10ad9f <_TOD_Validate+0x6b>    
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
  10ad68:	8b 41 04             	mov    0x4(%ecx),%eax                 
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
      (the_tod->ticks  >= ticks_per_second)       ||                  
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
  10ad6b:	85 c0                	test   %eax,%eax                      
  10ad6d:	74 30                	je     10ad9f <_TOD_Validate+0x6b>    <== NEVER TAKEN
      (the_tod->month  == 0)                      ||                  
  10ad6f:	83 f8 0c             	cmp    $0xc,%eax                      
  10ad72:	77 2b                	ja     10ad9f <_TOD_Validate+0x6b>    
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
  10ad74:	8b 31                	mov    (%ecx),%esi                    
      (the_tod->ticks  >= ticks_per_second)       ||                  
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
  10ad76:	81 fe c3 07 00 00    	cmp    $0x7c3,%esi                    
  10ad7c:	76 21                	jbe    10ad9f <_TOD_Validate+0x6b>    
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
  10ad7e:	8b 51 08             	mov    0x8(%ecx),%edx                 
      (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)          ||                  
  10ad81:	85 d2                	test   %edx,%edx                      
  10ad83:	74 1a                	je     10ad9f <_TOD_Validate+0x6b>    <== NEVER TAKEN
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
  10ad85:	83 e6 03             	and    $0x3,%esi                      
  10ad88:	75 09                	jne    10ad93 <_TOD_Validate+0x5f>    
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
  10ad8a:	8b 04 85 60 16 12 00 	mov    0x121660(,%eax,4),%eax         
  10ad91:	eb 07                	jmp    10ad9a <_TOD_Validate+0x66>    
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
  10ad93:	8b 04 85 2c 16 12 00 	mov    0x12162c(,%eax,4),%eax         
 *    false - if the the_tod is invalid                               
 *                                                                    
 *  NOTE: This routine only works for leap-years through 2099.        
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
  10ad9a:	39 c2                	cmp    %eax,%edx                      
  10ad9c:	0f 96 c3             	setbe  %bl                            
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
  10ad9f:	88 d8                	mov    %bl,%al                        
  10ada1:	5b                   	pop    %ebx                           
  10ada2:	5e                   	pop    %esi                           
  10ada3:	c9                   	leave                                 
  10ada4:	c3                   	ret                                   
                                                                      

0010bac8 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
  10bac8:	55                   	push   %ebp                           
  10bac9:	89 e5                	mov    %esp,%ebp                      
  10bacb:	57                   	push   %edi                           
  10bacc:	56                   	push   %esi                           
  10bacd:	53                   	push   %ebx                           
  10bace:	83 ec 28             	sub    $0x28,%esp                     
  10bad1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10bad4:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10bad7:	8a 45 10             	mov    0x10(%ebp),%al                 
  10bada:	88 45 e7             	mov    %al,-0x19(%ebp)                
*/                                                                    
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
  10badd:	8b 73 10             	mov    0x10(%ebx),%esi                
  /*                                                                  
   * 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 );                                
  10bae0:	53                   	push   %ebx                           
  10bae1:	e8 42 0d 00 00       	call   10c828 <_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 )                  
  10bae6:	83 c4 10             	add    $0x10,%esp                     
  10bae9:	39 7b 14             	cmp    %edi,0x14(%ebx)                
  10baec:	74 0c                	je     10bafa <_Thread_Change_priority+0x32>
    _Thread_Set_priority( the_thread, new_priority );                 
  10baee:	50                   	push   %eax                           
  10baef:	50                   	push   %eax                           
  10baf0:	57                   	push   %edi                           
  10baf1:	53                   	push   %ebx                           
  10baf2:	e8 f9 0b 00 00       	call   10c6f0 <_Thread_Set_priority>  
  10baf7:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  _ISR_Disable( level );                                              
  10bafa:	9c                   	pushf                                 
  10bafb:	fa                   	cli                                   
  10bafc:	59                   	pop    %ecx                           
                                                                      
  /*                                                                  
   *  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;                                  
  10bafd:	8b 43 10             	mov    0x10(%ebx),%eax                
  if ( state != STATES_TRANSIENT ) {                                  
  10bb00:	83 f8 04             	cmp    $0x4,%eax                      
  10bb03:	74 2f                	je     10bb34 <_Thread_Change_priority+0x6c>
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
  10bb05:	83 e6 04             	and    $0x4,%esi                      
  10bb08:	75 08                	jne    10bb12 <_Thread_Change_priority+0x4a><== NEVER TAKEN
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
  10bb0a:	89 c2                	mov    %eax,%edx                      
  10bb0c:	83 e2 fb             	and    $0xfffffffb,%edx               
  10bb0f:	89 53 10             	mov    %edx,0x10(%ebx)                
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
  10bb12:	51                   	push   %ecx                           
  10bb13:	9d                   	popf                                  
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
  10bb14:	a9 e0 be 03 00       	test   $0x3bee0,%eax                  
  10bb19:	0f 84 c0 00 00 00    	je     10bbdf <_Thread_Change_priority+0x117>
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
  10bb1f:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  10bb22:	8b 43 44             	mov    0x44(%ebx),%eax                
  10bb25:	89 45 08             	mov    %eax,0x8(%ebp)                 
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Context_Switch_necessary = true;                                 
  _ISR_Enable( level );                                               
}                                                                     
  10bb28:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bb2b:	5b                   	pop    %ebx                           
  10bb2c:	5e                   	pop    %esi                           
  10bb2d:	5f                   	pop    %edi                           
  10bb2e:	c9                   	leave                                 
    /* 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 );    
  10bb2f:	e9 34 0b 00 00       	jmp    10c668 <_Thread_queue_Requeue> 
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
  10bb34:	83 e6 04             	and    $0x4,%esi                      
  10bb37:	75 53                	jne    10bb8c <_Thread_Change_priority+0xc4><== NEVER TAKEN
     *  Interrupts are STILL disabled.                                
     *  We now know the thread will be in the READY state when we remove
     *  the TRANSIENT state.  So we have to place it on the appropriate
     *  Ready Queue with interrupts off.                              
     */                                                               
    the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
  10bb39:	c7 43 10 00 00 00 00 	movl   $0x0,0x10(%ebx)                
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10bb40:	8b 83 90 00 00 00    	mov    0x90(%ebx),%eax                
  10bb46:	66 8b 93 96 00 00 00 	mov    0x96(%ebx),%dx                 
  10bb4d:	66 09 10             	or     %dx,(%eax)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10bb50:	66 a1 88 42 12 00    	mov    0x124288,%ax                   
  10bb56:	0b 83 94 00 00 00    	or     0x94(%ebx),%eax                
  10bb5c:	66 a3 88 42 12 00    	mov    %ax,0x124288                   
                                                                      
    _Priority_Add_to_bit_map( &the_thread->Priority_map );            
    if ( prepend_it )                                                 
  10bb62:	80 7d e7 00          	cmpb   $0x0,-0x19(%ebp)               
  10bb66:	8b 83 8c 00 00 00    	mov    0x8c(%ebx),%eax                
  10bb6c:	74 0e                	je     10bb7c <_Thread_Change_priority+0xb4>
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  10bb6e:	89 43 04             	mov    %eax,0x4(%ebx)                 
  before_node           = after_node->next;                           
  10bb71:	8b 10                	mov    (%eax),%edx                    
  after_node->next      = the_node;                                   
  10bb73:	89 18                	mov    %ebx,(%eax)                    
  the_node->next        = before_node;                                
  10bb75:	89 13                	mov    %edx,(%ebx)                    
  before_node->previous = the_node;                                   
  10bb77:	89 5a 04             	mov    %ebx,0x4(%edx)                 
  10bb7a:	eb 10                	jmp    10bb8c <_Thread_Change_priority+0xc4>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10bb7c:	8d 50 04             	lea    0x4(%eax),%edx                 
  10bb7f:	89 13                	mov    %edx,(%ebx)                    
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  10bb81:	8b 50 08             	mov    0x8(%eax),%edx                 
  the_chain->last     = the_node;                                     
  10bb84:	89 58 08             	mov    %ebx,0x8(%eax)                 
  old_last_node->next = the_node;                                     
  10bb87:	89 1a                	mov    %ebx,(%edx)                    
  the_node->previous  = old_last_node;                                
  10bb89:	89 53 04             	mov    %edx,0x4(%ebx)                 
      _Chain_Prepend_unprotected( the_thread->ready, &the_thread->Object.Node );
    else                                                              
      _Chain_Append_unprotected( the_thread->ready, &the_thread->Object.Node );
  }                                                                   
                                                                      
  _ISR_Flash( level );                                                
  10bb8c:	51                   	push   %ecx                           
  10bb8d:	9d                   	popf                                  
  10bb8e:	fa                   	cli                                   
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 );         
  10bb8f:	66 8b 1d 88 42 12 00 	mov    0x124288,%bx                   
  10bb96:	31 c0                	xor    %eax,%eax                      
  10bb98:	89 c2                	mov    %eax,%edx                      
  10bb9a:	66 0f bc d3          	bsf    %bx,%dx                        
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
  10bb9e:	0f b7 d2             	movzwl %dx,%edx                       
  10bba1:	66 8b 9c 12 f8 42 12 	mov    0x1242f8(%edx,%edx,1),%bx      
  10bba8:	00                                                          
  10bba9:	66 0f bc c3          	bsf    %bx,%ax                        
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
  10bbad:	c1 e2 04             	shl    $0x4,%edx                      
  10bbb0:	0f b7 c0             	movzwl %ax,%eax                       
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
    _Thread_Ready_chain[ _Priority_Get_highest() ].first;             
  10bbb3:	8d 04 02             	lea    (%edx,%eax,1),%eax             
  10bbb6:	6b c0 0c             	imul   $0xc,%eax,%eax                 
  10bbb9:	03 05 b0 41 12 00    	add    0x1241b0,%eax                  
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
  10bbbf:	8b 10                	mov    (%eax),%edx                    
  10bbc1:	89 15 38 47 12 00    	mov    %edx,0x124738                  
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
  10bbc7:	a1 34 47 12 00       	mov    0x124734,%eax                  
   *  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() &&                       
  10bbcc:	39 d0                	cmp    %edx,%eax                      
  10bbce:	74 0d                	je     10bbdd <_Thread_Change_priority+0x115>
  10bbd0:	80 78 74 00          	cmpb   $0x0,0x74(%eax)                
  10bbd4:	74 07                	je     10bbdd <_Thread_Change_priority+0x115>
       _Thread_Executing->is_preemptible )                            
    _Context_Switch_necessary = true;                                 
  10bbd6:	c6 05 40 47 12 00 01 	movb   $0x1,0x124740                  
  _ISR_Enable( level );                                               
  10bbdd:	51                   	push   %ecx                           
  10bbde:	9d                   	popf                                  
}                                                                     
  10bbdf:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bbe2:	5b                   	pop    %ebx                           
  10bbe3:	5e                   	pop    %esi                           
  10bbe4:	5f                   	pop    %edi                           
  10bbe5:	c9                   	leave                                 
  10bbe6:	c3                   	ret                                   
                                                                      

0010bbe8 <_Thread_Clear_state>: void _Thread_Clear_state( Thread_Control *the_thread, States_Control state ) {
  10bbe8:	55                   	push   %ebp                           
  10bbe9:	89 e5                	mov    %esp,%ebp                      
  10bbeb:	53                   	push   %ebx                           
  10bbec:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10bbef:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
  10bbf2:	9c                   	pushf                                 
  10bbf3:	fa                   	cli                                   
  10bbf4:	59                   	pop    %ecx                           
    current_state = the_thread->current_state;                        
  10bbf5:	8b 58 10             	mov    0x10(%eax),%ebx                
                                                                      
    if ( current_state & state ) {                                    
  10bbf8:	85 da                	test   %ebx,%edx                      
  10bbfa:	74 71                	je     10bc6d <_Thread_Clear_state+0x85>
  10bbfc:	f7 d2                	not    %edx                           
  10bbfe:	21 da                	and    %ebx,%edx                      
      current_state =                                                 
      the_thread->current_state = _States_Clear( state, current_state );
  10bc00:	89 50 10             	mov    %edx,0x10(%eax)                
                                                                      
      if ( _States_Is_ready( current_state ) ) {                      
  10bc03:	85 d2                	test   %edx,%edx                      
  10bc05:	75 66                	jne    10bc6d <_Thread_Clear_state+0x85>
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10bc07:	8b 90 90 00 00 00    	mov    0x90(%eax),%edx                
  10bc0d:	66 8b 98 96 00 00 00 	mov    0x96(%eax),%bx                 
  10bc14:	66 09 1a             	or     %bx,(%edx)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10bc17:	66 8b 15 88 42 12 00 	mov    0x124288,%dx                   
  10bc1e:	0b 90 94 00 00 00    	or     0x94(%eax),%edx                
  10bc24:	66 89 15 88 42 12 00 	mov    %dx,0x124288                   
                                                                      
        _Priority_Add_to_bit_map( &the_thread->Priority_map );        
                                                                      
        _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
  10bc2b:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10bc31:	8d 5a 04             	lea    0x4(%edx),%ebx                 
  10bc34:	89 18                	mov    %ebx,(%eax)                    
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  10bc36:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  the_chain->last     = the_node;                                     
  10bc39:	89 42 08             	mov    %eax,0x8(%edx)                 
  old_last_node->next = the_node;                                     
  10bc3c:	89 03                	mov    %eax,(%ebx)                    
  the_node->previous  = old_last_node;                                
  10bc3e:	89 58 04             	mov    %ebx,0x4(%eax)                 
                                                                      
        _ISR_Flash( level );                                          
  10bc41:	51                   	push   %ecx                           
  10bc42:	9d                   	popf                                  
  10bc43:	fa                   	cli                                   
         *    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 ) {
  10bc44:	8b 50 14             	mov    0x14(%eax),%edx                
  10bc47:	8b 1d 38 47 12 00    	mov    0x124738,%ebx                  
  10bc4d:	3b 53 14             	cmp    0x14(%ebx),%edx                
  10bc50:	73 1b                	jae    10bc6d <_Thread_Clear_state+0x85>
          _Thread_Heir = the_thread;                                  
  10bc52:	a3 38 47 12 00       	mov    %eax,0x124738                  
          if ( _Thread_Executing->is_preemptible ||                   
  10bc57:	a1 34 47 12 00       	mov    0x124734,%eax                  
  10bc5c:	80 78 74 00          	cmpb   $0x0,0x74(%eax)                
  10bc60:	75 04                	jne    10bc66 <_Thread_Clear_state+0x7e>
  10bc62:	85 d2                	test   %edx,%edx                      
  10bc64:	75 07                	jne    10bc6d <_Thread_Clear_state+0x85><== ALWAYS TAKEN
               the_thread->current_priority == 0 )                    
            _Context_Switch_necessary = true;                         
  10bc66:	c6 05 40 47 12 00 01 	movb   $0x1,0x124740                  
        }                                                             
      }                                                               
  }                                                                   
  _ISR_Enable( level );                                               
  10bc6d:	51                   	push   %ecx                           
  10bc6e:	9d                   	popf                                  
}                                                                     
  10bc6f:	5b                   	pop    %ebx                           
  10bc70:	c9                   	leave                                 
  10bc71:	c3                   	ret                                   
                                                                      

0010bde8 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
  10bde8:	55                   	push   %ebp                           
  10bde9:	89 e5                	mov    %esp,%ebp                      
  10bdeb:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10bdee:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10bdf1:	50                   	push   %eax                           
  10bdf2:	ff 75 08             	pushl  0x8(%ebp)                      
  10bdf5:	e8 82 01 00 00       	call   10bf7c <_Thread_Get>           
  switch ( location ) {                                               
  10bdfa:	83 c4 10             	add    $0x10,%esp                     
  10bdfd:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10be01:	75 1b                	jne    10be1e <_Thread_Delay_ended+0x36><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
  10be03:	52                   	push   %edx                           
  10be04:	52                   	push   %edx                           
  10be05:	68 18 00 00 10       	push   $0x10000018                    
  10be0a:	50                   	push   %eax                           
  10be0b:	e8 d8 fd ff ff       	call   10bbe8 <_Thread_Clear_state>   
  10be10:	a1 e4 41 12 00       	mov    0x1241e4,%eax                  
  10be15:	48                   	dec    %eax                           
  10be16:	a3 e4 41 12 00       	mov    %eax,0x1241e4                  
  10be1b:	83 c4 10             	add    $0x10,%esp                     
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10be1e:	c9                   	leave                                 
  10be1f:	c3                   	ret                                   
                                                                      

0010be20 <_Thread_Dispatch>: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
  10be20:	55                   	push   %ebp                           
  10be21:	89 e5                	mov    %esp,%ebp                      
  10be23:	57                   	push   %edi                           
  10be24:	56                   	push   %esi                           
  10be25:	53                   	push   %ebx                           
  10be26:	83 ec 1c             	sub    $0x1c,%esp                     
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  10be29:	8b 1d 34 47 12 00    	mov    0x124734,%ebx                  
  _ISR_Disable( level );                                              
  10be2f:	9c                   	pushf                                 
  10be30:	fa                   	cli                                   
  10be31:	58                   	pop    %eax                           
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
        _Timestamp_Subtract(                                          
  10be32:	8d 7d d8             	lea    -0x28(%ebp),%edi               
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
  10be35:	e9 f9 00 00 00       	jmp    10bf33 <_Thread_Dispatch+0x113>
    heir = _Thread_Heir;                                              
  10be3a:	8b 35 38 47 12 00    	mov    0x124738,%esi                  
    _Thread_Dispatch_disable_level = 1;                               
  10be40:	c7 05 e4 41 12 00 01 	movl   $0x1,0x1241e4                  
  10be47:	00 00 00                                                    
    _Context_Switch_necessary = false;                                
  10be4a:	c6 05 40 47 12 00 00 	movb   $0x0,0x124740                  
    _Thread_Executing = heir;                                         
  10be51:	89 35 34 47 12 00    	mov    %esi,0x124734                  
    /*                                                                
     *  When the heir and executing are the same, then we are being   
     *  requested to do the post switch dispatching.  This is normally
     *  done to dispatch signals.                                     
     */                                                               
    if ( heir == executing )                                          
  10be57:	39 de                	cmp    %ebx,%esi                      
  10be59:	0f 84 e2 00 00 00    	je     10bf41 <_Thread_Dispatch+0x121>
     */                                                               
#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 )
  10be5f:	83 7e 7c 01          	cmpl   $0x1,0x7c(%esi)                
  10be63:	75 09                	jne    10be6e <_Thread_Dispatch+0x4e> 
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
  10be65:	8b 15 b4 41 12 00    	mov    0x1241b4,%edx                  
  10be6b:	89 56 78             	mov    %edx,0x78(%esi)                
                                                                      
    _ISR_Enable( level );                                             
  10be6e:	50                   	push   %eax                           
  10be6f:	9d                   	popf                                  
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
  10be70:	83 ec 0c             	sub    $0xc,%esp                      
  10be73:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10be76:	50                   	push   %eax                           
  10be77:	e8 d4 34 00 00       	call   10f350 <_TOD_Get_uptime>       
        _Timestamp_Subtract(                                          
  10be7c:	83 c4 0c             	add    $0xc,%esp                      
  10be7f:	57                   	push   %edi                           
  10be80:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10be83:	50                   	push   %eax                           
  10be84:	68 98 42 12 00       	push   $0x124298                      
  10be89:	e8 36 0c 00 00       	call   10cac4 <_Timespec_Subtract>    
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
  10be8e:	58                   	pop    %eax                           
  10be8f:	5a                   	pop    %edx                           
  10be90:	57                   	push   %edi                           
  10be91:	8d 83 84 00 00 00    	lea    0x84(%ebx),%eax                
  10be97:	50                   	push   %eax                           
  10be98:	e8 f7 0b 00 00       	call   10ca94 <_Timespec_Add_to>      
        _Thread_Time_of_last_context_switch = uptime;                 
  10be9d:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10bea0:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10bea3:	a3 98 42 12 00       	mov    %eax,0x124298                  
  10bea8:	89 15 9c 42 12 00    	mov    %edx,0x12429c                  
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
  10beae:	a1 6c 42 12 00       	mov    0x12426c,%eax                  
  10beb3:	83 c4 10             	add    $0x10,%esp                     
  10beb6:	85 c0                	test   %eax,%eax                      
  10beb8:	74 10                	je     10beca <_Thread_Dispatch+0xaa> <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
  10beba:	8b 10                	mov    (%eax),%edx                    
  10bebc:	89 93 f0 00 00 00    	mov    %edx,0xf0(%ebx)                
      *_Thread_libc_reent = heir->libc_reent;                         
  10bec2:	8b 96 f0 00 00 00    	mov    0xf0(%esi),%edx                
  10bec8:	89 10                	mov    %edx,(%eax)                    
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
  10beca:	51                   	push   %ecx                           
  10becb:	51                   	push   %ecx                           
  10becc:	56                   	push   %esi                           
  10becd:	53                   	push   %ebx                           
  10bece:	e8 29 0e 00 00       	call   10ccfc <_User_extensions_Thread_switch>
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
  10bed3:	58                   	pop    %eax                           
  10bed4:	5a                   	pop    %edx                           
  10bed5:	81 c6 d4 00 00 00    	add    $0xd4,%esi                     
  10bedb:	56                   	push   %esi                           
  10bedc:	8d 83 d4 00 00 00    	lea    0xd4(%ebx),%eax                
  10bee2:	50                   	push   %eax                           
  10bee3:	e8 d8 10 00 00       	call   10cfc0 <_CPU_Context_switch>   
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
  10bee8:	83 c4 10             	add    $0x10,%esp                     
  10beeb:	83 bb ec 00 00 00 00 	cmpl   $0x0,0xec(%ebx)                
  10bef2:	74 36                	je     10bf2a <_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 );                      
  10bef4:	a1 68 42 12 00       	mov    0x124268,%eax                  
  10bef9:	39 c3                	cmp    %eax,%ebx                      
  10befb:	74 2d                	je     10bf2a <_Thread_Dispatch+0x10a>
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
  10befd:	85 c0                	test   %eax,%eax                      
  10beff:	74 11                	je     10bf12 <_Thread_Dispatch+0xf2> 
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
  10bf01:	83 ec 0c             	sub    $0xc,%esp                      
  10bf04:	05 ec 00 00 00       	add    $0xec,%eax                     
  10bf09:	50                   	push   %eax                           
  10bf0a:	e8 e5 10 00 00       	call   10cff4 <_CPU_Context_save_fp>  
  10bf0f:	83 c4 10             	add    $0x10,%esp                     
      _Context_Restore_fp( &executing->fp_context );                  
  10bf12:	83 ec 0c             	sub    $0xc,%esp                      
  10bf15:	8d 83 ec 00 00 00    	lea    0xec(%ebx),%eax                
  10bf1b:	50                   	push   %eax                           
  10bf1c:	e8 dd 10 00 00       	call   10cffe <_CPU_Context_restore_fp>
      _Thread_Allocated_fp = executing;                               
  10bf21:	89 1d 68 42 12 00    	mov    %ebx,0x124268                  
  10bf27:	83 c4 10             	add    $0x10,%esp                     
    if ( executing->fp_context != NULL )                              
      _Context_Restore_fp( &executing->fp_context );                  
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
  10bf2a:	8b 1d 34 47 12 00    	mov    0x124734,%ebx                  
                                                                      
    _ISR_Disable( level );                                            
  10bf30:	9c                   	pushf                                 
  10bf31:	fa                   	cli                                   
  10bf32:	58                   	pop    %eax                           
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
  10bf33:	8a 15 40 47 12 00    	mov    0x124740,%dl                   
  10bf39:	84 d2                	test   %dl,%dl                        
  10bf3b:	0f 85 f9 fe ff ff    	jne    10be3a <_Thread_Dispatch+0x1a> 
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
post_switch:                                                          
  _Thread_Dispatch_disable_level = 0;                                 
  10bf41:	c7 05 e4 41 12 00 00 	movl   $0x0,0x1241e4                  
  10bf48:	00 00 00                                                    
                                                                      
  _ISR_Enable( level );                                               
  10bf4b:	50                   	push   %eax                           
  10bf4c:	9d                   	popf                                  
                                                                      
  _API_extensions_Run_postswitch();                                   
  10bf4d:	e8 01 ea ff ff       	call   10a953 <_API_extensions_Run_postswitch>
}                                                                     
  10bf52:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bf55:	5b                   	pop    %ebx                           
  10bf56:	5e                   	pop    %esi                           
  10bf57:	5f                   	pop    %edi                           
  10bf58:	c9                   	leave                                 
  10bf59:	c3                   	ret                                   
                                                                      

0010bf7c <_Thread_Get>: Thread_Control *_Thread_Get ( Objects_Id id, Objects_Locations *location ) {
  10bf7c:	55                   	push   %ebp                           
  10bf7d:	89 e5                	mov    %esp,%ebp                      
  10bf7f:	53                   	push   %ebx                           
  10bf80:	83 ec 04             	sub    $0x4,%esp                      
  10bf83:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10bf86:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  uint32_t             the_class;                                     
  Objects_Information **api_information;                              
  Objects_Information *information;                                   
  Thread_Control      *tp = (Thread_Control *) 0;                     
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ) {           
  10bf89:	85 d2                	test   %edx,%edx                      
  10bf8b:	75 1a                	jne    10bfa7 <_Thread_Get+0x2b>      
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10bf8d:	8b 15 e4 41 12 00    	mov    0x1241e4,%edx                  
  10bf93:	42                   	inc    %edx                           
  10bf94:	89 15 e4 41 12 00    	mov    %edx,0x1241e4                  
    _Thread_Disable_dispatch();                                       
    *location = OBJECTS_LOCAL;                                        
  10bf9a:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
    tp = _Thread_Executing;                                           
  10bfa0:	a1 34 47 12 00       	mov    0x124734,%eax                  
    goto done;                                                        
  10bfa5:	eb 3a                	jmp    10bfe1 <_Thread_Get+0x65>      
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
  10bfa7:	89 d1                	mov    %edx,%ecx                      
  10bfa9:	c1 e9 18             	shr    $0x18,%ecx                     
  10bfac:	83 e1 07             	and    $0x7,%ecx                      
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
  10bfaf:	8d 59 ff             	lea    -0x1(%ecx),%ebx                
  10bfb2:	83 fb 02             	cmp    $0x2,%ebx                      
  10bfb5:	76 2f                	jbe    10bfe6 <_Thread_Get+0x6a>      
  10bfb7:	eb 12                	jmp    10bfcb <_Thread_Get+0x4f>      
  if ( the_class != 1 ) {       /* threads are always first class :) */
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  api_information = _Objects_Information_table[ the_api ];            
  10bfb9:	8b 0c 8d bc 41 12 00 	mov    0x1241bc(,%ecx,4),%ecx         
  if ( !api_information ) {                                           
  10bfc0:	85 c9                	test   %ecx,%ecx                      
  10bfc2:	74 07                	je     10bfcb <_Thread_Get+0x4f>      <== NEVER TAKEN
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  information = api_information[ the_class ];                         
  10bfc4:	8b 49 04             	mov    0x4(%ecx),%ecx                 
  if ( !information ) {                                               
  10bfc7:	85 c9                	test   %ecx,%ecx                      
  10bfc9:	75 0a                	jne    10bfd5 <_Thread_Get+0x59>      
    *location = OBJECTS_ERROR;                                        
  10bfcb:	c7 00 01 00 00 00    	movl   $0x1,(%eax)                    
{                                                                     
  uint32_t             the_api;                                       
  uint32_t             the_class;                                     
  Objects_Information **api_information;                              
  Objects_Information *information;                                   
  Thread_Control      *tp = (Thread_Control *) 0;                     
  10bfd1:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  information = api_information[ the_class ];                         
  if ( !information ) {                                               
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  10bfd3:	eb 0c                	jmp    10bfe1 <_Thread_Get+0x65>      
  }                                                                   
                                                                      
  tp = (Thread_Control *) _Objects_Get( information, id, location );  
  10bfd5:	53                   	push   %ebx                           
  10bfd6:	50                   	push   %eax                           
  10bfd7:	52                   	push   %edx                           
  10bfd8:	51                   	push   %ecx                           
  10bfd9:	e8 a2 f7 ff ff       	call   10b780 <_Objects_Get>          
  10bfde:	83 c4 10             	add    $0x10,%esp                     
                                                                      
done:                                                                 
  return tp;                                                          
}                                                                     
  10bfe1:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10bfe4:	c9                   	leave                                 
  10bfe5:	c3                   	ret                                   
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (uint32_t)                                                   
  10bfe6:	89 d3                	mov    %edx,%ebx                      
  10bfe8:	c1 eb 1b             	shr    $0x1b,%ebx                     
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  the_class = _Objects_Get_class( id );                               
  if ( the_class != 1 ) {       /* threads are always first class :) */
  10bfeb:	4b                   	dec    %ebx                           
  10bfec:	74 cb                	je     10bfb9 <_Thread_Get+0x3d>      
  10bfee:	eb db                	jmp    10bfcb <_Thread_Get+0x4f>      
                                                                      

00110fa0 <_Thread_Handler>: * * Output parameters: NONE */ void _Thread_Handler( void ) {
  110fa0:	55                   	push   %ebp                           
  110fa1:	89 e5                	mov    %esp,%ebp                      
  110fa3:	53                   	push   %ebx                           
  110fa4:	83 ec 14             	sub    $0x14,%esp                     
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
  110fa7:	8b 1d 34 47 12 00    	mov    0x124734,%ebx                  
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
  110fad:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  _ISR_Set_level(level);                                              
  110fb3:	85 c0                	test   %eax,%eax                      
  110fb5:	74 03                	je     110fba <_Thread_Handler+0x1a>  
  110fb7:	fa                   	cli                                   
  110fb8:	eb 01                	jmp    110fbb <_Thread_Handler+0x1b>  
  110fba:	fb                   	sti                                   
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
  110fbb:	a0 a0 3e 12 00       	mov    0x123ea0,%al                   
  110fc0:	88 45 f7             	mov    %al,-0x9(%ebp)                 
    doneConstructors = 1;                                             
  110fc3:	c6 05 a0 3e 12 00 01 	movb   $0x1,0x123ea0                  
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
  110fca:	83 bb ec 00 00 00 00 	cmpl   $0x0,0xec(%ebx)                
  110fd1:	74 24                	je     110ff7 <_Thread_Handler+0x57>  
#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 );                      
  110fd3:	a1 68 42 12 00       	mov    0x124268,%eax                  
  110fd8:	39 c3                	cmp    %eax,%ebx                      
  110fda:	74 1b                	je     110ff7 <_Thread_Handler+0x57>  
            !_Thread_Is_allocated_fp( executing ) ) {                 
        if ( _Thread_Allocated_fp != NULL )                           
  110fdc:	85 c0                	test   %eax,%eax                      
  110fde:	74 11                	je     110ff1 <_Thread_Handler+0x51>  
          _Context_Save_fp( &_Thread_Allocated_fp->fp_context );      
  110fe0:	83 ec 0c             	sub    $0xc,%esp                      
  110fe3:	05 ec 00 00 00       	add    $0xec,%eax                     
  110fe8:	50                   	push   %eax                           
  110fe9:	e8 06 c0 ff ff       	call   10cff4 <_CPU_Context_save_fp>  
  110fee:	83 c4 10             	add    $0x10,%esp                     
        _Thread_Allocated_fp = executing;                             
  110ff1:	89 1d 68 42 12 00    	mov    %ebx,0x124268                  
  /*                                                                  
   * 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 );                         
  110ff7:	83 ec 0c             	sub    $0xc,%esp                      
  110ffa:	53                   	push   %ebx                           
  110ffb:	e8 ac bb ff ff       	call   10cbac <_User_extensions_Thread_begin>
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
  111000:	e8 55 af ff ff       	call   10bf5a <_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) */ {                 
  111005:	83 c4 10             	add    $0x10,%esp                     
  111008:	80 7d f7 00          	cmpb   $0x0,-0x9(%ebp)                
  11100c:	75 05                	jne    111013 <_Thread_Handler+0x73>  
      INIT_NAME ();                                                   
  11100e:	e8 7d c0 00 00       	call   11d090 <__start_set_sysctl_set>
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
  111013:	8b 83 a0 00 00 00    	mov    0xa0(%ebx),%eax                
  111019:	85 c0                	test   %eax,%eax                      
  11101b:	75 0b                	jne    111028 <_Thread_Handler+0x88>  
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
  11101d:	83 ec 0c             	sub    $0xc,%esp                      
  111020:	ff b3 a8 00 00 00    	pushl  0xa8(%ebx)                     
  111026:	eb 0c                	jmp    111034 <_Thread_Handler+0x94>  
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
  111028:	48                   	dec    %eax                           
  111029:	75 15                	jne    111040 <_Thread_Handler+0xa0>  <== NEVER TAKEN
      executing->Wait.return_argument =                               
        (*(Thread_Entry_pointer) executing->Start.entry_point)(       
  11102b:	83 ec 0c             	sub    $0xc,%esp                      
  11102e:	ff b3 a4 00 00 00    	pushl  0xa4(%ebx)                     
  111034:	ff 93 9c 00 00 00    	call   *0x9c(%ebx)                    
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
      executing->Wait.return_argument =                               
  11103a:	89 43 28             	mov    %eax,0x28(%ebx)                
  11103d:	83 c4 10             	add    $0x10,%esp                     
   *  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 );                       
  111040:	83 ec 0c             	sub    $0xc,%esp                      
  111043:	53                   	push   %ebx                           
  111044:	e8 94 bb ff ff       	call   10cbdd <_User_extensions_Thread_exitted>
                                                                      
  _Internal_error_Occurred(                                           
  111049:	83 c4 0c             	add    $0xc,%esp                      
  11104c:	6a 06                	push   $0x6                           
  11104e:	6a 01                	push   $0x1                           
  111050:	6a 00                	push   $0x0                           
  111052:	e8 6d a2 ff ff       	call   10b2c4 <_Internal_error_Occurred>
                                                                      

0010bff0 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
  10bff0:	55                   	push   %ebp                           
  10bff1:	89 e5                	mov    %esp,%ebp                      
  10bff3:	57                   	push   %edi                           
  10bff4:	56                   	push   %esi                           
  10bff5:	53                   	push   %ebx                           
  10bff6:	83 ec 1c             	sub    $0x1c,%esp                     
  10bff9:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10bffc:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10bfff:	8b 75 14             	mov    0x14(%ebp),%esi                
  10c002:	8a 55 18             	mov    0x18(%ebp),%dl                 
  10c005:	8a 45 20             	mov    0x20(%ebp),%al                 
  10c008:	88 45 e7             	mov    %al,-0x19(%ebp)                
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
  10c00b:	c7 83 f4 00 00 00 00 	movl   $0x0,0xf4(%ebx)                
  10c012:	00 00 00                                                    
  10c015:	c7 83 f8 00 00 00 00 	movl   $0x0,0xf8(%ebx)                
  10c01c:	00 00 00                                                    
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
  10c01f:	c7 83 f0 00 00 00 00 	movl   $0x0,0xf0(%ebx)                
  10c026:	00 00 00                                                    
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
  10c029:	85 c9                	test   %ecx,%ecx                      
  10c02b:	75 31                	jne    10c05e <_Thread_Initialize+0x6e>
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
  10c02d:	51                   	push   %ecx                           
  10c02e:	51                   	push   %ecx                           
  10c02f:	56                   	push   %esi                           
  10c030:	53                   	push   %ebx                           
  10c031:	88 55 e0             	mov    %dl,-0x20(%ebp)                
  10c034:	e8 63 08 00 00       	call   10c89c <_Thread_Stack_Allocate>
      if ( !actual_stack_size || actual_stack_size < stack_size )     
  10c039:	83 c4 10             	add    $0x10,%esp                     
  10c03c:	39 f0                	cmp    %esi,%eax                      
  10c03e:	8a 55 e0             	mov    -0x20(%ebp),%dl                
  10c041:	0f 82 c1 01 00 00    	jb     10c208 <_Thread_Initialize+0x218>
  10c047:	85 c0                	test   %eax,%eax                      
  10c049:	0f 84 b9 01 00 00    	je     10c208 <_Thread_Initialize+0x218><== NEVER TAKEN
        return false;                     /* stack allocation failed */
                                                                      
      stack = the_thread->Start.stack;                                
  10c04f:	8b 8b d0 00 00 00    	mov    0xd0(%ebx),%ecx                
      the_thread->Start.core_allocated_stack = true;                  
  10c055:	c6 83 c0 00 00 00 01 	movb   $0x1,0xc0(%ebx)                
  10c05c:	eb 09                	jmp    10c067 <_Thread_Initialize+0x77>
    } else {                                                          
      stack = stack_area;                                             
      actual_stack_size = stack_size;                                 
      the_thread->Start.core_allocated_stack = false;                 
  10c05e:	c6 83 c0 00 00 00 00 	movb   $0x0,0xc0(%ebx)                
  10c065:	89 f0                	mov    %esi,%eax                      
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
  10c067:	89 8b c8 00 00 00    	mov    %ecx,0xc8(%ebx)                
  the_stack->size = size;                                             
  10c06d:	89 83 c4 00 00 00    	mov    %eax,0xc4(%ebx)                
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    fp_area = NULL;                                                   
  10c073:	31 ff                	xor    %edi,%edi                      
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
  10c075:	84 d2                	test   %dl,%dl                        
  10c077:	74 17                	je     10c090 <_Thread_Initialize+0xa0>
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
  10c079:	83 ec 0c             	sub    $0xc,%esp                      
  10c07c:	6a 6c                	push   $0x6c                          
  10c07e:	e8 df 0e 00 00       	call   10cf62 <_Workspace_Allocate>   
  10c083:	89 c7                	mov    %eax,%edi                      
      if ( !fp_area )                                                 
  10c085:	83 c4 10             	add    $0x10,%esp                     
  10c088:	85 c0                	test   %eax,%eax                      
  10c08a:	0f 84 08 01 00 00    	je     10c198 <_Thread_Initialize+0x1a8>
        goto failed;                                                  
      fp_area = _Context_Fp_start( fp_area, 0 );                      
    }                                                                 
    the_thread->fp_context       = fp_area;                           
  10c090:	89 bb ec 00 00 00    	mov    %edi,0xec(%ebx)                
    the_thread->Start.fp_context = fp_area;                           
  10c096:	89 bb cc 00 00 00    	mov    %edi,0xcc(%ebx)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10c09c:	c7 43 50 00 00 00 00 	movl   $0x0,0x50(%ebx)                
  the_watchdog->routine   = routine;                                  
  10c0a3:	c7 43 64 00 00 00 00 	movl   $0x0,0x64(%ebx)                
  the_watchdog->id        = id;                                       
  10c0aa:	c7 43 68 00 00 00 00 	movl   $0x0,0x68(%ebx)                
  the_watchdog->user_data = user_data;                                
  10c0b1:	c7 43 6c 00 00 00 00 	movl   $0x0,0x6c(%ebx)                
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
  10c0b8:	a1 78 42 12 00       	mov    0x124278,%eax                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
  10c0bd:	31 f6                	xor    %esi,%esi                      
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
  10c0bf:	85 c0                	test   %eax,%eax                      
  10c0c1:	74 1d                	je     10c0e0 <_Thread_Initialize+0xf0>
    extensions_area = _Workspace_Allocate(                            
  10c0c3:	83 ec 0c             	sub    $0xc,%esp                      
  10c0c6:	8d 04 85 04 00 00 00 	lea    0x4(,%eax,4),%eax              
  10c0cd:	50                   	push   %eax                           
  10c0ce:	e8 8f 0e 00 00       	call   10cf62 <_Workspace_Allocate>   
  10c0d3:	89 c6                	mov    %eax,%esi                      
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
  10c0d5:	83 c4 10             	add    $0x10,%esp                     
  10c0d8:	85 c0                	test   %eax,%eax                      
  10c0da:	0f 84 ba 00 00 00    	je     10c19a <_Thread_Initialize+0x1aa>
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
  10c0e0:	89 b3 fc 00 00 00    	mov    %esi,0xfc(%ebx)                
   * 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 ) {                                     
  10c0e6:	85 f6                	test   %esi,%esi                      
  10c0e8:	74 16                	je     10c100 <_Thread_Initialize+0x110>
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
  10c0ea:	8b 15 78 42 12 00    	mov    0x124278,%edx                  
  10c0f0:	31 c0                	xor    %eax,%eax                      
  10c0f2:	eb 08                	jmp    10c0fc <_Thread_Initialize+0x10c>
      the_thread->extensions[i] = NULL;                               
  10c0f4:	c7 04 86 00 00 00 00 	movl   $0x0,(%esi,%eax,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++ )              
  10c0fb:	40                   	inc    %eax                           
  10c0fc:	39 d0                	cmp    %edx,%eax                      
  10c0fe:	76 f4                	jbe    10c0f4 <_Thread_Initialize+0x104>
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  10c100:	8a 45 e7             	mov    -0x19(%ebp),%al                
  10c103:	88 83 ac 00 00 00    	mov    %al,0xac(%ebx)                 
  the_thread->Start.budget_algorithm = budget_algorithm;              
  10c109:	8b 45 24             	mov    0x24(%ebp),%eax                
  10c10c:	89 83 b0 00 00 00    	mov    %eax,0xb0(%ebx)                
  the_thread->Start.budget_callout   = budget_callout;                
  10c112:	8b 45 28             	mov    0x28(%ebp),%eax                
  10c115:	89 83 b4 00 00 00    	mov    %eax,0xb4(%ebx)                
                                                                      
  switch ( budget_algorithm ) {                                       
  10c11b:	83 7d 24 02          	cmpl   $0x2,0x24(%ebp)                
  10c11f:	75 08                	jne    10c129 <_Thread_Initialize+0x139>
    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;    
  10c121:	a1 b4 41 12 00       	mov    0x1241b4,%eax                  
  10c126:	89 43 78             	mov    %eax,0x78(%ebx)                
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
  10c129:	8b 45 2c             	mov    0x2c(%ebp),%eax                
  10c12c:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  10c132:	c7 43 10 01 00 00 00 	movl   $0x1,0x10(%ebx)                
  the_thread->Wait.queue              = NULL;                         
  10c139:	c7 43 44 00 00 00 00 	movl   $0x0,0x44(%ebx)                
  the_thread->resource_count          = 0;                            
  10c140:	c7 43 1c 00 00 00 00 	movl   $0x0,0x1c(%ebx)                
  the_thread->real_priority           = priority;                     
  10c147:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  10c14a:	89 43 18             	mov    %eax,0x18(%ebx)                
  the_thread->Start.initial_priority  = priority;                     
  10c14d:	89 83 bc 00 00 00    	mov    %eax,0xbc(%ebx)                
  _Thread_Set_priority( the_thread, priority );                       
  10c153:	52                   	push   %edx                           
  10c154:	52                   	push   %edx                           
  10c155:	50                   	push   %eax                           
  10c156:	53                   	push   %ebx                           
  10c157:	e8 94 05 00 00       	call   10c6f0 <_Thread_Set_priority>  
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
  10c15c:	c7 83 84 00 00 00 00 	movl   $0x0,0x84(%ebx)                
  10c163:	00 00 00                                                    
  10c166:	c7 83 88 00 00 00 00 	movl   $0x0,0x88(%ebx)                
  10c16d:	00 00 00                                                    
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
                                                                      
                                                                      
}                                                                     
  10c170:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c173:	8b 40 1c             	mov    0x1c(%eax),%eax                
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10c176:	0f b7 53 08          	movzwl 0x8(%ebx),%edx                 
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10c17a:	89 1c 90             	mov    %ebx,(%eax,%edx,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  10c17d:	8b 45 30             	mov    0x30(%ebp),%eax                
  10c180:	89 43 0c             	mov    %eax,0xc(%ebx)                 
   *  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 );    
  10c183:	89 1c 24             	mov    %ebx,(%esp)                    
  10c186:	e8 c1 0a 00 00       	call   10cc4c <_User_extensions_Thread_create>
  10c18b:	88 c2                	mov    %al,%dl                        
  if ( extension_status )                                             
  10c18d:	83 c4 10             	add    $0x10,%esp                     
    return true;                                                      
  10c190:	b0 01                	mov    $0x1,%al                       
   *  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 );    
  if ( extension_status )                                             
  10c192:	84 d2                	test   %dl,%dl                        
  10c194:	74 04                	je     10c19a <_Thread_Initialize+0x1aa>
  10c196:	eb 72                	jmp    10c20a <_Thread_Initialize+0x21a>
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
  10c198:	31 f6                	xor    %esi,%esi                      
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
    return true;                                                      
                                                                      
failed:                                                               
  if ( the_thread->libc_reent )                                       
  10c19a:	8b 83 f0 00 00 00    	mov    0xf0(%ebx),%eax                
  10c1a0:	85 c0                	test   %eax,%eax                      
  10c1a2:	74 0c                	je     10c1b0 <_Thread_Initialize+0x1c0>
    _Workspace_Free( the_thread->libc_reent );                        
  10c1a4:	83 ec 0c             	sub    $0xc,%esp                      
  10c1a7:	50                   	push   %eax                           
  10c1a8:	e8 ce 0d 00 00       	call   10cf7b <_Workspace_Free>       
  10c1ad:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
  10c1b0:	8b 83 f4 00 00 00    	mov    0xf4(%ebx),%eax                
  10c1b6:	85 c0                	test   %eax,%eax                      
  10c1b8:	74 0c                	je     10c1c6 <_Thread_Initialize+0x1d6>
      _Workspace_Free( the_thread->API_Extensions[i] );               
  10c1ba:	83 ec 0c             	sub    $0xc,%esp                      
  10c1bd:	50                   	push   %eax                           
  10c1be:	e8 b8 0d 00 00       	call   10cf7b <_Workspace_Free>       
  10c1c3:	83 c4 10             	add    $0x10,%esp                     
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] )                              
  10c1c6:	8b 83 f8 00 00 00    	mov    0xf8(%ebx),%eax                
  10c1cc:	85 c0                	test   %eax,%eax                      
  10c1ce:	74 0c                	je     10c1dc <_Thread_Initialize+0x1ec>
      _Workspace_Free( the_thread->API_Extensions[i] );               
  10c1d0:	83 ec 0c             	sub    $0xc,%esp                      
  10c1d3:	50                   	push   %eax                           
  10c1d4:	e8 a2 0d 00 00       	call   10cf7b <_Workspace_Free>       
  10c1d9:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  if ( extensions_area )                                              
  10c1dc:	85 f6                	test   %esi,%esi                      
  10c1de:	74 0c                	je     10c1ec <_Thread_Initialize+0x1fc>
    (void) _Workspace_Free( extensions_area );                        
  10c1e0:	83 ec 0c             	sub    $0xc,%esp                      
  10c1e3:	56                   	push   %esi                           
  10c1e4:	e8 92 0d 00 00       	call   10cf7b <_Workspace_Free>       
  10c1e9:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( fp_area )                                                    
  10c1ec:	85 ff                	test   %edi,%edi                      
  10c1ee:	74 0c                	je     10c1fc <_Thread_Initialize+0x20c>
      (void) _Workspace_Free( fp_area );                              
  10c1f0:	83 ec 0c             	sub    $0xc,%esp                      
  10c1f3:	57                   	push   %edi                           
  10c1f4:	e8 82 0d 00 00       	call   10cf7b <_Workspace_Free>       
  10c1f9:	83 c4 10             	add    $0x10,%esp                     
  #endif                                                              
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  10c1fc:	83 ec 0c             	sub    $0xc,%esp                      
  10c1ff:	53                   	push   %ebx                           
  10c200:	e8 e7 06 00 00       	call   10c8ec <_Thread_Stack_Free>    
  return false;                                                       
  10c205:	83 c4 10             	add    $0x10,%esp                     
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
      if ( !actual_stack_size || actual_stack_size < stack_size )     
        return false;                     /* stack allocation failed */
  10c208:	31 c0                	xor    %eax,%eax                      
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
                                                                      
                                                                      
}                                                                     
  10c20a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c20d:	5b                   	pop    %ebx                           
  10c20e:	5e                   	pop    %esi                           
  10c20f:	5f                   	pop    %edi                           
  10c210:	c9                   	leave                                 
  10c211:	c3                   	ret                                   
                                                                      

0010f48c <_Thread_Resume>: void _Thread_Resume( Thread_Control *the_thread, bool force ) {
  10f48c:	55                   	push   %ebp                           
  10f48d:	89 e5                	mov    %esp,%ebp                      
  10f48f:	53                   	push   %ebx                           
  10f490:	8b 45 08             	mov    0x8(%ebp),%eax                 
                                                                      
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
  10f493:	9c                   	pushf                                 
  10f494:	fa                   	cli                                   
  10f495:	59                   	pop    %ecx                           
                                                                      
  current_state = the_thread->current_state;                          
  10f496:	8b 50 10             	mov    0x10(%eax),%edx                
  if ( current_state & STATES_SUSPENDED ) {                           
  10f499:	f6 c2 02             	test   $0x2,%dl                       
  10f49c:	74 70                	je     10f50e <_Thread_Resume+0x82>   <== NEVER TAKEN
  10f49e:	83 e2 fd             	and    $0xfffffffd,%edx               
    current_state =                                                   
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
  10f4a1:	89 50 10             	mov    %edx,0x10(%eax)                
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
  10f4a4:	85 d2                	test   %edx,%edx                      
  10f4a6:	75 66                	jne    10f50e <_Thread_Resume+0x82>   
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10f4a8:	8b 90 90 00 00 00    	mov    0x90(%eax),%edx                
  10f4ae:	66 8b 98 96 00 00 00 	mov    0x96(%eax),%bx                 
  10f4b5:	66 09 1a             	or     %bx,(%edx)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10f4b8:	66 8b 15 50 73 12 00 	mov    0x127350,%dx                   
  10f4bf:	0b 90 94 00 00 00    	or     0x94(%eax),%edx                
  10f4c5:	66 89 15 50 73 12 00 	mov    %dx,0x127350                   
                                                                      
      _Priority_Add_to_bit_map( &the_thread->Priority_map );          
                                                                      
      _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
  10f4cc:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10f4d2:	8d 5a 04             	lea    0x4(%edx),%ebx                 
  10f4d5:	89 18                	mov    %ebx,(%eax)                    
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  10f4d7:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  the_chain->last     = the_node;                                     
  10f4da:	89 42 08             	mov    %eax,0x8(%edx)                 
  old_last_node->next = the_node;                                     
  10f4dd:	89 03                	mov    %eax,(%ebx)                    
  the_node->previous  = old_last_node;                                
  10f4df:	89 58 04             	mov    %ebx,0x4(%eax)                 
                                                                      
      _ISR_Flash( level );                                            
  10f4e2:	51                   	push   %ecx                           
  10f4e3:	9d                   	popf                                  
  10f4e4:	fa                   	cli                                   
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
  10f4e5:	8b 50 14             	mov    0x14(%eax),%edx                
  10f4e8:	8b 1d 00 78 12 00    	mov    0x127800,%ebx                  
  10f4ee:	3b 53 14             	cmp    0x14(%ebx),%edx                
  10f4f1:	73 1b                	jae    10f50e <_Thread_Resume+0x82>   
        _Thread_Heir = the_thread;                                    
  10f4f3:	a3 00 78 12 00       	mov    %eax,0x127800                  
        if ( _Thread_Executing->is_preemptible ||                     
  10f4f8:	a1 fc 77 12 00       	mov    0x1277fc,%eax                  
  10f4fd:	80 78 74 00          	cmpb   $0x0,0x74(%eax)                
  10f501:	75 04                	jne    10f507 <_Thread_Resume+0x7b>   
  10f503:	85 d2                	test   %edx,%edx                      
  10f505:	75 07                	jne    10f50e <_Thread_Resume+0x82>   <== ALWAYS TAKEN
             the_thread->current_priority == 0 )                      
          _Context_Switch_necessary = true;                           
  10f507:	c6 05 08 78 12 00 01 	movb   $0x1,0x127808                  
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  10f50e:	51                   	push   %ecx                           
  10f50f:	9d                   	popf                                  
}                                                                     
  10f510:	5b                   	pop    %ebx                           
  10f511:	c9                   	leave                                 
  10f512:	c3                   	ret                                   
                                                                      

0010c9d4 <_Thread_Tickle_timeslice>: * * Output parameters: NONE */ void _Thread_Tickle_timeslice( void ) {
  10c9d4:	55                   	push   %ebp                           
  10c9d5:	89 e5                	mov    %esp,%ebp                      
  10c9d7:	53                   	push   %ebx                           
  10c9d8:	83 ec 04             	sub    $0x4,%esp                      
  Thread_Control *executing;                                          
                                                                      
  executing = _Thread_Executing;                                      
  10c9db:	8b 1d 34 47 12 00    	mov    0x124734,%ebx                  
  /*                                                                  
   *  If the thread is not preemptible or is not ready, then          
   *  just return.                                                    
   */                                                                 
                                                                      
  if ( !executing->is_preemptible )                                   
  10c9e1:	80 7b 74 00          	cmpb   $0x0,0x74(%ebx)                
  10c9e5:	74 4c                	je     10ca33 <_Thread_Tickle_timeslice+0x5f>
    return;                                                           
                                                                      
  if ( !_States_Is_ready( executing->current_state ) )                
  10c9e7:	83 7b 10 00          	cmpl   $0x0,0x10(%ebx)                
  10c9eb:	75 46                	jne    10ca33 <_Thread_Tickle_timeslice+0x5f>
                                                                      
  /*                                                                  
   *  The cpu budget algorithm determines what happens next.          
   */                                                                 
                                                                      
  switch ( executing->budget_algorithm ) {                            
  10c9ed:	8b 43 7c             	mov    0x7c(%ebx),%eax                
  10c9f0:	83 f8 01             	cmp    $0x1,%eax                      
  10c9f3:	72 3e                	jb     10ca33 <_Thread_Tickle_timeslice+0x5f>
  10c9f5:	83 f8 02             	cmp    $0x2,%eax                      
  10c9f8:	76 07                	jbe    10ca01 <_Thread_Tickle_timeslice+0x2d>
  10c9fa:	83 f8 03             	cmp    $0x3,%eax                      
  10c9fd:	75 34                	jne    10ca33 <_Thread_Tickle_timeslice+0x5f><== NEVER TAKEN
  10c9ff:	eb 1a                	jmp    10ca1b <_Thread_Tickle_timeslice+0x47>
                                                                      
    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 ) {               
  10ca01:	8b 43 78             	mov    0x78(%ebx),%eax                
  10ca04:	48                   	dec    %eax                           
  10ca05:	89 43 78             	mov    %eax,0x78(%ebx)                
  10ca08:	85 c0                	test   %eax,%eax                      
  10ca0a:	7f 27                	jg     10ca33 <_Thread_Tickle_timeslice+0x5f>
         *  at the priority of the currently executing thread, then the
         *  executing thread's timeslice is reset.  Otherwise, the    
         *  currently executing thread is placed at the rear of the   
         *  FIFO for this priority and a new heir is selected.        
         */                                                           
        _Thread_Yield_processor();                                    
  10ca0c:	e8 27 00 00 00       	call   10ca38 <_Thread_Yield_processor>
        executing->cpu_time_budget = _Thread_Ticks_per_timeslice;     
  10ca11:	a1 b4 41 12 00       	mov    0x1241b4,%eax                  
  10ca16:	89 43 78             	mov    %eax,0x78(%ebx)                
  10ca19:	eb 18                	jmp    10ca33 <_Thread_Tickle_timeslice+0x5f>
      }                                                               
      break;                                                          
                                                                      
    #if defined(RTEMS_SCORE_THREAD_ENABLE_SCHEDULER_CALLOUT)          
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	if ( --executing->cpu_time_budget == 0 )                             
  10ca1b:	8b 43 78             	mov    0x78(%ebx),%eax                
  10ca1e:	48                   	dec    %eax                           
  10ca1f:	89 43 78             	mov    %eax,0x78(%ebx)                
  10ca22:	85 c0                	test   %eax,%eax                      
  10ca24:	75 0d                	jne    10ca33 <_Thread_Tickle_timeslice+0x5f>
	  (*executing->budget_callout)( executing );                         
  10ca26:	83 ec 0c             	sub    $0xc,%esp                      
  10ca29:	53                   	push   %ebx                           
  10ca2a:	ff 93 80 00 00 00    	call   *0x80(%ebx)                    
  10ca30:	83 c4 10             	add    $0x10,%esp                     
	break;                                                               
    #endif                                                            
  }                                                                   
}                                                                     
  10ca33:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ca36:	c9                   	leave                                 
  10ca37:	c3                   	ret                                   
                                                                      

0010c470 <_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 ) {
  10c470:	55                   	push   %ebp                           
  10c471:	89 e5                	mov    %esp,%ebp                      
  10c473:	57                   	push   %edi                           
  10c474:	56                   	push   %esi                           
  10c475:	53                   	push   %ebx                           
  10c476:	83 ec 14             	sub    $0x14,%esp                     
  10c479:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10c47c:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10c47f:	8d 50 3c             	lea    0x3c(%eax),%edx                
  10c482:	89 50 38             	mov    %edx,0x38(%eax)                
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
  10c485:	c7 40 3c 00 00 00 00 	movl   $0x0,0x3c(%eax)                
  Chain_Node          *previous_node;                                 
  Chain_Node          *search_node;                                   
  Priority_Control     priority;                                      
  States_Control       block_state;                                   
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
  10c48c:	8d 50 38             	lea    0x38(%eax),%edx                
  10c48f:	89 50 40             	mov    %edx,0x40(%eax)                
                                                                      
  priority     = the_thread->current_priority;                        
  10c492:	8b 58 14             	mov    0x14(%eax),%ebx                
                                                                      
RTEMS_INLINE_ROUTINE uint32_t   _Thread_queue_Header_number (         
  Priority_Control the_priority                                       
)                                                                     
{                                                                     
  return (the_priority / TASK_QUEUE_DATA_PRIORITIES_PER_HEADER);      
  10c495:	89 df                	mov    %ebx,%edi                      
  10c497:	c1 ef 06             	shr    $0x6,%edi                      
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
  10c49a:	6b ff 0c             	imul   $0xc,%edi,%edi                 
  10c49d:	8d 3c 39             	lea    (%ecx,%edi,1),%edi             
  10c4a0:	89 7d ec             	mov    %edi,-0x14(%ebp)               
  block_state  = the_thread_queue->state;                             
  10c4a3:	8b 51 38             	mov    0x38(%ecx),%edx                
  10c4a6:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
  10c4a9:	89 7d e8             	mov    %edi,-0x18(%ebp)               
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
  block_state  = the_thread_queue->state;                             
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
  10c4ac:	f6 c3 20             	test   $0x20,%bl                      
  10c4af:	75 73                	jne    10c524 <_Thread_queue_Enqueue_priority+0xb4>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10c4b1:	8d 77 04             	lea    0x4(%edi),%esi                 
  10c4b4:	89 75 e8             	mov    %esi,-0x18(%ebp)               
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  10c4b7:	9c                   	pushf                                 
  10c4b8:	fa                   	cli                                   
  10c4b9:	8f 45 f0             	popl   -0x10(%ebp)                    
  10c4bc:	8b 75 f0             	mov    -0x10(%ebp),%esi               
  search_thread = (Thread_Control *) header->first;                   
  10c4bf:	8b 17                	mov    (%edi),%edx                    
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  10c4c1:	c7 45 ec ff ff ff ff 	movl   $0xffffffff,-0x14(%ebp)        
  10c4c8:	89 75 e0             	mov    %esi,-0x20(%ebp)               
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
  10c4cb:	eb 1f                	jmp    10c4ec <_Thread_queue_Enqueue_priority+0x7c>
    search_priority = search_thread->current_priority;                
  10c4cd:	8b 72 14             	mov    0x14(%edx),%esi                
  10c4d0:	89 75 ec             	mov    %esi,-0x14(%ebp)               
    if ( priority <= search_priority )                                
  10c4d3:	39 f3                	cmp    %esi,%ebx                      
  10c4d5:	76 1a                	jbe    10c4f1 <_Thread_queue_Enqueue_priority+0x81>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
  10c4d7:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c4da:	9d                   	popf                                  
  10c4db:	fa                   	cli                                   
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
  10c4dc:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
  10c4df:	85 72 10             	test   %esi,0x10(%edx)                
  10c4e2:	75 06                	jne    10c4ea <_Thread_queue_Enqueue_priority+0x7a><== ALWAYS TAKEN
      _ISR_Enable( level );                                           
  10c4e4:	ff 75 f0             	pushl  -0x10(%ebp)                    <== NOT EXECUTED
  10c4e7:	9d                   	popf                                  <== NOT EXECUTED
      goto restart_forward_search;                                    
  10c4e8:	eb cd                	jmp    10c4b7 <_Thread_queue_Enqueue_priority+0x47><== NOT EXECUTED
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  10c4ea:	8b 12                	mov    (%edx),%edx                    
                                                                      
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 ) ) {  
  10c4ec:	3b 55 e8             	cmp    -0x18(%ebp),%edx               
  10c4ef:	75 dc                	jne    10c4cd <_Thread_queue_Enqueue_priority+0x5d>
  10c4f1:	8b 75 e0             	mov    -0x20(%ebp),%esi               
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
  10c4f4:	83 79 30 01          	cmpl   $0x1,0x30(%ecx)                
  10c4f8:	0f 85 ae 00 00 00    	jne    10c5ac <_Thread_queue_Enqueue_priority+0x13c>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
  10c4fe:	c7 41 30 00 00 00 00 	movl   $0x0,0x30(%ecx)                
                                                                      
  if ( priority == search_priority )                                  
  10c505:	3b 5d ec             	cmp    -0x14(%ebp),%ebx               
  10c508:	0f 84 87 00 00 00    	je     10c595 <_Thread_queue_Enqueue_priority+0x125>
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
  10c50e:	8b 5a 04             	mov    0x4(%edx),%ebx                 
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  10c511:	89 10                	mov    %edx,(%eax)                    
  the_node->previous     = previous_node;                             
  10c513:	89 58 04             	mov    %ebx,0x4(%eax)                 
  previous_node->next    = the_node;                                  
  10c516:	89 03                	mov    %eax,(%ebx)                    
  search_node->previous  = the_node;                                  
  10c518:	89 42 04             	mov    %eax,0x4(%edx)                 
  the_thread->Wait.queue = the_thread_queue;                          
  10c51b:	89 48 44             	mov    %ecx,0x44(%eax)                
  _ISR_Enable( level );                                               
  10c51e:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c521:	9d                   	popf                                  
  10c522:	eb 6a                	jmp    10c58e <_Thread_queue_Enqueue_priority+0x11e>
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
  10c524:	0f b6 3d f4 01 12 00 	movzbl 0x1201f4,%edi                  
  10c52b:	47                   	inc    %edi                           
  10c52c:	89 7d e0             	mov    %edi,-0x20(%ebp)               
                                                                      
  _ISR_Disable( level );                                              
  10c52f:	9c                   	pushf                                 
  10c530:	fa                   	cli                                   
  10c531:	8f 45 f0             	popl   -0x10(%ebp)                    
  10c534:	8b 75 f0             	mov    -0x10(%ebp),%esi               
  search_thread = (Thread_Control *) header->last;                    
  10c537:	8b 7d e8             	mov    -0x18(%ebp),%edi               
  10c53a:	8b 57 08             	mov    0x8(%edi),%edx                 
  10c53d:	8b 7d e0             	mov    -0x20(%ebp),%edi               
  10c540:	89 75 e0             	mov    %esi,-0x20(%ebp)               
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
  10c543:	eb 1d                	jmp    10c562 <_Thread_queue_Enqueue_priority+0xf2>
    search_priority = search_thread->current_priority;                
  10c545:	8b 7a 14             	mov    0x14(%edx),%edi                
    if ( priority >= search_priority )                                
  10c548:	39 fb                	cmp    %edi,%ebx                      
  10c54a:	73 1b                	jae    10c567 <_Thread_queue_Enqueue_priority+0xf7>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
  10c54c:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c54f:	9d                   	popf                                  
  10c550:	fa                   	cli                                   
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
  10c551:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
  10c554:	85 72 10             	test   %esi,0x10(%edx)                
  10c557:	75 06                	jne    10c55f <_Thread_queue_Enqueue_priority+0xef><== ALWAYS TAKEN
      _ISR_Enable( level );                                           
  10c559:	ff 75 f0             	pushl  -0x10(%ebp)                    <== NOT EXECUTED
  10c55c:	9d                   	popf                                  <== NOT EXECUTED
      goto restart_reverse_search;                                    
  10c55d:	eb c5                	jmp    10c524 <_Thread_queue_Enqueue_priority+0xb4><== NOT EXECUTED
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  10c55f:	8b 52 04             	mov    0x4(%edx),%edx                 
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 ) ) {  
  10c562:	3b 55 ec             	cmp    -0x14(%ebp),%edx               
  10c565:	75 de                	jne    10c545 <_Thread_queue_Enqueue_priority+0xd5>
  10c567:	8b 75 e0             	mov    -0x20(%ebp),%esi               
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
  10c56a:	83 79 30 01          	cmpl   $0x1,0x30(%ecx)                
  10c56e:	75 3c                	jne    10c5ac <_Thread_queue_Enqueue_priority+0x13c>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
  10c570:	c7 41 30 00 00 00 00 	movl   $0x0,0x30(%ecx)                
                                                                      
  if ( priority == search_priority )                                  
  10c577:	39 fb                	cmp    %edi,%ebx                      
  10c579:	74 1a                	je     10c595 <_Thread_queue_Enqueue_priority+0x125>
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
  10c57b:	8b 1a                	mov    (%edx),%ebx                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  10c57d:	89 18                	mov    %ebx,(%eax)                    
  the_node->previous      = search_node;                              
  10c57f:	89 50 04             	mov    %edx,0x4(%eax)                 
  search_node->next       = the_node;                                 
  10c582:	89 02                	mov    %eax,(%edx)                    
  next_node->previous    = the_node;                                  
  10c584:	89 43 04             	mov    %eax,0x4(%ebx)                 
  the_thread->Wait.queue = the_thread_queue;                          
  10c587:	89 48 44             	mov    %ecx,0x44(%eax)                
  _ISR_Enable( level );                                               
  10c58a:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10c58d:	9d                   	popf                                  
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
  10c58e:	b8 01 00 00 00       	mov    $0x1,%eax                      
  10c593:	eb 1f                	jmp    10c5b4 <_Thread_queue_Enqueue_priority+0x144>
  10c595:	83 c2 3c             	add    $0x3c,%edx                     
                                                                      
equal_priority:               /* add at end of priority group */      
  search_node   = _Chain_Tail( &search_thread->Wait.Block2n );        
  previous_node = search_node->previous;                              
  10c598:	8b 5a 04             	mov    0x4(%edx),%ebx                 
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  10c59b:	89 10                	mov    %edx,(%eax)                    
  the_node->previous     = previous_node;                             
  10c59d:	89 58 04             	mov    %ebx,0x4(%eax)                 
  previous_node->next    = the_node;                                  
  10c5a0:	89 03                	mov    %eax,(%ebx)                    
  search_node->previous  = the_node;                                  
  10c5a2:	89 42 04             	mov    %eax,0x4(%edx)                 
  the_thread->Wait.queue = the_thread_queue;                          
  10c5a5:	89 48 44             	mov    %ecx,0x44(%eax)                
  _ISR_Enable( level );                                               
  10c5a8:	56                   	push   %esi                           
  10c5a9:	9d                   	popf                                  
  10c5aa:	eb e2                	jmp    10c58e <_Thread_queue_Enqueue_priority+0x11e>
   *  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;                                                   
  10c5ac:	8b 45 10             	mov    0x10(%ebp),%eax                
  10c5af:	89 30                	mov    %esi,(%eax)                    
  return the_thread_queue->sync_state;                                
  10c5b1:	8b 41 30             	mov    0x30(%ecx),%eax                
}                                                                     
  10c5b4:	83 c4 14             	add    $0x14,%esp                     
  10c5b7:	5b                   	pop    %ebx                           
  10c5b8:	5e                   	pop    %esi                           
  10c5b9:	5f                   	pop    %edi                           
  10c5ba:	c9                   	leave                                 
  10c5bb:	c3                   	ret                                   
                                                                      

0010c668 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
  10c668:	55                   	push   %ebp                           
  10c669:	89 e5                	mov    %esp,%ebp                      
  10c66b:	57                   	push   %edi                           
  10c66c:	56                   	push   %esi                           
  10c66d:	53                   	push   %ebx                           
  10c66e:	83 ec 1c             	sub    $0x1c,%esp                     
  10c671:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10c674:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  /*                                                                  
   * Just in case the thread really wasn't blocked on a thread queue  
   * when we get here.                                                
   */                                                                 
  if ( !the_thread_queue )                                            
  10c677:	85 f6                	test   %esi,%esi                      
  10c679:	74 36                	je     10c6b1 <_Thread_queue_Requeue+0x49><== 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 ) {
  10c67b:	83 7e 34 01          	cmpl   $0x1,0x34(%esi)                
  10c67f:	75 30                	jne    10c6b1 <_Thread_queue_Requeue+0x49><== NEVER TAKEN
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
  10c681:	9c                   	pushf                                 
  10c682:	fa                   	cli                                   
  10c683:	5b                   	pop    %ebx                           
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
  10c684:	f7 47 10 e0 be 03 00 	testl  $0x3bee0,0x10(%edi)            
  10c68b:	74 22                	je     10c6af <_Thread_queue_Requeue+0x47><== NEVER TAKEN
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
  10c68d:	c7 46 30 01 00 00 00 	movl   $0x1,0x30(%esi)                
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
  10c694:	50                   	push   %eax                           
  10c695:	6a 01                	push   $0x1                           
  10c697:	57                   	push   %edi                           
  10c698:	56                   	push   %esi                           
  10c699:	e8 3a 31 00 00       	call   10f7d8 <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
  10c69e:	83 c4 0c             	add    $0xc,%esp                      
  10c6a1:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10c6a4:	50                   	push   %eax                           
  10c6a5:	57                   	push   %edi                           
  10c6a6:	56                   	push   %esi                           
  10c6a7:	e8 c4 fd ff ff       	call   10c470 <_Thread_queue_Enqueue_priority>
  10c6ac:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
    _ISR_Enable( level );                                             
  10c6af:	53                   	push   %ebx                           
  10c6b0:	9d                   	popf                                  
  }                                                                   
}                                                                     
  10c6b1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c6b4:	5b                   	pop    %ebx                           
  10c6b5:	5e                   	pop    %esi                           
  10c6b6:	5f                   	pop    %edi                           
  10c6b7:	c9                   	leave                                 
  10c6b8:	c3                   	ret                                   
                                                                      

0010c6bc <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
  10c6bc:	55                   	push   %ebp                           
  10c6bd:	89 e5                	mov    %esp,%ebp                      
  10c6bf:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10c6c2:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10c6c5:	50                   	push   %eax                           
  10c6c6:	ff 75 08             	pushl  0x8(%ebp)                      
  10c6c9:	e8 ae f8 ff ff       	call   10bf7c <_Thread_Get>           
  switch ( location ) {                                               
  10c6ce:	83 c4 10             	add    $0x10,%esp                     
  10c6d1:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10c6d5:	75 17                	jne    10c6ee <_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 );                    
  10c6d7:	83 ec 0c             	sub    $0xc,%esp                      
  10c6da:	50                   	push   %eax                           
  10c6db:	e8 ac 31 00 00       	call   10f88c <_Thread_queue_Process_timeout>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10c6e0:	a1 e4 41 12 00       	mov    0x1241e4,%eax                  
  10c6e5:	48                   	dec    %eax                           
  10c6e6:	a3 e4 41 12 00       	mov    %eax,0x1241e4                  
  10c6eb:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10c6ee:	c9                   	leave                                 
  10c6ef:	c3                   	ret                                   
                                                                      

00116a8c <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
  116a8c:	55                   	push   %ebp                           
  116a8d:	89 e5                	mov    %esp,%ebp                      
  116a8f:	57                   	push   %edi                           
  116a90:	56                   	push   %esi                           
  116a91:	53                   	push   %ebx                           
  116a92:	83 ec 4c             	sub    $0x4c,%esp                     
  116a95:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  116a98:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  116a9b:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  116a9e:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  116aa1:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  the_chain->permanent_null = NULL;                                   
  116aa4:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  Timer_server_Control *ts = (Timer_server_Control *) arg;            
  Chain_Control insert_chain;                                         
  Chain_Control fire_chain;                                           
                                                                      
  _Chain_Initialize_empty( &insert_chain );                           
  116aab:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  116aae:	8d 7d d0             	lea    -0x30(%ebp),%edi               
  116ab1:	8d 55 d4             	lea    -0x2c(%ebp),%edx               
  116ab4:	89 55 b0             	mov    %edx,-0x50(%ebp)               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  116ab7:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  the_chain->permanent_null = NULL;                                   
  116aba:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
  the_chain->last           = _Chain_Head(the_chain);                 
  116ac1:	89 7d d8             	mov    %edi,-0x28(%ebp)               
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
  116ac4:	8d 43 30             	lea    0x30(%ebx),%eax                
  116ac7:	89 45 c0             	mov    %eax,-0x40(%ebp)               
     /*                                                               
      *  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 ); 
  116aca:	8d 73 68             	lea    0x68(%ebx),%esi                
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
  116acd:	8d 53 08             	lea    0x8(%ebx),%edx                 
  116ad0:	89 55 bc             	mov    %edx,-0x44(%ebp)               
{                                                                     
  /*                                                                  
   *  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;                                    
  116ad3:	8d 4d dc             	lea    -0x24(%ebp),%ecx               
  116ad6:	89 4b 78             	mov    %ecx,0x78(%ebx)                
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
  116ad9:	a1 f0 e6 13 00       	mov    0x13e6f0,%eax                  
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
  116ade:	8b 53 3c             	mov    0x3c(%ebx),%edx                
                                                                      
  watchdogs->last_snapshot = snapshot;                                
  116ae1:	89 43 3c             	mov    %eax,0x3c(%ebx)                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
  116ae4:	51                   	push   %ecx                           
  116ae5:	8d 4d d0             	lea    -0x30(%ebp),%ecx               
  116ae8:	51                   	push   %ecx                           
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
  116ae9:	29 d0                	sub    %edx,%eax                      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
  116aeb:	50                   	push   %eax                           
  116aec:	ff 75 c0             	pushl  -0x40(%ebp)                    
  116aef:	e8 90 39 00 00       	call   11a484 <_Watchdog_Adjust_to_chain>
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
  116af4:	a1 44 e6 13 00       	mov    0x13e644,%eax                  
  116af9:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
  116afc:	8b 43 74             	mov    0x74(%ebx),%eax                
  /*                                                                  
   *  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 ) {                                   
  116aff:	83 c4 10             	add    $0x10,%esp                     
  116b02:	39 45 c4             	cmp    %eax,-0x3c(%ebp)               
  116b05:	76 13                	jbe    116b1a <_Timer_server_Body+0x8e>
    /*                                                                
     *  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 );
  116b07:	52                   	push   %edx                           
  116b08:	8d 55 d0             	lea    -0x30(%ebp),%edx               
  116b0b:	52                   	push   %edx                           
  if ( snapshot > last_snapshot ) {                                   
    /*                                                                
     *  This path is for normal forward movement and cases where the  
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
  116b0c:	8b 4d c4             	mov    -0x3c(%ebp),%ecx               
  116b0f:	29 c1                	sub    %eax,%ecx                      
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
  116b11:	51                   	push   %ecx                           
  116b12:	56                   	push   %esi                           
  116b13:	e8 6c 39 00 00       	call   11a484 <_Watchdog_Adjust_to_chain>
  116b18:	eb 0f                	jmp    116b29 <_Timer_server_Body+0x9d>
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
  116b1a:	73 10                	jae    116b2c <_Timer_server_Body+0xa0>
     /*                                                               
      *  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 ); 
  116b1c:	51                   	push   %ecx                           
  } else if ( snapshot < last_snapshot ) {                            
     /*                                                               
      *  The current TOD is before the last TOD which indicates that  
      *  TOD has been set backwards.                                  
      */                                                              
     delta = last_snapshot - snapshot;                                
  116b1d:	2b 45 c4             	sub    -0x3c(%ebp),%eax               
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  116b20:	50                   	push   %eax                           
  116b21:	6a 01                	push   $0x1                           
  116b23:	56                   	push   %esi                           
  116b24:	e8 ef 38 00 00       	call   11a418 <_Watchdog_Adjust>      
  116b29:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
  116b2c:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  116b2f:	89 43 74             	mov    %eax,0x74(%ebx)                
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
  116b32:	8b 43 78             	mov    0x78(%ebx),%eax                
  116b35:	83 ec 0c             	sub    $0xc,%esp                      
  116b38:	50                   	push   %eax                           
  116b39:	e8 da 08 00 00       	call   117418 <_Chain_Get>            
                                                                      
    if ( timer == NULL ) {                                            
  116b3e:	83 c4 10             	add    $0x10,%esp                     
  116b41:	85 c0                	test   %eax,%eax                      
  116b43:	74 29                	je     116b6e <_Timer_server_Body+0xe2><== ALWAYS TAKEN
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
  116b45:	8b 50 38             	mov    0x38(%eax),%edx                <== NOT EXECUTED
  116b48:	83 fa 01             	cmp    $0x1,%edx                      <== NOT EXECUTED
  116b4b:	75 0b                	jne    116b58 <_Timer_server_Body+0xcc><== NOT EXECUTED
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  116b4d:	52                   	push   %edx                           <== NOT EXECUTED
  116b4e:	52                   	push   %edx                           <== NOT EXECUTED
  116b4f:	83 c0 10             	add    $0x10,%eax                     <== NOT EXECUTED
  116b52:	50                   	push   %eax                           <== NOT EXECUTED
  116b53:	ff 75 c0             	pushl  -0x40(%ebp)                    <== NOT EXECUTED
  116b56:	eb 0c                	jmp    116b64 <_Timer_server_Body+0xd8><== NOT EXECUTED
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
  116b58:	83 fa 03             	cmp    $0x3,%edx                      <== NOT EXECUTED
  116b5b:	75 d5                	jne    116b32 <_Timer_server_Body+0xa6><== NOT EXECUTED
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
  116b5d:	51                   	push   %ecx                           <== NOT EXECUTED
  116b5e:	51                   	push   %ecx                           <== NOT EXECUTED
  116b5f:	83 c0 10             	add    $0x10,%eax                     <== NOT EXECUTED
  116b62:	50                   	push   %eax                           <== NOT EXECUTED
  116b63:	56                   	push   %esi                           <== NOT EXECUTED
  116b64:	e8 a3 39 00 00       	call   11a50c <_Watchdog_Insert>      <== NOT EXECUTED
  116b69:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  116b6c:	eb c4                	jmp    116b32 <_Timer_server_Body+0xa6><== 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 );                                            
  116b6e:	9c                   	pushf                                 
  116b6f:	fa                   	cli                                   
  116b70:	58                   	pop    %eax                           
    if ( _Chain_Is_empty( insert_chain ) ) {                          
  116b71:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  116b74:	39 55 dc             	cmp    %edx,-0x24(%ebp)               
  116b77:	75 13                	jne    116b8c <_Timer_server_Body+0x100><== NEVER TAKEN
      ts->insert_chain = NULL;                                        
  116b79:	c7 43 78 00 00 00 00 	movl   $0x0,0x78(%ebx)                
      _ISR_Enable( level );                                           
  116b80:	50                   	push   %eax                           
  116b81:	9d                   	popf                                  
  _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 ) ) {                          
  116b82:	8b 4d b0             	mov    -0x50(%ebp),%ecx               
  116b85:	39 4d d0             	cmp    %ecx,-0x30(%ebp)               
  116b88:	75 09                	jne    116b93 <_Timer_server_Body+0x107>
  116b8a:	eb 3e                	jmp    116bca <_Timer_server_Body+0x13e>
      ts->insert_chain = NULL;                                        
      _ISR_Enable( level );                                           
                                                                      
      break;                                                          
    } else {                                                          
      _ISR_Enable( level );                                           
  116b8c:	50                   	push   %eax                           <== NOT EXECUTED
  116b8d:	9d                   	popf                                  <== NOT EXECUTED
  116b8e:	e9 46 ff ff ff       	jmp    116ad9 <_Timer_server_Body+0x4d><== 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 );                                        
  116b93:	9c                   	pushf                                 
  116b94:	fa                   	cli                                   
  116b95:	5a                   	pop    %edx                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  116b96:	8b 45 d0             	mov    -0x30(%ebp),%eax               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
  116b99:	3b 45 b0             	cmp    -0x50(%ebp),%eax               
  116b9c:	74 25                	je     116bc3 <_Timer_server_Body+0x137>
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
  116b9e:	8b 08                	mov    (%eax),%ecx                    
  the_chain->first    = new_first;                                    
  116ba0:	89 4d d0             	mov    %ecx,-0x30(%ebp)               
  new_first->previous = _Chain_Head(the_chain);                       
  116ba3:	89 79 04             	mov    %edi,0x4(%ecx)                 
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
  116ba6:	85 c0                	test   %eax,%eax                      
  116ba8:	74 19                	je     116bc3 <_Timer_server_Body+0x137><== NEVER TAKEN
          watchdog->state = WATCHDOG_INACTIVE;                        
  116baa:	c7 40 08 00 00 00 00 	movl   $0x0,0x8(%eax)                 
          _ISR_Enable( level );                                       
  116bb1:	52                   	push   %edx                           
  116bb2:	9d                   	popf                                  
        /*                                                            
         *  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 );    
  116bb3:	52                   	push   %edx                           
  116bb4:	52                   	push   %edx                           
  116bb5:	ff 70 24             	pushl  0x24(%eax)                     
  116bb8:	ff 70 20             	pushl  0x20(%eax)                     
  116bbb:	ff 50 1c             	call   *0x1c(%eax)                    
      }                                                               
  116bbe:	83 c4 10             	add    $0x10,%esp                     
  116bc1:	eb d0                	jmp    116b93 <_Timer_server_Body+0x107>
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
          _ISR_Enable( level );                                       
        } else {                                                      
          _ISR_Enable( level );                                       
  116bc3:	52                   	push   %edx                           
  116bc4:	9d                   	popf                                  
  116bc5:	e9 09 ff ff ff       	jmp    116ad3 <_Timer_server_Body+0x47>
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
  116bca:	c6 43 7c 00          	movb   $0x0,0x7c(%ebx)                
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
  116bce:	e8 1d fe ff ff       	call   1169f0 <_Thread_Disable_dispatch>
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
  116bd3:	50                   	push   %eax                           
  116bd4:	50                   	push   %eax                           
  116bd5:	6a 08                	push   $0x8                           
  116bd7:	ff 33                	pushl  (%ebx)                         
  116bd9:	e8 0e 31 00 00       	call   119cec <_Thread_Set_state>     
        _Timer_server_Reset_interval_system_watchdog( ts );           
  116bde:	89 d8                	mov    %ebx,%eax                      
  116be0:	e8 1b fe ff ff       	call   116a00 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
  116be5:	89 d8                	mov    %ebx,%eax                      
  116be7:	e8 5a fe ff ff       	call   116a46 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
  116bec:	e8 f1 27 00 00       	call   1193e2 <_Thread_Enable_dispatch>
                                                                      
      ts->active = true;                                              
  116bf1:	c6 43 7c 01          	movb   $0x1,0x7c(%ebx)                
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
  116bf5:	59                   	pop    %ecx                           
  116bf6:	ff 75 bc             	pushl  -0x44(%ebp)                    
  116bf9:	e8 26 3a 00 00       	call   11a624 <_Watchdog_Remove>      
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
  116bfe:	8d 43 40             	lea    0x40(%ebx),%eax                
  116c01:	89 04 24             	mov    %eax,(%esp)                    
  116c04:	e8 1b 3a 00 00       	call   11a624 <_Watchdog_Remove>      
  116c09:	83 c4 10             	add    $0x10,%esp                     
  116c0c:	e9 c2 fe ff ff       	jmp    116ad3 <_Timer_server_Body+0x47>
                                                                      

00116c11 <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
  116c11:	55                   	push   %ebp                           
  116c12:	89 e5                	mov    %esp,%ebp                      
  116c14:	57                   	push   %edi                           
  116c15:	56                   	push   %esi                           
  116c16:	53                   	push   %ebx                           
  116c17:	83 ec 2c             	sub    $0x2c,%esp                     
  116c1a:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  116c1d:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  if ( ts->insert_chain == NULL ) {                                   
  116c20:	8b 43 78             	mov    0x78(%ebx),%eax                
  116c23:	85 c0                	test   %eax,%eax                      
  116c25:	0f 85 de 00 00 00    	jne    116d09 <_Timer_server_Schedule_operation_method+0xf8><== NEVER TAKEN
   *  is the reference point for the delta chain.  Thus if we do not update the
   *  reference point we have to add DT to the initial delta of the watchdog
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
  116c2b:	e8 c0 fd ff ff       	call   1169f0 <_Thread_Disable_dispatch>
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
  116c30:	8b 46 38             	mov    0x38(%esi),%eax                
  116c33:	83 f8 01             	cmp    $0x1,%eax                      
  116c36:	75 5a                	jne    116c92 <_Timer_server_Schedule_operation_method+0x81>
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
  116c38:	9c                   	pushf                                 
  116c39:	fa                   	cli                                   
  116c3a:	8f 45 e0             	popl   -0x20(%ebp)                    
    snapshot = _Watchdog_Ticks_since_boot;                            
  116c3d:	8b 15 f0 e6 13 00    	mov    0x13e6f0,%edx                  
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
  116c43:	8b 4b 3c             	mov    0x3c(%ebx),%ecx                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  116c46:	8b 43 30             	mov    0x30(%ebx),%eax                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  116c49:	8d 7b 34             	lea    0x34(%ebx),%edi                
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
  116c4c:	39 f8                	cmp    %edi,%eax                      
  116c4e:	74 19                	je     116c69 <_Timer_server_Schedule_operation_method+0x58>
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
  116c50:	89 d7                	mov    %edx,%edi                      
  116c52:	29 cf                	sub    %ecx,%edi                      
  116c54:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
  116c57:	8b 78 10             	mov    0x10(%eax),%edi                
      if (delta_interval > delta) {                                   
        delta_interval -= delta;                                      
      } else {                                                        
        delta_interval = 0;                                           
  116c5a:	31 c9                	xor    %ecx,%ecx                      
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
  116c5c:	3b 7d e4             	cmp    -0x1c(%ebp),%edi               
  116c5f:	76 05                	jbe    116c66 <_Timer_server_Schedule_operation_method+0x55>
        delta_interval -= delta;                                      
  116c61:	89 f9                	mov    %edi,%ecx                      
  116c63:	2b 4d e4             	sub    -0x1c(%ebp),%ecx               
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
  116c66:	89 48 10             	mov    %ecx,0x10(%eax)                
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
  116c69:	89 53 3c             	mov    %edx,0x3c(%ebx)                
    _ISR_Enable( level );                                             
  116c6c:	ff 75 e0             	pushl  -0x20(%ebp)                    
  116c6f:	9d                   	popf                                  
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  116c70:	50                   	push   %eax                           
  116c71:	50                   	push   %eax                           
  116c72:	83 c6 10             	add    $0x10,%esi                     
  116c75:	56                   	push   %esi                           
  116c76:	8d 43 30             	lea    0x30(%ebx),%eax                
  116c79:	50                   	push   %eax                           
  116c7a:	e8 8d 38 00 00       	call   11a50c <_Watchdog_Insert>      
                                                                      
    if ( !ts->active ) {                                              
  116c7f:	8a 43 7c             	mov    0x7c(%ebx),%al                 
  116c82:	83 c4 10             	add    $0x10,%esp                     
  116c85:	84 c0                	test   %al,%al                        
  116c87:	75 74                	jne    116cfd <_Timer_server_Schedule_operation_method+0xec>
      _Timer_server_Reset_interval_system_watchdog( ts );             
  116c89:	89 d8                	mov    %ebx,%eax                      
  116c8b:	e8 70 fd ff ff       	call   116a00 <_Timer_server_Reset_interval_system_watchdog>
  116c90:	eb 6b                	jmp    116cfd <_Timer_server_Schedule_operation_method+0xec>
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
  116c92:	83 f8 03             	cmp    $0x3,%eax                      
  116c95:	75 66                	jne    116cfd <_Timer_server_Schedule_operation_method+0xec>
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
  116c97:	9c                   	pushf                                 
  116c98:	fa                   	cli                                   
  116c99:	8f 45 e0             	popl   -0x20(%ebp)                    
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
  116c9c:	8b 15 44 e6 13 00    	mov    0x13e644,%edx                  
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
  116ca2:	8b 43 74             	mov    0x74(%ebx),%eax                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  116ca5:	8b 4b 68             	mov    0x68(%ebx),%ecx                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  116ca8:	8d 7b 6c             	lea    0x6c(%ebx),%edi                
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
  116cab:	39 f9                	cmp    %edi,%ecx                      
  116cad:	74 27                	je     116cd6 <_Timer_server_Schedule_operation_method+0xc5>
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
  116caf:	8b 79 10             	mov    0x10(%ecx),%edi                
  116cb2:	89 7d d4             	mov    %edi,-0x2c(%ebp)               
      if ( snapshot > last_snapshot ) {                               
  116cb5:	39 c2                	cmp    %eax,%edx                      
  116cb7:	76 15                	jbe    116cce <_Timer_server_Schedule_operation_method+0xbd>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
  116cb9:	89 d7                	mov    %edx,%edi                      
  116cbb:	29 c7                	sub    %eax,%edi                      
  116cbd:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
        if (delta_interval > delta) {                                 
          delta_interval -= delta;                                    
        } else {                                                      
          delta_interval = 0;                                         
  116cc0:	31 c0                	xor    %eax,%eax                      
      if ( snapshot > last_snapshot ) {                               
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
        if (delta_interval > delta) {                                 
  116cc2:	39 7d d4             	cmp    %edi,-0x2c(%ebp)               
  116cc5:	76 0c                	jbe    116cd3 <_Timer_server_Schedule_operation_method+0xc2><== NEVER TAKEN
          delta_interval -= delta;                                    
  116cc7:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  116cca:	29 f8                	sub    %edi,%eax                      
  116ccc:	eb 05                	jmp    116cd3 <_Timer_server_Schedule_operation_method+0xc2>
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
  116cce:	03 45 d4             	add    -0x2c(%ebp),%eax               
        delta_interval += delta;                                      
  116cd1:	29 d0                	sub    %edx,%eax                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
  116cd3:	89 41 10             	mov    %eax,0x10(%ecx)                
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
  116cd6:	89 53 74             	mov    %edx,0x74(%ebx)                
    _ISR_Enable( level );                                             
  116cd9:	ff 75 e0             	pushl  -0x20(%ebp)                    
  116cdc:	9d                   	popf                                  
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
  116cdd:	57                   	push   %edi                           
  116cde:	57                   	push   %edi                           
  116cdf:	83 c6 10             	add    $0x10,%esi                     
  116ce2:	56                   	push   %esi                           
  116ce3:	8d 43 68             	lea    0x68(%ebx),%eax                
  116ce6:	50                   	push   %eax                           
  116ce7:	e8 20 38 00 00       	call   11a50c <_Watchdog_Insert>      
                                                                      
    if ( !ts->active ) {                                              
  116cec:	8a 43 7c             	mov    0x7c(%ebx),%al                 
  116cef:	83 c4 10             	add    $0x10,%esp                     
  116cf2:	84 c0                	test   %al,%al                        
  116cf4:	75 07                	jne    116cfd <_Timer_server_Schedule_operation_method+0xec>
      _Timer_server_Reset_tod_system_watchdog( ts );                  
  116cf6:	89 d8                	mov    %ebx,%eax                      
  116cf8:	e8 49 fd ff ff       	call   116a46 <_Timer_server_Reset_tod_system_watchdog>
     *  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 );           
  }                                                                   
}                                                                     
  116cfd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  116d00:	5b                   	pop    %ebx                           
  116d01:	5e                   	pop    %esi                           
  116d02:	5f                   	pop    %edi                           
  116d03:	c9                   	leave                                 
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
  116d04:	e9 d9 26 00 00       	jmp    1193e2 <_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 );           
  116d09:	8b 43 78             	mov    0x78(%ebx),%eax                <== NOT EXECUTED
  116d0c:	89 75 0c             	mov    %esi,0xc(%ebp)                 <== NOT EXECUTED
  116d0f:	89 45 08             	mov    %eax,0x8(%ebp)                 <== NOT EXECUTED
  }                                                                   
}                                                                     
  116d12:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  116d15:	5b                   	pop    %ebx                           <== NOT EXECUTED
  116d16:	5e                   	pop    %esi                           <== NOT EXECUTED
  116d17:	5f                   	pop    %edi                           <== NOT EXECUTED
  116d18:	c9                   	leave                                 <== 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 );           
  116d19:	e9 be 06 00 00       	jmp    1173dc <_Chain_Append>         <== NOT EXECUTED
                                                                      

0010e544 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
  10e544:	55                   	push   %ebp                           
  10e545:	89 e5                	mov    %esp,%ebp                      
  10e547:	57                   	push   %edi                           
  10e548:	56                   	push   %esi                           
  10e549:	53                   	push   %ebx                           
  10e54a:	83 ec 1c             	sub    $0x1c,%esp                     
  10e54d:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10e550:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10e553:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
  10e556:	9c                   	pushf                                 
  10e557:	fa                   	cli                                   
  10e558:	58                   	pop    %eax                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  10e559:	8b 16                	mov    (%esi),%edx                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10e55b:	8d 4e 04             	lea    0x4(%esi),%ecx                 
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
  10e55e:	39 ca                	cmp    %ecx,%edx                      
  10e560:	74 44                	je     10e5a6 <_Watchdog_Adjust+0x62> 
    switch ( direction ) {                                            
  10e562:	85 ff                	test   %edi,%edi                      
  10e564:	74 3c                	je     10e5a2 <_Watchdog_Adjust+0x5e> 
  10e566:	4f                   	dec    %edi                           
  10e567:	75 3d                	jne    10e5a6 <_Watchdog_Adjust+0x62> <== NEVER TAKEN
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
  10e569:	01 5a 10             	add    %ebx,0x10(%edx)                
        break;                                                        
  10e56c:	eb 38                	jmp    10e5a6 <_Watchdog_Adjust+0x62> 
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) header->first );                      
  10e56e:	8b 16                	mov    (%esi),%edx                    
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
  10e570:	8b 7a 10             	mov    0x10(%edx),%edi                
  10e573:	39 fb                	cmp    %edi,%ebx                      
  10e575:	73 07                	jae    10e57e <_Watchdog_Adjust+0x3a> 
            _Watchdog_First( header )->delta_interval -= units;       
  10e577:	29 df                	sub    %ebx,%edi                      
  10e579:	89 7a 10             	mov    %edi,0x10(%edx)                
            break;                                                    
  10e57c:	eb 28                	jmp    10e5a6 <_Watchdog_Adjust+0x62> 
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
  10e57e:	c7 42 10 01 00 00 00 	movl   $0x1,0x10(%edx)                
                                                                      
            _ISR_Enable( level );                                     
  10e585:	50                   	push   %eax                           
  10e586:	9d                   	popf                                  
                                                                      
            _Watchdog_Tickle( header );                               
  10e587:	83 ec 0c             	sub    $0xc,%esp                      
  10e58a:	56                   	push   %esi                           
  10e58b:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  10e58e:	e8 9d 01 00 00       	call   10e730 <_Watchdog_Tickle>      
                                                                      
            _ISR_Disable( level );                                    
  10e593:	9c                   	pushf                                 
  10e594:	fa                   	cli                                   
  10e595:	58                   	pop    %eax                           
                                                                      
            if ( _Chain_Is_empty( header ) )                          
  10e596:	83 c4 10             	add    $0x10,%esp                     
  10e599:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10e59c:	39 0e                	cmp    %ecx,(%esi)                    
  10e59e:	74 06                	je     10e5a6 <_Watchdog_Adjust+0x62> 
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
  10e5a0:	29 fb                	sub    %edi,%ebx                      
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
  10e5a2:	85 db                	test   %ebx,%ebx                      
  10e5a4:	75 c8                	jne    10e56e <_Watchdog_Adjust+0x2a> <== ALWAYS TAKEN
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  10e5a6:	50                   	push   %eax                           
  10e5a7:	9d                   	popf                                  
                                                                      
}                                                                     
  10e5a8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e5ab:	5b                   	pop    %ebx                           
  10e5ac:	5e                   	pop    %esi                           
  10e5ad:	5f                   	pop    %edi                           
  10e5ae:	c9                   	leave                                 
  10e5af:	c3                   	ret                                   
                                                                      

0010ce48 <_Watchdog_Remove>: */ Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog ) {
  10ce48:	55                   	push   %ebp                           
  10ce49:	89 e5                	mov    %esp,%ebp                      
  10ce4b:	56                   	push   %esi                           
  10ce4c:	53                   	push   %ebx                           
  10ce4d:	8b 55 08             	mov    0x8(%ebp),%edx                 
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  10ce50:	9c                   	pushf                                 
  10ce51:	fa                   	cli                                   
  10ce52:	5e                   	pop    %esi                           
  previous_state = the_watchdog->state;                               
  10ce53:	8b 42 08             	mov    0x8(%edx),%eax                 
  switch ( previous_state ) {                                         
  10ce56:	83 f8 01             	cmp    $0x1,%eax                      
  10ce59:	74 09                	je     10ce64 <_Watchdog_Remove+0x1c> 
  10ce5b:	72 42                	jb     10ce9f <_Watchdog_Remove+0x57> 
  10ce5d:	83 f8 03             	cmp    $0x3,%eax                      
  10ce60:	77 3d                	ja     10ce9f <_Watchdog_Remove+0x57> <== NEVER TAKEN
  10ce62:	eb 09                	jmp    10ce6d <_Watchdog_Remove+0x25> 
                                                                      
      /*                                                              
       *  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;                        
  10ce64:	c7 42 08 00 00 00 00 	movl   $0x0,0x8(%edx)                 
      break;                                                          
  10ce6b:	eb 32                	jmp    10ce9f <_Watchdog_Remove+0x57> 
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
  10ce6d:	c7 42 08 00 00 00 00 	movl   $0x0,0x8(%edx)                 
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
  10ce74:	8b 0a                	mov    (%edx),%ecx                    
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
  10ce76:	83 39 00             	cmpl   $0x0,(%ecx)                    
  10ce79:	74 06                	je     10ce81 <_Watchdog_Remove+0x39> 
        next_watchdog->delta_interval += the_watchdog->delta_interval;
  10ce7b:	8b 5a 10             	mov    0x10(%edx),%ebx                
  10ce7e:	01 59 10             	add    %ebx,0x10(%ecx)                
                                                                      
      if ( _Watchdog_Sync_count )                                     
  10ce81:	8b 1d 18 43 12 00    	mov    0x124318,%ebx                  
  10ce87:	85 db                	test   %ebx,%ebx                      
  10ce89:	74 0c                	je     10ce97 <_Watchdog_Remove+0x4f> 
        _Watchdog_Sync_level = _ISR_Nest_level;                       
  10ce8b:	8b 1d 30 47 12 00    	mov    0x124730,%ebx                  
  10ce91:	89 1d 90 42 12 00    	mov    %ebx,0x124290                  
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  10ce97:	8b 5a 04             	mov    0x4(%edx),%ebx                 
  next->previous = previous;                                          
  10ce9a:	89 59 04             	mov    %ebx,0x4(%ecx)                 
  previous->next = next;                                              
  10ce9d:	89 0b                	mov    %ecx,(%ebx)                    
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
  10ce9f:	8b 0d 1c 43 12 00    	mov    0x12431c,%ecx                  
  10cea5:	89 4a 18             	mov    %ecx,0x18(%edx)                
                                                                      
  _ISR_Enable( level );                                               
  10cea8:	56                   	push   %esi                           
  10cea9:	9d                   	popf                                  
  return( previous_state );                                           
}                                                                     
  10ceaa:	5b                   	pop    %ebx                           
  10ceab:	5e                   	pop    %esi                           
  10ceac:	c9                   	leave                                 
  10cead:	c3                   	ret                                   
                                                                      

0010e0b8 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
  10e0b8:	55                   	push   %ebp                           
  10e0b9:	89 e5                	mov    %esp,%ebp                      
  10e0bb:	57                   	push   %edi                           
  10e0bc:	56                   	push   %esi                           
  10e0bd:	53                   	push   %ebx                           
  10e0be:	83 ec 20             	sub    $0x20,%esp                     
  10e0c1:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10e0c4:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
  10e0c7:	9c                   	pushf                                 
  10e0c8:	fa                   	cli                                   
  10e0c9:	8f 45 e4             	popl   -0x1c(%ebp)                    
    printk( "Watchdog Chain: %s %p\n", name, header );                
  10e0cc:	56                   	push   %esi                           
  10e0cd:	57                   	push   %edi                           
  10e0ce:	68 bc 11 12 00       	push   $0x1211bc                      
  10e0d3:	e8 d4 a9 ff ff       	call   108aac <printk>                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  10e0d8:	8b 1e                	mov    (%esi),%ebx                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10e0da:	83 c6 04             	add    $0x4,%esi                      
    if ( !_Chain_Is_empty( header ) ) {                               
  10e0dd:	83 c4 10             	add    $0x10,%esp                     
  10e0e0:	39 f3                	cmp    %esi,%ebx                      
  10e0e2:	74 1d                	je     10e101 <_Watchdog_Report_chain+0x49>
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
  10e0e4:	52                   	push   %edx                           
  10e0e5:	52                   	push   %edx                           
  10e0e6:	53                   	push   %ebx                           
  10e0e7:	6a 00                	push   $0x0                           
  10e0e9:	e8 32 00 00 00       	call   10e120 <_Watchdog_Report>      
  _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 )                                       
  10e0ee:	8b 1b                	mov    (%ebx),%ebx                    
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = header->first ;                                    
  10e0f0:	83 c4 10             	add    $0x10,%esp                     
  10e0f3:	39 f3                	cmp    %esi,%ebx                      
  10e0f5:	75 ed                	jne    10e0e4 <_Watchdog_Report_chain+0x2c><== NEVER TAKEN
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
  10e0f7:	50                   	push   %eax                           
  10e0f8:	50                   	push   %eax                           
  10e0f9:	57                   	push   %edi                           
  10e0fa:	68 d3 11 12 00       	push   $0x1211d3                      
  10e0ff:	eb 08                	jmp    10e109 <_Watchdog_Report_chain+0x51>
    } else {                                                          
      printk( "Chain is empty\n" );                                   
  10e101:	83 ec 0c             	sub    $0xc,%esp                      
  10e104:	68 e2 11 12 00       	push   $0x1211e2                      
  10e109:	e8 9e a9 ff ff       	call   108aac <printk>                
  10e10e:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
  _ISR_Enable( level );                                               
  10e111:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10e114:	9d                   	popf                                  
}                                                                     
  10e115:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e118:	5b                   	pop    %ebx                           
  10e119:	5e                   	pop    %esi                           
  10e11a:	5f                   	pop    %edi                           
  10e11b:	c9                   	leave                                 
  10e11c:	c3                   	ret                                   
                                                                      

0010ceb0 <_Watchdog_Tickle>: */ void _Watchdog_Tickle( Chain_Control *header ) {
  10ceb0:	55                   	push   %ebp                           
  10ceb1:	89 e5                	mov    %esp,%ebp                      
  10ceb3:	57                   	push   %edi                           
  10ceb4:	56                   	push   %esi                           
  10ceb5:	53                   	push   %ebx                           
  10ceb6:	83 ec 1c             	sub    $0x1c,%esp                     
  10ceb9:	8b 7d 08             	mov    0x8(%ebp),%edi                 
   * 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 );                                              
  10cebc:	9c                   	pushf                                 
  10cebd:	fa                   	cli                                   
  10cebe:	5e                   	pop    %esi                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  10cebf:	8b 1f                	mov    (%edi),%ebx                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10cec1:	8d 47 04             	lea    0x4(%edi),%eax                 
  10cec4:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
                                                                      
  if ( _Chain_Is_empty( header ) )                                    
  10cec7:	39 c3                	cmp    %eax,%ebx                      
  10cec9:	74 40                	je     10cf0b <_Watchdog_Tickle+0x5b> 
   * 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) {                            
  10cecb:	8b 43 10             	mov    0x10(%ebx),%eax                
  10cece:	85 c0                	test   %eax,%eax                      
  10ced0:	74 08                	je     10ceda <_Watchdog_Tickle+0x2a> 
    the_watchdog->delta_interval--;                                   
  10ced2:	48                   	dec    %eax                           
  10ced3:	89 43 10             	mov    %eax,0x10(%ebx)                
    if ( the_watchdog->delta_interval != 0 )                          
  10ced6:	85 c0                	test   %eax,%eax                      
  10ced8:	75 31                	jne    10cf0b <_Watchdog_Tickle+0x5b> 
      goto leave;                                                     
  }                                                                   
                                                                      
  do {                                                                
     watchdog_state = _Watchdog_Remove( the_watchdog );               
  10ceda:	83 ec 0c             	sub    $0xc,%esp                      
  10cedd:	53                   	push   %ebx                           
  10cede:	e8 65 ff ff ff       	call   10ce48 <_Watchdog_Remove>      
                                                                      
     _ISR_Enable( level );                                            
  10cee3:	56                   	push   %esi                           
  10cee4:	9d                   	popf                                  
                                                                      
     switch( watchdog_state ) {                                       
  10cee5:	83 c4 10             	add    $0x10,%esp                     
  10cee8:	83 f8 02             	cmp    $0x2,%eax                      
  10ceeb:	75 0e                	jne    10cefb <_Watchdog_Tickle+0x4b> <== NEVER TAKEN
       case WATCHDOG_ACTIVE:                                          
         (*the_watchdog->routine)(                                    
  10ceed:	50                   	push   %eax                           
  10ceee:	50                   	push   %eax                           
  10ceef:	ff 73 24             	pushl  0x24(%ebx)                     
  10cef2:	ff 73 20             	pushl  0x20(%ebx)                     
  10cef5:	ff 53 1c             	call   *0x1c(%ebx)                    
           the_watchdog->id,                                          
           the_watchdog->user_data                                    
         );                                                           
         break;                                                       
  10cef8:	83 c4 10             	add    $0x10,%esp                     
                                                                      
       case WATCHDOG_REMOVE_IT:                                       
         break;                                                       
     }                                                                
                                                                      
     _ISR_Disable( level );                                           
  10cefb:	9c                   	pushf                                 
  10cefc:	fa                   	cli                                   
  10cefd:	5e                   	pop    %esi                           
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
}                                                                     
  10cefe:	8b 1f                	mov    (%edi),%ebx                    
                                                                      
     _ISR_Disable( level );                                           
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
  10cf00:	3b 5d e4             	cmp    -0x1c(%ebp),%ebx               
  10cf03:	74 06                	je     10cf0b <_Watchdog_Tickle+0x5b> 
     }                                                                
                                                                      
     _ISR_Disable( level );                                           
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
  10cf05:	83 7b 10 00          	cmpl   $0x0,0x10(%ebx)                
  10cf09:	eb cd                	jmp    10ced8 <_Watchdog_Tickle+0x28> 
             (the_watchdog->delta_interval == 0) );                   
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
  10cf0b:	56                   	push   %esi                           
  10cf0c:	9d                   	popf                                  
}                                                                     
  10cf0d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10cf10:	5b                   	pop    %ebx                           
  10cf11:	5e                   	pop    %esi                           
  10cf12:	5f                   	pop    %edi                           
  10cf13:	c9                   	leave                                 
  10cf14:	c3                   	ret                                   
                                                                      

0011ca4c <_exit>: extern void FINI_SYMBOL( void ); #endif void EXIT_SYMBOL(int status) {
  11ca4c:	55                   	push   %ebp                           
  11ca4d:	89 e5                	mov    %esp,%ebp                      
  11ca4f:	83 ec 08             	sub    $0x8,%esp                      
  /*                                                                  
   *  If the toolset uses init/fini sections, then we need to         
   *  run the global destructors now.                                 
   */                                                                 
  #if defined(__USE_INIT_FINI__)                                      
    FINI_SYMBOL();                                                    
  11ca52:	e8 46 06 00 00       	call   11d09d <_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();                                                      
  11ca57:	e8 8c ff ff ff       	call   11c9e8 <libc_wrapup>           
  rtems_shutdown_executive(status);                                   
  11ca5c:	83 ec 0c             	sub    $0xc,%esp                      
  11ca5f:	ff 75 08             	pushl  0x8(%ebp)                      
  11ca62:	e8 d5 00 00 00       	call   11cb3c <rtems_shutdown_executive>
  11ca67:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  11ca6a:	eb fe                	jmp    11ca6a <_exit+0x1e>            <== NOT EXECUTED
                                                                      

001073eb <_gettimeofday>: int _gettimeofday( struct timeval *tp, struct timezone *tzp ) {
  1073eb:	55                   	push   %ebp                           <== NOT EXECUTED
  1073ec:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  1073ee:	83 ec 08             	sub    $0x8,%esp                      <== NOT EXECUTED
  return gettimeofday( tp, tzp );                                     
}                                                                     
  1073f1:	c9                   	leave                                 <== NOT EXECUTED
int _gettimeofday(                                                    
  struct timeval  *tp,                                                
  struct timezone *tzp                                                
)                                                                     
{                                                                     
  return gettimeofday( tp, tzp );                                     
  1073f2:	e9 8d ff ff ff       	jmp    107384 <gettimeofday>          <== NOT EXECUTED
                                                                      

001083ff <_link_r>: int _link_r( struct _reent *ptr __attribute__((unused)), const char *existing, const char *new ) {
  1083ff:	55                   	push   %ebp                           <== NOT EXECUTED
  108400:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  108402:	83 ec 08             	sub    $0x8,%esp                      <== NOT EXECUTED
  108405:	8b 45 0c             	mov    0xc(%ebp),%eax                 <== NOT EXECUTED
  return link( existing, new );                                       
  108408:	8b 55 10             	mov    0x10(%ebp),%edx                <== NOT EXECUTED
  10840b:	89 55 0c             	mov    %edx,0xc(%ebp)                 <== NOT EXECUTED
  10840e:	89 45 08             	mov    %eax,0x8(%ebp)                 <== NOT EXECUTED
}                                                                     
  108411:	c9                   	leave                                 <== NOT EXECUTED
  struct _reent *ptr __attribute__((unused)),                         
  const char    *existing,                                            
  const char    *new                                                  
)                                                                     
{                                                                     
  return link( existing, new );                                       
  108412:	e9 1d ff ff ff       	jmp    108334 <link>                  <== NOT EXECUTED
                                                                      

00109115 <_lstat_r>: int _STAT_R_NAME( struct _reent *ptr __attribute__((unused)), const char *path, struct stat *buf ) {
  109115:	55                   	push   %ebp                           <== NOT EXECUTED
  109116:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  109118:	83 ec 08             	sub    $0x8,%esp                      <== NOT EXECUTED
  10911b:	8b 45 0c             	mov    0xc(%ebp),%eax                 <== NOT EXECUTED
  return _STAT_NAME( path, buf );                                     
  10911e:	8b 55 10             	mov    0x10(%ebp),%edx                <== NOT EXECUTED
  109121:	89 55 0c             	mov    %edx,0xc(%ebp)                 <== NOT EXECUTED
  109124:	89 45 08             	mov    %eax,0x8(%ebp)                 <== NOT EXECUTED
}                                                                     
  109127:	c9                   	leave                                 <== NOT EXECUTED
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path,                                                
  struct stat   *buf                                                  
)                                                                     
{                                                                     
  return _STAT_NAME( path, buf );                                     
  109128:	e9 73 ff ff ff       	jmp    1090a0 <lstat>                 <== NOT EXECUTED
                                                                      

0011cb04 <_realloc_r>: void *_realloc_r( struct _reent *ignored __attribute__((unused)), void *ptr, size_t size ) {
  11cb04:	55                   	push   %ebp                           <== NOT EXECUTED
  11cb05:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  11cb07:	83 ec 08             	sub    $0x8,%esp                      <== NOT EXECUTED
  11cb0a:	8b 45 0c             	mov    0xc(%ebp),%eax                 <== NOT EXECUTED
  return realloc( ptr, size );                                        
  11cb0d:	8b 55 10             	mov    0x10(%ebp),%edx                <== NOT EXECUTED
  11cb10:	89 55 0c             	mov    %edx,0xc(%ebp)                 <== NOT EXECUTED
  11cb13:	89 45 08             	mov    %eax,0x8(%ebp)                 <== NOT EXECUTED
}                                                                     
  11cb16:	c9                   	leave                                 <== NOT EXECUTED
  struct _reent *ignored __attribute__((unused)),                     
  void          *ptr,                                                 
  size_t         size                                                 
)                                                                     
{                                                                     
  return realloc( ptr, size );                                        
  11cb17:	e9 48 00 00 00       	jmp    11cb64 <realloc>               <== NOT EXECUTED
                                                                      

0010a0ac <_rename_r>: int _rename_r( struct _reent *ptr __attribute__((unused)), const char *old, const char *new ) {
  10a0ac:	55                   	push   %ebp                           
  10a0ad:	89 e5                	mov    %esp,%ebp                      
  10a0af:	57                   	push   %edi                           
  10a0b0:	56                   	push   %esi                           
  10a0b1:	53                   	push   %ebx                           
  10a0b2:	83 ec 78             	sub    $0x78,%esp                     
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
  10a0b5:	ff 75 0c             	pushl  0xc(%ebp)                      
  10a0b8:	e8 7d ef ff ff       	call   10903a <rtems_filesystem_dirname>
  10a0bd:	89 45 94             	mov    %eax,-0x6c(%ebp)               
                                                                      
  if ( old_parent_pathlen == 0 )                                      
  10a0c0:	83 c4 10             	add    $0x10,%esp                     
  10a0c3:	85 c0                	test   %eax,%eax                      
  10a0c5:	8d 45 b8             	lea    -0x48(%ebp),%eax               
  10a0c8:	75 15                	jne    10a0df <_rename_r+0x33>        
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
  10a0ca:	51                   	push   %ecx                           
  10a0cb:	50                   	push   %eax                           
  10a0cc:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10a0cf:	50                   	push   %eax                           
  10a0d0:	ff 75 0c             	pushl  0xc(%ebp)                      
  10a0d3:	e8 48 03 00 00       	call   10a420 <rtems_filesystem_get_start_loc>
  10a0d8:	83 c4 10             	add    $0x10,%esp                     
  rtems_filesystem_location_info_t    old_parent_loc;                 
  rtems_filesystem_location_info_t    new_parent_loc;                 
  int                                 i;                              
  int                                 result;                         
  const char                         *name;                           
  bool                                free_old_parentloc = false;     
  10a0db:	31 db                	xor    %ebx,%ebx                      
  10a0dd:	eb 23                	jmp    10a102 <_rename_r+0x56>        
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
                                                                      
  if ( old_parent_pathlen == 0 )                                      
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path( old, old_parent_pathlen, 
  10a0df:	83 ec 0c             	sub    $0xc,%esp                      
  10a0e2:	6a 00                	push   $0x0                           
  10a0e4:	50                   	push   %eax                           
  10a0e5:	6a 02                	push   $0x2                           
  10a0e7:	ff 75 94             	pushl  -0x6c(%ebp)                    
  10a0ea:	ff 75 0c             	pushl  0xc(%ebp)                      
  10a0ed:	e8 df ee ff ff       	call   108fd1 <rtems_filesystem_evaluate_path>
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
  10a0f2:	83 c4 20             	add    $0x20,%esp                     
      return -1;                                                      
  10a0f5:	83 cf ff             	or     $0xffffffff,%edi               
  else {                                                              
    result = rtems_filesystem_evaluate_path( old, old_parent_pathlen, 
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
  10a0f8:	85 c0                	test   %eax,%eax                      
  10a0fa:	0f 85 50 01 00 00    	jne    10a250 <_rename_r+0x1a4>       <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_old_parentloc = true;                                        
  10a100:	b3 01                	mov    $0x1,%bl                       
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
  10a102:	8d 7d cc             	lea    -0x34(%ebp),%edi               
  10a105:	8d 75 b8             	lea    -0x48(%ebp),%esi               
  10a108:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  10a10d:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  name = old + old_parent_pathlen;                                    
  10a10f:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10a112:	03 75 94             	add    -0x6c(%ebp),%esi               
  10a115:	89 75 e0             	mov    %esi,-0x20(%ebp)               
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
  10a118:	83 c9 ff             	or     $0xffffffff,%ecx               
  10a11b:	89 f7                	mov    %esi,%edi                      
  10a11d:	31 c0                	xor    %eax,%eax                      
  10a11f:	f2 ae                	repnz scas %es:(%edi),%al             
  10a121:	f7 d1                	not    %ecx                           
  10a123:	49                   	dec    %ecx                           
  10a124:	52                   	push   %edx                           
  10a125:	52                   	push   %edx                           
  10a126:	51                   	push   %ecx                           
  10a127:	56                   	push   %esi                           
  10a128:	e8 4c ef ff ff       	call   109079 <rtems_filesystem_prefix_separators>
  10a12d:	01 c6                	add    %eax,%esi                      
  10a12f:	89 75 e0             	mov    %esi,-0x20(%ebp)               
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
  10a132:	83 c9 ff             	or     $0xffffffff,%ecx               
  10a135:	89 f7                	mov    %esi,%edi                      
  10a137:	31 c0                	xor    %eax,%eax                      
  10a139:	f2 ae                	repnz scas %es:(%edi),%al             
  10a13b:	f7 d1                	not    %ecx                           
  10a13d:	49                   	dec    %ecx                           
  10a13e:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  10a145:	8d 7d cc             	lea    -0x34(%ebp),%edi               
  10a148:	57                   	push   %edi                           
  10a149:	6a 00                	push   $0x0                           
  10a14b:	51                   	push   %ecx                           
  10a14c:	56                   	push   %esi                           
  10a14d:	e8 fa ed ff ff       	call   108f4c <rtems_filesystem_evaluate_relative_path>
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
  10a152:	83 c4 20             	add    $0x20,%esp                     
  10a155:	85 c0                	test   %eax,%eax                      
  10a157:	74 16                	je     10a16f <_rename_r+0xc3>        
    if ( free_old_parentloc )                                         
      rtems_filesystem_freenode( &old_parent_loc );                   
    return -1;                                                        
  10a159:	83 cf ff             	or     $0xffffffff,%edi               
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
    if ( free_old_parentloc )                                         
  10a15c:	84 db                	test   %bl,%bl                        
  10a15e:	0f 84 ec 00 00 00    	je     10a250 <_rename_r+0x1a4>       <== NEVER TAKEN
      rtems_filesystem_freenode( &old_parent_loc );                   
  10a164:	83 ec 0c             	sub    $0xc,%esp                      
  10a167:	8d 45 b8             	lea    -0x48(%ebp),%eax               
  10a16a:	e9 d8 00 00 00       	jmp    10a247 <_rename_r+0x19b>       
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
  10a16f:	50                   	push   %eax                           
  10a170:	8d 75 a4             	lea    -0x5c(%ebp),%esi               
  10a173:	56                   	push   %esi                           
  10a174:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10a177:	50                   	push   %eax                           
  10a178:	ff 75 10             	pushl  0x10(%ebp)                     
  10a17b:	e8 a0 02 00 00       	call   10a420 <rtems_filesystem_get_start_loc>
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
  10a180:	83 c4 0c             	add    $0xc,%esp                      
  10a183:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10a186:	50                   	push   %eax                           
  10a187:	56                   	push   %esi                           
  10a188:	8b 45 10             	mov    0x10(%ebp),%eax                
  10a18b:	03 45 e4             	add    -0x1c(%ebp),%eax               
  10a18e:	50                   	push   %eax                           
  10a18f:	8b 45 b0             	mov    -0x50(%ebp),%eax               
  10a192:	ff 50 04             	call   *0x4(%eax)                     
  if ( result != 0 ) {                                                
  10a195:	83 c4 10             	add    $0x10,%esp                     
  10a198:	85 c0                	test   %eax,%eax                      
  10a19a:	74 2d                	je     10a1c9 <_rename_r+0x11d>       
    rtems_filesystem_freenode( &new_parent_loc );                     
  10a19c:	83 ec 0c             	sub    $0xc,%esp                      
  10a19f:	56                   	push   %esi                           
  10a1a0:	e8 13 ef ff ff       	call   1090b8 <rtems_filesystem_freenode>
    if ( free_old_parentloc )                                         
  10a1a5:	83 c4 10             	add    $0x10,%esp                     
  10a1a8:	84 db                	test   %bl,%bl                        
  10a1aa:	74 0f                	je     10a1bb <_rename_r+0x10f>       <== NEVER TAKEN
      rtems_filesystem_freenode( &old_parent_loc );                   
  10a1ac:	83 ec 0c             	sub    $0xc,%esp                      
  10a1af:	8d 45 b8             	lea    -0x48(%ebp),%eax               
  10a1b2:	50                   	push   %eax                           
  10a1b3:	e8 00 ef ff ff       	call   1090b8 <rtems_filesystem_freenode>
  10a1b8:	83 c4 10             	add    $0x10,%esp                     
    rtems_filesystem_freenode( &old_loc );                            
  10a1bb:	83 ec 0c             	sub    $0xc,%esp                      
  10a1be:	8d 45 cc             	lea    -0x34(%ebp),%eax               
  10a1c1:	50                   	push   %eax                           
  10a1c2:	e8 f1 ee ff ff       	call   1090b8 <rtems_filesystem_freenode>
  10a1c7:	eb 3e                	jmp    10a207 <_rename_r+0x15b>       
  /*                                                                  
   *  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 ) {         
  10a1c9:	8b 45 b4             	mov    -0x4c(%ebp),%eax               
  10a1cc:	39 45 c8             	cmp    %eax,-0x38(%ebp)               
  10a1cf:	74 3e                	je     10a20f <_rename_r+0x163>       
    rtems_filesystem_freenode( &new_parent_loc );                     
  10a1d1:	83 ec 0c             	sub    $0xc,%esp                      
  10a1d4:	56                   	push   %esi                           
  10a1d5:	e8 de ee ff ff       	call   1090b8 <rtems_filesystem_freenode>
    if ( free_old_parentloc )                                         
  10a1da:	83 c4 10             	add    $0x10,%esp                     
  10a1dd:	84 db                	test   %bl,%bl                        
  10a1df:	74 0f                	je     10a1f0 <_rename_r+0x144>       
      rtems_filesystem_freenode( &old_parent_loc );                   
  10a1e1:	83 ec 0c             	sub    $0xc,%esp                      
  10a1e4:	8d 45 b8             	lea    -0x48(%ebp),%eax               
  10a1e7:	50                   	push   %eax                           
  10a1e8:	e8 cb ee ff ff       	call   1090b8 <rtems_filesystem_freenode>
  10a1ed:	83 c4 10             	add    $0x10,%esp                     
    rtems_filesystem_freenode( &old_loc );                            
  10a1f0:	83 ec 0c             	sub    $0xc,%esp                      
  10a1f3:	8d 45 cc             	lea    -0x34(%ebp),%eax               
  10a1f6:	50                   	push   %eax                           
  10a1f7:	e8 bc ee ff ff       	call   1090b8 <rtems_filesystem_freenode>
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  10a1fc:	e8 eb 95 00 00       	call   1137ec <__errno>               
  10a201:	c7 00 12 00 00 00    	movl   $0x12,(%eax)                   
  10a207:	83 c4 10             	add    $0x10,%esp                     
  10a20a:	83 cf ff             	or     $0xffffffff,%edi               
  10a20d:	eb 41                	jmp    10a250 <_rename_r+0x1a4>       
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
  10a20f:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10a212:	56                   	push   %esi                           
  10a213:	57                   	push   %edi                           
  10a214:	8d 55 b8             	lea    -0x48(%ebp),%edx               
  10a217:	52                   	push   %edx                           
  10a218:	8b 45 b0             	mov    -0x50(%ebp),%eax               
  10a21b:	89 55 90             	mov    %edx,-0x70(%ebp)               
  10a21e:	ff 50 40             	call   *0x40(%eax)                    
  10a221:	89 c7                	mov    %eax,%edi                      
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
  10a223:	89 34 24             	mov    %esi,(%esp)                    
  10a226:	e8 8d ee ff ff       	call   1090b8 <rtems_filesystem_freenode>
  if ( free_old_parentloc )                                           
  10a22b:	83 c4 10             	add    $0x10,%esp                     
  10a22e:	84 db                	test   %bl,%bl                        
  10a230:	8b 55 90             	mov    -0x70(%ebp),%edx               
  10a233:	74 0c                	je     10a241 <_rename_r+0x195>       
    rtems_filesystem_freenode( &old_parent_loc );                     
  10a235:	83 ec 0c             	sub    $0xc,%esp                      
  10a238:	52                   	push   %edx                           
  10a239:	e8 7a ee ff ff       	call   1090b8 <rtems_filesystem_freenode>
  10a23e:	83 c4 10             	add    $0x10,%esp                     
  rtems_filesystem_freenode( &old_loc );                              
  10a241:	83 ec 0c             	sub    $0xc,%esp                      
  10a244:	8d 45 cc             	lea    -0x34(%ebp),%eax               
  10a247:	50                   	push   %eax                           
  10a248:	e8 6b ee ff ff       	call   1090b8 <rtems_filesystem_freenode>
                                                                      
  return result;                                                      
  10a24d:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10a250:	89 f8                	mov    %edi,%eax                      
  10a252:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a255:	5b                   	pop    %ebx                           
  10a256:	5e                   	pop    %esi                           
  10a257:	5f                   	pop    %edi                           
  10a258:	c9                   	leave                                 
  10a259:	c3                   	ret                                   
                                                                      

00108f1d <_stat_r>: int _STAT_R_NAME( struct _reent *ptr __attribute__((unused)), const char *path, struct stat *buf ) {
  108f1d:	55                   	push   %ebp                           <== NOT EXECUTED
  108f1e:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  108f20:	83 ec 08             	sub    $0x8,%esp                      <== NOT EXECUTED
  108f23:	8b 45 0c             	mov    0xc(%ebp),%eax                 <== NOT EXECUTED
  return _STAT_NAME( path, buf );                                     
  108f26:	8b 55 10             	mov    0x10(%ebp),%edx                <== NOT EXECUTED
  108f29:	89 55 0c             	mov    %edx,0xc(%ebp)                 <== NOT EXECUTED
  108f2c:	89 45 08             	mov    %eax,0x8(%ebp)                 <== NOT EXECUTED
}                                                                     
  108f2f:	c9                   	leave                                 <== NOT EXECUTED
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path,                                                
  struct stat   *buf                                                  
)                                                                     
{                                                                     
  return _STAT_NAME( path, buf );                                     
  108f30:	e9 73 ff ff ff       	jmp    108ea8 <stat>                  <== NOT EXECUTED
                                                                      

0010a878 <_unlink_r>: int _unlink_r( struct _reent *ptr __attribute__((unused)), const char *path ) {
  10a878:	55                   	push   %ebp                           <== NOT EXECUTED
  10a879:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  10a87b:	83 ec 08             	sub    $0x8,%esp                      <== NOT EXECUTED
  return unlink( path );                                              
  10a87e:	8b 45 0c             	mov    0xc(%ebp),%eax                 <== NOT EXECUTED
  10a881:	89 45 08             	mov    %eax,0x8(%ebp)                 <== NOT EXECUTED
}                                                                     
  10a884:	c9                   	leave                                 <== NOT EXECUTED
int _unlink_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path                                                 
)                                                                     
{                                                                     
  return unlink( path );                                              
  10a885:	e9 ba fe ff ff       	jmp    10a744 <unlink>                <== NOT EXECUTED
                                                                      

0010738c <chroot>: #include <rtems/seterr.h> int chroot( const char *pathname ) {
  10738c:	55                   	push   %ebp                           
  10738d:	89 e5                	mov    %esp,%ebp                      
  10738f:	57                   	push   %edi                           
  107390:	56                   	push   %esi                           
  107391:	83 ec 20             	sub    $0x20,%esp                     
  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) {             
  107394:	81 3d 40 2f 12 00 c8 	cmpl   $0x1250c8,0x122f40             
  10739b:	50 12 00                                                    
  10739e:	75 1e                	jne    1073be <chroot+0x32>           <== NEVER TAKEN
   rtems_libio_set_private_env(); /* try to set a new private env*/   
  1073a0:	e8 04 11 00 00       	call   1084a9 <rtems_libio_set_private_env>
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
  1073a5:	81 3d 40 2f 12 00 c8 	cmpl   $0x1250c8,0x122f40             
  1073ac:	50 12 00                                                    
  1073af:	75 0d                	jne    1073be <chroot+0x32>           <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  1073b1:	e8 a6 a4 00 00       	call   11185c <__errno>               <== NOT EXECUTED
  1073b6:	c7 00 86 00 00 00    	movl   $0x86,(%eax)                   <== NOT EXECUTED
  1073bc:	eb 22                	jmp    1073e0 <chroot+0x54>           <== NOT EXECUTED
  }                                                                   
                                                                      
  result = chdir(pathname);                                           
  1073be:	83 ec 0c             	sub    $0xc,%esp                      
  1073c1:	ff 75 08             	pushl  0x8(%ebp)                      
  1073c4:	e8 c7 74 00 00       	call   10e890 <chdir>                 
  if (result) {                                                       
  1073c9:	83 c4 10             	add    $0x10,%esp                     
  1073cc:	85 c0                	test   %eax,%eax                      
  1073ce:	74 15                	je     1073e5 <chroot+0x59>           <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( errno );                    
  1073d0:	e8 87 a4 00 00       	call   11185c <__errno>               <== NOT EXECUTED
  1073d5:	89 c6                	mov    %eax,%esi                      <== NOT EXECUTED
  1073d7:	e8 80 a4 00 00       	call   11185c <__errno>               <== NOT EXECUTED
  1073dc:	8b 00                	mov    (%eax),%eax                    <== NOT EXECUTED
  1073de:	89 06                	mov    %eax,(%esi)                    <== NOT EXECUTED
  1073e0:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  1073e3:	eb 44                	jmp    107429 <chroot+0x9d>           <== NOT EXECUTED
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
  1073e5:	83 ec 0c             	sub    $0xc,%esp                      
  1073e8:	6a 00                	push   $0x0                           
  1073ea:	8d 75 e4             	lea    -0x1c(%ebp),%esi               
  1073ed:	56                   	push   %esi                           
  1073ee:	6a 00                	push   $0x0                           
  1073f0:	6a 01                	push   $0x1                           
  1073f2:	68 0e f4 11 00       	push   $0x11f40e                      
  1073f7:	e8 29 01 00 00       	call   107525 <rtems_filesystem_evaluate_path>
  1073fc:	83 c4 20             	add    $0x20,%esp                     
  1073ff:	85 c0                	test   %eax,%eax                      
  107401:	75 cd                	jne    1073d0 <chroot+0x44>           <== NEVER TAKEN
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
  107403:	83 ec 0c             	sub    $0xc,%esp                      
  107406:	a1 40 2f 12 00       	mov    0x122f40,%eax                  
  10740b:	83 c0 18             	add    $0x18,%eax                     
  10740e:	50                   	push   %eax                           
  10740f:	e8 f8 01 00 00       	call   10760c <rtems_filesystem_freenode>
  rtems_filesystem_root = loc;                                        
  107414:	8b 3d 40 2f 12 00    	mov    0x122f40,%edi                  
  10741a:	83 c7 18             	add    $0x18,%edi                     
  10741d:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  107422:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  return 0;                                                           
  107424:	83 c4 10             	add    $0x10,%esp                     
  107427:	31 c0                	xor    %eax,%eax                      
}                                                                     
  107429:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10742c:	5e                   	pop    %esi                           
  10742d:	5f                   	pop    %edi                           
  10742e:	c9                   	leave                                 
  10742f:	c3                   	ret                                   
                                                                      

0010a014 <clock_gettime>: int clock_gettime( clockid_t clock_id, struct timespec *tp ) {
  10a014:	55                   	push   %ebp                           
  10a015:	89 e5                	mov    %esp,%ebp                      
  10a017:	83 ec 08             	sub    $0x8,%esp                      
  10a01a:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10a01d:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( !tp )                                                          
  10a020:	85 d2                	test   %edx,%edx                      
  10a022:	74 3c                	je     10a060 <clock_gettime+0x4c>    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
  10a024:	83 f8 01             	cmp    $0x1,%eax                      
  10a027:	75 0b                	jne    10a034 <clock_gettime+0x20>    
    _TOD_Get(tp);                                                     
  10a029:	83 ec 0c             	sub    $0xc,%esp                      
  10a02c:	52                   	push   %edx                           
  10a02d:	e8 a6 1b 00 00       	call   10bbd8 <_TOD_Get>              
  10a032:	eb 13                	jmp    10a047 <clock_gettime+0x33>    
    return 0;                                                         
  }                                                                   
#ifdef CLOCK_MONOTONIC                                                
  if ( clock_id == CLOCK_MONOTONIC ) {                                
  10a034:	83 f8 04             	cmp    $0x4,%eax                      
  10a037:	74 05                	je     10a03e <clock_gettime+0x2a>    <== NEVER TAKEN
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME ) {                          
  10a039:	83 f8 02             	cmp    $0x2,%eax                      
  10a03c:	75 10                	jne    10a04e <clock_gettime+0x3a>    
    _TOD_Get_uptime_as_timespec( tp );                                
  10a03e:	83 ec 0c             	sub    $0xc,%esp                      
  10a041:	52                   	push   %edx                           
  10a042:	e8 ed 1b 00 00       	call   10bc34 <_TOD_Get_uptime_as_timespec>
    return 0;                                                         
  10a047:	83 c4 10             	add    $0x10,%esp                     
  10a04a:	31 c0                	xor    %eax,%eax                      
  10a04c:	eb 20                	jmp    10a06e <clock_gettime+0x5a>    
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME )                             
  10a04e:	83 f8 03             	cmp    $0x3,%eax                      
  10a051:	75 0d                	jne    10a060 <clock_gettime+0x4c>    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
  10a053:	e8 6c 7f 00 00       	call   111fc4 <__errno>               
  10a058:	c7 00 58 00 00 00    	movl   $0x58,(%eax)                   
  10a05e:	eb 0b                	jmp    10a06b <clock_gettime+0x57>    
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  10a060:	e8 5f 7f 00 00       	call   111fc4 <__errno>               
  10a065:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a06b:	83 c8 ff             	or     $0xffffffff,%eax               
                                                                      
  return 0;                                                           
}                                                                     
  10a06e:	c9                   	leave                                 
  10a06f:	c3                   	ret                                   
                                                                      

0010a070 <clock_settime>: int clock_settime( clockid_t clock_id, const struct timespec *tp ) {
  10a070:	55                   	push   %ebp                           
  10a071:	89 e5                	mov    %esp,%ebp                      
  10a073:	83 ec 08             	sub    $0x8,%esp                      
  10a076:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10a079:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( !tp )                                                          
  10a07c:	85 d2                	test   %edx,%edx                      
  10a07e:	74 44                	je     10a0c4 <clock_settime+0x54>    <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
  10a080:	83 f8 01             	cmp    $0x1,%eax                      
  10a083:	75 28                	jne    10a0ad <clock_settime+0x3d>    
    if ( tp->tv_sec < TOD_SECONDS_1970_THROUGH_1988 )                 
  10a085:	81 3a ff e4 da 21    	cmpl   $0x21dae4ff,(%edx)             
  10a08b:	76 37                	jbe    10a0c4 <clock_settime+0x54>    
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10a08d:	a1 24 62 12 00       	mov    0x126224,%eax                  
  10a092:	40                   	inc    %eax                           
  10a093:	a3 24 62 12 00       	mov    %eax,0x126224                  
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
  10a098:	83 ec 0c             	sub    $0xc,%esp                      
  10a09b:	52                   	push   %edx                           
  10a09c:	e8 eb 1b 00 00       	call   10bc8c <_TOD_Set>              
    _Thread_Enable_dispatch();                                        
  10a0a1:	e8 74 2c 00 00       	call   10cd1a <_Thread_Enable_dispatch>
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
  10a0a6:	83 c4 10             	add    $0x10,%esp                     
  10a0a9:	31 c0                	xor    %eax,%eax                      
  10a0ab:	eb 25                	jmp    10a0d2 <clock_settime+0x62>    
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
    _Thread_Enable_dispatch();                                        
  }                                                                   
#ifdef _POSIX_CPUTIME                                                 
  else if ( clock_id == CLOCK_PROCESS_CPUTIME )                       
  10a0ad:	83 f8 02             	cmp    $0x2,%eax                      
  10a0b0:	74 05                	je     10a0b7 <clock_settime+0x47>    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME )                        
  10a0b2:	83 f8 03             	cmp    $0x3,%eax                      
  10a0b5:	75 0d                	jne    10a0c4 <clock_settime+0x54>    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
  10a0b7:	e8 08 7f 00 00       	call   111fc4 <__errno>               
  10a0bc:	c7 00 58 00 00 00    	movl   $0x58,(%eax)                   
  10a0c2:	eb 0b                	jmp    10a0cf <clock_settime+0x5f>    
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10a0c4:	e8 fb 7e 00 00       	call   111fc4 <__errno>               
  10a0c9:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a0cf:	83 c8 ff             	or     $0xffffffff,%eax               
                                                                      
  return 0;                                                           
}                                                                     
  10a0d2:	c9                   	leave                                 
  10a0d3:	c3                   	ret                                   
                                                                      

0010d290 <devFS_evaluate_path>: const char *pathname, size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc ) {
  10d290:	55                   	push   %ebp                           
  10d291:	89 e5                	mov    %esp,%ebp                      
  10d293:	57                   	push   %edi                           
  10d294:	56                   	push   %esi                           
  10d295:	53                   	push   %ebx                           
  10d296:	83 ec 1c             	sub    $0x1c,%esp                     
  10d299:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10d29c:	8b 5d 14             	mov    0x14(%ebp),%ebx                
     assert( 0 );                                                     
     rtems_set_errno_and_return_minus_one( EIO );                     
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  10d29f:	8b 33                	mov    (%ebx),%esi                    
  if (!device_name_table)                                             
  10d2a1:	85 f6                	test   %esi,%esi                      
  10d2a3:	74 04                	je     10d2a9 <devFS_evaluate_path+0x19><== NEVER TAKEN
  10d2a5:	31 ff                	xor    %edi,%edi                      
  10d2a7:	eb 5a                	jmp    10d303 <devFS_evaluate_path+0x73>
    rtems_set_errno_and_return_minus_one( EFAULT );                   
  10d2a9:	e8 fe 22 00 00       	call   10f5ac <__errno>               <== NOT EXECUTED
  10d2ae:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    <== NOT EXECUTED
  10d2b4:	eb 60                	jmp    10d316 <devFS_evaluate_path+0x86><== NOT EXECUTED
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
  10d2b6:	8b 16                	mov    (%esi),%edx                    
  10d2b8:	85 d2                	test   %edx,%edx                      
  10d2ba:	74 43                	je     10d2ff <devFS_evaluate_path+0x6f>
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
  10d2bc:	50                   	push   %eax                           
  10d2bd:	51                   	push   %ecx                           
  10d2be:	52                   	push   %edx                           
  10d2bf:	ff 75 08             	pushl  0x8(%ebp)                      
  10d2c2:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10d2c5:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  10d2c8:	e8 8f 2f 00 00       	call   11025c <strncmp>               
  10d2cd:	83 c4 10             	add    $0x10,%esp                     
  10d2d0:	85 c0                	test   %eax,%eax                      
  10d2d2:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10d2d5:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  10d2d8:	75 25                	jne    10d2ff <devFS_evaluate_path+0x6f><== NEVER TAKEN
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
  10d2da:	80 3c 0a 00          	cmpb   $0x0,(%edx,%ecx,1)             
  10d2de:	75 1f                	jne    10d2ff <devFS_evaluate_path+0x6f><== NEVER TAKEN
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
  10d2e0:	89 33                	mov    %esi,(%ebx)                    
    pathloc->handlers = &devFS_file_handlers;                         
  10d2e2:	c7 43 08 68 ff 11 00 	movl   $0x11ff68,0x8(%ebx)            
    pathloc->ops = &devFS_ops;                                        
  10d2e9:	c7 43 0c 20 ff 11 00 	movl   $0x11ff20,0xc(%ebx)            
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
  10d2f0:	a1 c0 ff 11 00       	mov    0x11ffc0,%eax                  
  10d2f5:	8b 40 28             	mov    0x28(%eax),%eax                
  10d2f8:	89 43 10             	mov    %eax,0x10(%ebx)                
    return 0;                                                         
  10d2fb:	31 c0                	xor    %eax,%eax                      
  10d2fd:	eb 1a                	jmp    10d319 <devFS_evaluate_path+0x89>
  /* 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++) {                     
  10d2ff:	47                   	inc    %edi                           
  10d300:	83 c6 14             	add    $0x14,%esi                     
  10d303:	3b 3d 48 e1 11 00    	cmp    0x11e148,%edi                  
  10d309:	72 ab                	jb     10d2b6 <devFS_evaluate_path+0x26>
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
  10d30b:	e8 9c 22 00 00       	call   10f5ac <__errno>               
  10d310:	c7 00 02 00 00 00    	movl   $0x2,(%eax)                    
  10d316:	83 c8 ff             	or     $0xffffffff,%eax               
}                                                                     
  10d319:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d31c:	5b                   	pop    %ebx                           
  10d31d:	5e                   	pop    %esi                           
  10d31e:	5f                   	pop    %edi                           
  10d31f:	c9                   	leave                                 
  10d320:	c3                   	ret                                   
                                                                      

00106a18 <devFS_initialize>: int devFS_initialize( rtems_filesystem_mount_table_entry_t *temp_mt_entry, const void *data ) {
  106a18:	55                   	push   %ebp                           
  106a19:	89 e5                	mov    %esp,%ebp                      
  106a1b:	57                   	push   %edi                           
  106a1c:	53                   	push   %ebx                           
  106a1d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* allocate device only filesystem name table */                    
  device_name_table = (rtems_device_name_t *)_Workspace_Allocate(     
  106a20:	83 ec 0c             	sub    $0xc,%esp                      
  106a23:	6b 05 48 e1 11 00 14 	imul   $0x14,0x11e148,%eax            
  106a2a:	50                   	push   %eax                           
  106a2b:	e8 4e 62 00 00       	call   10cc7e <_Workspace_Allocate>   
  106a30:	89 c2                	mov    %eax,%edx                      
        sizeof( rtems_device_name_t ) * ( rtems_device_table_size )   
        );                                                            
                                                                      
  /* no memory for device filesystem */                               
  if (!device_name_table)                                             
  106a32:	83 c4 10             	add    $0x10,%esp                     
  106a35:	85 c0                	test   %eax,%eax                      
  106a37:	75 10                	jne    106a49 <devFS_initialize+0x31> <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
  106a39:	e8 6e 8b 00 00       	call   10f5ac <__errno>               <== NOT EXECUTED
  106a3e:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    <== NOT EXECUTED
  106a44:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  106a47:	eb 20                	jmp    106a69 <devFS_initialize+0x51> <== NOT EXECUTED
                                                                      
  memset(                                                             
  106a49:	6b 0d 48 e1 11 00 14 	imul   $0x14,0x11e148,%ecx            
  106a50:	31 c0                	xor    %eax,%eax                      
  106a52:	89 d7                	mov    %edx,%edi                      
  106a54:	f3 aa                	rep stos %al,%es:(%edi)               
    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;      
  106a56:	c7 43 24 68 ff 11 00 	movl   $0x11ff68,0x24(%ebx)           
  temp_mt_entry->mt_fs_root.ops          = &devFS_ops;                
  106a5d:	c7 43 28 20 ff 11 00 	movl   $0x11ff20,0x28(%ebx)           
                                                                      
  /* Set the node_access to device name table */                      
  temp_mt_entry->mt_fs_root.node_access = (void *)device_name_table;  
  106a64:	89 53 1c             	mov    %edx,0x1c(%ebx)                
                                                                      
  return 0;                                                           
  106a67:	31 c0                	xor    %eax,%eax                      
}                                                                     
  106a69:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  106a6c:	5b                   	pop    %ebx                           
  106a6d:	5f                   	pop    %edi                           
  106a6e:	c9                   	leave                                 
  106a6f:	c3                   	ret                                   
                                                                      

00106b7c <devFS_ioctl>: int devFS_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
  106b7c:	55                   	push   %ebp                           
  106b7d:	89 e5                	mov    %esp,%ebp                      
  106b7f:	83 ec 1c             	sub    $0x1c,%esp                     
  106b82:	8b 55 08             	mov    0x8(%ebp),%edx                 
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
  106b85:	8b 42 38             	mov    0x38(%edx),%eax                
                                                                      
  args.iop     = iop;                                                 
  106b88:	89 55 e8             	mov    %edx,-0x18(%ebp)               
  args.command = command;                                             
  106b8b:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  106b8e:	89 55 ec             	mov    %edx,-0x14(%ebp)               
  args.buffer  = buffer;                                              
  106b91:	8b 55 10             	mov    0x10(%ebp),%edx                
  106b94:	89 55 f0             	mov    %edx,-0x10(%ebp)               
                                                                      
  status = rtems_io_control(                                          
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  106b97:	8d 55 e8             	lea    -0x18(%ebp),%edx               
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
  106b9a:	52                   	push   %edx                           
  106b9b:	ff 70 0c             	pushl  0xc(%eax)                      
  106b9e:	ff 70 08             	pushl  0x8(%eax)                      
  106ba1:	e8 da 38 00 00       	call   10a480 <rtems_io_control>      
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
  106ba6:	83 c4 10             	add    $0x10,%esp                     
  106ba9:	85 c0                	test   %eax,%eax                      
  106bab:	74 0e                	je     106bbb <devFS_ioctl+0x3f>      <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
  106bad:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  106bb0:	50                   	push   %eax                           <== NOT EXECUTED
  106bb1:	e8 7a 67 00 00       	call   10d330 <rtems_deviceio_errno>  <== NOT EXECUTED
  106bb6:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  106bb9:	eb 03                	jmp    106bbe <devFS_ioctl+0x42>      <== NOT EXECUTED
                                                                      
  return args.ioctl_return;                                           
  106bbb:	8b 45 f4             	mov    -0xc(%ebp),%eax                
}                                                                     
  106bbe:	c9                   	leave                                 
  106bbf:	c3                   	ret                                   
                                                                      

00106a70 <devFS_mknod>: const char *path, mode_t mode, dev_t dev, rtems_filesystem_location_info_t *pathloc ) {
  106a70:	55                   	push   %ebp                           
  106a71:	89 e5                	mov    %esp,%ebp                      
  106a73:	57                   	push   %edi                           
  106a74:	56                   	push   %esi                           
  106a75:	53                   	push   %ebx                           
  106a76:	83 ec 1c             	sub    $0x1c,%esp                     
  106a79:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  106a7c:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  106a7f:	8b 55 14             	mov    0x14(%ebp),%edx                
   * 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') &&                         
  106a82:	80 3f 64             	cmpb   $0x64,(%edi)                   
  106a85:	75 18                	jne    106a9f <devFS_mknod+0x2f>      <== NEVER TAKEN
  106a87:	80 7f 01 65          	cmpb   $0x65,0x1(%edi)                
  106a8b:	75 12                	jne    106a9f <devFS_mknod+0x2f>      <== NEVER TAKEN
  106a8d:	80 7f 02 76          	cmpb   $0x76,0x2(%edi)                
  106a91:	75 0c                	jne    106a9f <devFS_mknod+0x2f>      <== NEVER TAKEN
      (path[2] == 'v') && (path[3] == '\0'))                          
      return 0;                                                       
  106a93:	31 c0                	xor    %eax,%eax                      
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
      (path[2] == 'v') && (path[3] == '\0'))                          
  106a95:	80 7f 03 00          	cmpb   $0x0,0x3(%edi)                 
  106a99:	0f 84 c9 00 00 00    	je     106b68 <devFS_mknod+0xf8>      
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
  106a9f:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  106aa2:	25 00 f0 00 00       	and    $0xf000,%eax                   
  106aa7:	3d 00 20 00 00       	cmp    $0x2000,%eax                   
  106aac:	74 14                	je     106ac2 <devFS_mknod+0x52>      <== ALWAYS TAKEN
  106aae:	3d 00 60 00 00       	cmp    $0x6000,%eax                   <== NOT EXECUTED
  106ab3:	74 0d                	je     106ac2 <devFS_mknod+0x52>      <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  106ab5:	e8 f2 8a 00 00       	call   10f5ac <__errno>               <== NOT EXECUTED
  106aba:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
  106ac0:	eb 23                	jmp    106ae5 <devFS_mknod+0x75>      <== NOT EXECUTED
  dev_t device                                                        
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.device = device;                                               
  106ac2:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  dev_t device                                                        
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.device = device;                                               
  106ac5:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  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;    
  106ac8:	8b 45 18             	mov    0x18(%ebp),%eax                
  106acb:	8b 08                	mov    (%eax),%ecx                    
  if (!device_name_table)                                             
  106acd:	85 c9                	test   %ecx,%ecx                      
  106acf:	74 09                	je     106ada <devFS_mknod+0x6a>      <== NEVER TAKEN
  106ad1:	89 ca                	mov    %ecx,%edx                      
  106ad3:	83 ce ff             	or     $0xffffffff,%esi               
  106ad6:	31 db                	xor    %ebx,%ebx                      
  106ad8:	eb 46                	jmp    106b20 <devFS_mknod+0xb0>      
    rtems_set_errno_and_return_minus_one( EFAULT );                   
  106ada:	e8 cd 8a 00 00       	call   10f5ac <__errno>               <== NOT EXECUTED
  106adf:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    <== NOT EXECUTED
  106ae5:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  106ae8:	eb 7e                	jmp    106b68 <devFS_mknod+0xf8>      <== NOT EXECUTED
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
  106aea:	8b 02                	mov    (%edx),%eax                    
  106aec:	85 c0                	test   %eax,%eax                      
  106aee:	74 2a                	je     106b1a <devFS_mknod+0xaa>      <== ALWAYS TAKEN
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
  106af0:	83 ec 08             	sub    $0x8,%esp                      <== NOT EXECUTED
  106af3:	50                   	push   %eax                           <== NOT EXECUTED
  106af4:	57                   	push   %edi                           <== NOT EXECUTED
  106af5:	89 55 d8             	mov    %edx,-0x28(%ebp)               <== NOT EXECUTED
  106af8:	89 4d dc             	mov    %ecx,-0x24(%ebp)               <== NOT EXECUTED
  106afb:	e8 34 96 00 00       	call   110134 <strcmp>                <== NOT EXECUTED
  106b00:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  106b03:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  106b05:	8b 55 d8             	mov    -0x28(%ebp),%edx               <== NOT EXECUTED
  106b08:	8b 4d dc             	mov    -0x24(%ebp),%ecx               <== NOT EXECUTED
  106b0b:	75 0f                	jne    106b1c <devFS_mknod+0xac>      <== NOT EXECUTED
              rtems_set_errno_and_return_minus_one( EEXIST );         
  106b0d:	e8 9a 8a 00 00       	call   10f5ac <__errno>               <== NOT EXECUTED
  106b12:	c7 00 11 00 00 00    	movl   $0x11,(%eax)                   <== NOT EXECUTED
  106b18:	eb cb                	jmp    106ae5 <devFS_mknod+0x75>      <== NOT EXECUTED
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
          slot = i;                                                   
  106b1a:	89 de                	mov    %ebx,%esi                      
  /* 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++){           
  106b1c:	43                   	inc    %ebx                           
  106b1d:	83 c2 14             	add    $0x14,%edx                     
  106b20:	3b 1d 48 e1 11 00    	cmp    0x11e148,%ebx                  
  106b26:	72 c2                	jb     106aea <devFS_mknod+0x7a>      
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
  106b28:	83 fe ff             	cmp    $0xffffffff,%esi               
  106b2b:	75 0d                	jne    106b3a <devFS_mknod+0xca>      <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
  106b2d:	e8 7a 8a 00 00       	call   10f5ac <__errno>               <== NOT EXECUTED
  106b32:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    <== NOT EXECUTED
  106b38:	eb ab                	jmp    106ae5 <devFS_mknod+0x75>      <== NOT EXECUTED
                                                                      
  _ISR_Disable(level);                                                
  106b3a:	9c                   	pushf                                 
  106b3b:	fa                   	cli                                   
  106b3c:	5b                   	pop    %ebx                           
  device_name_table[slot].device_name  = (char *)path;                
  106b3d:	6b d6 14             	imul   $0x14,%esi,%edx                
  106b40:	8d 14 11             	lea    (%ecx,%edx,1),%edx             
  106b43:	89 3a                	mov    %edi,(%edx)                    
  device_name_table[slot].device_name_length = strlen(path);          
  106b45:	31 c0                	xor    %eax,%eax                      
  106b47:	83 c9 ff             	or     $0xffffffff,%ecx               
  106b4a:	f2 ae                	repnz scas %es:(%edi),%al             
  106b4c:	f7 d1                	not    %ecx                           
  106b4e:	49                   	dec    %ecx                           
  106b4f:	89 4a 04             	mov    %ecx,0x4(%edx)                 
  device_name_table[slot].major = major;                              
  106b52:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  106b55:	89 42 08             	mov    %eax,0x8(%edx)                 
  device_name_table[slot].minor = minor;                              
  106b58:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  106b5b:	89 42 0c             	mov    %eax,0xc(%edx)                 
  device_name_table[slot].mode  = mode;                               
  106b5e:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  106b61:	89 42 10             	mov    %eax,0x10(%edx)                
  _ISR_Enable(level);                                                 
  106b64:	53                   	push   %ebx                           
  106b65:	9d                   	popf                                  
                                                                      
  return 0;                                                           
  106b66:	31 c0                	xor    %eax,%eax                      
}                                                                     
  106b68:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  106b6b:	5b                   	pop    %ebx                           
  106b6c:	5e                   	pop    %esi                           
  106b6d:	5f                   	pop    %edi                           
  106b6e:	c9                   	leave                                 
  106b6f:	c3                   	ret                                   
                                                                      

00106bf4 <devFS_read>: ssize_t devFS_read( rtems_libio_t *iop, void *buffer, size_t count ) {
  106bf4:	55                   	push   %ebp                           <== NOT EXECUTED
  106bf5:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  106bf7:	53                   	push   %ebx                           <== NOT EXECUTED
  106bf8:	83 ec 28             	sub    $0x28,%esp                     <== NOT EXECUTED
  106bfb:	8b 45 08             	mov    0x8(%ebp),%eax                 <== 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;           
  106bfe:	8b 50 38             	mov    0x38(%eax),%edx                <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  106c01:	89 45 dc             	mov    %eax,-0x24(%ebp)               <== NOT EXECUTED
  args.offset      = iop->offset;                                     
  106c04:	8b 48 0c             	mov    0xc(%eax),%ecx                 <== NOT EXECUTED
  106c07:	8b 58 10             	mov    0x10(%eax),%ebx                <== NOT EXECUTED
  106c0a:	89 4d e0             	mov    %ecx,-0x20(%ebp)               <== NOT EXECUTED
  106c0d:	89 5d e4             	mov    %ebx,-0x1c(%ebp)               <== NOT EXECUTED
  args.buffer      = buffer;                                          
  106c10:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 <== NOT EXECUTED
  106c13:	89 4d e8             	mov    %ecx,-0x18(%ebp)               <== NOT EXECUTED
  args.count       = count;                                           
  106c16:	8b 4d 10             	mov    0x10(%ebp),%ecx                <== NOT EXECUTED
  106c19:	89 4d ec             	mov    %ecx,-0x14(%ebp)               <== NOT EXECUTED
  args.flags       = iop->flags;                                      
  106c1c:	8b 40 14             	mov    0x14(%eax),%eax                <== NOT EXECUTED
  106c1f:	89 45 f0             	mov    %eax,-0x10(%ebp)               <== NOT EXECUTED
  args.bytes_moved = 0;                                               
  106c22:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)                <== NOT EXECUTED
                                                                      
  status = rtems_io_read(                                             
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  106c29:	8d 45 dc             	lea    -0x24(%ebp),%eax               <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
  106c2c:	50                   	push   %eax                           <== NOT EXECUTED
  106c2d:	ff 72 0c             	pushl  0xc(%edx)                      <== NOT EXECUTED
  106c30:	ff 72 08             	pushl  0x8(%edx)                      <== NOT EXECUTED
  106c33:	e8 58 39 00 00       	call   10a590 <rtems_io_read>         <== NOT EXECUTED
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
  106c38:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  106c3b:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  106c3d:	74 0e                	je     106c4d <devFS_read+0x59>       <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
  106c3f:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  106c42:	50                   	push   %eax                           <== NOT EXECUTED
  106c43:	e8 e8 66 00 00       	call   10d330 <rtems_deviceio_errno>  <== NOT EXECUTED
  106c48:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  106c4b:	eb 03                	jmp    106c50 <devFS_read+0x5c>       <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
  106c4d:	8b 45 f4             	mov    -0xc(%ebp),%eax                <== NOT EXECUTED
}                                                                     
  106c50:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  106c53:	c9                   	leave                                 <== NOT EXECUTED
  106c54:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

00106c58 <devFS_stat>: int devFS_stat( rtems_filesystem_location_info_t *loc, struct stat *buf ) {
  106c58:	55                   	push   %ebp                           
  106c59:	89 e5                	mov    %esp,%ebp                      
  106c5b:	53                   	push   %ebx                           
  106c5c:	83 ec 04             	sub    $0x4,%esp                      
  106c5f:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  rtems_device_name_t *the_dev;                                       
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
  106c62:	8b 45 08             	mov    0x8(%ebp),%eax                 
  106c65:	8b 00                	mov    (%eax),%eax                    
  if (!the_dev)                                                       
  106c67:	85 c0                	test   %eax,%eax                      
  106c69:	75 10                	jne    106c7b <devFS_stat+0x23>       <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
  106c6b:	e8 3c 89 00 00       	call   10f5ac <__errno>               <== NOT EXECUTED
  106c70:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    <== NOT EXECUTED
  106c76:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  106c79:	eb 14                	jmp    106c8f <devFS_stat+0x37>       <== NOT EXECUTED
                                                                      
  buf->st_rdev  = rtems_filesystem_make_dev_t( the_dev->major, the_dev->minor );
  106c7b:	8b 48 0c             	mov    0xc(%eax),%ecx                 
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
  106c7e:	8b 58 08             	mov    0x8(%eax),%ebx                 
  106c81:	89 5a 18             	mov    %ebx,0x18(%edx)                
  106c84:	89 4a 1c             	mov    %ecx,0x1c(%edx)                
                                                                      
  buf->st_mode = the_dev->mode;                                       
  106c87:	8b 40 10             	mov    0x10(%eax),%eax                
  106c8a:	89 42 0c             	mov    %eax,0xc(%edx)                 
                                                                      
  return 0;                                                           
  106c8d:	31 c0                	xor    %eax,%eax                      
}                                                                     
  106c8f:	5a                   	pop    %edx                           
  106c90:	5b                   	pop    %ebx                           
  106c91:	c9                   	leave                                 
  106c92:	c3                   	ret                                   
                                                                      

00106c94 <devFS_write>: ssize_t devFS_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
  106c94:	55                   	push   %ebp                           
  106c95:	89 e5                	mov    %esp,%ebp                      
  106c97:	53                   	push   %ebx                           
  106c98:	83 ec 28             	sub    $0x28,%esp                     
  106c9b:	8b 45 08             	mov    0x8(%ebp),%eax                 
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
  106c9e:	8b 50 38             	mov    0x38(%eax),%edx                
                                                                      
  args.iop         = iop;                                             
  106ca1:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  args.offset      = iop->offset;                                     
  106ca4:	8b 48 0c             	mov    0xc(%eax),%ecx                 
  106ca7:	8b 58 10             	mov    0x10(%eax),%ebx                
  106caa:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  106cad:	89 5d e4             	mov    %ebx,-0x1c(%ebp)               
  args.buffer      = (void *) buffer;                                 
  106cb0:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  106cb3:	89 4d e8             	mov    %ecx,-0x18(%ebp)               
  args.count       = count;                                           
  106cb6:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  106cb9:	89 4d ec             	mov    %ecx,-0x14(%ebp)               
  args.flags       = iop->flags;                                      
  106cbc:	8b 40 14             	mov    0x14(%eax),%eax                
  106cbf:	89 45 f0             	mov    %eax,-0x10(%ebp)               
  args.bytes_moved = 0;                                               
  106cc2:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)                
                                                                      
  status = rtems_io_write(                                            
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  106cc9:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
  106ccc:	50                   	push   %eax                           
  106ccd:	ff 72 0c             	pushl  0xc(%edx)                      
  106cd0:	ff 72 08             	pushl  0x8(%edx)                      
  106cd3:	e8 ec 38 00 00       	call   10a5c4 <rtems_io_write>        
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
  106cd8:	83 c4 10             	add    $0x10,%esp                     
  106cdb:	85 c0                	test   %eax,%eax                      
  106cdd:	74 0e                	je     106ced <devFS_write+0x59>      <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
  106cdf:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  106ce2:	50                   	push   %eax                           <== NOT EXECUTED
  106ce3:	e8 48 66 00 00       	call   10d330 <rtems_deviceio_errno>  <== NOT EXECUTED
  106ce8:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  106ceb:	eb 03                	jmp    106cf0 <devFS_write+0x5c>      <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
  106ced:	8b 45 f4             	mov    -0xc(%ebp),%eax                
}                                                                     
  106cf0:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  106cf3:	c9                   	leave                                 
  106cf4:	c3                   	ret                                   
                                                                      

00110649 <device_ioctl>: int device_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
  110649:	55                   	push   %ebp                           
  11064a:	89 e5                	mov    %esp,%ebp                      
  11064c:	83 ec 1c             	sub    $0x1c,%esp                     
  11064f:	8b 45 08             	mov    0x8(%ebp),%eax                 
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  IMFS_jnode_t             *the_jnode;                                
                                                                      
  args.iop     = iop;                                                 
  110652:	89 45 e8             	mov    %eax,-0x18(%ebp)               
  args.command = command;                                             
  110655:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  110658:	89 55 ec             	mov    %edx,-0x14(%ebp)               
  args.buffer  = buffer;                                              
  11065b:	8b 55 10             	mov    0x10(%ebp),%edx                
  11065e:	89 55 f0             	mov    %edx,-0x10(%ebp)               
                                                                      
  the_jnode = iop->file_info;                                         
  110661:	8b 40 38             	mov    0x38(%eax),%eax                
                                                                      
  status = rtems_io_control(                                          
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  110664:	8d 55 e8             	lea    -0x18(%ebp),%edx               
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  status = rtems_io_control(                                          
  110667:	52                   	push   %edx                           
  110668:	ff 70 54             	pushl  0x54(%eax)                     
  11066b:	ff 70 50             	pushl  0x50(%eax)                     
  11066e:	e8 49 08 00 00       	call   110ebc <rtems_io_control>      
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
  110673:	83 c4 10             	add    $0x10,%esp                     
  110676:	85 c0                	test   %eax,%eax                      
  110678:	74 0e                	je     110688 <device_ioctl+0x3f>     <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
  11067a:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  11067d:	50                   	push   %eax                           <== NOT EXECUTED
  11067e:	e8 39 0a 00 00       	call   1110bc <rtems_deviceio_errno>  <== NOT EXECUTED
  110683:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  110686:	eb 03                	jmp    11068b <device_ioctl+0x42>     <== NOT EXECUTED
                                                                      
  return args.ioctl_return;                                           
  110688:	8b 45 f4             	mov    -0xc(%ebp),%eax                
}                                                                     
  11068b:	c9                   	leave                                 
  11068c:	c3                   	ret                                   
                                                                      

00110587 <device_read>: ssize_t device_read( rtems_libio_t *iop, void *buffer, size_t count ) {
  110587:	55                   	push   %ebp                           
  110588:	89 e5                	mov    %esp,%ebp                      
  11058a:	53                   	push   %ebx                           
  11058b:	83 ec 28             	sub    $0x28,%esp                     
  11058e:	8b 45 08             	mov    0x8(%ebp),%eax                 
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
  110591:	8b 50 38             	mov    0x38(%eax),%edx                
                                                                      
  args.iop         = iop;                                             
  110594:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  args.offset      = iop->offset;                                     
  110597:	8b 48 0c             	mov    0xc(%eax),%ecx                 
  11059a:	8b 58 10             	mov    0x10(%eax),%ebx                
  11059d:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  1105a0:	89 5d e4             	mov    %ebx,-0x1c(%ebp)               
  args.buffer      = buffer;                                          
  1105a3:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  1105a6:	89 4d e8             	mov    %ecx,-0x18(%ebp)               
  args.count       = count;                                           
  1105a9:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  1105ac:	89 4d ec             	mov    %ecx,-0x14(%ebp)               
  args.flags       = iop->flags;                                      
  1105af:	8b 40 14             	mov    0x14(%eax),%eax                
  1105b2:	89 45 f0             	mov    %eax,-0x10(%ebp)               
  args.bytes_moved = 0;                                               
  1105b5:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)                
                                                                      
  status = rtems_io_read(                                             
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  1105bc:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
  1105bf:	50                   	push   %eax                           
  1105c0:	ff 72 54             	pushl  0x54(%edx)                     
  1105c3:	ff 72 50             	pushl  0x50(%edx)                     
  1105c6:	e8 59 09 00 00       	call   110f24 <rtems_io_read>         
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
  1105cb:	83 c4 10             	add    $0x10,%esp                     
  1105ce:	85 c0                	test   %eax,%eax                      
  1105d0:	74 0e                	je     1105e0 <device_read+0x59>      <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
  1105d2:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1105d5:	50                   	push   %eax                           <== NOT EXECUTED
  1105d6:	e8 e1 0a 00 00       	call   1110bc <rtems_deviceio_errno>  <== NOT EXECUTED
  1105db:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  1105de:	eb 03                	jmp    1105e3 <device_read+0x5c>      <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
  1105e0:	8b 45 f4             	mov    -0xc(%ebp),%eax                
}                                                                     
  1105e3:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1105e6:	c9                   	leave                                 
  1105e7:	c3                   	ret                                   
                                                                      

001105e8 <device_write>: ssize_t device_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
  1105e8:	55                   	push   %ebp                           
  1105e9:	89 e5                	mov    %esp,%ebp                      
  1105eb:	53                   	push   %ebx                           
  1105ec:	83 ec 28             	sub    $0x28,%esp                     
  1105ef:	8b 45 08             	mov    0x8(%ebp),%eax                 
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
  1105f2:	8b 50 38             	mov    0x38(%eax),%edx                
                                                                      
  args.iop         = iop;                                             
  1105f5:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  args.offset      = iop->offset;                                     
  1105f8:	8b 48 0c             	mov    0xc(%eax),%ecx                 
  1105fb:	8b 58 10             	mov    0x10(%eax),%ebx                
  1105fe:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  110601:	89 5d e4             	mov    %ebx,-0x1c(%ebp)               
  args.buffer      = (void *) buffer;                                 
  110604:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  110607:	89 4d e8             	mov    %ecx,-0x18(%ebp)               
  args.count       = count;                                           
  11060a:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  11060d:	89 4d ec             	mov    %ecx,-0x14(%ebp)               
  args.flags       = iop->flags;                                      
  110610:	8b 40 14             	mov    0x14(%eax),%eax                
  110613:	89 45 f0             	mov    %eax,-0x10(%ebp)               
  args.bytes_moved = 0;                                               
  110616:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)                
                                                                      
  status = rtems_io_write(                                            
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  11061d:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
  110620:	50                   	push   %eax                           
  110621:	ff 72 54             	pushl  0x54(%edx)                     
  110624:	ff 72 50             	pushl  0x50(%edx)                     
  110627:	e8 2c 09 00 00       	call   110f58 <rtems_io_write>        
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
  11062c:	83 c4 10             	add    $0x10,%esp                     
  11062f:	85 c0                	test   %eax,%eax                      
  110631:	74 0e                	je     110641 <device_write+0x59>     <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
  110633:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  110636:	50                   	push   %eax                           <== NOT EXECUTED
  110637:	e8 80 0a 00 00       	call   1110bc <rtems_deviceio_errno>  <== NOT EXECUTED
  11063c:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  11063f:	eb 03                	jmp    110644 <device_write+0x5c>     <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
  110641:	8b 45 f4             	mov    -0xc(%ebp),%eax                
}                                                                     
  110644:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  110647:	c9                   	leave                                 
  110648:	c3                   	ret                                   
                                                                      

00108118 <drainOutput>: /* * Drain output queue */ static void drainOutput (struct rtems_termios_tty *tty) {
  108118:	55                   	push   %ebp                           
  108119:	89 e5                	mov    %esp,%ebp                      
  10811b:	53                   	push   %ebx                           
  10811c:	83 ec 04             	sub    $0x4,%esp                      
  10811f:	89 c3                	mov    %eax,%ebx                      
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
  108121:	83 b8 b4 00 00 00 00 	cmpl   $0x0,0xb4(%eax)                
  108128:	74 46                	je     108170 <drainOutput+0x58>      
    rtems_interrupt_disable (level);                                  
  10812a:	9c                   	pushf                                 
  10812b:	fa                   	cli                                   
  10812c:	58                   	pop    %eax                           
    while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {              
  10812d:	eb 2f                	jmp    10815e <drainOutput+0x46>      
      tty->rawOutBufState = rob_wait;                                 
  10812f:	c7 83 94 00 00 00 02 	movl   $0x2,0x94(%ebx)                
  108136:	00 00 00                                                    
      rtems_interrupt_enable (level);                                 
  108139:	50                   	push   %eax                           
  10813a:	9d                   	popf                                  
      sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,          
  10813b:	50                   	push   %eax                           
  10813c:	6a 00                	push   $0x0                           
  10813e:	6a 00                	push   $0x0                           
  108140:	ff b3 8c 00 00 00    	pushl  0x8c(%ebx)                     
  108146:	e8 99 20 00 00       	call   10a1e4 <rtems_semaphore_obtain>
              RTEMS_WAIT,                                             
              RTEMS_NO_TIMEOUT);                                      
      if (sc != RTEMS_SUCCESSFUL)                                     
  10814b:	83 c4 10             	add    $0x10,%esp                     
  10814e:	85 c0                	test   %eax,%eax                      
  108150:	74 09                	je     10815b <drainOutput+0x43>      <== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
  108152:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  108155:	50                   	push   %eax                           <== NOT EXECUTED
  108156:	e8 51 26 00 00       	call   10a7ac <rtems_fatal_error_occurred><== NOT EXECUTED
      rtems_interrupt_disable (level);                                
  10815b:	9c                   	pushf                                 
  10815c:	fa                   	cli                                   
  10815d:	58                   	pop    %eax                           
  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) {              
  10815e:	8b 8b 84 00 00 00    	mov    0x84(%ebx),%ecx                
  108164:	8b 93 80 00 00 00    	mov    0x80(%ebx),%edx                
  10816a:	39 d1                	cmp    %edx,%ecx                      
  10816c:	75 c1                	jne    10812f <drainOutput+0x17>      
              RTEMS_NO_TIMEOUT);                                      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    rtems_interrupt_enable (level);                                   
  10816e:	50                   	push   %eax                           
  10816f:	9d                   	popf                                  
  }                                                                   
}                                                                     
  108170:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108173:	c9                   	leave                                 
  108174:	c3                   	ret                                   
                                                                      

00107a1c <dup2>: int dup2( int fildes, int fildes2 ) {
  107a1c:	55                   	push   %ebp                           
  107a1d:	89 e5                	mov    %esp,%ebp                      
  107a1f:	57                   	push   %edi                           
  107a20:	56                   	push   %esi                           
  107a21:	53                   	push   %ebx                           
  107a22:	83 ec 74             	sub    $0x74,%esp                     
  107a25:	8b 75 08             	mov    0x8(%ebp),%esi                 
  107a28:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
  107a2b:	8d 55 a0             	lea    -0x60(%ebp),%edx               
  107a2e:	52                   	push   %edx                           
  107a2f:	56                   	push   %esi                           
  107a30:	89 55 94             	mov    %edx,-0x6c(%ebp)               
  107a33:	e8 80 04 00 00       	call   107eb8 <fstat>                 
  if ( status == -1 )                                                 
  107a38:	83 c4 10             	add    $0x10,%esp                     
    return -1;                                                        
  107a3b:	83 cb ff             	or     $0xffffffff,%ebx               
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
  if ( status == -1 )                                                 
  107a3e:	40                   	inc    %eax                           
  107a3f:	8b 55 94             	mov    -0x6c(%ebp),%edx               
  107a42:	74 1e                	je     107a62 <dup2+0x46>             <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  If fildes2 is not valid, then we should not do anything either. 
   */                                                                 
                                                                      
  status = fstat( fildes2, &buf );                                    
  107a44:	51                   	push   %ecx                           
  107a45:	51                   	push   %ecx                           
  107a46:	52                   	push   %edx                           
  107a47:	57                   	push   %edi                           
  107a48:	e8 6b 04 00 00       	call   107eb8 <fstat>                 
  if ( status == -1 )                                                 
  107a4d:	83 c4 10             	add    $0x10,%esp                     
  107a50:	40                   	inc    %eax                           
  107a51:	74 0f                	je     107a62 <dup2+0x46>             <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
  107a53:	50                   	push   %eax                           <== NOT EXECUTED
  107a54:	57                   	push   %edi                           <== NOT EXECUTED
  107a55:	6a 00                	push   $0x0                           <== NOT EXECUTED
  107a57:	56                   	push   %esi                           <== NOT EXECUTED
  107a58:	e8 8f 01 00 00       	call   107bec <fcntl>                 <== NOT EXECUTED
  107a5d:	89 c3                	mov    %eax,%ebx                      <== NOT EXECUTED
  107a5f:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
}                                                                     
  107a62:	89 d8                	mov    %ebx,%eax                      
  107a64:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107a67:	5b                   	pop    %ebx                           
  107a68:	5e                   	pop    %esi                           
  107a69:	5f                   	pop    %edi                           
  107a6a:	c9                   	leave                                 
  107a6b:	c3                   	ret                                   
                                                                      

00108cc0 <echo>: /* * Echo a typed character */ static void echo (unsigned char c, struct rtems_termios_tty *tty) {
  108cc0:	55                   	push   %ebp                           
  108cc1:	89 e5                	mov    %esp,%ebp                      
  108cc3:	53                   	push   %ebx                           
  108cc4:	83 ec 24             	sub    $0x24,%esp                     
  if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
  108cc7:	f6 42 3d 02          	testb  $0x2,0x3d(%edx)                
  108ccb:	74 3e                	je     108d0b <echo+0x4b>             <== NEVER TAKEN
  108ccd:	0f b6 c8             	movzbl %al,%ecx                       
  108cd0:	8b 1d 0c 20 12 00    	mov    0x12200c,%ebx                  
  108cd6:	f6 44 0b 01 20       	testb  $0x20,0x1(%ebx,%ecx,1)         
  108cdb:	74 2e                	je     108d0b <echo+0x4b>             
  108cdd:	3c 09                	cmp    $0x9,%al                       
  108cdf:	74 2a                	je     108d0b <echo+0x4b>             
  108ce1:	3c 0a                	cmp    $0xa,%al                       
  108ce3:	74 26                	je     108d0b <echo+0x4b>             
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
  108ce5:	c6 45 f6 5e          	movb   $0x5e,-0xa(%ebp)               
    echobuf[1] = c ^ 0x40;                                            
  108ce9:	83 f0 40             	xor    $0x40,%eax                     
  108cec:	88 45 f7             	mov    %al,-0x9(%ebp)                 
    rtems_termios_puts (echobuf, 2, tty);                             
  108cef:	50                   	push   %eax                           
  108cf0:	52                   	push   %edx                           
  108cf1:	6a 02                	push   $0x2                           
  108cf3:	8d 45 f6             	lea    -0xa(%ebp),%eax                
  108cf6:	50                   	push   %eax                           
  108cf7:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  108cfa:	e8 84 fd ff ff       	call   108a83 <rtems_termios_puts>    
    tty->column += 2;                                                 
  108cff:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  108d02:	83 42 28 02          	addl   $0x2,0x28(%edx)                
 * 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')) {
  108d06:	83 c4 10             	add    $0x10,%esp                     
  108d09:	eb 08                	jmp    108d13 <echo+0x53>             
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
    tty->column += 2;                                                 
  }                                                                   
  else {                                                              
    oproc (c, tty);                                                   
  108d0b:	0f b6 c0             	movzbl %al,%eax                       
  108d0e:	e8 90 fe ff ff       	call   108ba3 <oproc>                 
  }                                                                   
}                                                                     
  108d13:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108d16:	c9                   	leave                                 
  108d17:	c3                   	ret                                   
                                                                      

00108132 <endgrent>: void endgrent(void) {
  108132:	55                   	push   %ebp                           
  108133:	89 e5                	mov    %esp,%ebp                      
  108135:	83 ec 08             	sub    $0x8,%esp                      
  if (group_fp != NULL)                                               
  108138:	a1 94 5d 12 00       	mov    0x125d94,%eax                  
  10813d:	85 c0                	test   %eax,%eax                      
  10813f:	74 0c                	je     10814d <endgrent+0x1b>         <== NEVER TAKEN
    fclose(group_fp);                                                 
  108141:	83 ec 0c             	sub    $0xc,%esp                      
  108144:	50                   	push   %eax                           
  108145:	e8 da 9e 00 00       	call   112024 <fclose>                
  10814a:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10814d:	c9                   	leave                                 
  10814e:	c3                   	ret                                   
                                                                      

00107fe5 <endpwent>: void endpwent(void) {
  107fe5:	55                   	push   %ebp                           
  107fe6:	89 e5                	mov    %esp,%ebp                      
  107fe8:	83 ec 08             	sub    $0x8,%esp                      
  if (passwd_fp != NULL)                                              
  107feb:	a1 70 5e 12 00       	mov    0x125e70,%eax                  
  107ff0:	85 c0                	test   %eax,%eax                      
  107ff2:	74 0c                	je     108000 <endpwent+0x1b>         <== NEVER TAKEN
    fclose(passwd_fp);                                                
  107ff4:	83 ec 0c             	sub    $0xc,%esp                      
  107ff7:	50                   	push   %eax                           
  107ff8:	e8 27 a0 00 00       	call   112024 <fclose>                
  107ffd:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  108000:	c9                   	leave                                 
  108001:	c3                   	ret                                   
                                                                      

00108d18 <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) {
  108d18:	55                   	push   %ebp                           
  108d19:	89 e5                	mov    %esp,%ebp                      
  108d1b:	57                   	push   %edi                           
  108d1c:	56                   	push   %esi                           
  108d1d:	53                   	push   %ebx                           
  108d1e:	83 ec 2c             	sub    $0x2c,%esp                     
  108d21:	89 c3                	mov    %eax,%ebx                      
  108d23:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  if (tty->ccount == 0)                                               
  108d26:	83 78 20 00          	cmpl   $0x0,0x20(%eax)                
  108d2a:	0f 84 59 01 00 00    	je     108e89 <erase+0x171>           
    return;                                                           
  if (lineFlag) {                                                     
  108d30:	85 d2                	test   %edx,%edx                      
  108d32:	0f 84 46 01 00 00    	je     108e7e <erase+0x166>           
    if (!(tty->termios.c_lflag & ECHO)) {                             
  108d38:	8b 40 3c             	mov    0x3c(%eax),%eax                
  108d3b:	a8 08                	test   $0x8,%al                       
  108d3d:	75 0c                	jne    108d4b <erase+0x33>            <== ALWAYS TAKEN
      tty->ccount = 0;                                                
  108d3f:	c7 43 20 00 00 00 00 	movl   $0x0,0x20(%ebx)                <== NOT EXECUTED
      return;                                                         
  108d46:	e9 3e 01 00 00       	jmp    108e89 <erase+0x171>           <== NOT EXECUTED
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
  108d4b:	a8 10                	test   $0x10,%al                      
  108d4d:	0f 85 2b 01 00 00    	jne    108e7e <erase+0x166>           <== ALWAYS TAKEN
      tty->ccount = 0;                                                
  108d53:	c7 43 20 00 00 00 00 	movl   $0x0,0x20(%ebx)                <== NOT EXECUTED
      echo (tty->termios.c_cc[VKILL], tty);                           
  108d5a:	0f b6 43 44          	movzbl 0x44(%ebx),%eax                <== NOT EXECUTED
  108d5e:	89 da                	mov    %ebx,%edx                      <== NOT EXECUTED
  108d60:	e8 5b ff ff ff       	call   108cc0 <echo>                  <== NOT EXECUTED
      if (tty->termios.c_lflag & ECHOK)                               
  108d65:	f6 43 3c 20          	testb  $0x20,0x3c(%ebx)               <== NOT EXECUTED
  108d69:	0f 84 1a 01 00 00    	je     108e89 <erase+0x171>           <== NOT EXECUTED
        echo ('\n', tty);                                             
  108d6f:	89 da                	mov    %ebx,%edx                      <== NOT EXECUTED
  108d71:	b8 0a 00 00 00       	mov    $0xa,%eax                      <== NOT EXECUTED
  108d76:	eb 2a                	jmp    108da2 <erase+0x8a>            <== NOT EXECUTED
      return;                                                         
    }                                                                 
  }                                                                   
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
  108d78:	8b 7b 1c             	mov    0x1c(%ebx),%edi                
  108d7b:	8d 50 ff             	lea    -0x1(%eax),%edx                
  108d7e:	89 53 20             	mov    %edx,0x20(%ebx)                
  108d81:	8a 4c 07 ff          	mov    -0x1(%edi,%eax,1),%cl          
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
  108d85:	8b 53 3c             	mov    0x3c(%ebx),%edx                
  108d88:	f6 c2 08             	test   $0x8,%dl                       
  108d8b:	0f 84 e7 00 00 00    	je     108e78 <erase+0x160>           <== NEVER TAKEN
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
  108d91:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  108d95:	75 17                	jne    108dae <erase+0x96>            
  108d97:	f6 c2 10             	test   $0x10,%dl                      
  108d9a:	75 12                	jne    108dae <erase+0x96>            <== ALWAYS TAKEN
        echo (tty->termios.c_cc[VERASE], tty);                        
  108d9c:	0f b6 43 43          	movzbl 0x43(%ebx),%eax                <== NOT EXECUTED
  108da0:	89 da                	mov    %ebx,%edx                      <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
  108da2:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  108da5:	5b                   	pop    %ebx                           <== NOT EXECUTED
  108da6:	5e                   	pop    %esi                           <== NOT EXECUTED
  108da7:	5f                   	pop    %edi                           <== NOT EXECUTED
  108da8:	c9                   	leave                                 <== 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);                        
  108da9:	e9 12 ff ff ff       	jmp    108cc0 <echo>                  <== NOT EXECUTED
      }                                                               
      else if (c == '\t') {                                           
  108dae:	80 f9 09             	cmp    $0x9,%cl                       
  108db1:	8b 35 0c 20 12 00    	mov    0x12200c,%esi                  
  108db7:	89 75 e0             	mov    %esi,-0x20(%ebp)               
  108dba:	75 60                	jne    108e1c <erase+0x104>           
        int col = tty->read_start_column;                             
  108dbc:	8b 73 2c             	mov    0x2c(%ebx),%esi                
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
  108dbf:	b9 01 00 00 00       	mov    $0x1,%ecx                      
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          }                                                           
          else if (iscntrl (c)) {                                     
            if (tty->termios.c_lflag & ECHOCTL)                       
  108dc4:	81 e2 00 02 00 00    	and    $0x200,%edx                    
  108dca:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  108dcd:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
  108dd0:	eb 28                	jmp    108dfa <erase+0xe2>            
          c = tty->cbuf[i++];                                         
  108dd2:	8a 54 0f ff          	mov    -0x1(%edi,%ecx,1),%dl          
          if (c == '\t') {                                            
  108dd6:	80 fa 09             	cmp    $0x9,%dl                       
  108dd9:	75 05                	jne    108de0 <erase+0xc8>            
            col = (col | 7) + 1;                                      
  108ddb:	83 ce 07             	or     $0x7,%esi                      
  108dde:	eb 18                	jmp    108df8 <erase+0xe0>            
          }                                                           
          else if (iscntrl (c)) {                                     
  108de0:	0f b6 d2             	movzbl %dl,%edx                       
  108de3:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  108de6:	f6 44 10 01 20       	testb  $0x20,0x1(%eax,%edx,1)         
  108deb:	74 0b                	je     108df8 <erase+0xe0>            <== ALWAYS TAKEN
            if (tty->termios.c_lflag & ECHOCTL)                       
  108ded:	83 7d dc 00          	cmpl   $0x0,-0x24(%ebp)               <== NOT EXECUTED
  108df1:	74 06                	je     108df9 <erase+0xe1>            <== NOT EXECUTED
              col += 2;                                               
  108df3:	83 c6 02             	add    $0x2,%esi                      <== NOT EXECUTED
  108df6:	eb 01                	jmp    108df9 <erase+0xe1>            <== NOT EXECUTED
          }                                                           
          else {                                                      
            col++;                                                    
  108df8:	46                   	inc    %esi                           
  108df9:	41                   	inc    %ecx                           
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
  108dfa:	3b 4d d4             	cmp    -0x2c(%ebp),%ecx               
  108dfd:	75 d3                	jne    108dd2 <erase+0xba>            
  108dff:	eb 14                	jmp    108e15 <erase+0xfd>            
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
          rtems_termios_puts ("\b", 1, tty);                          
  108e01:	57                   	push   %edi                           
  108e02:	53                   	push   %ebx                           
  108e03:	6a 01                	push   $0x1                           
  108e05:	68 1c e9 11 00       	push   $0x11e91c                      
  108e0a:	e8 74 fc ff ff       	call   108a83 <rtems_termios_puts>    
          tty->column--;                                              
  108e0f:	ff 4b 28             	decl   0x28(%ebx)                     
  108e12:	83 c4 10             	add    $0x10,%esp                     
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
  108e15:	39 73 28             	cmp    %esi,0x28(%ebx)                
  108e18:	7f e7                	jg     108e01 <erase+0xe9>            
  108e1a:	eb 5c                	jmp    108e78 <erase+0x160>           
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
  108e1c:	0f b6 f1             	movzbl %cl,%esi                       
  108e1f:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  108e22:	f6 44 30 01 20       	testb  $0x20,0x1(%eax,%esi,1)         
  108e27:	74 21                	je     108e4a <erase+0x132>           <== ALWAYS TAKEN
  108e29:	80 e6 02             	and    $0x2,%dh                       <== NOT EXECUTED
  108e2c:	74 1c                	je     108e4a <erase+0x132>           <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
  108e2e:	51                   	push   %ecx                           <== NOT EXECUTED
  108e2f:	53                   	push   %ebx                           <== NOT EXECUTED
  108e30:	6a 03                	push   $0x3                           <== NOT EXECUTED
  108e32:	68 1a e9 11 00       	push   $0x11e91a                      <== NOT EXECUTED
  108e37:	e8 47 fc ff ff       	call   108a83 <rtems_termios_puts>    <== NOT EXECUTED
          if (tty->column)                                            
  108e3c:	8b 43 28             	mov    0x28(%ebx),%eax                <== NOT EXECUTED
  108e3f:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  108e42:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  108e44:	74 04                	je     108e4a <erase+0x132>           <== NOT EXECUTED
            tty->column--;                                            
  108e46:	48                   	dec    %eax                           <== NOT EXECUTED
  108e47:	89 43 28             	mov    %eax,0x28(%ebx)                <== NOT EXECUTED
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
  108e4a:	a1 0c 20 12 00       	mov    0x12200c,%eax                  
  108e4f:	f6 44 30 01 20       	testb  $0x20,0x1(%eax,%esi,1)         
  108e54:	74 06                	je     108e5c <erase+0x144>           <== ALWAYS TAKEN
  108e56:	f6 43 3d 02          	testb  $0x2,0x3d(%ebx)                <== NOT EXECUTED
  108e5a:	74 1c                	je     108e78 <erase+0x160>           <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
  108e5c:	52                   	push   %edx                           
  108e5d:	53                   	push   %ebx                           
  108e5e:	6a 03                	push   $0x3                           
  108e60:	68 1a e9 11 00       	push   $0x11e91a                      
  108e65:	e8 19 fc ff ff       	call   108a83 <rtems_termios_puts>    
          if (tty->column)                                            
  108e6a:	8b 43 28             	mov    0x28(%ebx),%eax                
  108e6d:	83 c4 10             	add    $0x10,%esp                     
  108e70:	85 c0                	test   %eax,%eax                      
  108e72:	74 04                	je     108e78 <erase+0x160>           <== NEVER TAKEN
            tty->column--;                                            
  108e74:	48                   	dec    %eax                           
  108e75:	89 43 28             	mov    %eax,0x28(%ebx)                
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
  108e78:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  108e7c:	74 0b                	je     108e89 <erase+0x171>           
      if (tty->termios.c_lflag & ECHOK)                               
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
  while (tty->ccount) {                                               
  108e7e:	8b 43 20             	mov    0x20(%ebx),%eax                
  108e81:	85 c0                	test   %eax,%eax                      
  108e83:	0f 85 ef fe ff ff    	jne    108d78 <erase+0x60>            
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
  108e89:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108e8c:	5b                   	pop    %ebx                           
  108e8d:	5e                   	pop    %esi                           
  108e8e:	5f                   	pop    %edi                           
  108e8f:	c9                   	leave                                 
  108e90:	c3                   	ret                                   
                                                                      

00107bec <fcntl>: int fcntl( int fd, int cmd, ... ) {
  107bec:	55                   	push   %ebp                           
  107bed:	89 e5                	mov    %esp,%ebp                      
  107bef:	57                   	push   %edi                           
  107bf0:	56                   	push   %esi                           
  107bf1:	53                   	push   %ebx                           
  107bf2:	83 ec 0c             	sub    $0xc,%esp                      
  107bf5:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  107bf8:	8d 75 10             	lea    0x10(%ebp),%esi                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  107bfb:	8b 0d 44 21 12 00    	mov    0x122144,%ecx                  
  107c01:	39 cb                	cmp    %ecx,%ebx                      
  107c03:	73 14                	jae    107c19 <fcntl+0x2d>            
  iop = rtems_libio_iop( fd );                                        
  107c05:	8b 15 98 60 12 00    	mov    0x126098,%edx                  
  107c0b:	c1 e3 06             	shl    $0x6,%ebx                      
  107c0e:	8d 1c 1a             	lea    (%edx,%ebx,1),%ebx             
  rtems_libio_check_is_open(iop);                                     
  107c11:	8b 43 14             	mov    0x14(%ebx),%eax                
  107c14:	f6 c4 01             	test   $0x1,%ah                       
  107c17:	75 10                	jne    107c29 <fcntl+0x3d>            
  107c19:	e8 c2 a7 00 00       	call   1123e0 <__errno>               
  107c1e:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  107c24:	e9 f0 00 00 00       	jmp    107d19 <fcntl+0x12d>           
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
  107c29:	83 7d 0c 09          	cmpl   $0x9,0xc(%ebp)                 
  107c2d:	0f 87 b9 00 00 00    	ja     107cec <fcntl+0x100>           
  107c33:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  107c36:	ff 24 bd 24 06 12 00 	jmp    *0x120624(,%edi,4)             
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
  107c3d:	8b 36                	mov    (%esi),%esi                    
      if ( fd2 )                                                      
  107c3f:	85 f6                	test   %esi,%esi                      
  107c41:	74 10                	je     107c53 <fcntl+0x67>            <== ALWAYS TAKEN
        diop = rtems_libio_iop( fd2 );                                
  107c43:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  107c45:	39 ce                	cmp    %ecx,%esi                      <== NOT EXECUTED
  107c47:	73 17                	jae    107c60 <fcntl+0x74>            <== NOT EXECUTED
  107c49:	89 f0                	mov    %esi,%eax                      <== NOT EXECUTED
  107c4b:	c1 e0 06             	shl    $0x6,%eax                      <== NOT EXECUTED
  107c4e:	8d 04 02             	lea    (%edx,%eax,1),%eax             <== NOT EXECUTED
  107c51:	eb 0d                	jmp    107c60 <fcntl+0x74>            <== NOT EXECUTED
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
  107c53:	e8 d7 04 00 00       	call   10812f <rtems_libio_allocate>  
        if ( diop == 0 ) {                                            
  107c58:	85 c0                	test   %eax,%eax                      
  107c5a:	0f 84 b9 00 00 00    	je     107d19 <fcntl+0x12d>           <== NEVER TAKEN
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
  107c60:	8b 53 3c             	mov    0x3c(%ebx),%edx                
  107c63:	89 50 3c             	mov    %edx,0x3c(%eax)                
      diop->file_info  = iop->file_info;                              
  107c66:	8b 53 38             	mov    0x38(%ebx),%edx                
  107c69:	89 50 38             	mov    %edx,0x38(%eax)                
      diop->flags      = iop->flags;                                  
  107c6c:	8b 53 14             	mov    0x14(%ebx),%edx                
  107c6f:	89 50 14             	mov    %edx,0x14(%eax)                
      diop->pathinfo   = iop->pathinfo;                               
  107c72:	8d 78 18             	lea    0x18(%eax),%edi                
  107c75:	8d 73 18             	lea    0x18(%ebx),%esi                
  107c78:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  107c7d:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
      ret = (int) (diop - rtems_libio_iops);                          
  107c7f:	89 c6                	mov    %eax,%esi                      
  107c81:	2b 35 98 60 12 00    	sub    0x126098,%esi                  
  107c87:	c1 fe 06             	sar    $0x6,%esi                      
  107c8a:	eb 6d                	jmp    107cf9 <fcntl+0x10d>           
      break;                                                          
                                                                      
    case F_GETFD:        /* get f_flags */                            
      ret = ((iop->flags & LIBIO_FLAGS_CLOSE_ON_EXEC) != 0);          
  107c8c:	f6 c4 08             	test   $0x8,%ah                       
  107c8f:	0f 95 c0             	setne  %al                            
  107c92:	0f b6 c0             	movzbl %al,%eax                       
  107c95:	89 c6                	mov    %eax,%esi                      
  107c97:	eb 64                	jmp    107cfd <fcntl+0x111>           
       *  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 ) )                                        
  107c99:	83 3e 00             	cmpl   $0x0,(%esi)                    
  107c9c:	74 05                	je     107ca3 <fcntl+0xb7>            <== NEVER TAKEN
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
  107c9e:	80 cc 08             	or     $0x8,%ah                       
  107ca1:	eb 03                	jmp    107ca6 <fcntl+0xba>            
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
  107ca3:	80 e4 f7             	and    $0xf7,%ah                      <== NOT EXECUTED
  107ca6:	89 43 14             	mov    %eax,0x14(%ebx)                
  107ca9:	eb 30                	jmp    107cdb <fcntl+0xef>            
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
  107cab:	83 ec 0c             	sub    $0xc,%esp                      
  107cae:	50                   	push   %eax                           
  107caf:	e8 3d 04 00 00       	call   1080f1 <rtems_libio_to_fcntl_flags>
  107cb4:	89 c6                	mov    %eax,%esi                      
  107cb6:	83 c4 10             	add    $0x10,%esp                     
  107cb9:	eb 3e                	jmp    107cf9 <fcntl+0x10d>           
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
  107cbb:	83 ec 0c             	sub    $0xc,%esp                      
  107cbe:	ff 36                	pushl  (%esi)                         
  107cc0:	e8 f7 03 00 00       	call   1080bc <rtems_libio_fcntl_flags>
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
  107cc5:	25 01 02 00 00       	and    $0x201,%eax                    
  107cca:	8b 53 14             	mov    0x14(%ebx),%edx                
  107ccd:	81 e2 fe fd ff ff    	and    $0xfffffdfe,%edx               
  107cd3:	09 d0                	or     %edx,%eax                      
  107cd5:	89 43 14             	mov    %eax,0x14(%ebx)                
  107cd8:	83 c4 10             	add    $0x10,%esp                     
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
  107cdb:	31 f6                	xor    %esi,%esi                      
  107cdd:	eb 1e                	jmp    107cfd <fcntl+0x111>           
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
  107cdf:	e8 fc a6 00 00       	call   1123e0 <__errno>               
  107ce4:	c7 00 86 00 00 00    	movl   $0x86,(%eax)                   
  107cea:	eb 2d                	jmp    107d19 <fcntl+0x12d>           
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
  107cec:	e8 ef a6 00 00       	call   1123e0 <__errno>               
  107cf1:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  107cf7:	eb 20                	jmp    107d19 <fcntl+0x12d>           
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
  107cf9:	85 f6                	test   %esi,%esi                      
  107cfb:	78 1f                	js     107d1c <fcntl+0x130>           <== NEVER TAKEN
    int err = (*iop->handlers->fcntl_h)( cmd, iop );                  
  107cfd:	50                   	push   %eax                           
  107cfe:	50                   	push   %eax                           
  107cff:	8b 43 3c             	mov    0x3c(%ebx),%eax                
  107d02:	53                   	push   %ebx                           
  107d03:	ff 75 0c             	pushl  0xc(%ebp)                      
  107d06:	ff 50 30             	call   *0x30(%eax)                    
  107d09:	89 c3                	mov    %eax,%ebx                      
    if (err) {                                                        
  107d0b:	83 c4 10             	add    $0x10,%esp                     
  107d0e:	85 c0                	test   %eax,%eax                      
  107d10:	74 0a                	je     107d1c <fcntl+0x130>           <== ALWAYS TAKEN
      errno = err;                                                    
  107d12:	e8 c9 a6 00 00       	call   1123e0 <__errno>               <== NOT EXECUTED
  107d17:	89 18                	mov    %ebx,(%eax)                    <== NOT EXECUTED
      ret = -1;                                                       
  107d19:	83 ce ff             	or     $0xffffffff,%esi               
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
  107d1c:	89 f0                	mov    %esi,%eax                      
  107d1e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107d21:	5b                   	pop    %ebx                           
  107d22:	5e                   	pop    %esi                           
  107d23:	5f                   	pop    %edi                           
  107d24:	c9                   	leave                                 
  107d25:	c3                   	ret                                   
                                                                      

0010f9a3 <fifo_open>: */ int fifo_open( pipe_control_t **pipep, rtems_libio_t *iop ) {
  10f9a3:	55                   	push   %ebp                           
  10f9a4:	89 e5                	mov    %esp,%ebp                      
  10f9a6:	57                   	push   %edi                           
  10f9a7:	56                   	push   %esi                           
  10f9a8:	53                   	push   %ebx                           
  10f9a9:	83 ec 2c             	sub    $0x2c,%esp                     
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  err = pipe_lock();                                                  
  10f9ac:	e8 4b fe ff ff       	call   10f7fc <pipe_lock>             
  10f9b1:	89 c6                	mov    %eax,%esi                      
  if (err)                                                            
  10f9b3:	85 c0                	test   %eax,%eax                      
  10f9b5:	0f 85 37 03 00 00    	jne    10fcf2 <fifo_open+0x34f>       
    return err;                                                       
                                                                      
  pipe = *pipep;                                                      
  10f9bb:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10f9be:	8b 18                	mov    (%eax),%ebx                    
  if (pipe == NULL) {                                                 
  10f9c0:	85 db                	test   %ebx,%ebx                      
  10f9c2:	0f 85 56 01 00 00    	jne    10fb1e <fifo_open+0x17b>       
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
  10f9c8:	83 ec 0c             	sub    $0xc,%esp                      
  10f9cb:	6a 34                	push   $0x34                          
  10f9cd:	e8 1a 92 ff ff       	call   108bec <malloc>                
  10f9d2:	89 c3                	mov    %eax,%ebx                      
  10f9d4:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  if (pipe == NULL)                                                   
  10f9d7:	83 c4 10             	add    $0x10,%esp                     
  10f9da:	85 c0                	test   %eax,%eax                      
  10f9dc:	0f 84 35 01 00 00    	je     10fb17 <fifo_open+0x174>       
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
  10f9e2:	b9 0d 00 00 00       	mov    $0xd,%ecx                      
  10f9e7:	89 c7                	mov    %eax,%edi                      
  10f9e9:	89 f0                	mov    %esi,%eax                      
  10f9eb:	f3 ab                	rep stos %eax,%es:(%edi)              
                                                                      
  pipe->Size = PIPE_BUF;                                              
  10f9ed:	c7 43 04 00 02 00 00 	movl   $0x200,0x4(%ebx)               
  pipe->Buffer = malloc(pipe->Size);                                  
  10f9f4:	83 ec 0c             	sub    $0xc,%esp                      
  10f9f7:	68 00 02 00 00       	push   $0x200                         
  10f9fc:	e8 eb 91 ff ff       	call   108bec <malloc>                
  10fa01:	89 03                	mov    %eax,(%ebx)                    
  if (! pipe->Buffer)                                                 
  10fa03:	83 c4 10             	add    $0x10,%esp                     
  10fa06:	85 c0                	test   %eax,%eax                      
  10fa08:	0f 84 fb 00 00 00    	je     10fb09 <fifo_open+0x166>       <== NEVER TAKEN
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
  10fa0e:	8d 43 2c             	lea    0x2c(%ebx),%eax                
  10fa11:	50                   	push   %eax                           
  10fa12:	6a 00                	push   $0x0                           
  10fa14:	6a 00                	push   $0x0                           
        rtems_build_name ('P', 'I', 'r', c),                          
  10fa16:	0f be 05 78 4f 12 00 	movsbl 0x124f78,%eax                  
  if (! pipe->Buffer)                                                 
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
  10fa1d:	0d 00 72 49 50       	or     $0x50497200,%eax               
  10fa22:	50                   	push   %eax                           
  10fa23:	e8 a4 b8 ff ff       	call   10b2cc <rtems_barrier_create>  
  10fa28:	83 c4 10             	add    $0x10,%esp                     
  10fa2b:	85 c0                	test   %eax,%eax                      
  10fa2d:	0f 85 c6 00 00 00    	jne    10faf9 <fifo_open+0x156>       
        rtems_build_name ('P', 'I', 'r', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->readBarrier) != RTEMS_SUCCESSFUL)                      
    goto err_rbar;                                                    
  if (rtems_barrier_create(                                           
  10fa33:	8d 43 30             	lea    0x30(%ebx),%eax                
  10fa36:	50                   	push   %eax                           
  10fa37:	6a 00                	push   $0x0                           
  10fa39:	6a 00                	push   $0x0                           
        rtems_build_name ('P', 'I', 'w', c),                          
  10fa3b:	0f be 05 78 4f 12 00 	movsbl 0x124f78,%eax                  
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'r', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->readBarrier) != RTEMS_SUCCESSFUL)                      
    goto err_rbar;                                                    
  if (rtems_barrier_create(                                           
  10fa42:	0d 00 77 49 50       	or     $0x50497700,%eax               
  10fa47:	50                   	push   %eax                           
  10fa48:	e8 7f b8 ff ff       	call   10b2cc <rtems_barrier_create>  
  10fa4d:	83 c4 10             	add    $0x10,%esp                     
  10fa50:	85 c0                	test   %eax,%eax                      
  10fa52:	0f 85 90 00 00 00    	jne    10fae8 <fifo_open+0x145>       
        rtems_build_name ('P', 'I', 'w', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->writeBarrier) != RTEMS_SUCCESSFUL)                     
    goto err_wbar;                                                    
  if (rtems_semaphore_create(                                         
  10fa58:	83 ec 0c             	sub    $0xc,%esp                      
  10fa5b:	8d 43 28             	lea    0x28(%ebx),%eax                
  10fa5e:	50                   	push   %eax                           
  10fa5f:	6a 00                	push   $0x0                           
  10fa61:	6a 10                	push   $0x10                          
  10fa63:	6a 01                	push   $0x1                           
        rtems_build_name ('P', 'I', 's', c), 1,                       
  10fa65:	0f be 05 78 4f 12 00 	movsbl 0x124f78,%eax                  
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'w', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->writeBarrier) != RTEMS_SUCCESSFUL)                     
    goto err_wbar;                                                    
  if (rtems_semaphore_create(                                         
  10fa6c:	0d 00 73 49 50       	or     $0x50497300,%eax               
  10fa71:	50                   	push   %eax                           
  10fa72:	e8 85 bd ff ff       	call   10b7fc <rtems_semaphore_create>
  10fa77:	83 c4 20             	add    $0x20,%esp                     
  10fa7a:	85 c0                	test   %eax,%eax                      
  10fa7c:	75 59                	jne    10fad7 <fifo_open+0x134>       
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Barrier_Control *)                                          
    _Objects_Get( &_Barrier_Information, id, location );              
  10fa7e:	52                   	push   %edx                           
/* 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
  10fa7f:	8d 7d e0             	lea    -0x20(%ebp),%edi               
  10fa82:	57                   	push   %edi                           
  10fa83:	ff 73 2c             	pushl  0x2c(%ebx)                     
  10fa86:	68 cc 71 12 00       	push   $0x1271cc                      
  10fa8b:	e8 90 d5 ff ff       	call   10d020 <_Objects_Get>          
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
  10fa90:	81 48 4c 00 00 00 10 	orl    $0x10000000,0x4c(%eax)         
  _Thread_Enable_dispatch();                                          
  10fa97:	e8 5e dd ff ff       	call   10d7fa <_Thread_Enable_dispatch>
  10fa9c:	83 c4 0c             	add    $0xc,%esp                      
  10fa9f:	57                   	push   %edi                           
  10faa0:	ff 73 30             	pushl  0x30(%ebx)                     
  10faa3:	68 cc 71 12 00       	push   $0x1271cc                      
  10faa8:	e8 73 d5 ff ff       	call   10d020 <_Objects_Get>          
  _Barrier_Get(pipe->writeBarrier, &location)->Barrier.Wait_queue.state
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
  10faad:	81 48 4c 00 00 00 10 	orl    $0x10000000,0x4c(%eax)         
  _Thread_Enable_dispatch();                                          
  10fab4:	e8 41 dd ff ff       	call   10d7fa <_Thread_Enable_dispatch>
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
  10fab9:	a0 78 4f 12 00       	mov    0x124f78,%al                   
  10fabe:	8d 50 01             	lea    0x1(%eax),%edx                 
  10fac1:	88 15 78 4f 12 00    	mov    %dl,0x124f78                   
  10fac7:	83 c4 10             	add    $0x10,%esp                     
  10faca:	3c 7a                	cmp    $0x7a,%al                      
  10facc:	75 50                	jne    10fb1e <fifo_open+0x17b>       
    c = 'a';                                                          
  10face:	c6 05 78 4f 12 00 61 	movb   $0x61,0x124f78                 
  10fad5:	eb 47                	jmp    10fb1e <fifo_open+0x17b>       
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
  10fad7:	83 ec 0c             	sub    $0xc,%esp                      
  10fada:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  10fadd:	ff 72 30             	pushl  0x30(%edx)                     
  10fae0:	e8 9f b8 ff ff       	call   10b384 <rtems_barrier_delete>  
  10fae5:	83 c4 10             	add    $0x10,%esp                     
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
  10fae8:	83 ec 0c             	sub    $0xc,%esp                      
  10faeb:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10faee:	ff 70 2c             	pushl  0x2c(%eax)                     
  10faf1:	e8 8e b8 ff ff       	call   10b384 <rtems_barrier_delete>  
  10faf6:	83 c4 10             	add    $0x10,%esp                     
err_rbar:                                                             
  free(pipe->Buffer);                                                 
  10faf9:	83 ec 0c             	sub    $0xc,%esp                      
  10fafc:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  10faff:	ff 32                	pushl  (%edx)                         
  10fb01:	e8 46 8c ff ff       	call   10874c <free>                  
  10fb06:	83 c4 10             	add    $0x10,%esp                     
err_buf:                                                              
  free(pipe);                                                         
  10fb09:	83 ec 0c             	sub    $0xc,%esp                      
  10fb0c:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10fb0f:	e8 38 8c ff ff       	call   10874c <free>                  
  10fb14:	83 c4 10             	add    $0x10,%esp                     
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
  10fb17:	be f4 ff ff ff       	mov    $0xfffffff4,%esi               
  10fb1c:	eb 33                	jmp    10fb51 <fifo_open+0x1ae>       
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
  10fb1e:	50                   	push   %eax                           
  10fb1f:	6a 00                	push   $0x0                           
  10fb21:	6a 00                	push   $0x0                           
  10fb23:	ff 73 28             	pushl  0x28(%ebx)                     
  10fb26:	e8 f9 be ff ff       	call   10ba24 <rtems_semaphore_obtain>
  10fb2b:	83 c4 10             	add    $0x10,%esp                     
  10fb2e:	85 c0                	test   %eax,%eax                      
  10fb30:	74 05                	je     10fb37 <fifo_open+0x194>       <== ALWAYS TAKEN
    err = -EINTR;                                                     
  10fb32:	be fc ff ff ff       	mov    $0xfffffffc,%esi               <== NOT EXECUTED
                                                                      
  if (*pipep == NULL) {                                               
  10fb37:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10fb3a:	83 38 00             	cmpl   $0x0,(%eax)                    
  10fb3d:	75 12                	jne    10fb51 <fifo_open+0x1ae>       
    if (err)                                                          
  10fb3f:	85 f6                	test   %esi,%esi                      
  10fb41:	74 09                	je     10fb4c <fifo_open+0x1a9>       <== ALWAYS TAKEN
      pipe_free(pipe);                                                
  10fb43:	89 d8                	mov    %ebx,%eax                      <== NOT EXECUTED
  10fb45:	e8 39 fd ff ff       	call   10f883 <pipe_free>             <== NOT EXECUTED
  10fb4a:	eb 05                	jmp    10fb51 <fifo_open+0x1ae>       <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  10fb4c:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10fb4f:	89 1a                	mov    %ebx,(%edx)                    
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
  10fb51:	e8 68 fd ff ff       	call   10f8be <pipe_unlock>           
  pipe_control_t *pipe;                                               
  unsigned int prevCounter;                                           
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
  10fb56:	85 f6                	test   %esi,%esi                      
  10fb58:	0f 85 94 01 00 00    	jne    10fcf2 <fifo_open+0x34f>       
    return err;                                                       
  pipe = *pipep;                                                      
  10fb5e:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10fb61:	8b 18                	mov    (%eax),%ebx                    
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
  10fb63:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10fb66:	8b 42 14             	mov    0x14(%edx),%eax                
  10fb69:	83 e0 06             	and    $0x6,%eax                      
  10fb6c:	83 f8 04             	cmp    $0x4,%eax                      
  10fb6f:	0f 84 91 00 00 00    	je     10fc06 <fifo_open+0x263>       
  10fb75:	83 f8 06             	cmp    $0x6,%eax                      
  10fb78:	0f 84 10 01 00 00    	je     10fc8e <fifo_open+0x2eb>       
  10fb7e:	83 f8 02             	cmp    $0x2,%eax                      
  10fb81:	0f 85 49 01 00 00    	jne    10fcd0 <fifo_open+0x32d>       <== NEVER TAKEN
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
  10fb87:	ff 43 20             	incl   0x20(%ebx)                     
      if (pipe->Readers ++ == 0)                                      
  10fb8a:	8b 43 10             	mov    0x10(%ebx),%eax                
  10fb8d:	8d 50 01             	lea    0x1(%eax),%edx                 
  10fb90:	89 53 10             	mov    %edx,0x10(%ebx)                
  10fb93:	85 c0                	test   %eax,%eax                      
  10fb95:	75 11                	jne    10fba8 <fifo_open+0x205>       <== NEVER TAKEN
        PIPE_WAKEUPWRITERS(pipe);                                     
  10fb97:	57                   	push   %edi                           
  10fb98:	57                   	push   %edi                           
  10fb99:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10fb9c:	50                   	push   %eax                           
  10fb9d:	ff 73 30             	pushl  0x30(%ebx)                     
  10fba0:	e8 e3 16 00 00       	call   111288 <rtems_barrier_release> 
  10fba5:	83 c4 10             	add    $0x10,%esp                     
                                                                      
      if (pipe->Writers == 0) {                                       
  10fba8:	83 7b 14 00          	cmpl   $0x0,0x14(%ebx)                
  10fbac:	0f 85 1e 01 00 00    	jne    10fcd0 <fifo_open+0x32d>       
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
  10fbb2:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10fbb5:	f6 40 14 01          	testb  $0x1,0x14(%eax)                
  10fbb9:	0f 85 11 01 00 00    	jne    10fcd0 <fifo_open+0x32d>       
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
  10fbbf:	8b 7b 24             	mov    0x24(%ebx),%edi                
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
  10fbc2:	83 ec 0c             	sub    $0xc,%esp                      
  10fbc5:	ff 73 28             	pushl  0x28(%ebx)                     
  10fbc8:	e8 43 bf ff ff       	call   10bb10 <rtems_semaphore_release>
          if (! PIPE_READWAIT(pipe))                                  
  10fbcd:	5a                   	pop    %edx                           
  10fbce:	59                   	pop    %ecx                           
  10fbcf:	6a 00                	push   $0x0                           
  10fbd1:	ff 73 2c             	pushl  0x2c(%ebx)                     
  10fbd4:	e8 07 17 00 00       	call   1112e0 <rtems_barrier_wait>    
  10fbd9:	83 c4 10             	add    $0x10,%esp                     
  10fbdc:	85 c0                	test   %eax,%eax                      
  10fbde:	0f 85 f9 00 00 00    	jne    10fcdd <fifo_open+0x33a>       <== NEVER TAKEN
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
  10fbe4:	50                   	push   %eax                           
  10fbe5:	6a 00                	push   $0x0                           
  10fbe7:	6a 00                	push   $0x0                           
  10fbe9:	ff 73 28             	pushl  0x28(%ebx)                     
  10fbec:	e8 33 be ff ff       	call   10ba24 <rtems_semaphore_obtain>
  10fbf1:	83 c4 10             	add    $0x10,%esp                     
  10fbf4:	85 c0                	test   %eax,%eax                      
  10fbf6:	0f 85 e1 00 00 00    	jne    10fcdd <fifo_open+0x33a>       <== NEVER TAKEN
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
  10fbfc:	3b 7b 24             	cmp    0x24(%ebx),%edi                
  10fbff:	74 c1                	je     10fbc2 <fifo_open+0x21f>       <== NEVER TAKEN
  10fc01:	e9 ca 00 00 00       	jmp    10fcd0 <fifo_open+0x32d>       
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
  10fc06:	ff 43 24             	incl   0x24(%ebx)                     
                                                                      
      if (pipe->Writers ++ == 0)                                      
  10fc09:	8b 43 14             	mov    0x14(%ebx),%eax                
  10fc0c:	8d 50 01             	lea    0x1(%eax),%edx                 
  10fc0f:	89 53 14             	mov    %edx,0x14(%ebx)                
  10fc12:	85 c0                	test   %eax,%eax                      
  10fc14:	75 11                	jne    10fc27 <fifo_open+0x284>       <== NEVER TAKEN
        PIPE_WAKEUPREADERS(pipe);                                     
  10fc16:	57                   	push   %edi                           
  10fc17:	57                   	push   %edi                           
  10fc18:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10fc1b:	50                   	push   %eax                           
  10fc1c:	ff 73 2c             	pushl  0x2c(%ebx)                     
  10fc1f:	e8 64 16 00 00       	call   111288 <rtems_barrier_release> 
  10fc24:	83 c4 10             	add    $0x10,%esp                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
  10fc27:	83 7b 10 00          	cmpl   $0x0,0x10(%ebx)                
  10fc2b:	0f 85 9f 00 00 00    	jne    10fcd0 <fifo_open+0x32d>       
  10fc31:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10fc34:	f6 42 14 01          	testb  $0x1,0x14(%edx)                
  10fc38:	74 18                	je     10fc52 <fifo_open+0x2af>       
	PIPE_UNLOCK(pipe);                                                   
  10fc3a:	83 ec 0c             	sub    $0xc,%esp                      
  10fc3d:	ff 73 28             	pushl  0x28(%ebx)                     
  10fc40:	e8 cb be ff ff       	call   10bb10 <rtems_semaphore_release>
        err = -ENXIO;                                                 
        goto out_error;                                               
  10fc45:	83 c4 10             	add    $0x10,%esp                     
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
        err = -ENXIO;                                                 
  10fc48:	be fa ff ff ff       	mov    $0xfffffffa,%esi               
        goto out_error;                                               
  10fc4d:	e9 90 00 00 00       	jmp    10fce2 <fifo_open+0x33f>       
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
  10fc52:	8b 7b 20             	mov    0x20(%ebx),%edi                
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
  10fc55:	83 ec 0c             	sub    $0xc,%esp                      
  10fc58:	ff 73 28             	pushl  0x28(%ebx)                     
  10fc5b:	e8 b0 be ff ff       	call   10bb10 <rtems_semaphore_release>
          if (! PIPE_WRITEWAIT(pipe))                                 
  10fc60:	5a                   	pop    %edx                           
  10fc61:	59                   	pop    %ecx                           
  10fc62:	6a 00                	push   $0x0                           
  10fc64:	ff 73 30             	pushl  0x30(%ebx)                     
  10fc67:	e8 74 16 00 00       	call   1112e0 <rtems_barrier_wait>    
  10fc6c:	83 c4 10             	add    $0x10,%esp                     
  10fc6f:	85 c0                	test   %eax,%eax                      
  10fc71:	75 6a                	jne    10fcdd <fifo_open+0x33a>       <== NEVER TAKEN
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
  10fc73:	50                   	push   %eax                           
  10fc74:	6a 00                	push   $0x0                           
  10fc76:	6a 00                	push   $0x0                           
  10fc78:	ff 73 28             	pushl  0x28(%ebx)                     
  10fc7b:	e8 a4 bd ff ff       	call   10ba24 <rtems_semaphore_obtain>
  10fc80:	83 c4 10             	add    $0x10,%esp                     
  10fc83:	85 c0                	test   %eax,%eax                      
  10fc85:	75 56                	jne    10fcdd <fifo_open+0x33a>       <== NEVER TAKEN
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
  10fc87:	3b 7b 20             	cmp    0x20(%ebx),%edi                
  10fc8a:	74 c9                	je     10fc55 <fifo_open+0x2b2>       <== NEVER TAKEN
  10fc8c:	eb 42                	jmp    10fcd0 <fifo_open+0x32d>       
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
  10fc8e:	ff 43 20             	incl   0x20(%ebx)                     
      if (pipe->Readers ++ == 0)                                      
  10fc91:	8b 43 10             	mov    0x10(%ebx),%eax                
  10fc94:	8d 50 01             	lea    0x1(%eax),%edx                 
  10fc97:	89 53 10             	mov    %edx,0x10(%ebx)                
  10fc9a:	85 c0                	test   %eax,%eax                      
  10fc9c:	75 11                	jne    10fcaf <fifo_open+0x30c>       <== NEVER TAKEN
        PIPE_WAKEUPWRITERS(pipe);                                     
  10fc9e:	57                   	push   %edi                           
  10fc9f:	57                   	push   %edi                           
  10fca0:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10fca3:	50                   	push   %eax                           
  10fca4:	ff 73 30             	pushl  0x30(%ebx)                     
  10fca7:	e8 dc 15 00 00       	call   111288 <rtems_barrier_release> 
  10fcac:	83 c4 10             	add    $0x10,%esp                     
      pipe->writerCounter ++;                                         
  10fcaf:	ff 43 24             	incl   0x24(%ebx)                     
      if (pipe->Writers ++ == 0)                                      
  10fcb2:	8b 43 14             	mov    0x14(%ebx),%eax                
  10fcb5:	8d 50 01             	lea    0x1(%eax),%edx                 
  10fcb8:	89 53 14             	mov    %edx,0x14(%ebx)                
  10fcbb:	85 c0                	test   %eax,%eax                      
  10fcbd:	75 11                	jne    10fcd0 <fifo_open+0x32d>       <== NEVER TAKEN
        PIPE_WAKEUPREADERS(pipe);                                     
  10fcbf:	51                   	push   %ecx                           
  10fcc0:	51                   	push   %ecx                           
  10fcc1:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10fcc4:	50                   	push   %eax                           
  10fcc5:	ff 73 2c             	pushl  0x2c(%ebx)                     
  10fcc8:	e8 bb 15 00 00       	call   111288 <rtems_barrier_release> 
  10fccd:	83 c4 10             	add    $0x10,%esp                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  10fcd0:	83 ec 0c             	sub    $0xc,%esp                      
  10fcd3:	ff 73 28             	pushl  0x28(%ebx)                     
  10fcd6:	e8 35 be ff ff       	call   10bb10 <rtems_semaphore_release>
  10fcdb:	eb 12                	jmp    10fcef <fifo_open+0x34c>       
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
  10fcdd:	be fc ff ff ff       	mov    $0xfffffffc,%esi               <== NOT EXECUTED
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
  10fce2:	52                   	push   %edx                           
  10fce3:	52                   	push   %edx                           
  10fce4:	ff 75 0c             	pushl  0xc(%ebp)                      
  10fce7:	ff 75 08             	pushl  0x8(%ebp)                      
  10fcea:	e8 f6 fb ff ff       	call   10f8e5 <pipe_release>          
  return err;                                                         
  10fcef:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10fcf2:	89 f0                	mov    %esi,%eax                      
  10fcf4:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10fcf7:	5b                   	pop    %ebx                           
  10fcf8:	5e                   	pop    %esi                           
  10fcf9:	5f                   	pop    %edi                           
  10fcfa:	c9                   	leave                                 
  10fcfb:	c3                   	ret                                   
                                                                      

00107d98 <fpathconf>: long fpathconf( int fd, int name ) {
  107d98:	55                   	push   %ebp                           
  107d99:	89 e5                	mov    %esp,%ebp                      
  107d9b:	83 ec 08             	sub    $0x8,%esp                      
  107d9e:	8b 45 08             	mov    0x8(%ebp),%eax                 
  107da1:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
  107da4:	3b 05 44 21 12 00    	cmp    0x122144,%eax                  
  107daa:	73 11                	jae    107dbd <fpathconf+0x25>        
  iop = rtems_libio_iop(fd);                                          
  107dac:	c1 e0 06             	shl    $0x6,%eax                      
  107daf:	03 05 98 60 12 00    	add    0x126098,%eax                  
  rtems_libio_check_is_open(iop);                                     
  107db5:	8b 48 14             	mov    0x14(%eax),%ecx                
  107db8:	f6 c5 01             	test   $0x1,%ch                       
  107dbb:	75 0d                	jne    107dca <fpathconf+0x32>        <== ALWAYS TAKEN
  107dbd:	e8 1e a6 00 00       	call   1123e0 <__errno>               
  107dc2:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  107dc8:	eb 5b                	jmp    107e25 <fpathconf+0x8d>        
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
  107dca:	80 e1 02             	and    $0x2,%cl                       
  107dcd:	74 4b                	je     107e1a <fpathconf+0x82>        <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
  107dcf:	8b 40 28             	mov    0x28(%eax),%eax                
                                                                      
  switch ( name ) {                                                   
  107dd2:	83 fa 0b             	cmp    $0xb,%edx                      
  107dd5:	77 43                	ja     107e1a <fpathconf+0x82>        
  107dd7:	ff 24 95 4c 06 12 00 	jmp    *0x12064c(,%edx,4)             
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
  107dde:	8b 40 38             	mov    0x38(%eax),%eax                
      break;                                                          
  107de1:	eb 45                	jmp    107e28 <fpathconf+0x90>        
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
  107de3:	8b 40 3c             	mov    0x3c(%eax),%eax                
      break;                                                          
  107de6:	eb 40                	jmp    107e28 <fpathconf+0x90>        
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
  107de8:	8b 40 40             	mov    0x40(%eax),%eax                
      break;                                                          
  107deb:	eb 3b                	jmp    107e28 <fpathconf+0x90>        
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
  107ded:	8b 40 44             	mov    0x44(%eax),%eax                
      break;                                                          
  107df0:	eb 36                	jmp    107e28 <fpathconf+0x90>        
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
  107df2:	8b 40 48             	mov    0x48(%eax),%eax                
      break;                                                          
  107df5:	eb 31                	jmp    107e28 <fpathconf+0x90>        
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
  107df7:	8b 40 4c             	mov    0x4c(%eax),%eax                
      break;                                                          
  107dfa:	eb 2c                	jmp    107e28 <fpathconf+0x90>        
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
  107dfc:	8b 40 54             	mov    0x54(%eax),%eax                
      break;                                                          
  107dff:	eb 27                	jmp    107e28 <fpathconf+0x90>        
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
  107e01:	8b 40 58             	mov    0x58(%eax),%eax                
      break;                                                          
  107e04:	eb 22                	jmp    107e28 <fpathconf+0x90>        
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
  107e06:	8b 40 64             	mov    0x64(%eax),%eax                
      break;                                                          
  107e09:	eb 1d                	jmp    107e28 <fpathconf+0x90>        
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
  107e0b:	8b 40 50             	mov    0x50(%eax),%eax                
      break;                                                          
  107e0e:	eb 18                	jmp    107e28 <fpathconf+0x90>        
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
  107e10:	8b 40 5c             	mov    0x5c(%eax),%eax                
      break;                                                          
  107e13:	eb 13                	jmp    107e28 <fpathconf+0x90>        
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
  107e15:	8b 40 60             	mov    0x60(%eax),%eax                
      break;                                                          
  107e18:	eb 0e                	jmp    107e28 <fpathconf+0x90>        
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  107e1a:	e8 c1 a5 00 00       	call   1123e0 <__errno>               
  107e1f:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  107e25:	83 c8 ff             	or     $0xffffffff,%eax               
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
  107e28:	c9                   	leave                                 
  107e29:	c3                   	ret                                   
                                                                      

0010730c <free>: #include <stdlib.h> void free( void *ptr ) {
  10730c:	55                   	push   %ebp                           
  10730d:	89 e5                	mov    %esp,%ebp                      
  10730f:	53                   	push   %ebx                           
  107310:	83 ec 04             	sub    $0x4,%esp                      
  107313:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  MSBUMP(free_calls, 1);                                              
  107316:	ff 05 bc 40 12 00    	incl   0x1240bc                       
                                                                      
  if ( !ptr )                                                         
  10731c:	85 db                	test   %ebx,%ebx                      
  10731e:	74 5f                	je     10737f <free+0x73>             
  #endif                                                              
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
  107320:	83 3d 64 43 12 00 03 	cmpl   $0x3,0x124364                  
  107327:	75 15                	jne    10733e <free+0x32>             <== NEVER TAKEN
       !malloc_is_system_state_OK() ) {                               
  107329:	e8 56 01 00 00       	call   107484 <malloc_is_system_state_OK>
  #endif                                                              
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
  10732e:	84 c0                	test   %al,%al                        
  107330:	75 0c                	jne    10733e <free+0x32>             
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
  107332:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
  107335:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  107338:	c9                   	leave                                 
  /*                                                                  
   *  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);                                      
  107339:	e9 ae 01 00 00       	jmp    1074ec <malloc_deferred_free>  
  }                                                                   
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
  10733e:	a1 10 25 12 00       	mov    0x122510,%eax                  
  107343:	85 c0                	test   %eax,%eax                      
  107345:	74 0a                	je     107351 <free+0x45>             <== ALWAYS TAKEN
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
  107347:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10734a:	53                   	push   %ebx                           <== NOT EXECUTED
  10734b:	ff 50 08             	call   *0x8(%eax)                     <== NOT EXECUTED
  10734e:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
  107351:	50                   	push   %eax                           
  107352:	50                   	push   %eax                           
  107353:	53                   	push   %ebx                           
  107354:	ff 35 50 01 12 00    	pushl  0x120150                       
  10735a:	e8 dd 46 00 00       	call   10ba3c <_Protected_heap_Free>  
  10735f:	83 c4 10             	add    $0x10,%esp                     
  107362:	84 c0                	test   %al,%al                        
  107364:	75 19                	jne    10737f <free+0x73>             
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
  107366:	a1 50 01 12 00       	mov    0x120150,%eax                  
   */                                                                 
  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",
  10736b:	ff 70 1c             	pushl  0x1c(%eax)                     
  10736e:	ff 70 18             	pushl  0x18(%eax)                     
  107371:	53                   	push   %ebx                           
  107372:	68 77 e8 11 00       	push   $0x11e877                      
  107377:	e8 e4 0b 00 00       	call   107f60 <printk>                
  10737c:	83 c4 10             	add    $0x10,%esp                     
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
  10737f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  107382:	c9                   	leave                                 
  107383:	c3                   	ret                                   
                                                                      

0010846c <free_user_env>: * NOTE: this must be called with * thread dispatching disabled! */ static void free_user_env(void *venv) {
  10846c:	55                   	push   %ebp                           <== NOT EXECUTED
  10846d:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  10846f:	53                   	push   %ebx                           <== NOT EXECUTED
  108470:	83 ec 04             	sub    $0x4,%esp                      <== NOT EXECUTED
  108473:	8b 5d 08             	mov    0x8(%ebp),%ebx                 <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
	if (env != &rtems_global_user_env                                    
  108476:	81 fb c8 50 12 00    	cmp    $0x1250c8,%ebx                 <== NOT EXECUTED
  10847c:	74 26                	je     1084a4 <free_user_env+0x38>    <== NOT EXECUTED
#ifdef HAVE_USERENV_REFCNT                                            
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
  10847e:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  108481:	8d 43 04             	lea    0x4(%ebx),%eax                 <== NOT EXECUTED
  108484:	50                   	push   %eax                           <== NOT EXECUTED
  108485:	e8 82 f1 ff ff       	call   10760c <rtems_filesystem_freenode><== NOT EXECUTED
		rtems_filesystem_freenode( &env->root_directory);                   
  10848a:	8d 43 18             	lea    0x18(%ebx),%eax                <== NOT EXECUTED
  10848d:	89 04 24             	mov    %eax,(%esp)                    <== NOT EXECUTED
  108490:	e8 77 f1 ff ff       	call   10760c <rtems_filesystem_freenode><== NOT EXECUTED
		free(env);                                                          
  108495:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  108498:	89 5d 08             	mov    %ebx,0x8(%ebp)                 <== NOT EXECUTED
	}                                                                    
}                                                                     
  10849b:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  10849e:	c9                   	leave                                 <== NOT EXECUTED
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
  10849f:	e9 7c f1 ff ff       	jmp    107620 <free>                  <== NOT EXECUTED
	}                                                                    
}                                                                     
  1084a4:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  1084a7:	c9                   	leave                                 <== NOT EXECUTED
  1084a8:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010df44 <ftruncate>: int ftruncate( int fd, off_t length ) {
  10df44:	55                   	push   %ebp                           
  10df45:	89 e5                	mov    %esp,%ebp                      
  10df47:	57                   	push   %edi                           
  10df48:	56                   	push   %esi                           
  10df49:	53                   	push   %ebx                           
  10df4a:	83 ec 3c             	sub    $0x3c,%esp                     
  10df4d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10df50:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10df53:	8b 55 10             	mov    0x10(%ebp),%edx                
  10df56:	89 45 c0             	mov    %eax,-0x40(%ebp)               
  10df59:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  10df5c:	3b 1d 44 01 12 00    	cmp    0x120144,%ebx                  
  10df62:	73 0f                	jae    10df73 <ftruncate+0x2f>        
  iop = rtems_libio_iop( fd );                                        
  10df64:	c1 e3 06             	shl    $0x6,%ebx                      
  10df67:	03 1d 98 40 12 00    	add    0x124098,%ebx                  
  rtems_libio_check_is_open(iop);                                     
  10df6d:	f6 43 15 01          	testb  $0x1,0x15(%ebx)                
  10df71:	75 0d                	jne    10df80 <ftruncate+0x3c>        
  10df73:	e8 c4 31 00 00       	call   11113c <__errno>               
  10df78:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  10df7e:	eb 3e                	jmp    10dfbe <ftruncate+0x7a>        
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
  10df80:	8d 7d d4             	lea    -0x2c(%ebp),%edi               
  10df83:	8d 73 18             	lea    0x18(%ebx),%esi                
  10df86:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  10df8b:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
  10df8d:	83 ec 0c             	sub    $0xc,%esp                      
  10df90:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  10df93:	50                   	push   %eax                           
  10df94:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10df97:	ff 50 10             	call   *0x10(%eax)                    
  10df9a:	83 c4 10             	add    $0x10,%esp                     
  10df9d:	48                   	dec    %eax                           
  10df9e:	75 0d                	jne    10dfad <ftruncate+0x69>        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  10dfa0:	e8 97 31 00 00       	call   11113c <__errno>               
  10dfa5:	c7 00 15 00 00 00    	movl   $0x15,(%eax)                   
  10dfab:	eb 11                	jmp    10dfbe <ftruncate+0x7a>        
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
  10dfad:	f6 43 14 04          	testb  $0x4,0x14(%ebx)                
  10dfb1:	75 10                	jne    10dfc3 <ftruncate+0x7f>        <== ALWAYS TAKEN
  10dfb3:	e8 84 31 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  10dfb8:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
  10dfbe:	83 c8 ff             	or     $0xffffffff,%eax               
  10dfc1:	eb 11                	jmp    10dfd4 <ftruncate+0x90>        
                                                                      
  return (*iop->handlers->ftruncate_h)( iop, length );                
  10dfc3:	50                   	push   %eax                           
  10dfc4:	8b 43 3c             	mov    0x3c(%ebx),%eax                
  10dfc7:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  10dfca:	ff 75 c0             	pushl  -0x40(%ebp)                    
  10dfcd:	53                   	push   %ebx                           
  10dfce:	ff 50 20             	call   *0x20(%eax)                    
  10dfd1:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10dfd4:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10dfd7:	5b                   	pop    %ebx                           
  10dfd8:	5e                   	pop    %esi                           
  10dfd9:	5f                   	pop    %edi                           
  10dfda:	c9                   	leave                                 
  10dfdb:	c3                   	ret                                   
                                                                      

0011e0e8 <getdents>: int getdents( int dd_fd, char *dd_buf, int dd_len ) {
  11e0e8:	55                   	push   %ebp                           
  11e0e9:	89 e5                	mov    %esp,%ebp                      
  11e0eb:	57                   	push   %edi                           
  11e0ec:	56                   	push   %esi                           
  11e0ed:	53                   	push   %ebx                           
  11e0ee:	83 ec 2c             	sub    $0x2c,%esp                     
  11e0f1:	8b 45 08             	mov    0x8(%ebp),%eax                 
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
  iop = rtems_libio_iop( dd_fd );                                     
  11e0f4:	31 db                	xor    %ebx,%ebx                      
  11e0f6:	3b 05 44 31 12 00    	cmp    0x123144,%eax                  
  11e0fc:	73 0b                	jae    11e109 <getdents+0x21>         <== NEVER TAKEN
  11e0fe:	89 c3                	mov    %eax,%ebx                      
  11e100:	c1 e3 06             	shl    $0x6,%ebx                      
  11e103:	03 1d c0 71 12 00    	add    0x1271c0,%ebx                  
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
  11e109:	8d 7d d4             	lea    -0x2c(%ebp),%edi               
  11e10c:	8d 73 18             	lea    0x18(%ebx),%esi                
  11e10f:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  11e114:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
  11e116:	83 ec 0c             	sub    $0xc,%esp                      
  11e119:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  11e11c:	50                   	push   %eax                           
  11e11d:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  11e120:	ff 50 10             	call   *0x10(%eax)                    
  11e123:	83 c4 10             	add    $0x10,%esp                     
  11e126:	48                   	dec    %eax                           
  11e127:	74 10                	je     11e139 <getdents+0x51>         
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  11e129:	e8 9e 3f ff ff       	call   1120cc <__errno>               
  11e12e:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   
  11e134:	83 c8 ff             	or     $0xffffffff,%eax               
  11e137:	eb 11                	jmp    11e14a <getdents+0x62>         
                                                                      
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
  return (*iop->handlers->read_h)( iop, dd_buf, dd_len  );            
  11e139:	50                   	push   %eax                           
  11e13a:	8b 43 3c             	mov    0x3c(%ebx),%eax                
  11e13d:	ff 75 10             	pushl  0x10(%ebp)                     
  11e140:	ff 75 0c             	pushl  0xc(%ebp)                      
  11e143:	53                   	push   %ebx                           
  11e144:	ff 50 08             	call   *0x8(%eax)                     
  11e147:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  11e14a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11e14d:	5b                   	pop    %ebx                           
  11e14e:	5e                   	pop    %esi                           
  11e14f:	5f                   	pop    %edi                           
  11e150:	c9                   	leave                                 
  11e151:	c3                   	ret                                   
                                                                      

001106a0 <imfs_dir_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
  1106a0:	55                   	push   %ebp                           
  1106a1:	89 e5                	mov    %esp,%ebp                      
  1106a3:	8b 55 08             	mov    0x8(%ebp),%edx                 
  IMFS_jnode_t      *the_jnode;                                       
                                                                      
  /* Is the node a directory ? */                                     
  the_jnode = (IMFS_jnode_t *) iop->file_info;                        
                                                                      
  if ( the_jnode->type != IMFS_DIRECTORY )                            
  1106a6:	8b 4a 38             	mov    0x38(%edx),%ecx                
     return -1;      /* It wasn't a directory --> return error */     
  1106a9:	83 c8 ff             	or     $0xffffffff,%eax               
  IMFS_jnode_t      *the_jnode;                                       
                                                                      
  /* Is the node a directory ? */                                     
  the_jnode = (IMFS_jnode_t *) iop->file_info;                        
                                                                      
  if ( the_jnode->type != IMFS_DIRECTORY )                            
  1106ac:	83 79 4c 01          	cmpl   $0x1,0x4c(%ecx)                
  1106b0:	75 10                	jne    1106c2 <imfs_dir_open+0x22>    <== NEVER TAKEN
     return -1;      /* It wasn't a directory --> return error */     
                                                                      
  iop->offset = 0;                                                    
  1106b2:	c7 42 0c 00 00 00 00 	movl   $0x0,0xc(%edx)                 
  1106b9:	c7 42 10 00 00 00 00 	movl   $0x0,0x10(%edx)                
  return 0;                                                           
  1106c0:	31 c0                	xor    %eax,%eax                      
}                                                                     
  1106c2:	c9                   	leave                                 
  1106c3:	c3                   	ret                                   
                                                                      

00110901 <imfs_dir_rmnod>: int imfs_dir_rmnod( rtems_filesystem_location_info_t *parent_pathloc, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN */ ) {
  110901:	55                   	push   %ebp                           
  110902:	89 e5                	mov    %esp,%ebp                      
  110904:	53                   	push   %ebx                           
  110905:	83 ec 04             	sub    $0x4,%esp                      
  110908:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
  11090b:	8b 18                	mov    (%eax),%ebx                    
  11090d:	8d 53 54             	lea    0x54(%ebx),%edx                
                                                                      
  /*                                                                  
   * You cannot remove a node that still has children                 
   */                                                                 
                                                                      
  if ( ! rtems_chain_is_empty( &the_jnode->info.directory.Entries ) ) 
  110910:	39 53 50             	cmp    %edx,0x50(%ebx)                
  110913:	74 0d                	je     110922 <imfs_dir_rmnod+0x21>   
     rtems_set_errno_and_return_minus_one( ENOTEMPTY );               
  110915:	e8 22 08 00 00       	call   11113c <__errno>               
  11091a:	c7 00 5a 00 00 00    	movl   $0x5a,(%eax)                   
  110920:	eb 13                	jmp    110935 <imfs_dir_rmnod+0x34>   
                                                                      
  /*                                                                  
   * You cannot remove the file system root node.                     
   */                                                                 
                                                                      
  if ( pathloc->mt_entry->mt_fs_root.node_access == pathloc->node_access )
  110922:	8b 40 10             	mov    0x10(%eax),%eax                
  110925:	39 58 1c             	cmp    %ebx,0x1c(%eax)                
  110928:	75 10                	jne    11093a <imfs_dir_rmnod+0x39>   
     rtems_set_errno_and_return_minus_one( EBUSY );                   
  11092a:	e8 0d 08 00 00       	call   11113c <__errno>               
  11092f:	c7 00 10 00 00 00    	movl   $0x10,(%eax)                   
  110935:	83 c8 ff             	or     $0xffffffff,%eax               
  110938:	eb 1c                	jmp    110956 <imfs_dir_rmnod+0x55>   
                                                                      
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
  11093a:	83 7b 5c 00          	cmpl   $0x0,0x5c(%ebx)                
  11093e:	75 ea                	jne    11092a <imfs_dir_rmnod+0x29>   <== NEVER TAKEN
     rtems_set_errno_and_return_minus_one( EBUSY );                   
                                                                      
  IMFS_create_orphan( the_jnode );                                    
  110940:	83 ec 0c             	sub    $0xc,%esp                      
  110943:	53                   	push   %ebx                           
  110944:	e8 17 d4 ff ff       	call   10dd60 <IMFS_create_orphan>    
  IMFS_check_node_remove( the_jnode );                                
  110949:	89 1c 24             	mov    %ebx,(%esp)                    
  11094c:	e8 51 d4 ff ff       	call   10dda2 <IMFS_check_node_remove>
                                                                      
  return 0;                                                           
  110951:	83 c4 10             	add    $0x10,%esp                     
  110954:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110956:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  110959:	c9                   	leave                                 
  11095a:	c3                   	ret                                   
                                                                      

00107c80 <init_etc_passwd_group>: /* * Initialize useable but dummy databases */ void init_etc_passwd_group(void) {
  107c80:	55                   	push   %ebp                           
  107c81:	89 e5                	mov    %esp,%ebp                      
  107c83:	53                   	push   %ebx                           
  107c84:	83 ec 04             	sub    $0x4,%esp                      
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
  107c87:	80 3d 58 5f 12 00 00 	cmpb   $0x0,0x125f58                  
  107c8e:	0f 85 b8 00 00 00    	jne    107d4c <init_etc_passwd_group+0xcc>
    return;                                                           
  etc_passwd_initted = 1;                                             
  107c94:	c6 05 58 5f 12 00 01 	movb   $0x1,0x125f58                  
  mkdir("/etc", 0777);                                                
  107c9b:	50                   	push   %eax                           
  107c9c:	50                   	push   %eax                           
  107c9d:	68 ff 01 00 00       	push   $0x1ff                         
  107ca2:	68 cc 03 12 00       	push   $0x1203cc                      
  107ca7:	e8 68 07 00 00       	call   108414 <mkdir>                 
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
  107cac:	59                   	pop    %ecx                           
  107cad:	5b                   	pop    %ebx                           
  107cae:	68 25 eb 11 00       	push   $0x11eb25                      
  107cb3:	68 d1 03 12 00       	push   $0x1203d1                      
  107cb8:	e8 6b aa 00 00       	call   112728 <fopen>                 
  107cbd:	83 c4 10             	add    $0x10,%esp                     
  107cc0:	85 c0                	test   %eax,%eax                      
  107cc2:	74 06                	je     107cca <init_etc_passwd_group+0x4a>
    fclose(fp);                                                       
  107cc4:	83 ec 0c             	sub    $0xc,%esp                      
  107cc7:	50                   	push   %eax                           
  107cc8:	eb 2a                	jmp    107cf4 <init_etc_passwd_group+0x74>
  }                                                                   
  else if ((fp = fopen("/etc/passwd", "w")) != NULL) {                
  107cca:	52                   	push   %edx                           
  107ccb:	52                   	push   %edx                           
  107ccc:	68 f8 ef 11 00       	push   $0x11eff8                      
  107cd1:	68 d1 03 12 00       	push   $0x1203d1                      
  107cd6:	e8 4d aa 00 00       	call   112728 <fopen>                 
  107cdb:	89 c3                	mov    %eax,%ebx                      
  107cdd:	83 c4 10             	add    $0x10,%esp                     
  107ce0:	85 c0                	test   %eax,%eax                      
  107ce2:	74 18                	je     107cfc <init_etc_passwd_group+0x7c><== NEVER TAKEN
    fprintf(fp, "root:*:0:0:root::/:/bin/sh\n"                        
  107ce4:	50                   	push   %eax                           
  107ce5:	50                   	push   %eax                           
  107ce6:	53                   	push   %ebx                           
  107ce7:	68 dd 03 12 00       	push   $0x1203dd                      
  107cec:	e8 03 ab 00 00       	call   1127f4 <fputs>                 
                 "rtems:*:1:1:RTEMS Application::/:/bin/sh\n"         
                 "tty:!:2:2:tty owner::/:/bin/false\n" );             
    fclose(fp);                                                       
  107cf1:	89 1c 24             	mov    %ebx,(%esp)                    
  107cf4:	e8 2b a3 00 00       	call   112024 <fclose>                
  107cf9:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
  107cfc:	51                   	push   %ecx                           
  107cfd:	51                   	push   %ecx                           
  107cfe:	68 25 eb 11 00       	push   $0x11eb25                      
  107d03:	68 44 04 12 00       	push   $0x120444                      
  107d08:	e8 1b aa 00 00       	call   112728 <fopen>                 
  107d0d:	83 c4 10             	add    $0x10,%esp                     
  107d10:	85 c0                	test   %eax,%eax                      
  107d12:	74 06                	je     107d1a <init_etc_passwd_group+0x9a>
    fclose(fp);                                                       
  107d14:	83 ec 0c             	sub    $0xc,%esp                      
  107d17:	50                   	push   %eax                           
  107d18:	eb 2a                	jmp    107d44 <init_etc_passwd_group+0xc4>
  }                                                                   
  else if ((fp = fopen("/etc/group", "w")) != NULL) {                 
  107d1a:	52                   	push   %edx                           
  107d1b:	52                   	push   %edx                           
  107d1c:	68 f8 ef 11 00       	push   $0x11eff8                      
  107d21:	68 44 04 12 00       	push   $0x120444                      
  107d26:	e8 fd a9 00 00       	call   112728 <fopen>                 
  107d2b:	89 c3                	mov    %eax,%ebx                      
  107d2d:	83 c4 10             	add    $0x10,%esp                     
  107d30:	85 c0                	test   %eax,%eax                      
  107d32:	74 18                	je     107d4c <init_etc_passwd_group+0xcc><== NEVER TAKEN
    fprintf( fp, "root:x:0:root\n"                                    
  107d34:	50                   	push   %eax                           
  107d35:	50                   	push   %eax                           
  107d36:	53                   	push   %ebx                           
  107d37:	68 4f 04 12 00       	push   $0x12044f                      
  107d3c:	e8 b3 aa 00 00       	call   1127f4 <fputs>                 
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
  107d41:	89 1c 24             	mov    %ebx,(%esp)                    
  107d44:	e8 db a2 00 00       	call   112024 <fclose>                
  107d49:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
}                                                                     
  107d4c:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  107d4f:	c9                   	leave                                 
  107d50:	c3                   	ret                                   
                                                                      

00108e91 <iproc>: /* * Process a single input character */ static int iproc (unsigned char c, struct rtems_termios_tty *tty) {
  108e91:	55                   	push   %ebp                           
  108e92:	89 e5                	mov    %esp,%ebp                      
  108e94:	53                   	push   %ebx                           
  108e95:	83 ec 14             	sub    $0x14,%esp                     
  108e98:	89 d3                	mov    %edx,%ebx                      
  108e9a:	88 c1                	mov    %al,%cl                        
  if (tty->termios.c_iflag & ISTRIP)                                  
  108e9c:	8b 52 30             	mov    0x30(%edx),%edx                
  108e9f:	f6 c2 20             	test   $0x20,%dl                      
  108ea2:	74 03                	je     108ea7 <iproc+0x16>            <== ALWAYS TAKEN
    c &= 0x7f;                                                        
  108ea4:	83 e1 7f             	and    $0x7f,%ecx                     <== NOT EXECUTED
  if (tty->termios.c_iflag & IUCLC)                                   
  108ea7:	f6 c6 02             	test   $0x2,%dh                       
  108eaa:	74 16                	je     108ec2 <iproc+0x31>            
    c = tolower (c);                                                  
  108eac:	0f b6 c9             	movzbl %cl,%ecx                       
  108eaf:	a1 0c 20 12 00       	mov    0x12200c,%eax                  
  108eb4:	0f be 44 08 01       	movsbl 0x1(%eax,%ecx,1),%eax          
  108eb9:	83 e0 03             	and    $0x3,%eax                      
  108ebc:	48                   	dec    %eax                           
  108ebd:	75 03                	jne    108ec2 <iproc+0x31>            
  108ebf:	83 c1 20             	add    $0x20,%ecx                     
  if (c == '\r') {                                                    
  108ec2:	80 f9 0d             	cmp    $0xd,%cl                       
  108ec5:	75 14                	jne    108edb <iproc+0x4a>            
    if (tty->termios.c_iflag & IGNCR)                                 
      return 0;                                                       
  108ec7:	31 c0                	xor    %eax,%eax                      
  if (tty->termios.c_iflag & ISTRIP)                                  
    c &= 0x7f;                                                        
  if (tty->termios.c_iflag & IUCLC)                                   
    c = tolower (c);                                                  
  if (c == '\r') {                                                    
    if (tty->termios.c_iflag & IGNCR)                                 
  108ec9:	f6 c2 80             	test   $0x80,%dl                      
  108ecc:	0f 85 d9 00 00 00    	jne    108fab <iproc+0x11a>           <== NEVER TAKEN
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
  108ed2:	80 e6 01             	and    $0x1,%dh                       
  108ed5:	74 1a                	je     108ef1 <iproc+0x60>            <== NEVER TAKEN
      c = '\n';                                                       
  108ed7:	b1 0a                	mov    $0xa,%cl                       
  108ed9:	eb 16                	jmp    108ef1 <iproc+0x60>            
  }                                                                   
  else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {           
  108edb:	80 f9 0a             	cmp    $0xa,%cl                       
  108ede:	75 09                	jne    108ee9 <iproc+0x58>            
  108ee0:	80 e2 40             	and    $0x40,%dl                      
  108ee3:	74 0c                	je     108ef1 <iproc+0x60>            <== ALWAYS TAKEN
    c = '\r';                                                         
  108ee5:	b1 0d                	mov    $0xd,%cl                       <== NOT EXECUTED
  108ee7:	eb 08                	jmp    108ef1 <iproc+0x60>            <== NOT EXECUTED
  }                                                                   
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
  108ee9:	84 c9                	test   %cl,%cl                        
  108eeb:	0f 84 87 00 00 00    	je     108f78 <iproc+0xe7>            <== NEVER TAKEN
  108ef1:	8b 53 3c             	mov    0x3c(%ebx),%edx                
  108ef4:	f6 c2 02             	test   $0x2,%dl                       
  108ef7:	74 7f                	je     108f78 <iproc+0xe7>            <== NEVER TAKEN
    if (c == tty->termios.c_cc[VERASE]) {                             
  108ef9:	3a 4b 43             	cmp    0x43(%ebx),%cl                 
  108efc:	75 04                	jne    108f02 <iproc+0x71>            
      erase (tty, 0);                                                 
  108efe:	31 d2                	xor    %edx,%edx                      
  108f00:	eb 0a                	jmp    108f0c <iproc+0x7b>            
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
  108f02:	3a 4b 44             	cmp    0x44(%ebx),%cl                 
  108f05:	75 11                	jne    108f18 <iproc+0x87>            
      erase (tty, 1);                                                 
  108f07:	ba 01 00 00 00       	mov    $0x1,%edx                      
  108f0c:	89 d8                	mov    %ebx,%eax                      
  108f0e:	e8 05 fe ff ff       	call   108d18 <erase>                 
  108f13:	e9 91 00 00 00       	jmp    108fa9 <iproc+0x118>           
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
  108f18:	b8 01 00 00 00       	mov    $0x1,%eax                      
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
  108f1d:	3a 4b 45             	cmp    0x45(%ebx),%cl                 
  108f20:	0f 84 85 00 00 00    	je     108fab <iproc+0x11a>           <== NEVER TAKEN
      return 1;                                                       
    }                                                                 
    else if (c == '\n') {                                             
  108f26:	80 f9 0a             	cmp    $0xa,%cl                       
  108f29:	75 1a                	jne    108f45 <iproc+0xb4>            
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
  108f2b:	80 e2 48             	and    $0x48,%dl                      
  108f2e:	74 09                	je     108f39 <iproc+0xa8>            <== NEVER TAKEN
        echo (c, tty);                                                
  108f30:	89 da                	mov    %ebx,%edx                      
  108f32:	b0 0a                	mov    $0xa,%al                       
  108f34:	e8 87 fd ff ff       	call   108cc0 <echo>                  
      tty->cbuf[tty->ccount++] = c;                                   
  108f39:	8b 43 20             	mov    0x20(%ebx),%eax                
  108f3c:	8b 53 1c             	mov    0x1c(%ebx),%edx                
  108f3f:	c6 04 02 0a          	movb   $0xa,(%edx,%eax,1)             
  108f43:	eb 28                	jmp    108f6d <iproc+0xdc>            
      return 1;                                                       
    }                                                                 
    else if ((c == tty->termios.c_cc[VEOL])                           
  108f45:	3a 4b 4c             	cmp    0x4c(%ebx),%cl                 
  108f48:	74 05                	je     108f4f <iproc+0xbe>            <== NEVER TAKEN
          || (c == tty->termios.c_cc[VEOL2])) {                       
  108f4a:	3a 4b 51             	cmp    0x51(%ebx),%cl                 
  108f4d:	75 29                	jne    108f78 <iproc+0xe7>            <== ALWAYS TAKEN
      if (tty->termios.c_lflag & ECHO)                                
  108f4f:	80 e2 08             	and    $0x8,%dl                       <== NOT EXECUTED
  108f52:	74 10                	je     108f64 <iproc+0xd3>            <== NOT EXECUTED
        echo (c, tty);                                                
  108f54:	0f b6 c1             	movzbl %cl,%eax                       <== NOT EXECUTED
  108f57:	89 da                	mov    %ebx,%edx                      <== NOT EXECUTED
  108f59:	88 4d f4             	mov    %cl,-0xc(%ebp)                 <== NOT EXECUTED
  108f5c:	e8 5f fd ff ff       	call   108cc0 <echo>                  <== NOT EXECUTED
  108f61:	8a 4d f4             	mov    -0xc(%ebp),%cl                 <== NOT EXECUTED
      tty->cbuf[tty->ccount++] = c;                                   
  108f64:	8b 43 20             	mov    0x20(%ebx),%eax                <== NOT EXECUTED
  108f67:	8b 53 1c             	mov    0x1c(%ebx),%edx                <== NOT EXECUTED
  108f6a:	88 0c 02             	mov    %cl,(%edx,%eax,1)              <== NOT EXECUTED
  108f6d:	40                   	inc    %eax                           
  108f6e:	89 43 20             	mov    %eax,0x20(%ebx)                
      return 1;                                                       
  108f71:	b8 01 00 00 00       	mov    $0x1,%eax                      
  108f76:	eb 33                	jmp    108fab <iproc+0x11a>           
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
  108f78:	8b 15 44 1f 12 00    	mov    0x121f44,%edx                  
  108f7e:	4a                   	dec    %edx                           
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
  108f7f:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
  108f81:	39 53 20             	cmp    %edx,0x20(%ebx)                
  108f84:	7d 25                	jge    108fab <iproc+0x11a>           <== NEVER TAKEN
    if (tty->termios.c_lflag & ECHO)                                  
  108f86:	f6 43 3c 08          	testb  $0x8,0x3c(%ebx)                
  108f8a:	74 10                	je     108f9c <iproc+0x10b>           <== NEVER TAKEN
      echo (c, tty);                                                  
  108f8c:	0f b6 c1             	movzbl %cl,%eax                       
  108f8f:	89 da                	mov    %ebx,%edx                      
  108f91:	88 4d f4             	mov    %cl,-0xc(%ebp)                 
  108f94:	e8 27 fd ff ff       	call   108cc0 <echo>                  
  108f99:	8a 4d f4             	mov    -0xc(%ebp),%cl                 
    tty->cbuf[tty->ccount++] = c;                                     
  108f9c:	8b 43 20             	mov    0x20(%ebx),%eax                
  108f9f:	8b 53 1c             	mov    0x1c(%ebx),%edx                
  108fa2:	88 0c 02             	mov    %cl,(%edx,%eax,1)              
  108fa5:	40                   	inc    %eax                           
  108fa6:	89 43 20             	mov    %eax,0x20(%ebx)                
  }                                                                   
  return 0;                                                           
  108fa9:	31 c0                	xor    %eax,%eax                      
}                                                                     
  108fab:	83 c4 14             	add    $0x14,%esp                     
  108fae:	5b                   	pop    %ebx                           
  108faf:	c9                   	leave                                 
  108fb0:	c3                   	ret                                   
                                                                      

001218b4 <killinfo>: int killinfo( pid_t pid, int sig, const union sigval *value ) {
  1218b4:	55                   	push   %ebp                           
  1218b5:	89 e5                	mov    %esp,%ebp                      
  1218b7:	57                   	push   %edi                           
  1218b8:	56                   	push   %esi                           
  1218b9:	53                   	push   %ebx                           
  1218ba:	83 ec 4c             	sub    $0x4c,%esp                     
  1218bd:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  1218c0:	8b 7d 10             	mov    0x10(%ebp),%edi                
  POSIX_signals_Siginfo_node  *psiginfo;                              
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
  if ( pid != getpid() )                                              
  1218c3:	e8 64 fd ff ff       	call   12162c <getpid>                
  1218c8:	39 45 08             	cmp    %eax,0x8(%ebp)                 
  1218cb:	74 0d                	je     1218da <killinfo+0x26>         
    rtems_set_errno_and_return_minus_one( ESRCH );                    
  1218cd:	e8 06 41 ff ff       	call   1159d8 <__errno>               
  1218d2:	c7 00 03 00 00 00    	movl   $0x3,(%eax)                    
  1218d8:	eb 0f                	jmp    1218e9 <killinfo+0x35>         
                                                                      
  /*                                                                  
   *  Validate the signal passed.                                     
   */                                                                 
  if ( !sig )                                                         
  1218da:	85 db                	test   %ebx,%ebx                      
  1218dc:	75 13                	jne    1218f1 <killinfo+0x3d>         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  1218de:	e8 f5 40 ff ff       	call   1159d8 <__errno>               
  1218e3:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  1218e9:	83 c8 ff             	or     $0xffffffff,%eax               
  1218ec:	e9 ea 01 00 00       	jmp    121adb <killinfo+0x227>        
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
  1218f1:	8d 4b ff             	lea    -0x1(%ebx),%ecx                
                                                                      
  if ( !is_valid_signo(sig) )                                         
  1218f4:	83 f9 1f             	cmp    $0x1f,%ecx                     
  1218f7:	77 e5                	ja     1218de <killinfo+0x2a>         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN )          
  1218f9:	6b d3 0c             	imul   $0xc,%ebx,%edx                 
    return 0;                                                         
  1218fc:	31 c0                	xor    %eax,%eax                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN )          
  1218fe:	83 ba c0 a8 12 00 01 	cmpl   $0x1,0x12a8c0(%edx)            
  121905:	0f 84 d0 01 00 00    	je     121adb <killinfo+0x227>        
  /*                                                                  
   *  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 ) )      
  12190b:	83 fb 04             	cmp    $0x4,%ebx                      
  12190e:	74 0a                	je     12191a <killinfo+0x66>         
  121910:	83 fb 08             	cmp    $0x8,%ebx                      
  121913:	74 05                	je     12191a <killinfo+0x66>         
  121915:	83 fb 0b             	cmp    $0xb,%ebx                      
  121918:	75 16                	jne    121930 <killinfo+0x7c>         
      return pthread_kill( pthread_self(), sig );                     
  12191a:	e8 79 03 00 00       	call   121c98 <pthread_self>          
  12191f:	56                   	push   %esi                           
  121920:	56                   	push   %esi                           
  121921:	53                   	push   %ebx                           
  121922:	50                   	push   %eax                           
  121923:	e8 c8 02 00 00       	call   121bf0 <pthread_kill>          
  121928:	83 c4 10             	add    $0x10,%esp                     
  12192b:	e9 ab 01 00 00       	jmp    121adb <killinfo+0x227>        
                                                                      
static inline sigset_t signo_to_mask(                                 
  uint32_t sig                                                        
)                                                                     
{                                                                     
  return 1u << (sig - 1);                                             
  121930:	be 01 00 00 00       	mov    $0x1,%esi                      
  121935:	d3 e6                	shl    %cl,%esi                       
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  121937:	89 5d dc             	mov    %ebx,-0x24(%ebp)               
  siginfo->si_code = SI_USER;                                         
  12193a:	c7 45 e0 01 00 00 00 	movl   $0x1,-0x20(%ebp)               
  if ( !value ) {                                                     
  121941:	85 ff                	test   %edi,%edi                      
  121943:	75 09                	jne    12194e <killinfo+0x9a>         
    siginfo->si_value.sival_int = 0;                                  
  121945:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  12194c:	eb 05                	jmp    121953 <killinfo+0x9f>         
  } else {                                                            
    siginfo->si_value = *value;                                       
  12194e:	8b 07                	mov    (%edi),%eax                    
  121950:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  121953:	a1 58 a3 12 00       	mov    0x12a358,%eax                  
  121958:	40                   	inc    %eax                           
  121959:	a3 58 a3 12 00       	mov    %eax,0x12a358                  
                                                                      
  /*                                                                  
   *  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;                                     
  12195e:	8b 15 a8 a8 12 00    	mov    0x12a8a8,%edx                  
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  if ( _POSIX_signals_Is_interested( api, mask ) ) {                  
  121964:	8b 82 f8 00 00 00    	mov    0xf8(%edx),%eax                
  12196a:	8b 80 cc 00 00 00    	mov    0xcc(%eax),%eax                
  121970:	f7 d0                	not    %eax                           
  121972:	85 c6                	test   %eax,%esi                      
  121974:	0f 85 e7 00 00 00    	jne    121a61 <killinfo+0x1ad>        
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
  12197a:	a1 44 aa 12 00       	mov    0x12aa44,%eax                  
  12197f:	eb 23                	jmp    1219a4 <killinfo+0xf0>         
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
  121981:	89 c2                	mov    %eax,%edx                      
    api = the_thread->API_Extensions[ THREAD_API_POSIX ];             
  121983:	8b 88 f8 00 00 00    	mov    0xf8(%eax),%ecx                
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
  121989:	85 70 30             	test   %esi,0x30(%eax)                
  12198c:	0f 85 cf 00 00 00    	jne    121a61 <killinfo+0x1ad>        
                                                                      
    /*                                                                
     * Is this thread is blocked waiting for another signal but has   
     * not blocked this one?                                          
     */                                                               
    if (~api->signals_blocked & mask)                                 
  121992:	8b 89 cc 00 00 00    	mov    0xcc(%ecx),%ecx                
  121998:	f7 d1                	not    %ecx                           
  12199a:	85 ce                	test   %ecx,%esi                      
  12199c:	0f 85 bf 00 00 00    	jne    121a61 <killinfo+0x1ad>        
                                                                      
  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 ) {                                 
  1219a2:	8b 00                	mov    (%eax),%eax                    
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
  1219a4:	3d 48 aa 12 00       	cmp    $0x12aa48,%eax                 
  1219a9:	75 d6                	jne    121981 <killinfo+0xcd>         
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
  1219ab:	0f b6 0d f4 61 12 00 	movzbl 0x1261f4,%ecx                  
  1219b2:	41                   	inc    %ecx                           
   *                                                                  
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  1219b3:	31 d2                	xor    %edx,%edx                      
  interested_priority = PRIORITY_MAXIMUM + 1;                         
                                                                      
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
  1219b5:	c7 45 cc 02 00 00 00 	movl   $0x2,-0x34(%ebp)               
                                                                      
    /*                                                                
     *  This can occur when no one is interested and an API is not configured.
     */                                                               
    if ( !_Objects_Information_table[ the_api ] )                     
  1219bc:	8b 7d cc             	mov    -0x34(%ebp),%edi               
  1219bf:	8b 04 bd 30 a3 12 00 	mov    0x12a330(,%edi,4),%eax         
  1219c6:	85 c0                	test   %eax,%eax                      
  1219c8:	0f 84 82 00 00 00    	je     121a50 <killinfo+0x19c>        <== NEVER TAKEN
      continue;                                                       
                                                                      
    the_info = _Objects_Information_table[ the_api ][ 1 ];            
  1219ce:	8b 40 04             	mov    0x4(%eax),%eax                 
       */                                                             
      if ( !the_info )                                                
        continue;                                                     
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
  1219d1:	0f b7 78 10          	movzwl 0x10(%eax),%edi                
  1219d5:	89 7d c4             	mov    %edi,-0x3c(%ebp)               
    object_table = the_info->local_table;                             
  1219d8:	8b 40 1c             	mov    0x1c(%eax),%eax                
  1219db:	89 45 c0             	mov    %eax,-0x40(%ebp)               
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
  1219de:	c7 45 d0 01 00 00 00 	movl   $0x1,-0x30(%ebp)               
  1219e5:	89 5d b4             	mov    %ebx,-0x4c(%ebp)               
  1219e8:	eb 5b                	jmp    121a45 <killinfo+0x191>        
      the_thread = (Thread_Control *) object_table[ index ];          
  1219ea:	8b 5d d0             	mov    -0x30(%ebp),%ebx               
  1219ed:	8b 7d c0             	mov    -0x40(%ebp),%edi               
  1219f0:	8b 04 9f             	mov    (%edi,%ebx,4),%eax             
                                                                      
      if ( !the_thread )                                              
  1219f3:	85 c0                	test   %eax,%eax                      
  1219f5:	74 4b                	je     121a42 <killinfo+0x18e>        
                                                                      
      /*                                                              
       *  If this thread is of lower priority than the interested thread,
       *  go on to the next thread.                                   
       */                                                             
      if ( the_thread->current_priority > interested_priority )       
  1219f7:	8b 58 14             	mov    0x14(%eax),%ebx                
  1219fa:	89 5d d4             	mov    %ebx,-0x2c(%ebp)               
  1219fd:	39 cb                	cmp    %ecx,%ebx                      
  1219ff:	77 41                	ja     121a42 <killinfo+0x18e>        
      #if defined(RTEMS_DEBUG)                                        
        if ( !api )                                                   
          continue;                                                   
      #endif                                                          
                                                                      
      if ( !_POSIX_signals_Is_interested( api, mask ) )               
  121a01:	8b b8 f8 00 00 00    	mov    0xf8(%eax),%edi                
  121a07:	8b bf cc 00 00 00    	mov    0xcc(%edi),%edi                
  121a0d:	f7 d7                	not    %edi                           
  121a0f:	85 fe                	test   %edi,%esi                      
  121a11:	74 2f                	je     121a42 <killinfo+0x18e>        
       *                                                              
       *  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 ) {     
  121a13:	39 cb                	cmp    %ecx,%ebx                      
  121a15:	72 26                	jb     121a3d <killinfo+0x189>        
       *  and blocking interruptibutable by signal.                   
       *                                                              
       *  If the interested thread is ready, don't think about changing.
       */                                                             
                                                                      
      if ( !_States_Is_ready( interested->current_state ) ) {         
  121a17:	8b 7a 10             	mov    0x10(%edx),%edi                
  121a1a:	89 7d c8             	mov    %edi,-0x38(%ebp)               
  121a1d:	85 ff                	test   %edi,%edi                      
  121a1f:	74 21                	je     121a42 <killinfo+0x18e>        <== NEVER TAKEN
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
  121a21:	8b 78 10             	mov    0x10(%eax),%edi                
  121a24:	85 ff                	test   %edi,%edi                      
  121a26:	74 15                	je     121a3d <killinfo+0x189>        
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
  121a28:	f7 45 c8 00 00 00 10 	testl  $0x10000000,-0x38(%ebp)        
  121a2f:	75 11                	jne    121a42 <killinfo+0x18e>        
          DEBUG_STEP("7");                                            
          if ( _States_Is_interruptible_by_signal(the_thread->current_state) ) {
  121a31:	81 e7 00 00 00 10    	and    $0x10000000,%edi               
  121a37:	74 09                	je     121a42 <killinfo+0x18e>        
  121a39:	89 d9                	mov    %ebx,%ecx                      
  121a3b:	eb 03                	jmp    121a40 <killinfo+0x18c>        
       */                                                             
                                                                      
      if ( !_States_Is_ready( interested->current_state ) ) {         
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
  121a3d:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  121a40:	89 c2                	mov    %eax,%edx                      
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
  121a42:	ff 45 d0             	incl   -0x30(%ebp)                    
  121a45:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  121a48:	39 45 d0             	cmp    %eax,-0x30(%ebp)               
  121a4b:	76 9d                	jbe    1219ea <killinfo+0x136>        
  121a4d:	8b 5d b4             	mov    -0x4c(%ebp),%ebx               
   *    + 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++) {
  121a50:	ff 45 cc             	incl   -0x34(%ebp)                    
  121a53:	83 7d cc 04          	cmpl   $0x4,-0x34(%ebp)               
  121a57:	0f 85 5f ff ff ff    	jne    1219bc <killinfo+0x108>        
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( interested ) {                                                 
  121a5d:	85 d2                	test   %edx,%edx                      
  121a5f:	74 13                	je     121a74 <killinfo+0x1c0>        
                                                                      
  /*                                                                  
   *  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 ) ) {  
  121a61:	51                   	push   %ecx                           
  mask = signo_to_mask( sig );                                        
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  121a62:	8d 45 dc             	lea    -0x24(%ebp),%eax               
                                                                      
  /*                                                                  
   *  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 ) ) {  
  121a65:	50                   	push   %eax                           
  121a66:	53                   	push   %ebx                           
  121a67:	52                   	push   %edx                           
  121a68:	e8 8b 00 00 00       	call   121af8 <_POSIX_signals_Unblock_thread>
  121a6d:	83 c4 10             	add    $0x10,%esp                     
  121a70:	84 c0                	test   %al,%al                        
  121a72:	75 60                	jne    121ad4 <killinfo+0x220>        
                                                                      
  /*                                                                  
   *  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 );                         
  121a74:	83 ec 0c             	sub    $0xc,%esp                      
  121a77:	56                   	push   %esi                           
  121a78:	e8 67 00 00 00       	call   121ae4 <_POSIX_signals_Set_process_signals>
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
  121a7d:	6b db 0c             	imul   $0xc,%ebx,%ebx                 
  121a80:	83 c4 10             	add    $0x10,%esp                     
  121a83:	83 bb b8 a8 12 00 02 	cmpl   $0x2,0x12a8b8(%ebx)            
  121a8a:	75 48                	jne    121ad4 <killinfo+0x220>        
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
  121a8c:	83 ec 0c             	sub    $0xc,%esp                      
  121a8f:	68 38 aa 12 00       	push   $0x12aa38                      
  121a94:	e8 1f d7 fe ff       	call   10f1b8 <_Chain_Get>            
    if ( !psiginfo ) {                                                
  121a99:	83 c4 10             	add    $0x10,%esp                     
  121a9c:	85 c0                	test   %eax,%eax                      
  121a9e:	75 15                	jne    121ab5 <killinfo+0x201>        
      _Thread_Enable_dispatch();                                      
  121aa0:	e8 81 ec fe ff       	call   110726 <_Thread_Enable_dispatch>
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
  121aa5:	e8 2e 3f ff ff       	call   1159d8 <__errno>               
  121aaa:	c7 00 0b 00 00 00    	movl   $0xb,(%eax)                    
  121ab0:	e9 34 fe ff ff       	jmp    1218e9 <killinfo+0x35>         
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
  121ab5:	8d 78 08             	lea    0x8(%eax),%edi                 
  121ab8:	8d 75 dc             	lea    -0x24(%ebp),%esi               
  121abb:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  121ac0:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
  121ac2:	52                   	push   %edx                           
  121ac3:	52                   	push   %edx                           
  121ac4:	50                   	push   %eax                           
  121ac5:	81 c3 b0 aa 12 00    	add    $0x12aab0,%ebx                 
  121acb:	53                   	push   %ebx                           
  121acc:	e8 ab d6 fe ff       	call   10f17c <_Chain_Append>         
  121ad1:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
  121ad4:	e8 4d ec fe ff       	call   110726 <_Thread_Enable_dispatch>
  return 0;                                                           
  121ad9:	31 c0                	xor    %eax,%eax                      
}                                                                     
  121adb:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  121ade:	5b                   	pop    %ebx                           
  121adf:	5e                   	pop    %esi                           
  121ae0:	5f                   	pop    %edi                           
  121ae1:	c9                   	leave                                 
  121ae2:	c3                   	ret                                   
                                                                      

00108334 <link>: int link( const char *existing, const char *new ) {
  108334:	55                   	push   %ebp                           
  108335:	89 e5                	mov    %esp,%ebp                      
  108337:	57                   	push   %edi                           
  108338:	56                   	push   %esi                           
  108339:	53                   	push   %ebx                           
  10833a:	83 ec 58             	sub    $0x58,%esp                     
  10833d:	8b 55 08             	mov    0x8(%ebp),%edx                 
  108340:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
                                                                      
  /*                                                                  
   * Get the node we are linking to.                                  
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( existing, strlen( existing ),
  108343:	31 c0                	xor    %eax,%eax                      
  108345:	83 c9 ff             	or     $0xffffffff,%ecx               
  108348:	89 d7                	mov    %edx,%edi                      
  10834a:	f2 ae                	repnz scas %es:(%edi),%al             
  10834c:	f7 d1                	not    %ecx                           
  10834e:	49                   	dec    %ecx                           
  10834f:	6a 01                	push   $0x1                           
  108351:	8d 7d cc             	lea    -0x34(%ebp),%edi               
  108354:	57                   	push   %edi                           
  108355:	6a 00                	push   $0x0                           
  108357:	51                   	push   %ecx                           
  108358:	52                   	push   %edx                           
  108359:	e8 83 fb ff ff       	call   107ee1 <rtems_filesystem_evaluate_path>
                                           0, &existing_loc, true );  
  if ( result != 0 )                                                  
  10835e:	83 c4 20             	add    $0x20,%esp                     
     return -1;                                                       
  108361:	c7 45 b4 ff ff ff ff 	movl   $0xffffffff,-0x4c(%ebp)        
   * Get the node we are linking to.                                  
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( existing, strlen( existing ),
                                           0, &existing_loc, true );  
  if ( result != 0 )                                                  
  108368:	85 c0                	test   %eax,%eax                      
  10836a:	0f 85 84 00 00 00    	jne    1083f4 <link+0xc0>             <== NEVER TAKEN
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
  108370:	52                   	push   %edx                           
  108371:	8d 75 b8             	lea    -0x48(%ebp),%esi               
  108374:	56                   	push   %esi                           
  108375:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  108378:	50                   	push   %eax                           
  108379:	53                   	push   %ebx                           
  10837a:	e8 1d 0c 00 00       	call   108f9c <rtems_filesystem_get_start_loc>
                                                                      
  result = (*parent_loc.ops->evalformake_h)( &new[i], &parent_loc, &name_start );
  10837f:	83 c4 0c             	add    $0xc,%esp                      
  108382:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  108385:	50                   	push   %eax                           
  108386:	56                   	push   %esi                           
  108387:	03 5d e4             	add    -0x1c(%ebp),%ebx               
  10838a:	53                   	push   %ebx                           
  10838b:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  10838e:	ff 50 04             	call   *0x4(%eax)                     
  108391:	89 c3                	mov    %eax,%ebx                      
  if ( result != 0 ) {                                                
  108393:	83 c4 10             	add    $0x10,%esp                     
  108396:	85 c0                	test   %eax,%eax                      
  108398:	74 12                	je     1083ac <link+0x78>             
    rtems_filesystem_freenode( &existing_loc );                       
  10839a:	83 ec 0c             	sub    $0xc,%esp                      
  10839d:	57                   	push   %edi                           
  10839e:	e8 25 fc ff ff       	call   107fc8 <rtems_filesystem_freenode>
    rtems_set_errno_and_return_minus_one( result );                   
  1083a3:	e8 24 9d 00 00       	call   1120cc <__errno>               
  1083a8:	89 18                	mov    %ebx,(%eax)                    
  1083aa:	eb 45                	jmp    1083f1 <link+0xbd>             
  /*                                                                  
   *  Check to see if the caller is trying to link across file system 
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( parent_loc.mt_entry != existing_loc.mt_entry ) {               
  1083ac:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  1083af:	39 45 c8             	cmp    %eax,-0x38(%ebp)               
  1083b2:	74 1e                	je     1083d2 <link+0x9e>             
    rtems_filesystem_freenode( &existing_loc );                       
  1083b4:	83 ec 0c             	sub    $0xc,%esp                      
  1083b7:	57                   	push   %edi                           
  1083b8:	e8 0b fc ff ff       	call   107fc8 <rtems_filesystem_freenode>
    rtems_filesystem_freenode( &parent_loc );                         
  1083bd:	89 34 24             	mov    %esi,(%esp)                    
  1083c0:	e8 03 fc ff ff       	call   107fc8 <rtems_filesystem_freenode>
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  1083c5:	e8 02 9d 00 00       	call   1120cc <__errno>               
  1083ca:	c7 00 12 00 00 00    	movl   $0x12,(%eax)                   
  1083d0:	eb 1f                	jmp    1083f1 <link+0xbd>             
  }                                                                   
                                                                      
  result = (*parent_loc.ops->link_h)( &existing_loc, &parent_loc, name_start );
  1083d2:	50                   	push   %eax                           
  1083d3:	ff 75 e0             	pushl  -0x20(%ebp)                    
  1083d6:	56                   	push   %esi                           
  1083d7:	57                   	push   %edi                           
  1083d8:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  1083db:	ff 50 08             	call   *0x8(%eax)                     
  1083de:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
  1083e1:	89 3c 24             	mov    %edi,(%esp)                    
  1083e4:	e8 df fb ff ff       	call   107fc8 <rtems_filesystem_freenode>
  rtems_filesystem_freenode( &parent_loc );                           
  1083e9:	89 34 24             	mov    %esi,(%esp)                    
  1083ec:	e8 d7 fb ff ff       	call   107fc8 <rtems_filesystem_freenode>
                                                                      
  return result;                                                      
  1083f1:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  1083f4:	8b 45 b4             	mov    -0x4c(%ebp),%eax               
  1083f7:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1083fa:	5b                   	pop    %ebx                           
  1083fb:	5e                   	pop    %esi                           
  1083fc:	5f                   	pop    %edi                           
  1083fd:	c9                   	leave                                 
  1083fe:	c3                   	ret                                   
                                                                      

0011c8f4 <lseek>: off_t lseek( int fd, off_t offset, int whence ) {
  11c8f4:	55                   	push   %ebp                           
  11c8f5:	89 e5                	mov    %esp,%ebp                      
  11c8f7:	57                   	push   %edi                           
  11c8f8:	56                   	push   %esi                           
  11c8f9:	53                   	push   %ebx                           
  11c8fa:	83 ec 1c             	sub    $0x1c,%esp                     
  11c8fd:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11c900:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  11c903:	8b 55 10             	mov    0x10(%ebp),%edx                
  11c906:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  11c909:	3b 1d 44 01 12 00    	cmp    0x120144,%ebx                  
  11c90f:	73 0f                	jae    11c920 <lseek+0x2c>            
  iop = rtems_libio_iop( fd );                                        
  11c911:	c1 e3 06             	shl    $0x6,%ebx                      
  11c914:	03 1d 98 40 12 00    	add    0x124098,%ebx                  
  rtems_libio_check_is_open(iop);                                     
  11c91a:	f6 43 15 01          	testb  $0x1,0x15(%ebx)                
  11c91e:	75 0d                	jne    11c92d <lseek+0x39>            
  11c920:	e8 17 48 ff ff       	call   11113c <__errno>               
  11c925:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  11c92b:	eb 4b                	jmp    11c978 <lseek+0x84>            
                                                                      
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
  11c92d:	8b 73 0c             	mov    0xc(%ebx),%esi                 
  11c930:	8b 7b 10             	mov    0x10(%ebx),%edi                
  11c933:	89 75 e0             	mov    %esi,-0x20(%ebp)               
  11c936:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
  switch ( whence ) {                                                 
  11c939:	83 f9 01             	cmp    $0x1,%ecx                      
  11c93c:	74 11                	je     11c94f <lseek+0x5b>            
  11c93e:	83 f9 02             	cmp    $0x2,%ecx                      
  11c941:	74 18                	je     11c95b <lseek+0x67>            
  11c943:	85 c9                	test   %ecx,%ecx                      
  11c945:	75 26                	jne    11c96d <lseek+0x79>            
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
  11c947:	89 43 0c             	mov    %eax,0xc(%ebx)                 
  11c94a:	89 53 10             	mov    %edx,0x10(%ebx)                
      break;                                                          
  11c94d:	eb 30                	jmp    11c97f <lseek+0x8b>            
                                                                      
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
  11c94f:	8b 75 e0             	mov    -0x20(%ebp),%esi               
  11c952:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  11c955:	01 c6                	add    %eax,%esi                      
  11c957:	11 d7                	adc    %edx,%edi                      
  11c959:	eb 0a                	jmp    11c965 <lseek+0x71>            
      break;                                                          
                                                                      
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
  11c95b:	89 c6                	mov    %eax,%esi                      
  11c95d:	89 d7                	mov    %edx,%edi                      
  11c95f:	03 73 04             	add    0x4(%ebx),%esi                 
  11c962:	13 7b 08             	adc    0x8(%ebx),%edi                 
  11c965:	89 73 0c             	mov    %esi,0xc(%ebx)                 
  11c968:	89 7b 10             	mov    %edi,0x10(%ebx)                
      break;                                                          
  11c96b:	eb 12                	jmp    11c97f <lseek+0x8b>            
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  11c96d:	e8 ca 47 ff ff       	call   11113c <__errno>               
  11c972:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  11c978:	83 c8 ff             	or     $0xffffffff,%eax               
  11c97b:	89 c2                	mov    %eax,%edx                      
  11c97d:	eb 23                	jmp    11c9a2 <lseek+0xae>            
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
  11c97f:	8b 73 3c             	mov    0x3c(%ebx),%esi                
  11c982:	51                   	push   %ecx                           
  11c983:	52                   	push   %edx                           
  11c984:	50                   	push   %eax                           
  11c985:	53                   	push   %ebx                           
  11c986:	ff 56 14             	call   *0x14(%esi)                    
  if ( status == (off_t) -1 )                                         
  11c989:	83 c4 10             	add    $0x10,%esp                     
  11c98c:	83 fa ff             	cmp    $0xffffffff,%edx               
  11c98f:	75 11                	jne    11c9a2 <lseek+0xae>            
  11c991:	83 f8 ff             	cmp    $0xffffffff,%eax               
  11c994:	75 0c                	jne    11c9a2 <lseek+0xae>            <== NEVER TAKEN
    iop->offset = old_offset;                                         
  11c996:	8b 75 e0             	mov    -0x20(%ebp),%esi               
  11c999:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  11c99c:	89 73 0c             	mov    %esi,0xc(%ebx)                 
  11c99f:	89 7b 10             	mov    %edi,0x10(%ebx)                
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
  11c9a2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11c9a5:	5b                   	pop    %ebx                           
  11c9a6:	5e                   	pop    %esi                           
  11c9a7:	5f                   	pop    %edi                           
  11c9a8:	c9                   	leave                                 
  11c9a9:	c3                   	ret                                   
                                                                      

001090a0 <lstat>: int _STAT_NAME( const char *path, struct stat *buf ) {
  1090a0:	55                   	push   %ebp                           
  1090a1:	89 e5                	mov    %esp,%ebp                      
  1090a3:	57                   	push   %edi                           
  1090a4:	56                   	push   %esi                           
  1090a5:	53                   	push   %ebx                           
  1090a6:	83 ec 2c             	sub    $0x2c,%esp                     
  1090a9:	8b 55 08             	mov    0x8(%ebp),%edx                 
  1090ac:	8b 75 0c             	mov    0xc(%ebp),%esi                 
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
  1090af:	85 f6                	test   %esi,%esi                      
  1090b1:	75 10                	jne    1090c3 <lstat+0x23>            <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
  1090b3:	e8 e0 a4 00 00       	call   113598 <__errno>               <== NOT EXECUTED
  1090b8:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    <== NOT EXECUTED
  1090be:	83 cf ff             	or     $0xffffffff,%edi               <== NOT EXECUTED
  1090c1:	eb 48                	jmp    10910b <lstat+0x6b>            <== NOT EXECUTED
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
  1090c3:	31 c0                	xor    %eax,%eax                      
  1090c5:	83 c9 ff             	or     $0xffffffff,%ecx               
  1090c8:	89 d7                	mov    %edx,%edi                      
  1090ca:	f2 ae                	repnz scas %es:(%edi),%al             
  1090cc:	f7 d1                	not    %ecx                           
  1090ce:	49                   	dec    %ecx                           
  1090cf:	83 ec 0c             	sub    $0xc,%esp                      
  1090d2:	6a 00                	push   $0x0                           
  1090d4:	8d 5d d4             	lea    -0x2c(%ebp),%ebx               
  1090d7:	53                   	push   %ebx                           
  1090d8:	6a 00                	push   $0x0                           
  1090da:	51                   	push   %ecx                           
  1090db:	52                   	push   %edx                           
  1090dc:	e8 ac fb ff ff       	call   108c8d <rtems_filesystem_evaluate_path>
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
  1090e1:	83 c4 20             	add    $0x20,%esp                     
    return -1;                                                        
  1090e4:	83 cf ff             	or     $0xffffffff,%edi               
  if ( !buf )                                                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
  1090e7:	85 c0                	test   %eax,%eax                      
  1090e9:	75 20                	jne    10910b <lstat+0x6b>            
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
  1090eb:	b9 12 00 00 00       	mov    $0x12,%ecx                     
  1090f0:	89 f7                	mov    %esi,%edi                      
  1090f2:	f3 ab                	rep stos %eax,%es:(%edi)              
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
  1090f4:	50                   	push   %eax                           
  1090f5:	50                   	push   %eax                           
  1090f6:	56                   	push   %esi                           
  1090f7:	53                   	push   %ebx                           
  1090f8:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  1090fb:	ff 50 18             	call   *0x18(%eax)                    
  1090fe:	89 c7                	mov    %eax,%edi                      
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  109100:	89 1c 24             	mov    %ebx,(%esp)                    
  109103:	e8 6c fc ff ff       	call   108d74 <rtems_filesystem_freenode>
                                                                      
  return status;                                                      
  109108:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10910b:	89 f8                	mov    %edi,%eax                      
  10910d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109110:	5b                   	pop    %ebx                           
  109111:	5e                   	pop    %esi                           
  109112:	5f                   	pop    %edi                           
  109113:	c9                   	leave                                 
  109114:	c3                   	ret                                   
                                                                      

001075ac <malloc>: #include "malloc_p.h" void *malloc( size_t size ) {
  1075ac:	55                   	push   %ebp                           
  1075ad:	89 e5                	mov    %esp,%ebp                      
  1075af:	56                   	push   %esi                           
  1075b0:	53                   	push   %ebx                           
  1075b1:	8b 75 08             	mov    0x8(%ebp),%esi                 
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
  1075b4:	ff 05 b4 40 12 00    	incl   0x1240b4                       
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
  1075ba:	e8 03 ff ff ff       	call   1074c2 <malloc_deferred_frees_process>
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
    return (void *) 0;                                                
  1075bf:	31 db                	xor    %ebx,%ebx                      
  malloc_deferred_frees_process();                                    
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
  1075c1:	85 f6                	test   %esi,%esi                      
  1075c3:	74 78                	je     10763d <malloc+0x91>           
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
  1075c5:	83 3d 64 43 12 00 03 	cmpl   $0x3,0x124364                  
  1075cc:	75 09                	jne    1075d7 <malloc+0x2b>           
       !malloc_is_system_state_OK() )                                 
  1075ce:	e8 b1 fe ff ff       	call   107484 <malloc_is_system_state_OK>
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
  1075d3:	84 c0                	test   %al,%al                        
  1075d5:	74 66                	je     10763d <malloc+0x91>           <== 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 );
  1075d7:	6a 00                	push   $0x0                           
  1075d9:	6a 00                	push   $0x0                           
  1075db:	56                   	push   %esi                           
  1075dc:	ff 35 50 01 12 00    	pushl  0x120150                       
  1075e2:	e8 1d 44 00 00       	call   10ba04 <_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 ) {                                               
  1075e7:	83 c4 10             	add    $0x10,%esp                     
  1075ea:	89 c3                	mov    %eax,%ebx                      
  1075ec:	85 c0                	test   %eax,%eax                      
  1075ee:	75 28                	jne    107618 <malloc+0x6c>           
    if (rtems_malloc_sbrk_helpers)                                    
  1075f0:	a1 14 25 12 00       	mov    0x122514,%eax                  
  1075f5:	85 c0                	test   %eax,%eax                      
  1075f7:	74 10                	je     107609 <malloc+0x5d>           <== ALWAYS TAKEN
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
  1075f9:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1075fc:	56                   	push   %esi                           <== NOT EXECUTED
  1075fd:	ff 50 04             	call   *0x4(%eax)                     <== NOT EXECUTED
  107600:	89 c3                	mov    %eax,%ebx                      <== NOT EXECUTED
    if ( !return_this ) {                                             
  107602:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  107605:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  107607:	75 0f                	jne    107618 <malloc+0x6c>           <== NOT EXECUTED
      errno = ENOMEM;                                                 
  107609:	e8 2e 9b 00 00       	call   11113c <__errno>               
  10760e:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    
      return (void *) 0;                                              
  107614:	31 db                	xor    %ebx,%ebx                      
  107616:	eb 25                	jmp    10763d <malloc+0x91>           
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
  107618:	a1 18 25 12 00       	mov    0x122518,%eax                  
  10761d:	85 c0                	test   %eax,%eax                      
  10761f:	74 09                	je     10762a <malloc+0x7e>           
    (*rtems_malloc_dirty_helper)( return_this, size );                
  107621:	52                   	push   %edx                           
  107622:	52                   	push   %edx                           
  107623:	56                   	push   %esi                           
  107624:	53                   	push   %ebx                           
  107625:	ff d0                	call   *%eax                          
  107627:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
  10762a:	a1 10 25 12 00       	mov    0x122510,%eax                  
  10762f:	85 c0                	test   %eax,%eax                      
  107631:	74 0a                	je     10763d <malloc+0x91>           <== ALWAYS TAKEN
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
  107633:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  107636:	53                   	push   %ebx                           <== NOT EXECUTED
  107637:	ff 50 04             	call   *0x4(%eax)                     <== NOT EXECUTED
  10763a:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
                                                                      
  return return_this;                                                 
}                                                                     
  10763d:	89 d8                	mov    %ebx,%eax                      
  10763f:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  107642:	5b                   	pop    %ebx                           
  107643:	5e                   	pop    %esi                           
  107644:	c9                   	leave                                 
  107645:	c3                   	ret                                   
                                                                      

0010fafa <memfile_alloc_block>: */ int memfile_blocks_allocated = 0; void *memfile_alloc_block(void) {
  10fafa:	55                   	push   %ebp                           
  10fafb:	89 e5                	mov    %esp,%ebp                      
  10fafd:	83 ec 10             	sub    $0x10,%esp                     
  void *memory;                                                       
                                                                      
  memory = (void *)calloc(1, IMFS_MEMFILE_BYTES_PER_BLOCK);           
  10fb00:	ff 35 8c 3d 12 00    	pushl  0x123d8c                       
  10fb06:	6a 01                	push   $0x1                           
  10fb08:	e8 43 76 ff ff       	call   107150 <calloc>                
  if ( memory )                                                       
  10fb0d:	83 c4 10             	add    $0x10,%esp                     
  10fb10:	85 c0                	test   %eax,%eax                      
  10fb12:	74 06                	je     10fb1a <memfile_alloc_block+0x20><== NEVER TAKEN
    memfile_blocks_allocated++;                                       
  10fb14:	ff 05 9c 3e 12 00    	incl   0x123e9c                       
                                                                      
  return memory;                                                      
}                                                                     
  10fb1a:	c9                   	leave                                 
  10fb1b:	c3                   	ret                                   
                                                                      

0010fe8e <memfile_free_blocks_in_table>: void memfile_free_blocks_in_table( block_p **block_table, int entries ) {
  10fe8e:	55                   	push   %ebp                           
  10fe8f:	89 e5                	mov    %esp,%ebp                      
  10fe91:	57                   	push   %edi                           
  10fe92:	56                   	push   %esi                           
  10fe93:	53                   	push   %ebx                           
  10fe94:	83 ec 0c             	sub    $0xc,%esp                      
  10fe97:	8b 75 08             	mov    0x8(%ebp),%esi                 
   */                                                                 
                                                                      
  #if defined(RTEMS_DEBUG)                                            
    assert( block_table );                                            
  #endif                                                              
  if ( !block_table )                                                 
  10fe9a:	85 f6                	test   %esi,%esi                      
  10fe9c:	74 39                	je     10fed7 <memfile_free_blocks_in_table+0x49><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
  10fe9e:	8b 3e                	mov    (%esi),%edi                    
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
  10fea0:	31 db                	xor    %ebx,%ebx                      
  10fea2:	eb 1b                	jmp    10febf <memfile_free_blocks_in_table+0x31>
    if ( b[i] ) {                                                     
  10fea4:	8b 04 9f             	mov    (%edi,%ebx,4),%eax             
  10fea7:	85 c0                	test   %eax,%eax                      
  10fea9:	74 13                	je     10febe <memfile_free_blocks_in_table+0x30>
      memfile_free_block( b[i] );                                     
  10feab:	83 ec 0c             	sub    $0xc,%esp                      
  10feae:	50                   	push   %eax                           
  10feaf:	e8 c1 ff ff ff       	call   10fe75 <memfile_free_block>    
      b[i] = 0;                                                       
  10feb4:	c7 04 9f 00 00 00 00 	movl   $0x0,(%edi,%ebx,4)             
  10febb:	83 c4 10             	add    $0x10,%esp                     
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
  10febe:	43                   	inc    %ebx                           
  10febf:	3b 5d 0c             	cmp    0xc(%ebp),%ebx                 
  10fec2:	7c e0                	jl     10fea4 <memfile_free_blocks_in_table+0x16>
  /*                                                                  
   *  Now that all the blocks in the block table are free, we can     
   *  free the block table itself.                                    
   */                                                                 
                                                                      
  memfile_free_block( *block_table );                                 
  10fec4:	83 ec 0c             	sub    $0xc,%esp                      
  10fec7:	ff 36                	pushl  (%esi)                         
  10fec9:	e8 a7 ff ff ff       	call   10fe75 <memfile_free_block>    
  *block_table = 0;                                                   
  10fece:	c7 06 00 00 00 00    	movl   $0x0,(%esi)                    
  10fed4:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10fed7:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10feda:	5b                   	pop    %ebx                           
  10fedb:	5e                   	pop    %esi                           
  10fedc:	5f                   	pop    %edi                           
  10fedd:	c9                   	leave                                 
  10fede:	c3                   	ret                                   
                                                                      

0011032b <memfile_ftruncate>: int memfile_ftruncate( rtems_libio_t *iop, rtems_off64_t length ) {
  11032b:	55                   	push   %ebp                           
  11032c:	89 e5                	mov    %esp,%ebp                      
  11032e:	53                   	push   %ebx                           
  11032f:	83 ec 14             	sub    $0x14,%esp                     
  110332:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  110335:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  110338:	8b 55 10             	mov    0x10(%ebp),%edx                
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
  11033b:	8b 59 38             	mov    0x38(%ecx),%ebx                
   *  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 )                           
  11033e:	3b 53 54             	cmp    0x54(%ebx),%edx                
  110341:	7c 15                	jl     110358 <memfile_ftruncate+0x2d><== NEVER TAKEN
  110343:	7f 05                	jg     11034a <memfile_ftruncate+0x1f><== NEVER TAKEN
  110345:	3b 43 50             	cmp    0x50(%ebx),%eax                
  110348:	76 0e                	jbe    110358 <memfile_ftruncate+0x2d><== ALWAYS TAKEN
    return IMFS_memfile_extend( the_jnode, length );                  
  11034a:	51                   	push   %ecx                           <== NOT EXECUTED
  11034b:	52                   	push   %edx                           <== NOT EXECUTED
  11034c:	50                   	push   %eax                           <== NOT EXECUTED
  11034d:	53                   	push   %ebx                           <== NOT EXECUTED
  11034e:	e8 b7 fc ff ff       	call   11000a <IMFS_memfile_extend>   <== NOT EXECUTED
  110353:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  110356:	eb 24                	jmp    11037c <memfile_ftruncate+0x51><== 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;                                 
  110358:	89 43 50             	mov    %eax,0x50(%ebx)                
  11035b:	89 53 54             	mov    %edx,0x54(%ebx)                
  iop->size = the_jnode->info.file.size;                              
  11035e:	89 41 04             	mov    %eax,0x4(%ecx)                 
  110361:	89 51 08             	mov    %edx,0x8(%ecx)                 
                                                                      
  IMFS_update_atime( the_jnode );                                     
  110364:	50                   	push   %eax                           
  110365:	50                   	push   %eax                           
  110366:	6a 00                	push   $0x0                           
  110368:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  11036b:	50                   	push   %eax                           
  11036c:	e8 13 70 ff ff       	call   107384 <gettimeofday>          
  110371:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  110374:	89 43 40             	mov    %eax,0x40(%ebx)                
                                                                      
  return 0;                                                           
  110377:	83 c4 10             	add    $0x10,%esp                     
  11037a:	31 c0                	xor    %eax,%eax                      
}                                                                     
  11037c:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  11037f:	c9                   	leave                                 
  110380:	c3                   	ret                                   
                                                                      

00110381 <memfile_lseek>: rtems_off64_t memfile_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
  110381:	55                   	push   %ebp                           
  110382:	89 e5                	mov    %esp,%ebp                      
  110384:	56                   	push   %esi                           
  110385:	53                   	push   %ebx                           
  110386:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
  110389:	8b 73 38             	mov    0x38(%ebx),%esi                
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
  11038c:	83 7e 4c 06          	cmpl   $0x6,0x4c(%esi)                
  110390:	75 1a                	jne    1103ac <memfile_lseek+0x2b>    <== ALWAYS TAKEN
    if (iop->offset > the_jnode->info.linearfile.size)                
  110392:	8b 56 50             	mov    0x50(%esi),%edx                <== NOT EXECUTED
  110395:	8b 46 54             	mov    0x54(%esi),%eax                <== NOT EXECUTED
  110398:	39 43 10             	cmp    %eax,0x10(%ebx)                <== NOT EXECUTED
  11039b:	7c 41                	jl     1103de <memfile_lseek+0x5d>    <== NOT EXECUTED
  11039d:	7f 05                	jg     1103a4 <memfile_lseek+0x23>    <== NOT EXECUTED
  11039f:	39 53 0c             	cmp    %edx,0xc(%ebx)                 <== NOT EXECUTED
  1103a2:	76 3a                	jbe    1103de <memfile_lseek+0x5d>    <== NOT EXECUTED
      iop->offset = the_jnode->info.linearfile.size;                  
  1103a4:	89 53 0c             	mov    %edx,0xc(%ebx)                 <== NOT EXECUTED
  1103a7:	89 43 10             	mov    %eax,0x10(%ebx)                <== NOT EXECUTED
  1103aa:	eb 32                	jmp    1103de <memfile_lseek+0x5d>    <== NOT EXECUTED
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
  1103ac:	50                   	push   %eax                           
  1103ad:	ff 73 10             	pushl  0x10(%ebx)                     
  1103b0:	ff 73 0c             	pushl  0xc(%ebx)                      
  1103b3:	56                   	push   %esi                           
  1103b4:	e8 51 fc ff ff       	call   11000a <IMFS_memfile_extend>   
  1103b9:	83 c4 10             	add    $0x10,%esp                     
  1103bc:	85 c0                	test   %eax,%eax                      
  1103be:	74 12                	je     1103d2 <memfile_lseek+0x51>    <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
  1103c0:	e8 77 0d 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  1103c5:	c7 00 1c 00 00 00    	movl   $0x1c,(%eax)                   <== NOT EXECUTED
  1103cb:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  1103ce:	89 c2                	mov    %eax,%edx                      <== NOT EXECUTED
  1103d0:	eb 12                	jmp    1103e4 <memfile_lseek+0x63>    <== NOT EXECUTED
                                                                      
    iop->size = the_jnode->info.file.size;                            
  1103d2:	8b 46 50             	mov    0x50(%esi),%eax                
  1103d5:	8b 56 54             	mov    0x54(%esi),%edx                
  1103d8:	89 43 04             	mov    %eax,0x4(%ebx)                 
  1103db:	89 53 08             	mov    %edx,0x8(%ebx)                 
  }                                                                   
  return iop->offset;                                                 
  1103de:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  1103e1:	8b 53 10             	mov    0x10(%ebx),%edx                
}                                                                     
  1103e4:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1103e7:	5b                   	pop    %ebx                           
  1103e8:	5e                   	pop    %esi                           
  1103e9:	c9                   	leave                                 
  1103ea:	c3                   	ret                                   
                                                                      

0011029c <memfile_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
  11029c:	55                   	push   %ebp                           
  11029d:	89 e5                	mov    %esp,%ebp                      
  11029f:	56                   	push   %esi                           
  1102a0:	53                   	push   %ebx                           
  1102a1:	8b 75 08             	mov    0x8(%ebp),%esi                 
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->file_info;                                         
  1102a4:	8b 5e 38             	mov    0x38(%esi),%ebx                
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
  1102a7:	f7 46 14 04 02 00 00 	testl  $0x204,0x14(%esi)              
  1102ae:	74 54                	je     110304 <memfile_open+0x68>     
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
  1102b0:	83 7b 4c 06          	cmpl   $0x6,0x4c(%ebx)                
  1102b4:	75 4e                	jne    110304 <memfile_open+0x68>     <== ALWAYS TAKEN
    uint32_t   count = the_jnode->info.linearfile.size;               
  1102b6:	8b 43 50             	mov    0x50(%ebx),%eax                <== NOT EXECUTED
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
  1102b9:	8b 53 58             	mov    0x58(%ebx),%edx                <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
  1102bc:	c7 43 4c 05 00 00 00 	movl   $0x5,0x4c(%ebx)                <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
  1102c3:	c7 43 50 00 00 00 00 	movl   $0x0,0x50(%ebx)                <== NOT EXECUTED
  1102ca:	c7 43 54 00 00 00 00 	movl   $0x0,0x54(%ebx)                <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
  1102d1:	c7 43 58 00 00 00 00 	movl   $0x0,0x58(%ebx)                <== NOT EXECUTED
    the_jnode->info.file.doubly_indirect = 0;                         
  1102d8:	c7 43 5c 00 00 00 00 	movl   $0x0,0x5c(%ebx)                <== NOT EXECUTED
    the_jnode->info.file.triply_indirect = 0;                         
  1102df:	c7 43 60 00 00 00 00 	movl   $0x0,0x60(%ebx)                <== NOT EXECUTED
    if ((count != 0)                                                  
  1102e6:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  1102e8:	74 1a                	je     110304 <memfile_open+0x68>     <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
  1102ea:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1102ed:	50                   	push   %eax                           <== NOT EXECUTED
  1102ee:	52                   	push   %edx                           <== NOT EXECUTED
  1102ef:	6a 00                	push   $0x0                           <== NOT EXECUTED
  1102f1:	6a 00                	push   $0x0                           <== NOT EXECUTED
  1102f3:	53                   	push   %ebx                           <== NOT EXECUTED
  1102f4:	e8 03 fe ff ff       	call   1100fc <IMFS_memfile_write>    <== NOT EXECUTED
  1102f9:	89 c2                	mov    %eax,%edx                      <== NOT EXECUTED
  1102fb:	83 c4 20             	add    $0x20,%esp                     <== NOT EXECUTED
        return -1;                                                    
  1102fe:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
  110301:	42                   	inc    %edx                           <== NOT EXECUTED
  110302:	74 20                	je     110324 <memfile_open+0x88>     <== NOT EXECUTED
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
  110304:	f6 46 15 02          	testb  $0x2,0x15(%esi)                
  110308:	74 0c                	je     110316 <memfile_open+0x7a>     
    iop->offset = the_jnode->info.file.size;                          
  11030a:	8b 43 50             	mov    0x50(%ebx),%eax                
  11030d:	8b 53 54             	mov    0x54(%ebx),%edx                
  110310:	89 46 0c             	mov    %eax,0xc(%esi)                 
  110313:	89 56 10             	mov    %edx,0x10(%esi)                
                                                                      
  iop->size = the_jnode->info.file.size;                              
  110316:	8b 43 50             	mov    0x50(%ebx),%eax                
  110319:	8b 53 54             	mov    0x54(%ebx),%edx                
  11031c:	89 46 04             	mov    %eax,0x4(%esi)                 
  11031f:	89 56 08             	mov    %edx,0x8(%esi)                 
  return 0;                                                           
  110322:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110324:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  110327:	5b                   	pop    %ebx                           
  110328:	5e                   	pop    %esi                           
  110329:	c9                   	leave                                 
  11032a:	c3                   	ret                                   
                                                                      

00107664 <mknod>: int mknod( const char *pathname, mode_t mode, dev_t dev ) {
  107664:	55                   	push   %ebp                           
  107665:	89 e5                	mov    %esp,%ebp                      
  107667:	57                   	push   %edi                           
  107668:	56                   	push   %esi                           
  107669:	53                   	push   %ebx                           
  10766a:	83 ec 3c             	sub    $0x3c,%esp                     
  10766d:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  107670:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  107673:	8b 55 10             	mov    0x10(%ebp),%edx                
  107676:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  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) ) )                 
  107679:	f7 c6 00 f0 00 00    	test   $0xf000,%esi                   
  10767f:	75 10                	jne    107691 <mknod+0x2d>            <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  107681:	e8 b6 9a 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  107686:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
  10768c:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  10768f:	eb 5b                	jmp    1076ec <mknod+0x88>            <== NOT EXECUTED
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
  107691:	50                   	push   %eax                           
  107692:	8d 5d cc             	lea    -0x34(%ebp),%ebx               
  107695:	53                   	push   %ebx                           
  107696:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  107699:	50                   	push   %eax                           
  10769a:	57                   	push   %edi                           
  10769b:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  10769e:	89 4d c0             	mov    %ecx,-0x40(%ebp)               
  1076a1:	e8 d2 08 00 00       	call   107f78 <rtems_filesystem_get_start_loc>
                                                                      
  result = (*temp_loc.ops->evalformake_h)(                            
  1076a6:	83 c4 0c             	add    $0xc,%esp                      
  1076a9:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  1076ac:	50                   	push   %eax                           
  1076ad:	53                   	push   %ebx                           
  1076ae:	03 7d e4             	add    -0x1c(%ebp),%edi               
  1076b1:	57                   	push   %edi                           
  1076b2:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  1076b5:	ff 50 04             	call   *0x4(%eax)                     
  1076b8:	89 c7                	mov    %eax,%edi                      
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
  1076ba:	83 c4 10             	add    $0x10,%esp                     
    return -1;                                                        
  1076bd:	83 c8 ff             	or     $0xffffffff,%eax               
  result = (*temp_loc.ops->evalformake_h)(                            
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
  1076c0:	85 ff                	test   %edi,%edi                      
  1076c2:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  1076c5:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  1076c8:	75 22                	jne    1076ec <mknod+0x88>            
    return -1;                                                        
                                                                      
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
  1076ca:	83 ec 0c             	sub    $0xc,%esp                      
  1076cd:	53                   	push   %ebx                           
  1076ce:	51                   	push   %ecx                           
  1076cf:	52                   	push   %edx                           
  1076d0:	56                   	push   %esi                           
  1076d1:	ff 75 e0             	pushl  -0x20(%ebp)                    
  1076d4:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  1076d7:	ff 50 14             	call   *0x14(%eax)                    
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
  1076da:	83 c4 14             	add    $0x14,%esp                     
  1076dd:	53                   	push   %ebx                           
  1076de:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  1076e1:	e8 12 fc ff ff       	call   1072f8 <rtems_filesystem_freenode>
                                                                      
  return result;                                                      
  1076e6:	83 c4 10             	add    $0x10,%esp                     
  1076e9:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
}                                                                     
  1076ec:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1076ef:	5b                   	pop    %ebx                           
  1076f0:	5e                   	pop    %esi                           
  1076f1:	5f                   	pop    %edi                           
  1076f2:	c9                   	leave                                 
  1076f3:	c3                   	ret                                   
                                                                      

0010777d <mount>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
  10777d:	55                   	push   %ebp                           
  10777e:	89 e5                	mov    %esp,%ebp                      
  107780:	57                   	push   %edi                           
  107781:	56                   	push   %esi                           
  107782:	53                   	push   %ebx                           
  107783:	83 ec 4c             	sub    $0x4c,%esp                     
  107786:	8b 75 08             	mov    0x8(%ebp),%esi                 
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
  107789:	83 7d 14 01          	cmpl   $0x1,0x14(%ebp)                
  10778d:	77 15                	ja     1077a4 <mount+0x27>            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
  10778f:	83 ec 0c             	sub    $0xc,%esp                      
  107792:	ff 75 10             	pushl  0x10(%ebp)                     
  107795:	e8 19 6b 00 00       	call   10e2b3 <rtems_filesystem_get_mount_handler>
  10779a:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
  if ( !mount_h )                                                     
  10779d:	83 c4 10             	add    $0x10,%esp                     
  1077a0:	85 c0                	test   %eax,%eax                      
  1077a2:	75 10                	jne    1077b4 <mount+0x37>            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  1077a4:	e8 93 99 00 00       	call   11113c <__errno>               
  1077a9:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  1077af:	e9 dc 00 00 00       	jmp    107890 <mount+0x113>           
{                                                                     
  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;                                   
  1077b4:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)                 
  1077b8:	0f 95 45 bf          	setne  -0x41(%ebp)                    
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
  1077bc:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  1077bf:	89 45 b8             	mov    %eax,-0x48(%ebp)               
  1077c2:	80 7d bf 00          	cmpb   $0x0,-0x41(%ebp)               
  1077c6:	75 07                	jne    1077cf <mount+0x52>            
  1077c8:	c7 45 b8 70 e8 11 00 	movl   $0x11e870,-0x48(%ebp)          
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
  1077cf:	83 ca ff             	or     $0xffffffff,%edx               
  1077d2:	31 c0                	xor    %eax,%eax                      
  1077d4:	89 d1                	mov    %edx,%ecx                      
  1077d6:	8b 7d 10             	mov    0x10(%ebp),%edi                
  1077d9:	f2 ae                	repnz scas %es:(%edi),%al             
  1077db:	f7 d1                	not    %ecx                           
  1077dd:	89 4d c0             	mov    %ecx,-0x40(%ebp)               
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
  1077e0:	c7 45 c4 00 00 00 00 	movl   $0x0,-0x3c(%ebp)               
  1077e7:	85 f6                	test   %esi,%esi                      
  1077e9:	74 0b                	je     1077f6 <mount+0x79>            
  1077eb:	89 d1                	mov    %edx,%ecx                      
  1077ed:	89 f7                	mov    %esi,%edi                      
  1077ef:	f2 ae                	repnz scas %es:(%edi),%al             
  1077f1:	f7 d1                	not    %ecx                           
  1077f3:	89 4d c4             	mov    %ecx,-0x3c(%ebp)               
  size_t target_length = strlen( target );                            
  1077f6:	31 c0                	xor    %eax,%eax                      
  1077f8:	83 c9 ff             	or     $0xffffffff,%ecx               
  1077fb:	8b 7d b8             	mov    -0x48(%ebp),%edi               
  1077fe:	f2 ae                	repnz scas %es:(%edi),%al             
  107800:	f7 d1                	not    %ecx                           
  107802:	49                   	dec    %ecx                           
  107803:	89 4d b0             	mov    %ecx,-0x50(%ebp)               
  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 ); 
  107806:	53                   	push   %ebx                           
  107807:	53                   	push   %ebx                           
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
  size_t target_length = strlen( target );                            
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_length + 1;          
  107808:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  10780b:	8d 44 11 75          	lea    0x75(%ecx,%edx,1),%eax         
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
  size_t target_length = strlen( target );                            
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
  10780f:	03 45 c4             	add    -0x3c(%ebp),%eax               
    + filesystemtype_size + source_size + target_length + 1;          
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
  107812:	50                   	push   %eax                           
  107813:	6a 01                	push   $0x1                           
  107815:	e8 36 f9 ff ff       	call   107150 <calloc>                
  10781a:	89 c3                	mov    %eax,%ebx                      
                                                                      
  if ( mt_entry != NULL ) {                                           
  10781c:	83 c4 10             	add    $0x10,%esp                     
  10781f:	85 c0                	test   %eax,%eax                      
  107821:	74 62                	je     107885 <mount+0x108>           <== NEVER TAKEN
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
  107823:	8d 78 74             	lea    0x74(%eax),%edi                
                                                                      
    strcpy( str, filesystemtype );                                    
  107826:	51                   	push   %ecx                           
  107827:	51                   	push   %ecx                           
  107828:	ff 75 10             	pushl  0x10(%ebp)                     
  10782b:	57                   	push   %edi                           
  10782c:	e8 27 a5 00 00       	call   111d58 <strcpy>                
    mt_entry->type = str;                                             
  107831:	89 7b 6c             	mov    %edi,0x6c(%ebx)                
    str += filesystemtype_size;                                       
  107834:	03 7d c0             	add    -0x40(%ebp),%edi               
                                                                      
    if ( source_or_null != NULL ) {                                   
  107837:	83 c4 10             	add    $0x10,%esp                     
  10783a:	85 f6                	test   %esi,%esi                      
  10783c:	74 12                	je     107850 <mount+0xd3>            
      strcpy( str, source_or_null );                                  
  10783e:	52                   	push   %edx                           
  10783f:	52                   	push   %edx                           
  107840:	56                   	push   %esi                           
  107841:	57                   	push   %edi                           
  107842:	e8 11 a5 00 00       	call   111d58 <strcpy>                
      mt_entry->dev = str;                                            
  107847:	89 7b 70             	mov    %edi,0x70(%ebx)                
      str += source_size;                                             
  10784a:	03 7d c4             	add    -0x3c(%ebp),%edi               
  10784d:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
                                                                      
    strcpy( str, target );                                            
  107850:	50                   	push   %eax                           
  107851:	50                   	push   %eax                           
  107852:	ff 75 b8             	pushl  -0x48(%ebp)                    
  107855:	57                   	push   %edi                           
  107856:	e8 fd a4 00 00       	call   111d58 <strcpy>                
    mt_entry->target = str;                                           
  10785b:	89 7b 68             	mov    %edi,0x68(%ebx)                
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  10785e:	89 5b 2c             	mov    %ebx,0x2c(%ebx)                
  mt_entry->options = options;                                        
  107861:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  107864:	89 4b 30             	mov    %ecx,0x30(%ebx)                
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
  107867:	8d 7b 38             	lea    0x38(%ebx),%edi                
  10786a:	be e8 e8 11 00       	mov    $0x11e8e8,%esi                 
  10786f:	b9 0c 00 00 00       	mov    $0xc,%ecx                      
  107874:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
  107876:	83 c4 10             	add    $0x10,%esp                     
  107879:	80 7d bf 00          	cmpb   $0x0,-0x41(%ebp)               
  10787d:	0f 84 a3 00 00 00    	je     107926 <mount+0x1a9>           
  107883:	eb 13                	jmp    107898 <mount+0x11b>           
    target,                                                           
    filesystemtype,                                                   
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
  107885:	e8 b2 98 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  10788a:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    <== NOT EXECUTED
  107890:	83 c8 ff             	or     $0xffffffff,%eax               
  107893:	e9 26 01 00 00       	jmp    1079be <mount+0x241>           
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
    if ( rtems_filesystem_evaluate_path(                              
  107898:	83 ec 0c             	sub    $0xc,%esp                      
  10789b:	6a 01                	push   $0x1                           
  10789d:	8d 75 d4             	lea    -0x2c(%ebp),%esi               
  1078a0:	56                   	push   %esi                           
  1078a1:	6a 07                	push   $0x7                           
  1078a3:	ff 75 b0             	pushl  -0x50(%ebp)                    
  1078a6:	ff 75 0c             	pushl  0xc(%ebp)                      
  1078a9:	e8 63 f9 ff ff       	call   107211 <rtems_filesystem_evaluate_path>
  1078ae:	83 c4 20             	add    $0x20,%esp                     
  1078b1:	40                   	inc    %eax                           
  1078b2:	0f 84 df 00 00 00    	je     107997 <mount+0x21a>           <== NEVER TAKEN
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
  1078b8:	83 ec 0c             	sub    $0xc,%esp                      
  1078bb:	56                   	push   %esi                           
  1078bc:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  1078bf:	ff 50 10             	call   *0x10(%eax)                    
  1078c2:	83 c4 10             	add    $0x10,%esp                     
  1078c5:	48                   	dec    %eax                           
  1078c6:	74 10                	je     1078d8 <mount+0x15b>           
      errno = ENOTDIR;                                                
  1078c8:	e8 6f 98 00 00       	call   11113c <__errno>               
  1078cd:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   
      goto cleanup_and_bail;                                          
  1078d3:	e9 c1 00 00 00       	jmp    107999 <mount+0x21c>           
                                                                      
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
  1078d8:	57                   	push   %edi                           
  1078d9:	57                   	push   %edi                           
  1078da:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  1078dd:	68 f4 76 10 00       	push   $0x1076f4                      
  1078e2:	e8 4e fe ff ff       	call   107735 <rtems_filesystem_mount_iterate>
  1078e7:	83 c4 10             	add    $0x10,%esp                     
  1078ea:	84 c0                	test   %al,%al                        
  1078ec:	74 10                	je     1078fe <mount+0x181>           
      errno = EBUSY;                                                  
  1078ee:	e8 49 98 00 00       	call   11113c <__errno>               
  1078f3:	c7 00 10 00 00 00    	movl   $0x10,(%eax)                   
      goto cleanup_and_bail;                                          
  1078f9:	e9 9b 00 00 00       	jmp    107999 <mount+0x21c>           
     *  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;            
  1078fe:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  107901:	89 43 08             	mov    %eax,0x8(%ebx)                 
    mt_entry->mt_point_node.handlers = loc.handlers;                  
  107904:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  107907:	89 43 10             	mov    %eax,0x10(%ebx)                
    mt_entry->mt_point_node.ops = loc.ops;                            
  10790a:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10790d:	89 43 14             	mov    %eax,0x14(%ebx)                
    mt_entry->mt_point_node.mt_entry = loc.mt_entry;                  
  107910:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  107913:	89 53 18             	mov    %edx,0x18(%ebx)                
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( loc.ops->mount_h( mt_entry ) ) {                             
  107916:	83 ec 0c             	sub    $0xc,%esp                      
  107919:	53                   	push   %ebx                           
  10791a:	ff 50 20             	call   *0x20(%eax)                    
  10791d:	83 c4 10             	add    $0x10,%esp                     
  107920:	85 c0                	test   %eax,%eax                      
  107922:	74 1d                	je     107941 <mount+0x1c4>           <== ALWAYS TAKEN
  107924:	eb 73                	jmp    107999 <mount+0x21c>           <== NOT EXECUTED
)                                                                     
{                                                                     
  rtems_filesystem_fsmount_me_t mount_h = NULL;                       
  rtems_filesystem_location_info_t      loc;                          
  rtems_filesystem_mount_table_entry_t *mt_entry = NULL;              
  rtems_filesystem_location_info_t     *loc_to_free = NULL;           
  107926:	31 f6                	xor    %esi,%esi                      
    }                                                                 
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
  107928:	81 3d 34 1f 12 00 38 	cmpl   $0x121f38,0x121f34             
  10792f:	1f 12 00                                                    
  107932:	74 0d                	je     107941 <mount+0x1c4>           <== ALWAYS TAKEN
      errno = EINVAL;                                                 
  107934:	e8 03 98 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  107939:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
      goto cleanup_and_bail;                                          
  10793f:	eb 58                	jmp    107999 <mount+0x21c>           <== 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 ) ) {                               
  107941:	51                   	push   %ecx                           
  107942:	51                   	push   %ecx                           
  107943:	ff 75 18             	pushl  0x18(%ebp)                     
  107946:	53                   	push   %ebx                           
  107947:	ff 55 b4             	call   *-0x4c(%ebp)                   
  10794a:	83 c4 10             	add    $0x10,%esp                     
  10794d:	85 c0                	test   %eax,%eax                      
  10794f:	74 0f                	je     107960 <mount+0x1e3>           <== ALWAYS TAKEN
    /*                                                                
     * Try to undo the mount operation                                
     */                                                               
    loc.ops->unmount_h( mt_entry );                                   
  107951:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  107954:	53                   	push   %ebx                           <== NOT EXECUTED
  107955:	8b 45 e0             	mov    -0x20(%ebp),%eax               <== NOT EXECUTED
  107958:	ff 50 28             	call   *0x28(%eax)                    <== NOT EXECUTED
    goto cleanup_and_bail;                                            
  10795b:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10795e:	eb 39                	jmp    107999 <mount+0x21c>           <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Add the mount table entry to the mount table chain              
   */                                                                 
  rtems_libio_lock();                                                 
  107960:	e8 a0 fd ff ff       	call   107705 <rtems_libio_lock>      
  107965:	52                   	push   %edx                           
  107966:	52                   	push   %edx                           
  107967:	53                   	push   %ebx                           
  107968:	68 34 1f 12 00       	push   $0x121f34                      
  10796d:	e8 de 30 00 00       	call   10aa50 <_Chain_Append>         
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
  107972:	e8 a8 fd ff ff       	call   10771f <rtems_libio_unlock>    
                                                                      
  if ( !has_target )                                                  
  107977:	83 c4 10             	add    $0x10,%esp                     
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
                                                                      
  return 0;                                                           
  10797a:	31 c0                	xor    %eax,%eax                      
   */                                                                 
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
  10797c:	80 7d bf 00          	cmpb   $0x0,-0x41(%ebp)               
  107980:	75 3c                	jne    1079be <mount+0x241>           
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
  107982:	8b 3d 54 1f 12 00    	mov    0x121f54,%edi                  
  107988:	83 c7 18             	add    $0x18,%edi                     
  10798b:	8d 73 1c             	lea    0x1c(%ebx),%esi                
  10798e:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  107993:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  107995:	eb 27                	jmp    1079be <mount+0x241>           
)                                                                     
{                                                                     
  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;           
  107997:	31 f6                	xor    %esi,%esi                      <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
  107999:	83 ec 0c             	sub    $0xc,%esp                      
  10799c:	53                   	push   %ebx                           
  10799d:	e8 6a f9 ff ff       	call   10730c <free>                  
                                                                      
  if ( loc_to_free )                                                  
  1079a2:	83 c4 10             	add    $0x10,%esp                     
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
  1079a5:	83 c8 ff             	or     $0xffffffff,%eax               
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
                                                                      
  if ( loc_to_free )                                                  
  1079a8:	85 f6                	test   %esi,%esi                      
  1079aa:	74 12                	je     1079be <mount+0x241>           <== NEVER TAKEN
    rtems_filesystem_freenode( loc_to_free );                         
  1079ac:	83 ec 0c             	sub    $0xc,%esp                      
  1079af:	56                   	push   %esi                           
  1079b0:	89 45 ac             	mov    %eax,-0x54(%ebp)               
  1079b3:	e8 40 f9 ff ff       	call   1072f8 <rtems_filesystem_freenode>
  1079b8:	83 c4 10             	add    $0x10,%esp                     
  1079bb:	8b 45 ac             	mov    -0x54(%ebp),%eax               
                                                                      
  return -1;                                                          
}                                                                     
  1079be:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1079c1:	5b                   	pop    %ebx                           
  1079c2:	5e                   	pop    %esi                           
  1079c3:	5f                   	pop    %edi                           
  1079c4:	c9                   	leave                                 
  1079c5:	c3                   	ret                                   
                                                                      

00107a21 <newlib_create_hook>: */ bool newlib_create_hook( rtems_tcb *current_task __attribute__((unused)), rtems_tcb *creating_task ) {
  107a21:	55                   	push   %ebp                           
  107a22:	89 e5                	mov    %esp,%ebp                      
  107a24:	57                   	push   %edi                           
  107a25:	56                   	push   %esi                           
  107a26:	53                   	push   %ebx                           
  107a27:	83 ec 1c             	sub    $0x1c,%esp                     
  struct _reent *ptr;                                                 
                                                                      
  if (_Thread_libc_reent == 0)                                        
  107a2a:	83 3d 6c 42 12 00 00 	cmpl   $0x0,0x12426c                  
  107a31:	75 14                	jne    107a47 <newlib_create_hook+0x26>
  {                                                                   
    _REENT = _global_impure_ptr;                                      
  107a33:	a1 20 f3 11 00       	mov    0x11f320,%eax                  
  107a38:	a3 20 20 12 00       	mov    %eax,0x122020                  
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Set_libc_reent (                    
  struct _reent **libc_reent                                          
)                                                                     
{                                                                     
  _Thread_libc_reent = libc_reent;                                    
  107a3d:	c7 05 6c 42 12 00 20 	movl   $0x122020,0x12426c             
  107a44:	20 12 00                                                    
    ptr = (struct _reent *) calloc(1, sizeof(struct _reent));         
  #else                                                               
    /* It is OK to allocate from the workspace because these          
     * hooks run with thread dispatching disabled.                    
     */                                                               
    ptr = (struct _reent *) _Workspace_Allocate(sizeof(struct _reent));
  107a47:	83 ec 0c             	sub    $0xc,%esp                      
  107a4a:	68 24 04 00 00       	push   $0x424                         
  107a4f:	e8 0e 55 00 00       	call   10cf62 <_Workspace_Allocate>   
  107a54:	89 c2                	mov    %eax,%edx                      
  #endif                                                              
                                                                      
  if (ptr) {                                                          
  107a56:	83 c4 10             	add    $0x10,%esp                     
    _REENT_INIT_PTR((ptr)); /* GCC extension: structure constants */  
    creating_task->libc_reent = ptr;                                  
    return TRUE;                                                      
  }                                                                   
                                                                      
  return FALSE;                                                       
  107a59:	31 c0                	xor    %eax,%eax                      
     * hooks run with thread dispatching disabled.                    
     */                                                               
    ptr = (struct _reent *) _Workspace_Allocate(sizeof(struct _reent));
  #endif                                                              
                                                                      
  if (ptr) {                                                          
  107a5b:	85 d2                	test   %edx,%edx                      
  107a5d:	0f 84 28 02 00 00    	je     107c8b <newlib_create_hook+0x26a><== NEVER TAKEN
    _REENT_INIT_PTR((ptr)); /* GCC extension: structure constants */  
  107a63:	c7 02 00 00 00 00    	movl   $0x0,(%edx)                    
  107a69:	8d b2 ec 02 00 00    	lea    0x2ec(%edx),%esi               
  107a6f:	89 72 04             	mov    %esi,0x4(%edx)                 
  107a72:	8d 8a 54 03 00 00    	lea    0x354(%edx),%ecx               
  107a78:	89 4a 08             	mov    %ecx,0x8(%edx)                 
  107a7b:	8d 8a bc 03 00 00    	lea    0x3bc(%edx),%ecx               
  107a81:	89 4a 0c             	mov    %ecx,0xc(%edx)                 
  107a84:	c7 42 10 00 00 00 00 	movl   $0x0,0x10(%edx)                
  107a8b:	8d 4a 14             	lea    0x14(%edx),%ecx                
  107a8e:	bb 19 00 00 00       	mov    $0x19,%ebx                     
  107a93:	89 cf                	mov    %ecx,%edi                      
  107a95:	89 d9                	mov    %ebx,%ecx                      
  107a97:	f3 aa                	rep stos %al,%es:(%edi)               
  107a99:	89 cb                	mov    %ecx,%ebx                      
  107a9b:	c7 42 30 00 00 00 00 	movl   $0x0,0x30(%edx)                
  107aa2:	c7 42 34 fe e5 11 00 	movl   $0x11e5fe,0x34(%edx)           
  107aa9:	c7 42 38 00 00 00 00 	movl   $0x0,0x38(%edx)                
  107ab0:	c7 42 3c 00 00 00 00 	movl   $0x0,0x3c(%edx)                
  107ab7:	c7 42 40 00 00 00 00 	movl   $0x0,0x40(%edx)                
  107abe:	c7 42 44 00 00 00 00 	movl   $0x0,0x44(%edx)                
  107ac5:	c7 42 48 00 00 00 00 	movl   $0x0,0x48(%edx)                
  107acc:	c7 42 4c 00 00 00 00 	movl   $0x0,0x4c(%edx)                
  107ad3:	c7 42 50 00 00 00 00 	movl   $0x0,0x50(%edx)                
  107ada:	c7 42 54 00 00 00 00 	movl   $0x0,0x54(%edx)                
  107ae1:	c7 42 58 00 00 00 00 	movl   $0x0,0x58(%edx)                
  107ae8:	c7 42 5c 00 00 00 00 	movl   $0x0,0x5c(%edx)                
  107aef:	c6 42 60 00          	movb   $0x0,0x60(%edx)                
  107af3:	8d 42 7c             	lea    0x7c(%edx),%eax                
  107af6:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  107af9:	b1 09                	mov    $0x9,%cl                       
  107afb:	89 c7                	mov    %eax,%edi                      
  107afd:	89 d8                	mov    %ebx,%eax                      
  107aff:	f3 ab                	rep stos %eax,%es:(%edi)              
  107b01:	c7 82 a0 00 00 00 00 	movl   $0x0,0xa0(%edx)                
  107b08:	00 00 00                                                    
  107b0b:	c7 82 a4 00 00 00 01 	movl   $0x1,0xa4(%edx)                
  107b12:	00 00 00                                                    
  107b15:	c7 82 a8 00 00 00 00 	movl   $0x0,0xa8(%edx)                
  107b1c:	00 00 00                                                    
  107b1f:	66 c7 82 ac 00 00 00 	movw   $0x330e,0xac(%edx)             
  107b26:	0e 33                                                       
  107b28:	66 c7 82 ae 00 00 00 	movw   $0xabcd,0xae(%edx)             
  107b2f:	cd ab                                                       
  107b31:	66 c7 82 b0 00 00 00 	movw   $0x1234,0xb0(%edx)             
  107b38:	34 12                                                       
  107b3a:	66 c7 82 b2 00 00 00 	movw   $0xe66d,0xb2(%edx)             
  107b41:	6d e6                                                       
  107b43:	66 c7 82 b4 00 00 00 	movw   $0xdeec,0xb4(%edx)             
  107b4a:	ec de                                                       
  107b4c:	66 c7 82 b6 00 00 00 	movw   $0x5,0xb6(%edx)                
  107b53:	05 00                                                       
  107b55:	66 c7 82 b8 00 00 00 	movw   $0xb,0xb8(%edx)                
  107b5c:	0b 00                                                       
  107b5e:	c7 82 bc 00 00 00 00 	movl   $0x0,0xbc(%edx)                
  107b65:	00 00 00                                                    
  107b68:	c7 82 c0 00 00 00 00 	movl   $0x0,0xc0(%edx)                
  107b6f:	00 00 00                                                    
  107b72:	c7 82 c4 00 00 00 00 	movl   $0x0,0xc4(%edx)                
  107b79:	00 00 00                                                    
  107b7c:	c7 82 c8 00 00 00 00 	movl   $0x0,0xc8(%edx)                
  107b83:	00 00 00                                                    
  107b86:	c7 82 cc 00 00 00 00 	movl   $0x0,0xcc(%edx)                
  107b8d:	00 00 00                                                    
  107b90:	c7 82 d0 00 00 00 00 	movl   $0x0,0xd0(%edx)                
  107b97:	00 00 00                                                    
  107b9a:	c7 82 f8 00 00 00 00 	movl   $0x0,0xf8(%edx)                
  107ba1:	00 00 00                                                    
  107ba4:	c7 82 fc 00 00 00 00 	movl   $0x0,0xfc(%edx)                
  107bab:	00 00 00                                                    
  107bae:	c7 82 00 01 00 00 00 	movl   $0x0,0x100(%edx)               
  107bb5:	00 00 00                                                    
  107bb8:	c7 82 04 01 00 00 00 	movl   $0x0,0x104(%edx)               
  107bbf:	00 00 00                                                    
  107bc2:	c7 82 08 01 00 00 00 	movl   $0x0,0x108(%edx)               
  107bc9:	00 00 00                                                    
  107bcc:	c7 82 0c 01 00 00 00 	movl   $0x0,0x10c(%edx)               
  107bd3:	00 00 00                                                    
  107bd6:	c7 82 10 01 00 00 00 	movl   $0x0,0x110(%edx)               
  107bdd:	00 00 00                                                    
  107be0:	c7 82 14 01 00 00 00 	movl   $0x0,0x114(%edx)               
  107be7:	00 00 00                                                    
  107bea:	c7 82 18 01 00 00 00 	movl   $0x0,0x118(%edx)               
  107bf1:	00 00 00                                                    
  107bf4:	c7 82 1c 01 00 00 00 	movl   $0x0,0x11c(%edx)               
  107bfb:	00 00 00                                                    
  107bfe:	c6 82 d4 00 00 00 00 	movb   $0x0,0xd4(%edx)                
  107c05:	c6 82 dc 00 00 00 00 	movb   $0x0,0xdc(%edx)                
  107c0c:	c7 82 f4 00 00 00 00 	movl   $0x0,0xf4(%edx)                
  107c13:	00 00 00                                                    
  107c16:	c7 82 48 01 00 00 00 	movl   $0x0,0x148(%edx)               
  107c1d:	00 00 00                                                    
  107c20:	c7 82 4c 01 00 00 00 	movl   $0x0,0x14c(%edx)               
  107c27:	00 00 00                                                    
  107c2a:	c7 82 50 01 00 00 00 	movl   $0x0,0x150(%edx)               
  107c31:	00 00 00                                                    
  107c34:	c7 82 54 01 00 00 00 	movl   $0x0,0x154(%edx)               
  107c3b:	00 00 00                                                    
  107c3e:	c7 82 d4 02 00 00 00 	movl   $0x0,0x2d4(%edx)               
  107c45:	00 00 00                                                    
  107c48:	c7 82 d4 01 00 00 00 	movl   $0x0,0x1d4(%edx)               
  107c4f:	00 00 00                                                    
  107c52:	c7 82 dc 02 00 00 00 	movl   $0x0,0x2dc(%edx)               
  107c59:	00 00 00                                                    
  107c5c:	c7 82 e0 02 00 00 00 	movl   $0x0,0x2e0(%edx)               
  107c63:	00 00 00                                                    
  107c66:	c7 82 e4 02 00 00 00 	movl   $0x0,0x2e4(%edx)               
  107c6d:	00 00 00                                                    
  107c70:	c7 82 e8 02 00 00 00 	movl   $0x0,0x2e8(%edx)               
  107c77:	00 00 00                                                    
  107c7a:	b1 4e                	mov    $0x4e,%cl                      
  107c7c:	89 f7                	mov    %esi,%edi                      
  107c7e:	f3 ab                	rep stos %eax,%es:(%edi)              
    creating_task->libc_reent = ptr;                                  
  107c80:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  107c83:	89 90 f0 00 00 00    	mov    %edx,0xf0(%eax)                
    return TRUE;                                                      
  107c89:	b0 01                	mov    $0x1,%al                       
  }                                                                   
                                                                      
  return FALSE;                                                       
}                                                                     
  107c8b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107c8e:	5b                   	pop    %ebx                           
  107c8f:	5e                   	pop    %esi                           
  107c90:	5f                   	pop    %edi                           
  107c91:	c9                   	leave                                 
  107c92:	c3                   	ret                                   
                                                                      

00107c93 <newlib_delete_hook>: void newlib_delete_hook( rtems_tcb *current_task, rtems_tcb *deleted_task ) {
  107c93:	55                   	push   %ebp                           
  107c94:	89 e5                	mov    %esp,%ebp                      
  107c96:	57                   	push   %edi                           
  107c97:	56                   	push   %esi                           
  107c98:	53                   	push   %ebx                           
  107c99:	83 ec 0c             	sub    $0xc,%esp                      
  107c9c:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  107c9f:	8b 75 0c             	mov    0xc(%ebp),%esi                 
                                                                      
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
  107ca2:	39 f7                	cmp    %esi,%edi                      
  107ca4:	75 08                	jne    107cae <newlib_delete_hook+0x1b>
    ptr = _REENT;                                                     
  107ca6:	8b 1d 20 20 12 00    	mov    0x122020,%ebx                  
  107cac:	eb 06                	jmp    107cb4 <newlib_delete_hook+0x21>
  } else {                                                            
    ptr = deleted_task->libc_reent;                                   
  107cae:	8b 9e f0 00 00 00    	mov    0xf0(%esi),%ebx                
  }                                                                   
                                                                      
  if (ptr && ptr != _global_impure_ptr) {                             
  107cb4:	85 db                	test   %ebx,%ebx                      
  107cb6:	74 20                	je     107cd8 <newlib_delete_hook+0x45><== NEVER TAKEN
  107cb8:	3b 1d 20 f3 11 00    	cmp    0x11f320,%ebx                  
  107cbe:	74 18                	je     107cd8 <newlib_delete_hook+0x45>
    _reclaim_reent(ptr);                                              
*/                                                                    
    /*                                                                
     *  Just in case there are some buffers lying around.             
     */                                                               
    _fwalk(ptr, newlib_free_buffers);                                 
  107cc0:	50                   	push   %eax                           
  107cc1:	50                   	push   %eax                           
  107cc2:	68 d0 79 10 00       	push   $0x1079d0                      
  107cc7:	53                   	push   %ebx                           
  107cc8:	e8 57 9c 00 00       	call   111924 <_fwalk>                
#if REENT_MALLOCED                                                    
    free(ptr);                                                        
#else                                                                 
    _Workspace_Free(ptr);                                             
  107ccd:	89 1c 24             	mov    %ebx,(%esp)                    
  107cd0:	e8 a6 52 00 00       	call   10cf7b <_Workspace_Free>       
  107cd5:	83 c4 10             	add    $0x10,%esp                     
#endif                                                                
  }                                                                   
                                                                      
  deleted_task->libc_reent = NULL;                                    
  107cd8:	c7 86 f0 00 00 00 00 	movl   $0x0,0xf0(%esi)                
  107cdf:	00 00 00                                                    
                                                                      
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
  107ce2:	39 f7                	cmp    %esi,%edi                      
  107ce4:	75 0a                	jne    107cf0 <newlib_delete_hook+0x5d>
    _REENT = 0;                                                       
  107ce6:	c7 05 20 20 12 00 00 	movl   $0x0,0x122020                  
  107ced:	00 00 00                                                    
  }                                                                   
}                                                                     
  107cf0:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107cf3:	5b                   	pop    %ebx                           
  107cf4:	5e                   	pop    %esi                           
  107cf5:	5f                   	pop    %edi                           
  107cf6:	c9                   	leave                                 
  107cf7:	c3                   	ret                                   
                                                                      

001079d0 <newlib_free_buffers>: */ int newlib_free_buffers( FILE *fp ) {
  1079d0:	55                   	push   %ebp                           
  1079d1:	89 e5                	mov    %esp,%ebp                      
  1079d3:	53                   	push   %ebx                           
  1079d4:	83 ec 10             	sub    $0x10,%esp                     
  1079d7:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  switch ( fileno(fp) ) {                                             
  1079da:	53                   	push   %ebx                           
  1079db:	e8 30 9b 00 00       	call   111510 <fileno>                
  1079e0:	83 c4 10             	add    $0x10,%esp                     
  1079e3:	83 f8 02             	cmp    $0x2,%eax                      
  1079e6:	77 26                	ja     107a0e <newlib_free_buffers+0x3e><== NEVER TAKEN
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
  1079e8:	f6 43 0c 80          	testb  $0x80,0xc(%ebx)                
  1079ec:	74 2c                	je     107a1a <newlib_free_buffers+0x4a><== ALWAYS TAKEN
        free( fp->_bf._base );                                        
  1079ee:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1079f1:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  1079f4:	e8 13 f9 ff ff       	call   10730c <free>                  <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
  1079f9:	66 81 63 0c 7f ff    	andw   $0xff7f,0xc(%ebx)              <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
  1079ff:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    <== NOT EXECUTED
  107a05:	c7 43 10 00 00 00 00 	movl   $0x0,0x10(%ebx)                <== NOT EXECUTED
  107a0c:	eb 09                	jmp    107a17 <newlib_free_buffers+0x47><== NOT EXECUTED
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  107a0e:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  107a11:	53                   	push   %ebx                           <== NOT EXECUTED
  107a12:	e8 7d 98 00 00       	call   111294 <fclose>                <== NOT EXECUTED
  107a17:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
  107a1a:	31 c0                	xor    %eax,%eax                      
  107a1c:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  107a1f:	c9                   	leave                                 
  107a20:	c3                   	ret                                   
                                                                      

00107548 <null_initialize>: rtems_device_driver null_initialize( rtems_device_major_number major, rtems_device_minor_number minor __attribute__((unused)), void *pargp __attribute__((unused)) ) {
  107548:	55                   	push   %ebp                           
  107549:	89 e5                	mov    %esp,%ebp                      
  10754b:	53                   	push   %ebx                           
  10754c:	83 ec 04             	sub    $0x4,%esp                      
  10754f:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
  107552:	80 3d 24 6e 12 00 00 	cmpb   $0x0,0x126e24                  
  107559:	75 2b                	jne    107586 <null_initialize+0x3e>  
    initialized = 1;                                                  
  10755b:	c6 05 24 6e 12 00 01 	movb   $0x1,0x126e24                  
                                                                      
    status = rtems_io_register_name(                                  
  107562:	50                   	push   %eax                           
  107563:	6a 00                	push   $0x0                           
  107565:	53                   	push   %ebx                           
  107566:	68 07 04 12 00       	push   $0x120407                      
  10756b:	e8 0c 05 00 00       	call   107a7c <rtems_io_register_name>
      "/dev/null",                                                    
      major,                                                          
      (rtems_device_minor_number) 0                                   
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
  107570:	83 c4 10             	add    $0x10,%esp                     
  107573:	85 c0                	test   %eax,%eax                      
  107575:	74 09                	je     107580 <null_initialize+0x38>  <== ALWAYS TAKEN
      rtems_fatal_error_occurred(status);                             
  107577:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10757a:	50                   	push   %eax                           <== NOT EXECUTED
  10757b:	e8 94 3f 00 00       	call   10b514 <rtems_fatal_error_occurred><== NOT EXECUTED
                                                                      
    NULL_major = major;                                               
  107580:	89 1d 50 71 12 00    	mov    %ebx,0x127150                  
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  107586:	31 c0                	xor    %eax,%eax                      
  107588:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10758b:	c9                   	leave                                 
  10758c:	c3                   	ret                                   
                                                                      

001075a2 <null_write>: rtems_device_driver null_write( rtems_device_major_number major __attribute__((unused)), rtems_device_minor_number minor __attribute__((unused)), void *pargp ) {
  1075a2:	55                   	push   %ebp                           
  1075a3:	89 e5                	mov    %esp,%ebp                      
  1075a5:	8b 45 10             	mov    0x10(%ebp),%eax                
  rtems_libio_rw_args_t *rw_args = (rtems_libio_rw_args_t *) pargp;   
                                                                      
  if ( rw_args )                                                      
  1075a8:	85 c0                	test   %eax,%eax                      
  1075aa:	74 06                	je     1075b2 <null_write+0x10>       <== ALWAYS TAKEN
    rw_args->bytes_moved = rw_args->count;                            
  1075ac:	8b 50 10             	mov    0x10(%eax),%edx                <== NOT EXECUTED
  1075af:	89 50 18             	mov    %edx,0x18(%eax)                <== NOT EXECUTED
                                                                      
  return NULL_SUCCESSFUL;                                             
}                                                                     
  1075b2:	31 c0                	xor    %eax,%eax                      
  1075b4:	c9                   	leave                                 
  1075b5:	c3                   	ret                                   
                                                                      

00107d58 <open>: int open( const char *pathname, int flags, ... ) {
  107d58:	55                   	push   %ebp                           
  107d59:	89 e5                	mov    %esp,%ebp                      
  107d5b:	57                   	push   %edi                           
  107d5c:	56                   	push   %esi                           
  107d5d:	53                   	push   %ebx                           
  107d5e:	83 ec 3c             	sub    $0x3c,%esp                     
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
                                                                      
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
  107d61:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  107d64:	40                   	inc    %eax                           
  if ( ( status & _FREAD ) == _FREAD )                                
  107d65:	89 c6                	mov    %eax,%esi                      
  107d67:	83 e6 01             	and    $0x1,%esi                      
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
  107d6a:	f7 de                	neg    %esi                           
  107d6c:	83 e6 04             	and    $0x4,%esi                      
  if ( ( status & _FWRITE ) == _FWRITE )                              
  107d6f:	a8 02                	test   $0x2,%al                       
  107d71:	74 03                	je     107d76 <open+0x1e>             
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
  107d73:	83 ce 02             	or     $0x2,%esi                      
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
  107d76:	8b 45 10             	mov    0x10(%ebp),%eax                
  107d79:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
   *             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();                                       
  107d7c:	e8 1e 63 00 00       	call   10e09f <rtems_libio_allocate>  
  107d81:	89 c3                	mov    %eax,%ebx                      
  if ( iop == 0 ) {                                                   
  107d83:	85 c0                	test   %eax,%eax                      
  107d85:	0f 84 4f 01 00 00    	je     107eda <open+0x182>            
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
  107d8b:	83 c9 ff             	or     $0xffffffff,%ecx               
  107d8e:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  107d91:	31 c0                	xor    %eax,%eax                      
  107d93:	f2 ae                	repnz scas %es:(%edi),%al             
  107d95:	f7 d1                	not    %ecx                           
  107d97:	49                   	dec    %ecx                           
  107d98:	83 ec 0c             	sub    $0xc,%esp                      
  107d9b:	6a 01                	push   $0x1                           
  107d9d:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  107da0:	50                   	push   %eax                           
  107da1:	56                   	push   %esi                           
  107da2:	51                   	push   %ecx                           
  107da3:	ff 75 08             	pushl  0x8(%ebp)                      
  107da6:	e8 66 f4 ff ff       	call   107211 <rtems_filesystem_evaluate_path>
  107dab:	89 c6                	mov    %eax,%esi                      
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
  107dad:	83 c4 20             	add    $0x20,%esp                     
  107db0:	83 f8 ff             	cmp    $0xffffffff,%eax               
  107db3:	75 6c                	jne    107e21 <open+0xc9>             
    if ( errno != ENOENT ) {                                          
  107db5:	e8 82 93 00 00       	call   11113c <__errno>               
  107dba:	83 38 02             	cmpl   $0x2,(%eax)                    
  107dbd:	75 27                	jne    107de6 <open+0x8e>             
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
  107dbf:	f7 45 0c 00 02 00 00 	testl  $0x200,0xc(%ebp)               
  107dc6:	0f 84 15 01 00 00    	je     107ee1 <open+0x189>            
      rc = ENOENT;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
  107dcc:	6a 00                	push   $0x0                           
  107dce:	6a 00                	push   $0x0                           
  107dd0:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  107dd3:	80 cc 80             	or     $0x80,%ah                      
  107dd6:	50                   	push   %eax                           
  107dd7:	ff 75 08             	pushl  0x8(%ebp)                      
  107dda:	e8 85 f8 ff ff       	call   107664 <mknod>                 
    if ( rc ) {                                                       
  107ddf:	83 c4 10             	add    $0x10,%esp                     
  107de2:	85 c0                	test   %eax,%eax                      
  107de4:	74 0e                	je     107df4 <open+0x9c>             <== ALWAYS TAKEN
      rc = errno;                                                     
  107de6:	e8 51 93 00 00       	call   11113c <__errno>               
  107deb:	8b 30                	mov    (%eax),%esi                    
  int                                 mode;                           
  int                                 rc;                             
  rtems_libio_t                      *iop = 0;                        
  int                                 status;                         
  rtems_filesystem_location_info_t    loc;                            
  rtems_filesystem_location_info_t   *loc_to_free = NULL;             
  107ded:	31 ff                	xor    %edi,%edi                      
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
    if ( rc ) {                                                       
      rc = errno;                                                     
      goto done;                                                      
  107def:	e9 09 01 00 00       	jmp    107efd <open+0x1a5>            
    }                                                                 
                                                                      
    /* Sanity check to see if the file name exists after the mknod() */
    status = rtems_filesystem_evaluate_path( pathname, strlen( pathname ), 0x0, &loc, true );
  107df4:	89 f1                	mov    %esi,%ecx                      
  107df6:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  107df9:	31 c0                	xor    %eax,%eax                      
  107dfb:	f2 ae                	repnz scas %es:(%edi),%al             
  107dfd:	f7 d1                	not    %ecx                           
  107dff:	49                   	dec    %ecx                           
  107e00:	83 ec 0c             	sub    $0xc,%esp                      
  107e03:	6a 01                	push   $0x1                           
  107e05:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  107e08:	50                   	push   %eax                           
  107e09:	6a 00                	push   $0x0                           
  107e0b:	51                   	push   %ecx                           
  107e0c:	ff 75 08             	pushl  0x8(%ebp)                      
  107e0f:	e8 fd f3 ff ff       	call   107211 <rtems_filesystem_evaluate_path>
    if ( status != 0 ) {   /* The file did not exist */               
  107e14:	83 c4 20             	add    $0x20,%esp                     
  107e17:	85 c0                	test   %eax,%eax                      
  107e19:	0f 85 cb 00 00 00    	jne    107eea <open+0x192>            <== NEVER TAKEN
  107e1f:	eb 13                	jmp    107e34 <open+0xdc>             
      rc = EACCES;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
  107e21:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  107e24:	25 00 0a 00 00       	and    $0xa00,%eax                    
  107e29:	3d 00 0a 00 00       	cmp    $0xa00,%eax                    
  107e2e:	0f 84 bf 00 00 00    	je     107ef3 <open+0x19b>            
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  107e34:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  107e37:	89 43 3c             	mov    %eax,0x3c(%ebx)                
  iop->file_info  = loc.node_access;                                  
  107e3a:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  107e3d:	89 43 38             	mov    %eax,0x38(%ebx)                
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  107e40:	8b 73 14             	mov    0x14(%ebx),%esi                
  107e43:	83 ec 0c             	sub    $0xc,%esp                      
  107e46:	ff 75 0c             	pushl  0xc(%ebp)                      
  107e49:	e8 de 61 00 00       	call   10e02c <rtems_libio_fcntl_flags>
  107e4e:	09 f0                	or     %esi,%eax                      
  107e50:	89 43 14             	mov    %eax,0x14(%ebx)                
  iop->pathinfo   = loc;                                              
  107e53:	8d 7b 18             	lea    0x18(%ebx),%edi                
  107e56:	8d 75 d4             	lea    -0x2c(%ebp),%esi               
  107e59:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  107e5e:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  rc = (*iop->handlers->open_h)( iop, pathname, flags, mode );        
  107e60:	8b 43 3c             	mov    0x3c(%ebx),%eax                
  107e63:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  107e66:	ff 75 0c             	pushl  0xc(%ebp)                      
  107e69:	ff 75 08             	pushl  0x8(%ebp)                      
  107e6c:	53                   	push   %ebx                           
  107e6d:	ff 10                	call   *(%eax)                        
  if ( rc ) {                                                         
  107e6f:	83 c4 20             	add    $0x20,%esp                     
  107e72:	85 c0                	test   %eax,%eax                      
  107e74:	74 0c                	je     107e82 <open+0x12a>            
    rc = errno;                                                       
  107e76:	e8 c1 92 00 00       	call   11113c <__errno>               
  107e7b:	8b 30                	mov    (%eax),%esi                    
    rc = EEXIST;                                                      
    loc_to_free = &loc;                                               
    goto done;                                                        
  }                                                                   
                                                                      
  loc_to_free = &loc;                                                 
  107e7d:	8d 7d d4             	lea    -0x2c(%ebp),%edi               
  iop->pathinfo   = loc;                                              
                                                                      
  rc = (*iop->handlers->open_h)( iop, pathname, flags, mode );        
  if ( rc ) {                                                         
    rc = errno;                                                       
    goto done;                                                        
  107e80:	eb 7b                	jmp    107efd <open+0x1a5>            
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
  107e82:	f7 45 0c 00 04 00 00 	testl  $0x400,0xc(%ebp)               
  107e89:	0f 84 9e 00 00 00    	je     107f2d <open+0x1d5>            
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
  107e8f:	50                   	push   %eax                           
  107e90:	6a 00                	push   $0x0                           
  107e92:	6a 00                	push   $0x0                           
  107e94:	89 d8                	mov    %ebx,%eax                      
  107e96:	2b 05 98 40 12 00    	sub    0x124098,%eax                  
  107e9c:	c1 f8 06             	sar    $0x6,%eax                      
  107e9f:	50                   	push   %eax                           
  107ea0:	e8 9f 60 00 00       	call   10df44 <ftruncate>             
  107ea5:	89 c6                	mov    %eax,%esi                      
    if ( rc ) {                                                       
  107ea7:	83 c4 10             	add    $0x10,%esp                     
  107eaa:	85 c0                	test   %eax,%eax                      
  107eac:	74 7f                	je     107f2d <open+0x1d5>            <== ALWAYS TAKEN
      if(errno) rc = errno;                                           
  107eae:	e8 89 92 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  107eb3:	83 38 00             	cmpl   $0x0,(%eax)                    <== NOT EXECUTED
  107eb6:	74 07                	je     107ebf <open+0x167>            <== NOT EXECUTED
  107eb8:	e8 7f 92 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  107ebd:	8b 30                	mov    (%eax),%esi                    <== NOT EXECUTED
      close( iop - rtems_libio_iops );                                
  107ebf:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  107ec2:	2b 1d 98 40 12 00    	sub    0x124098,%ebx                  <== NOT EXECUTED
  107ec8:	c1 fb 06             	sar    $0x6,%ebx                      <== NOT EXECUTED
  107ecb:	53                   	push   %ebx                           <== NOT EXECUTED
  107ecc:	e8 03 60 00 00       	call   10ded4 <close>                 <== NOT EXECUTED
  107ed1:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
      /* those are released by close(): */                            
      iop = 0;                                                        
      loc_to_free = NULL;                                             
  107ed4:	31 ff                	xor    %edi,%edi                      <== NOT EXECUTED
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
      close( iop - rtems_libio_iops );                                
      /* those are released by close(): */                            
      iop = 0;                                                        
  107ed6:	31 db                	xor    %ebx,%ebx                      <== NOT EXECUTED
  107ed8:	eb 23                	jmp    107efd <open+0x1a5>            <== NOT EXECUTED
   */                                                                 
                                                                      
  /* allocate a file control block */                                 
  iop = rtems_libio_allocate();                                       
  if ( iop == 0 ) {                                                   
    rc = ENFILE;                                                      
  107eda:	be 17 00 00 00       	mov    $0x17,%esi                     
  107edf:	eb 40                	jmp    107f21 <open+0x1c9>            
  int                                 mode;                           
  int                                 rc;                             
  rtems_libio_t                      *iop = 0;                        
  int                                 status;                         
  rtems_filesystem_location_info_t    loc;                            
  rtems_filesystem_location_info_t   *loc_to_free = NULL;             
  107ee1:	31 ff                	xor    %edi,%edi                      
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
      rc = ENOENT;                                                    
  107ee3:	be 02 00 00 00       	mov    $0x2,%esi                      
  107ee8:	eb 17                	jmp    107f01 <open+0x1a9>            
  int                                 mode;                           
  int                                 rc;                             
  rtems_libio_t                      *iop = 0;                        
  int                                 status;                         
  rtems_filesystem_location_info_t    loc;                            
  rtems_filesystem_location_info_t   *loc_to_free = NULL;             
  107eea:	31 ff                	xor    %edi,%edi                      <== NOT EXECUTED
    }                                                                 
                                                                      
    /* Sanity check to see if the file name exists after the mknod() */
    status = rtems_filesystem_evaluate_path( pathname, strlen( pathname ), 0x0, &loc, true );
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
  107eec:	be 0d 00 00 00       	mov    $0xd,%esi                      <== NOT EXECUTED
  107ef1:	eb 0e                	jmp    107f01 <open+0x1a9>            <== NOT EXECUTED
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
    /* We were trying to create a file that already exists */         
    rc = EEXIST;                                                      
    loc_to_free = &loc;                                               
  107ef3:	8d 7d d4             	lea    -0x2c(%ebp),%edi               
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
    /* We were trying to create a file that already exists */         
    rc = EEXIST;                                                      
  107ef6:	be 11 00 00 00       	mov    $0x11,%esi                     
  107efb:	eb 04                	jmp    107f01 <open+0x1a9>            
   */                                                                 
                                                                      
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
  107efd:	85 f6                	test   %esi,%esi                      
  107eff:	74 2c                	je     107f2d <open+0x1d5>            <== NEVER TAKEN
    if ( iop )                                                        
  107f01:	85 db                	test   %ebx,%ebx                      
  107f03:	74 0c                	je     107f11 <open+0x1b9>            <== NEVER TAKEN
      rtems_libio_free( iop );                                        
  107f05:	83 ec 0c             	sub    $0xc,%esp                      
  107f08:	53                   	push   %ebx                           
  107f09:	e8 04 62 00 00       	call   10e112 <rtems_libio_free>      
  107f0e:	83 c4 10             	add    $0x10,%esp                     
    if ( loc_to_free )                                                
  107f11:	85 ff                	test   %edi,%edi                      
  107f13:	74 0c                	je     107f21 <open+0x1c9>            
      rtems_filesystem_freenode( loc_to_free );                       
  107f15:	83 ec 0c             	sub    $0xc,%esp                      
  107f18:	57                   	push   %edi                           
  107f19:	e8 da f3 ff ff       	call   1072f8 <rtems_filesystem_freenode>
  107f1e:	83 c4 10             	add    $0x10,%esp                     
    rtems_set_errno_and_return_minus_one( rc );                       
  107f21:	e8 16 92 00 00       	call   11113c <__errno>               
  107f26:	89 30                	mov    %esi,(%eax)                    
  107f28:	83 c8 ff             	or     $0xffffffff,%eax               
  107f2b:	eb 0b                	jmp    107f38 <open+0x1e0>            
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
  107f2d:	89 d8                	mov    %ebx,%eax                      
  107f2f:	2b 05 98 40 12 00    	sub    0x124098,%eax                  
  107f35:	c1 f8 06             	sar    $0x6,%eax                      
}                                                                     
  107f38:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107f3b:	5b                   	pop    %ebx                           
  107f3c:	5e                   	pop    %esi                           
  107f3d:	5f                   	pop    %edi                           
  107f3e:	c9                   	leave                                 
  107f3f:	c3                   	ret                                   
                                                                      

00108ba3 <oproc>: /* * Handle output processing */ static void oproc (unsigned char c, struct rtems_termios_tty *tty) {
  108ba3:	55                   	push   %ebp                           
  108ba4:	89 e5                	mov    %esp,%ebp                      
  108ba6:	56                   	push   %esi                           
  108ba7:	53                   	push   %ebx                           
  108ba8:	83 ec 10             	sub    $0x10,%esp                     
  108bab:	89 d3                	mov    %edx,%ebx                      
  108bad:	88 45 f4             	mov    %al,-0xc(%ebp)                 
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
  108bb0:	8b 52 34             	mov    0x34(%edx),%edx                
  108bb3:	f6 c2 01             	test   $0x1,%dl                       
  108bb6:	0f 84 ed 00 00 00    	je     108ca9 <oproc+0x106>           <== NEVER TAKEN
    switch (c) {                                                      
  108bbc:	3c 09                	cmp    $0x9,%al                       
  108bbe:	74 75                	je     108c35 <oproc+0x92>            
  108bc0:	77 0d                	ja     108bcf <oproc+0x2c>            <== ALWAYS TAKEN
  108bc2:	3c 08                	cmp    $0x8,%al                       <== NOT EXECUTED
  108bc4:	0f 85 aa 00 00 00    	jne    108c74 <oproc+0xd1>            <== NOT EXECUTED
  108bca:	e9 98 00 00 00       	jmp    108c67 <oproc+0xc4>            <== NOT EXECUTED
  108bcf:	3c 0a                	cmp    $0xa,%al                       
  108bd1:	74 0a                	je     108bdd <oproc+0x3a>            
  108bd3:	3c 0d                	cmp    $0xd,%al                       
  108bd5:	0f 85 99 00 00 00    	jne    108c74 <oproc+0xd1>            <== ALWAYS TAKEN
  108bdb:	eb 32                	jmp    108c0f <oproc+0x6c>            <== NOT EXECUTED
    case '\n':                                                        
      if (tty->termios.c_oflag & ONLRET)                              
  108bdd:	f6 c2 20             	test   $0x20,%dl                      
  108be0:	74 07                	je     108be9 <oproc+0x46>            <== ALWAYS TAKEN
        tty->column = 0;                                              
  108be2:	c7 43 28 00 00 00 00 	movl   $0x0,0x28(%ebx)                <== NOT EXECUTED
      if (tty->termios.c_oflag & ONLCR) {                             
  108be9:	80 e2 04             	and    $0x4,%dl                       
  108bec:	0f 84 b7 00 00 00    	je     108ca9 <oproc+0x106>           <== NEVER TAKEN
        rtems_termios_puts ("\r", 1, tty);                            
  108bf2:	56                   	push   %esi                           
  108bf3:	53                   	push   %ebx                           
  108bf4:	6a 01                	push   $0x1                           
  108bf6:	68 18 e9 11 00       	push   $0x11e918                      
  108bfb:	e8 83 fe ff ff       	call   108a83 <rtems_termios_puts>    
        tty->column = 0;                                              
  108c00:	c7 43 28 00 00 00 00 	movl   $0x0,0x28(%ebx)                
  108c07:	83 c4 10             	add    $0x10,%esp                     
  108c0a:	e9 9a 00 00 00       	jmp    108ca9 <oproc+0x106>           
      }                                                               
      break;                                                          
                                                                      
    case '\r':                                                        
      if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))       
  108c0f:	f6 c2 10             	test   $0x10,%dl                      <== NOT EXECUTED
  108c12:	74 0a                	je     108c1e <oproc+0x7b>            <== NOT EXECUTED
  108c14:	83 7b 28 00          	cmpl   $0x0,0x28(%ebx)                <== NOT EXECUTED
  108c18:	0f 84 9b 00 00 00    	je     108cb9 <oproc+0x116>           <== NOT EXECUTED
        return;                                                       
      if (tty->termios.c_oflag & OCRNL) {                             
  108c1e:	f6 c2 08             	test   $0x8,%dl                       <== NOT EXECUTED
  108c21:	74 09                	je     108c2c <oproc+0x89>            <== NOT EXECUTED
        c = '\n';                                                     
  108c23:	c6 45 f4 0a          	movb   $0xa,-0xc(%ebp)                <== NOT EXECUTED
        if (tty->termios.c_oflag & ONLRET)                            
  108c27:	80 e2 20             	and    $0x20,%dl                      <== NOT EXECUTED
  108c2a:	74 7d                	je     108ca9 <oproc+0x106>           <== NOT EXECUTED
          tty->column = 0;                                            
        break;                                                        
      }                                                               
      tty->column = 0;                                                
  108c2c:	c7 43 28 00 00 00 00 	movl   $0x0,0x28(%ebx)                <== NOT EXECUTED
      break;                                                          
  108c33:	eb 74                	jmp    108ca9 <oproc+0x106>           <== NOT EXECUTED
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
  108c35:	8b 4b 28             	mov    0x28(%ebx),%ecx                
  108c38:	89 ce                	mov    %ecx,%esi                      
  108c3a:	83 e6 07             	and    $0x7,%esi                      
  108c3d:	b8 08 00 00 00       	mov    $0x8,%eax                      
  108c42:	29 f0                	sub    %esi,%eax                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
  108c44:	81 e2 00 18 00 00    	and    $0x1800,%edx                   
  108c4a:	81 fa 00 18 00 00    	cmp    $0x1800,%edx                   
  108c50:	8d 14 08             	lea    (%eax,%ecx,1),%edx             
  108c53:	75 0d                	jne    108c62 <oproc+0xbf>            <== NEVER TAKEN
        tty->column += i;                                             
  108c55:	89 53 28             	mov    %edx,0x28(%ebx)                
        rtems_termios_puts ( "        ",  i, tty);                    
  108c58:	51                   	push   %ecx                           
  108c59:	53                   	push   %ebx                           
  108c5a:	50                   	push   %eax                           
  108c5b:	68 10 e5 11 00       	push   $0x11e510                      
  108c60:	eb 4f                	jmp    108cb1 <oproc+0x10e>           
        return;                                                       
      }                                                               
      tty->column += i;                                               
  108c62:	89 53 28             	mov    %edx,0x28(%ebx)                <== NOT EXECUTED
      break;                                                          
  108c65:	eb 42                	jmp    108ca9 <oproc+0x106>           <== NOT EXECUTED
                                                                      
    case '\b':                                                        
      if (tty->column > 0)                                            
  108c67:	8b 43 28             	mov    0x28(%ebx),%eax                <== NOT EXECUTED
  108c6a:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  108c6c:	7e 3b                	jle    108ca9 <oproc+0x106>           <== NOT EXECUTED
        tty->column--;                                                
  108c6e:	48                   	dec    %eax                           <== NOT EXECUTED
  108c6f:	89 43 28             	mov    %eax,0x28(%ebx)                <== NOT EXECUTED
  108c72:	eb 35                	jmp    108ca9 <oproc+0x106>           <== NOT EXECUTED
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
  108c74:	80 e2 02             	and    $0x2,%dl                       
  108c77:	74 1c                	je     108c95 <oproc+0xf2>            <== ALWAYS TAKEN
        c = toupper(c);                                               
  108c79:	0f b6 c0             	movzbl %al,%eax                       <== NOT EXECUTED
  108c7c:	8b 15 0c 20 12 00    	mov    0x12200c,%edx                  <== NOT EXECUTED
  108c82:	0f be 54 02 01       	movsbl 0x1(%edx,%eax,1),%edx          <== NOT EXECUTED
  108c87:	83 e2 03             	and    $0x3,%edx                      <== NOT EXECUTED
  108c8a:	83 fa 02             	cmp    $0x2,%edx                      <== NOT EXECUTED
  108c8d:	75 03                	jne    108c92 <oproc+0xef>            <== NOT EXECUTED
  108c8f:	83 e8 20             	sub    $0x20,%eax                     <== NOT EXECUTED
  108c92:	88 45 f4             	mov    %al,-0xc(%ebp)                 <== NOT EXECUTED
      if (!iscntrl(c))                                                
  108c95:	0f b6 45 f4          	movzbl -0xc(%ebp),%eax                
  108c99:	8b 15 0c 20 12 00    	mov    0x12200c,%edx                  
  108c9f:	f6 44 02 01 20       	testb  $0x20,0x1(%edx,%eax,1)         
  108ca4:	75 03                	jne    108ca9 <oproc+0x106>           <== NEVER TAKEN
        tty->column++;                                                
  108ca6:	ff 43 28             	incl   0x28(%ebx)                     
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
  108ca9:	52                   	push   %edx                           
  108caa:	53                   	push   %ebx                           
  108cab:	6a 01                	push   $0x1                           
  108cad:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  108cb0:	50                   	push   %eax                           
  108cb1:	e8 cd fd ff ff       	call   108a83 <rtems_termios_puts>    
  108cb6:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  108cb9:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  108cbc:	5b                   	pop    %ebx                           
  108cbd:	5e                   	pop    %esi                           
  108cbe:	c9                   	leave                                 
  108cbf:	c3                   	ret                                   
                                                                      

0010e4b0 <pipe_create>: * Called by pipe() to create an anonymous pipe. */ int pipe_create( int filsdes[2] ) {
  10e4b0:	55                   	push   %ebp                           
  10e4b1:	89 e5                	mov    %esp,%ebp                      
  10e4b3:	57                   	push   %edi                           
  10e4b4:	56                   	push   %esi                           
  10e4b5:	53                   	push   %ebx                           
  10e4b6:	83 ec 24             	sub    $0x24,%esp                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
  10e4b9:	68 ff 01 00 00       	push   $0x1ff                         
  10e4be:	68 c0 0a 12 00       	push   $0x120ac0                      
  10e4c3:	e8 e4 0f 00 00       	call   10f4ac <rtems_mkdir>           
  10e4c8:	83 c4 10             	add    $0x10,%esp                     
  10e4cb:	85 c0                	test   %eax,%eax                      
  10e4cd:	0f 85 d8 00 00 00    	jne    10e5ab <pipe_create+0xfb>      <== NEVER TAKEN
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
  10e4d3:	8d 5d d9             	lea    -0x27(%ebp),%ebx               
  10e4d6:	be c5 0a 12 00       	mov    $0x120ac5,%esi                 
  10e4db:	b9 0a 00 00 00       	mov    $0xa,%ecx                      
  10e4e0:	89 df                	mov    %ebx,%edi                      
  10e4e2:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
  10e4e4:	0f b7 05 9c 5e 12 00 	movzwl 0x125e9c,%eax                  
  10e4eb:	8d 50 01             	lea    0x1(%eax),%edx                 
  10e4ee:	66 89 15 9c 5e 12 00 	mov    %dx,0x125e9c                   
  10e4f5:	57                   	push   %edi                           
  10e4f6:	50                   	push   %eax                           
  10e4f7:	68 d0 0a 12 00       	push   $0x120ad0                      
  10e4fc:	8d 45 e3             	lea    -0x1d(%ebp),%eax               
  10e4ff:	50                   	push   %eax                           
  10e500:	e8 eb 54 00 00       	call   1139f0 <sprintf>               
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
  10e505:	59                   	pop    %ecx                           
  10e506:	5e                   	pop    %esi                           
  10e507:	68 80 01 00 00       	push   $0x180                         
  10e50c:	53                   	push   %ebx                           
  10e50d:	e8 5e 0d 00 00       	call   10f270 <mkfifo>                
  10e512:	83 c4 10             	add    $0x10,%esp                     
  10e515:	85 c0                	test   %eax,%eax                      
  10e517:	74 0a                	je     10e523 <pipe_create+0x73>      <== NEVER TAKEN
    if (errno != EEXIST){                                             
  10e519:	e8 c2 3e 00 00       	call   1123e0 <__errno>               
  10e51e:	e9 88 00 00 00       	jmp    10e5ab <pipe_create+0xfb>      
    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);                 
  10e523:	52                   	push   %edx                           <== NOT EXECUTED
  10e524:	52                   	push   %edx                           <== NOT EXECUTED
  10e525:	68 00 40 00 00       	push   $0x4000                        <== NOT EXECUTED
  10e52a:	53                   	push   %ebx                           <== NOT EXECUTED
  10e52b:	e8 f0 a6 ff ff       	call   108c20 <open>                  <== NOT EXECUTED
  10e530:	8b 55 08             	mov    0x8(%ebp),%edx                 <== NOT EXECUTED
  10e533:	89 02                	mov    %eax,(%edx)                    <== NOT EXECUTED
  if (filsdes[0] < 0) {                                               
  10e535:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10e538:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  10e53a:	79 0d                	jns    10e549 <pipe_create+0x99>      <== NOT EXECUTED
    err = errno;                                                      
  10e53c:	e8 9f 3e 00 00       	call   1123e0 <__errno>               <== NOT EXECUTED
  10e541:	8b 30                	mov    (%eax),%esi                    <== NOT EXECUTED
    /* Delete file at errors, or else if pipe is successfully created 
     the file node will be deleted after it is closed by all. */      
    unlink(fifopath);                                                 
  10e543:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10e546:	53                   	push   %ebx                           <== NOT EXECUTED
  10e547:	eb 53                	jmp    10e59c <pipe_create+0xec>      <== NOT EXECUTED
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
  10e549:	31 d2                	xor    %edx,%edx                      <== NOT EXECUTED
  10e54b:	3b 05 44 21 12 00    	cmp    0x122144,%eax                  <== NOT EXECUTED
  10e551:	73 0b                	jae    10e55e <pipe_create+0xae>      <== NOT EXECUTED
  10e553:	89 c2                	mov    %eax,%edx                      <== NOT EXECUTED
  10e555:	c1 e2 06             	shl    $0x6,%edx                      <== NOT EXECUTED
  10e558:	03 15 98 60 12 00    	add    0x126098,%edx                  <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
  10e55e:	83 62 14 fe          	andl   $0xfffffffe,0x14(%edx)         <== NOT EXECUTED
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
  10e562:	50                   	push   %eax                           <== NOT EXECUTED
  10e563:	50                   	push   %eax                           <== NOT EXECUTED
  10e564:	6a 01                	push   $0x1                           <== NOT EXECUTED
  10e566:	8d 45 d9             	lea    -0x27(%ebp),%eax               <== NOT EXECUTED
  10e569:	50                   	push   %eax                           <== NOT EXECUTED
  10e56a:	e8 b1 a6 ff ff       	call   108c20 <open>                  <== NOT EXECUTED
  10e56f:	8b 55 08             	mov    0x8(%ebp),%edx                 <== NOT EXECUTED
  10e572:	89 42 04             	mov    %eax,0x4(%edx)                 <== NOT EXECUTED
                                                                      
    if (filsdes[1] < 0) {                                             
  10e575:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
  10e578:	31 f6                	xor    %esi,%esi                      <== NOT EXECUTED
    iop = rtems_libio_iop(filsdes[0]);                                
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
                                                                      
    if (filsdes[1] < 0) {                                             
  10e57a:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  10e57c:	79 17                	jns    10e595 <pipe_create+0xe5>      <== NOT EXECUTED
    err = errno;                                                      
  10e57e:	e8 5d 3e 00 00       	call   1123e0 <__errno>               <== NOT EXECUTED
  10e583:	8b 30                	mov    (%eax),%esi                    <== NOT EXECUTED
    close(filsdes[0]);                                                
  10e585:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10e588:	8b 45 08             	mov    0x8(%ebp),%eax                 <== NOT EXECUTED
  10e58b:	ff 30                	pushl  (%eax)                         <== NOT EXECUTED
  10e58d:	e8 1a 94 ff ff       	call   1079ac <close>                 <== NOT EXECUTED
  10e592:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    }                                                                 
  unlink(fifopath);                                                   
  10e595:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10e598:	8d 45 d9             	lea    -0x27(%ebp),%eax               <== NOT EXECUTED
  10e59b:	50                   	push   %eax                           <== NOT EXECUTED
  10e59c:	e8 ab 10 00 00       	call   10f64c <unlink>                <== NOT EXECUTED
  10e5a1:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one(err);                          
  10e5a4:	e8 37 3e 00 00       	call   1123e0 <__errno>               <== NOT EXECUTED
  10e5a9:	89 30                	mov    %esi,(%eax)                    <== NOT EXECUTED
}                                                                     
  10e5ab:	83 c8 ff             	or     $0xffffffff,%eax               
  10e5ae:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e5b1:	5b                   	pop    %ebx                           
  10e5b2:	5e                   	pop    %esi                           
  10e5b3:	5f                   	pop    %edi                           
  10e5b4:	c9                   	leave                                 
  10e5b5:	c3                   	ret                                   
                                                                      

00110016 <pipe_ioctl>: pipe_control_t *pipe, uint32_t cmd, void *buffer, rtems_libio_t *iop ) {
  110016:	55                   	push   %ebp                           <== NOT EXECUTED
  110017:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  110019:	56                   	push   %esi                           <== NOT EXECUTED
  11001a:	53                   	push   %ebx                           <== NOT EXECUTED
  11001b:	8b 5d 08             	mov    0x8(%ebp),%ebx                 <== NOT EXECUTED
  11001e:	8b 75 10             	mov    0x10(%ebp),%esi                <== NOT EXECUTED
    *(unsigned int *)buffer = pipe->Length;                           
    PIPE_UNLOCK(pipe);                                                
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
  110021:	b8 ea ff ff ff       	mov    $0xffffffea,%eax               <== NOT EXECUTED
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
  110026:	81 7d 0c 7f 66 04 40 	cmpl   $0x4004667f,0xc(%ebp)          <== NOT EXECUTED
  11002d:	75 36                	jne    110065 <pipe_ioctl+0x4f>       <== NOT EXECUTED
    if (buffer == NULL)                                               
      return -EFAULT;                                                 
  11002f:	b0 f2                	mov    $0xf2,%al                      <== NOT EXECUTED
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
  110031:	85 f6                	test   %esi,%esi                      <== NOT EXECUTED
  110033:	74 30                	je     110065 <pipe_ioctl+0x4f>       <== NOT EXECUTED
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
  110035:	51                   	push   %ecx                           <== NOT EXECUTED
  110036:	6a 00                	push   $0x0                           <== NOT EXECUTED
  110038:	6a 00                	push   $0x0                           <== NOT EXECUTED
  11003a:	ff 73 28             	pushl  0x28(%ebx)                     <== NOT EXECUTED
  11003d:	e8 e2 b9 ff ff       	call   10ba24 <rtems_semaphore_obtain><== NOT EXECUTED
  110042:	89 c2                	mov    %eax,%edx                      <== NOT EXECUTED
  110044:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
      return -EINTR;                                                  
  110047:	b8 fc ff ff ff       	mov    $0xfffffffc,%eax               <== NOT EXECUTED
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
  11004c:	85 d2                	test   %edx,%edx                      <== NOT EXECUTED
  11004e:	75 15                	jne    110065 <pipe_ioctl+0x4f>       <== NOT EXECUTED
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
  110050:	8b 43 0c             	mov    0xc(%ebx),%eax                 <== NOT EXECUTED
  110053:	89 06                	mov    %eax,(%esi)                    <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
  110055:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  110058:	ff 73 28             	pushl  0x28(%ebx)                     <== NOT EXECUTED
  11005b:	e8 b0 ba ff ff       	call   10bb10 <rtems_semaphore_release><== NOT EXECUTED
    return 0;                                                         
  110060:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  110063:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
  110065:	8d 65 f8             	lea    -0x8(%ebp),%esp                <== NOT EXECUTED
  110068:	5b                   	pop    %ebx                           <== NOT EXECUTED
  110069:	5e                   	pop    %esi                           <== NOT EXECUTED
  11006a:	c9                   	leave                                 <== NOT EXECUTED
  11006b:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010f7fc <pipe_lock>: free(pipe->Buffer); free(pipe); } static rtems_status_code pipe_lock(void) {
  10f7fc:	55                   	push   %ebp                           
  10f7fd:	89 e5                	mov    %esp,%ebp                      
  10f7ff:	53                   	push   %ebx                           
  10f800:	83 ec 04             	sub    $0x4,%esp                      
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
  10f803:	83 3d e0 6e 12 00 00 	cmpl   $0x0,0x126ee0                  
  10f80a:	75 55                	jne    10f861 <pipe_lock+0x65>        
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 );
  10f80c:	52                   	push   %edx                           
  10f80d:	6a 00                	push   $0x0                           
  10f80f:	6a 00                	push   $0x0                           
  10f811:	ff 35 3c 71 12 00    	pushl  0x12713c                       
  10f817:	e8 08 c2 ff ff       	call   10ba24 <rtems_semaphore_obtain>
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
  10f81c:	83 c4 10             	add    $0x10,%esp                     
  free(pipe);                                                         
}                                                                     
                                                                      
static rtems_status_code pipe_lock(void)                              
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  10f81f:	31 db                	xor    %ebx,%ebx                      
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
  10f821:	83 3d e0 6e 12 00 00 	cmpl   $0x0,0x126ee0                  
  10f828:	75 1d                	jne    10f847 <pipe_lock+0x4b>        <== NEVER TAKEN
      sc = rtems_semaphore_create(                                    
  10f82a:	83 ec 0c             	sub    $0xc,%esp                      
  10f82d:	68 e0 6e 12 00       	push   $0x126ee0                      
  10f832:	6a 00                	push   $0x0                           
  10f834:	6a 54                	push   $0x54                          
  10f836:	6a 01                	push   $0x1                           
  10f838:	68 45 50 49 50       	push   $0x50495045                    
  10f83d:	e8 ba bf ff ff       	call   10b7fc <rtems_semaphore_create>
  10f842:	89 c3                	mov    %eax,%ebx                      
  10f844:	83 c4 20             	add    $0x20,%esp                     
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
  10f847:	83 ec 0c             	sub    $0xc,%esp                      
  10f84a:	ff 35 3c 71 12 00    	pushl  0x12713c                       
  10f850:	e8 bb c2 ff ff       	call   10bb10 <rtems_semaphore_release>
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
  10f855:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  } else {                                                            
    return -ENOMEM;                                                   
  10f858:	b8 f4 ff ff ff       	mov    $0xfffffff4,%eax               
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
  10f85d:	85 db                	test   %ebx,%ebx                      
  10f85f:	75 1d                	jne    10f87e <pipe_lock+0x82>        
    sc = rtems_semaphore_obtain(pipe_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  10f861:	50                   	push   %eax                           
  10f862:	6a 00                	push   $0x0                           
  10f864:	6a 00                	push   $0x0                           
  10f866:	ff 35 e0 6e 12 00    	pushl  0x126ee0                       
  10f86c:	e8 b3 c1 ff ff       	call   10ba24 <rtems_semaphore_obtain>
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
  10f871:	83 c4 10             	add    $0x10,%esp                     
    return 0;                                                         
  } else {                                                            
    return -ENOMEM;                                                   
  10f874:	83 f8 01             	cmp    $0x1,%eax                      
  10f877:	19 c0                	sbb    %eax,%eax                      
  10f879:	f7 d0                	not    %eax                           
  10f87b:	83 e0 f4             	and    $0xfffffff4,%eax               
  }                                                                   
}                                                                     
  10f87e:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10f881:	c9                   	leave                                 
  10f882:	c3                   	ret                                   
                                                                      

0011006c <pipe_lseek>: pipe_control_t *pipe, off_t offset, int whence, rtems_libio_t *iop ) {
  11006c:	55                   	push   %ebp                           <== NOT EXECUTED
  11006d:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  /* Seek on pipe is not supported */                                 
  return -ESPIPE;                                                     
}                                                                     
  11006f:	b8 e3 ff ff ff       	mov    $0xffffffe3,%eax               <== NOT EXECUTED
  110074:	c9                   	leave                                 <== NOT EXECUTED
  110075:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010fcfc <pipe_read>: pipe_control_t *pipe, void *buffer, size_t count, rtems_libio_t *iop ) {
  10fcfc:	55                   	push   %ebp                           
  10fcfd:	89 e5                	mov    %esp,%ebp                      
  10fcff:	57                   	push   %edi                           
  10fd00:	56                   	push   %esi                           
  10fd01:	53                   	push   %ebx                           
  10fd02:	83 ec 30             	sub    $0x30,%esp                     
  10fd05:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
  10fd08:	6a 00                	push   $0x0                           
  10fd0a:	6a 00                	push   $0x0                           
  10fd0c:	ff 73 28             	pushl  0x28(%ebx)                     
  10fd0f:	e8 10 bd ff ff       	call   10ba24 <rtems_semaphore_obtain>
  10fd14:	83 c4 10             	add    $0x10,%esp                     
    return -EINTR;                                                    
  10fd17:	c7 45 d4 fc ff ff ff 	movl   $0xfffffffc,-0x2c(%ebp)        
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
  10fd1e:	85 c0                	test   %eax,%eax                      
  10fd20:	0f 85 2f 01 00 00    	jne    10fe55 <pipe_read+0x159>       <== NEVER TAKEN
  10fd26:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
  10fd2d:	e9 f0 00 00 00       	jmp    10fe22 <pipe_read+0x126>       
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
  10fd32:	83 7b 14 00          	cmpl   $0x0,0x14(%ebx)                
  10fd36:	0f 84 f2 00 00 00    	je     10fe2e <pipe_read+0x132>       <== NEVER TAKEN
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
  10fd3c:	8b 45 14             	mov    0x14(%ebp),%eax                
  10fd3f:	f6 40 14 01          	testb  $0x1,0x14(%eax)                
  10fd43:	0f 85 e9 00 00 00    	jne    10fe32 <pipe_read+0x136>       <== NEVER TAKEN
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
  10fd49:	ff 43 18             	incl   0x18(%ebx)                     
      PIPE_UNLOCK(pipe);                                              
  10fd4c:	83 ec 0c             	sub    $0xc,%esp                      
  10fd4f:	ff 73 28             	pushl  0x28(%ebx)                     
  10fd52:	e8 b9 bd ff ff       	call   10bb10 <rtems_semaphore_release>
      if (! PIPE_READWAIT(pipe))                                      
  10fd57:	5e                   	pop    %esi                           
  10fd58:	5f                   	pop    %edi                           
  10fd59:	6a 00                	push   $0x0                           
  10fd5b:	ff 73 2c             	pushl  0x2c(%ebx)                     
  10fd5e:	e8 7d 15 00 00       	call   1112e0 <rtems_barrier_wait>    
  10fd63:	83 c4 0c             	add    $0xc,%esp                      
  10fd66:	83 f8 01             	cmp    $0x1,%eax                      
  10fd69:	19 f6                	sbb    %esi,%esi                      
  10fd6b:	f7 d6                	not    %esi                           
  10fd6d:	83 e6 fc             	and    $0xfffffffc,%esi               
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
  10fd70:	6a 00                	push   $0x0                           
  10fd72:	6a 00                	push   $0x0                           
  10fd74:	ff 73 28             	pushl  0x28(%ebx)                     
  10fd77:	e8 a8 bc ff ff       	call   10ba24 <rtems_semaphore_obtain>
  10fd7c:	83 c4 10             	add    $0x10,%esp                     
  10fd7f:	85 c0                	test   %eax,%eax                      
  10fd81:	0f 85 c0 00 00 00    	jne    10fe47 <pipe_read+0x14b>       <== NEVER TAKEN
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
  10fd87:	ff 4b 18             	decl   0x18(%ebx)                     
      if (ret != 0)                                                   
  10fd8a:	85 f6                	test   %esi,%esi                      
  10fd8c:	0f 85 a5 00 00 00    	jne    10fe37 <pipe_read+0x13b>       <== NEVER TAKEN
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
  10fd92:	8b 53 0c             	mov    0xc(%ebx),%edx                 
  10fd95:	85 d2                	test   %edx,%edx                      
  10fd97:	74 99                	je     10fd32 <pipe_read+0x36>        
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
  10fd99:	8b 45 10             	mov    0x10(%ebp),%eax                
  10fd9c:	2b 45 d4             	sub    -0x2c(%ebp),%eax               
  10fd9f:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  10fda2:	39 c2                	cmp    %eax,%edx                      
  10fda4:	76 03                	jbe    10fda9 <pipe_read+0xad>        <== ALWAYS TAKEN
  10fda6:	89 45 d0             	mov    %eax,-0x30(%ebp)               <== NOT EXECUTED
    chunk1 = pipe->Size - pipe->Start;                                
  10fda9:	8b 73 08             	mov    0x8(%ebx),%esi                 
  10fdac:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10fdaf:	29 f0                	sub    %esi,%eax                      
    if (chunk > chunk1) {                                             
  10fdb1:	39 45 d0             	cmp    %eax,-0x30(%ebp)               
  10fdb4:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10fdb7:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  10fdba:	8d 14 0f             	lea    (%edi,%ecx,1),%edx             
  10fdbd:	7e 1b                	jle    10fdda <pipe_read+0xde>        <== ALWAYS TAKEN
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
  10fdbf:	03 33                	add    (%ebx),%esi                    <== NOT EXECUTED
  10fdc1:	89 d7                	mov    %edx,%edi                      <== NOT EXECUTED
  10fdc3:	89 c1                	mov    %eax,%ecx                      <== NOT EXECUTED
  10fdc5:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       <== NOT EXECUTED
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
  10fdc7:	8b 55 d4             	mov    -0x2c(%ebp),%edx               <== NOT EXECUTED
  10fdca:	01 c2                	add    %eax,%edx                      <== NOT EXECUTED
  10fdcc:	03 55 0c             	add    0xc(%ebp),%edx                 <== NOT EXECUTED
  10fdcf:	8b 4d d0             	mov    -0x30(%ebp),%ecx               <== NOT EXECUTED
  10fdd2:	29 c1                	sub    %eax,%ecx                      <== NOT EXECUTED
  10fdd4:	8b 33                	mov    (%ebx),%esi                    <== NOT EXECUTED
  10fdd6:	89 d7                	mov    %edx,%edi                      <== NOT EXECUTED
  10fdd8:	eb 07                	jmp    10fde1 <pipe_read+0xe5>        <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
  10fdda:	03 33                	add    (%ebx),%esi                    
  10fddc:	89 d7                	mov    %edx,%edi                      
  10fdde:	8b 4d d0             	mov    -0x30(%ebp),%ecx               
  10fde1:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
                                                                      
    pipe->Start += chunk;                                             
  10fde3:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10fde6:	03 43 08             	add    0x8(%ebx),%eax                 
    pipe->Start %= pipe->Size;                                        
  10fde9:	31 d2                	xor    %edx,%edx                      
  10fdeb:	f7 73 04             	divl   0x4(%ebx)                      
  10fdee:	89 53 08             	mov    %edx,0x8(%ebx)                 
    pipe->Length -= chunk;                                            
  10fdf1:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  10fdf4:	2b 45 d0             	sub    -0x30(%ebp),%eax               
  10fdf7:	89 43 0c             	mov    %eax,0xc(%ebx)                 
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
  10fdfa:	85 c0                	test   %eax,%eax                      
  10fdfc:	75 07                	jne    10fe05 <pipe_read+0x109>       <== NEVER TAKEN
      pipe->Start = 0;                                                
  10fdfe:	c7 43 08 00 00 00 00 	movl   $0x0,0x8(%ebx)                 
                                                                      
    if (pipe->waitingWriters > 0)                                     
  10fe05:	83 7b 1c 00          	cmpl   $0x0,0x1c(%ebx)                
  10fe09:	74 11                	je     10fe1c <pipe_read+0x120>       <== ALWAYS TAKEN
      PIPE_WAKEUPWRITERS(pipe);                                       
  10fe0b:	51                   	push   %ecx                           <== NOT EXECUTED
  10fe0c:	51                   	push   %ecx                           <== NOT EXECUTED
  10fe0d:	8d 45 e4             	lea    -0x1c(%ebp),%eax               <== NOT EXECUTED
  10fe10:	50                   	push   %eax                           <== NOT EXECUTED
  10fe11:	ff 73 30             	pushl  0x30(%ebx)                     <== NOT EXECUTED
  10fe14:	e8 6f 14 00 00       	call   111288 <rtems_barrier_release> <== NOT EXECUTED
  10fe19:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    read += chunk;                                                    
  10fe1c:	8b 4d d0             	mov    -0x30(%ebp),%ecx               
  10fe1f:	01 4d d4             	add    %ecx,-0x2c(%ebp)               
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
  10fe22:	8b 7d 10             	mov    0x10(%ebp),%edi                
  10fe25:	39 7d d4             	cmp    %edi,-0x2c(%ebp)               
  10fe28:	0f 82 64 ff ff ff    	jb     10fd92 <pipe_read+0x96>        
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
  10fe2e:	31 f6                	xor    %esi,%esi                      
  10fe30:	eb 05                	jmp    10fe37 <pipe_read+0x13b>       
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
  10fe32:	be f5 ff ff ff       	mov    $0xfffffff5,%esi               <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
  10fe37:	83 ec 0c             	sub    $0xc,%esp                      
  10fe3a:	ff 73 28             	pushl  0x28(%ebx)                     
  10fe3d:	e8 ce bc ff ff       	call   10bb10 <rtems_semaphore_release>
  10fe42:	83 c4 10             	add    $0x10,%esp                     
  10fe45:	eb 05                	jmp    10fe4c <pipe_read+0x150>       
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
  10fe47:	be fc ff ff ff       	mov    $0xfffffffc,%esi               <== NOT EXECUTED
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
  10fe4c:	83 7d d4 00          	cmpl   $0x0,-0x2c(%ebp)               
  10fe50:	7f 03                	jg     10fe55 <pipe_read+0x159>       <== ALWAYS TAKEN
    return read;                                                      
  return ret;                                                         
  10fe52:	89 75 d4             	mov    %esi,-0x2c(%ebp)               <== NOT EXECUTED
}                                                                     
  10fe55:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10fe58:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10fe5b:	5b                   	pop    %ebx                           
  10fe5c:	5e                   	pop    %esi                           
  10fe5d:	5f                   	pop    %edi                           
  10fe5e:	c9                   	leave                                 
  10fe5f:	c3                   	ret                                   
                                                                      

0010f8e5 <pipe_release>: */ int pipe_release( pipe_control_t **pipep, rtems_libio_t *iop ) {
  10f8e5:	55                   	push   %ebp                           
  10f8e6:	89 e5                	mov    %esp,%ebp                      
  10f8e8:	57                   	push   %edi                           
  10f8e9:	56                   	push   %esi                           
  10f8ea:	53                   	push   %ebx                           
  10f8eb:	83 ec 1c             	sub    $0x1c,%esp                     
  10f8ee:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  pipe_control_t *pipe = *pipep;                                      
  10f8f1:	8b 1f                	mov    (%edi),%ebx                    
  uint32_t mode;                                                      
                                                                      
  if (pipe_lock())                                                    
  10f8f3:	e8 04 ff ff ff       	call   10f7fc <pipe_lock>             
  10f8f8:	85 c0                	test   %eax,%eax                      
  10f8fa:	75 14                	jne    10f910 <pipe_release+0x2b>     <== NEVER TAKEN
    /* WARN pipe not freed and pipep not set to NULL! */              
    /* FIXME */                                                       
    rtems_fatal_error_occurred(0xdeadbeef);                           
                                                                      
  if (!PIPE_LOCK(pipe))                                               
  10f8fc:	50                   	push   %eax                           
  10f8fd:	6a 00                	push   $0x0                           
  10f8ff:	6a 00                	push   $0x0                           
  10f901:	ff 73 28             	pushl  0x28(%ebx)                     
  10f904:	e8 1b c1 ff ff       	call   10ba24 <rtems_semaphore_obtain>
  10f909:	83 c4 10             	add    $0x10,%esp                     
  10f90c:	85 c0                	test   %eax,%eax                      
  10f90e:	74 0d                	je     10f91d <pipe_release+0x38>     <== ALWAYS TAKEN
    /* WARN pipe not released! */                                     
    /* FIXME */                                                       
    rtems_fatal_error_occurred(0xdeadbeef);                           
  10f910:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10f913:	68 ef be ad de       	push   $0xdeadbeef                    <== NOT EXECUTED
  10f918:	e8 b3 c6 ff ff       	call   10bfd0 <rtems_fatal_error_occurred><== NOT EXECUTED
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  10f91d:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10f920:	8b 40 14             	mov    0x14(%eax),%eax                
  10f923:	89 c6                	mov    %eax,%esi                      
  10f925:	83 e6 06             	and    $0x6,%esi                      
  if (mode & LIBIO_FLAGS_READ)                                        
  10f928:	a8 02                	test   $0x2,%al                       
  10f92a:	74 03                	je     10f92f <pipe_release+0x4a>     
     pipe->Readers --;                                                
  10f92c:	ff 4b 10             	decl   0x10(%ebx)                     
  if (mode & LIBIO_FLAGS_WRITE)                                       
  10f92f:	f7 c6 04 00 00 00    	test   $0x4,%esi                      
  10f935:	74 03                	je     10f93a <pipe_release+0x55>     
     pipe->Writers --;                                                
  10f937:	ff 4b 14             	decl   0x14(%ebx)                     
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  10f93a:	83 ec 0c             	sub    $0xc,%esp                      
  10f93d:	ff 73 28             	pushl  0x28(%ebx)                     
  10f940:	e8 cb c1 ff ff       	call   10bb10 <rtems_semaphore_release>
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
  10f945:	8b 43 10             	mov    0x10(%ebx),%eax                
  10f948:	83 c4 10             	add    $0x10,%esp                     
  10f94b:	85 c0                	test   %eax,%eax                      
  10f94d:	75 15                	jne    10f964 <pipe_release+0x7f>     
  10f94f:	83 7b 14 00          	cmpl   $0x0,0x14(%ebx)                
  10f953:	75 0f                	jne    10f964 <pipe_release+0x7f>     <== NEVER TAKEN
#if 0                                                                 
    /* To delete an anonymous pipe file when all users closed it */   
    if (pipe->Anonymous)                                              
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
  10f955:	89 d8                	mov    %ebx,%eax                      
  10f957:	e8 27 ff ff ff       	call   10f883 <pipe_free>             
    *pipep = NULL;                                                    
  10f95c:	c7 07 00 00 00 00    	movl   $0x0,(%edi)                    
  10f962:	eb 30                	jmp    10f994 <pipe_release+0xaf>     
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
  10f964:	83 fe 04             	cmp    $0x4,%esi                      
  10f967:	74 0f                	je     10f978 <pipe_release+0x93>     <== ALWAYS TAKEN
  10f969:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  10f96b:	75 0b                	jne    10f978 <pipe_release+0x93>     <== NOT EXECUTED
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
  10f96d:	56                   	push   %esi                           <== NOT EXECUTED
  10f96e:	56                   	push   %esi                           <== NOT EXECUTED
  10f96f:	8d 45 e4             	lea    -0x1c(%ebp),%eax               <== NOT EXECUTED
  10f972:	50                   	push   %eax                           <== NOT EXECUTED
  10f973:	ff 73 30             	pushl  0x30(%ebx)                     <== NOT EXECUTED
  10f976:	eb 14                	jmp    10f98c <pipe_release+0xa7>     <== NOT EXECUTED
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
  10f978:	83 fe 02             	cmp    $0x2,%esi                      
  10f97b:	74 17                	je     10f994 <pipe_release+0xaf>     <== NEVER TAKEN
  10f97d:	83 7b 14 00          	cmpl   $0x0,0x14(%ebx)                
  10f981:	75 11                	jne    10f994 <pipe_release+0xaf>     <== NEVER TAKEN
    PIPE_WAKEUPREADERS(pipe);                                         
  10f983:	51                   	push   %ecx                           
  10f984:	51                   	push   %ecx                           
  10f985:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10f988:	50                   	push   %eax                           
  10f989:	ff 73 2c             	pushl  0x2c(%ebx)                     
  10f98c:	e8 f7 18 00 00       	call   111288 <rtems_barrier_release> 
  10f991:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  pipe_unlock();                                                      
  10f994:	e8 25 ff ff ff       	call   10f8be <pipe_unlock>           
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return -errno;                                                    
#endif                                                                
                                                                      
  return 0;                                                           
}                                                                     
  10f999:	31 c0                	xor    %eax,%eax                      
  10f99b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f99e:	5b                   	pop    %ebx                           
  10f99f:	5e                   	pop    %esi                           
  10f9a0:	5f                   	pop    %edi                           
  10f9a1:	c9                   	leave                                 
  10f9a2:	c3                   	ret                                   
                                                                      

0010f8be <pipe_unlock>: return -ENOMEM; } } static void pipe_unlock(void) {
  10f8be:	55                   	push   %ebp                           
  10f8bf:	89 e5                	mov    %esp,%ebp                      
  10f8c1:	83 ec 14             	sub    $0x14,%esp                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_release(pipe_semaphore);                       
  10f8c4:	ff 35 e0 6e 12 00    	pushl  0x126ee0                       
  10f8ca:	e8 41 c2 ff ff       	call   10bb10 <rtems_semaphore_release>
  if (sc != RTEMS_SUCCESSFUL) {                                       
  10f8cf:	83 c4 10             	add    $0x10,%esp                     
  10f8d2:	85 c0                	test   %eax,%eax                      
  10f8d4:	74 0d                	je     10f8e3 <pipe_unlock+0x25>      <== ALWAYS TAKEN
    /* FIXME */                                                       
    rtems_fatal_error_occurred(0xdeadbeef);                           
  10f8d6:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10f8d9:	68 ef be ad de       	push   $0xdeadbeef                    <== NOT EXECUTED
  10f8de:	e8 ed c6 ff ff       	call   10bfd0 <rtems_fatal_error_occurred><== NOT EXECUTED
  }                                                                   
}                                                                     
  10f8e3:	c9                   	leave                                 
  10f8e4:	c3                   	ret                                   
                                                                      

0010fe60 <pipe_write>: pipe_control_t *pipe, const void *buffer, size_t count, rtems_libio_t *iop ) {
  10fe60:	55                   	push   %ebp                           
  10fe61:	89 e5                	mov    %esp,%ebp                      
  10fe63:	57                   	push   %edi                           
  10fe64:	56                   	push   %esi                           
  10fe65:	53                   	push   %ebx                           
  10fe66:	83 ec 2c             	sub    $0x2c,%esp                     
  10fe69:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
  10fe6c:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
)                                                                     
{                                                                     
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
  10fe73:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  10fe77:	0f 84 8e 01 00 00    	je     11000b <pipe_write+0x1ab>      <== NEVER TAKEN
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
  10fe7d:	52                   	push   %edx                           
  10fe7e:	6a 00                	push   $0x0                           
  10fe80:	6a 00                	push   $0x0                           
  10fe82:	ff 73 28             	pushl  0x28(%ebx)                     
  10fe85:	e8 9a bb ff ff       	call   10ba24 <rtems_semaphore_obtain>
  10fe8a:	83 c4 10             	add    $0x10,%esp                     
    return -EINTR;                                                    
  10fe8d:	c7 45 d4 fc ff ff ff 	movl   $0xfffffffc,-0x2c(%ebp)        
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
  10fe94:	85 c0                	test   %eax,%eax                      
  10fe96:	0f 85 6f 01 00 00    	jne    11000b <pipe_write+0x1ab>      <== NEVER TAKEN
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
  10fe9c:	83 7b 10 00          	cmpl   $0x0,0x10(%ebx)                
  10fea0:	0f 84 16 01 00 00    	je     10ffbc <pipe_write+0x15c>      <== NEVER TAKEN
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
  10fea6:	bf 01 00 00 00       	mov    $0x1,%edi                      
  10feab:	8b 45 10             	mov    0x10(%ebp),%eax                
  10feae:	3b 43 04             	cmp    0x4(%ebx),%eax                 
  10feb1:	77 02                	ja     10feb5 <pipe_write+0x55>       <== NEVER TAKEN
  10feb3:	89 c7                	mov    %eax,%edi                      
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
  10feb5:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
  10febc:	e9 eb 00 00 00       	jmp    10ffac <pipe_write+0x14c>      
  /* 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)) {                                       
  10fec1:	8b 4d 14             	mov    0x14(%ebp),%ecx                <== NOT EXECUTED
  10fec4:	f6 41 14 01          	testb  $0x1,0x14(%ecx)                <== NOT EXECUTED
  10fec8:	0f 85 fc 00 00 00    	jne    10ffca <pipe_write+0x16a>      <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
  10fece:	ff 43 1c             	incl   0x1c(%ebx)                     <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
  10fed1:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10fed4:	ff 73 28             	pushl  0x28(%ebx)                     <== NOT EXECUTED
  10fed7:	e8 34 bc ff ff       	call   10bb10 <rtems_semaphore_release><== NOT EXECUTED
      if (! PIPE_WRITEWAIT(pipe))                                     
  10fedc:	5e                   	pop    %esi                           <== NOT EXECUTED
  10fedd:	58                   	pop    %eax                           <== NOT EXECUTED
  10fede:	6a 00                	push   $0x0                           <== NOT EXECUTED
  10fee0:	ff 73 30             	pushl  0x30(%ebx)                     <== NOT EXECUTED
  10fee3:	e8 f8 13 00 00       	call   1112e0 <rtems_barrier_wait>    <== NOT EXECUTED
  10fee8:	83 c4 0c             	add    $0xc,%esp                      <== NOT EXECUTED
  10feeb:	83 f8 01             	cmp    $0x1,%eax                      <== NOT EXECUTED
  10feee:	19 f6                	sbb    %esi,%esi                      <== NOT EXECUTED
  10fef0:	f7 d6                	not    %esi                           <== NOT EXECUTED
  10fef2:	83 e6 fc             	and    $0xfffffffc,%esi               <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
  10fef5:	6a 00                	push   $0x0                           <== NOT EXECUTED
  10fef7:	6a 00                	push   $0x0                           <== NOT EXECUTED
  10fef9:	ff 73 28             	pushl  0x28(%ebx)                     <== NOT EXECUTED
  10fefc:	e8 23 bb ff ff       	call   10ba24 <rtems_semaphore_obtain><== NOT EXECUTED
  10ff01:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10ff04:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  10ff06:	0f 85 f1 00 00 00    	jne    10fffd <pipe_write+0x19d>      <== NOT EXECUTED
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
  10ff0c:	ff 4b 1c             	decl   0x1c(%ebx)                     <== NOT EXECUTED
      if (ret != 0)                                                   
  10ff0f:	85 f6                	test   %esi,%esi                      <== NOT EXECUTED
  10ff11:	0f 85 bf 00 00 00    	jne    10ffd6 <pipe_write+0x176>      <== NOT EXECUTED
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
  10ff17:	83 7b 10 00          	cmpl   $0x0,0x10(%ebx)                <== NOT EXECUTED
  10ff1b:	0f 84 b0 00 00 00    	je     10ffd1 <pipe_write+0x171>      <== 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) {                                
  10ff21:	8b 73 04             	mov    0x4(%ebx),%esi                 
  10ff24:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  10ff27:	89 f1                	mov    %esi,%ecx                      
  10ff29:	29 c1                	sub    %eax,%ecx                      
  10ff2b:	39 f9                	cmp    %edi,%ecx                      
  10ff2d:	72 92                	jb     10fec1 <pipe_write+0x61>       <== NEVER TAKEN
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
  10ff2f:	8b 55 10             	mov    0x10(%ebp),%edx                
  10ff32:	2b 55 d4             	sub    -0x2c(%ebp),%edx               
  10ff35:	89 4d d0             	mov    %ecx,-0x30(%ebp)               
  10ff38:	39 d1                	cmp    %edx,%ecx                      
  10ff3a:	76 03                	jbe    10ff3f <pipe_write+0xdf>       <== NEVER TAKEN
  10ff3c:	89 55 d0             	mov    %edx,-0x30(%ebp)               
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
  10ff3f:	03 43 08             	add    0x8(%ebx),%eax                 
  10ff42:	31 d2                	xor    %edx,%edx                      
  10ff44:	f7 f6                	div    %esi                           
  10ff46:	29 d6                	sub    %edx,%esi                      
  10ff48:	89 75 cc             	mov    %esi,-0x34(%ebp)               
    if (chunk > chunk1) {                                             
  10ff4b:	39 75 d0             	cmp    %esi,-0x30(%ebp)               
  10ff4e:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10ff51:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10ff54:	8d 34 01             	lea    (%ecx,%eax,1),%esi             
  10ff57:	7e 20                	jle    10ff79 <pipe_write+0x119>      <== ALWAYS TAKEN
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
  10ff59:	8b 03                	mov    (%ebx),%eax                    <== NOT EXECUTED
  10ff5b:	01 d0                	add    %edx,%eax                      <== NOT EXECUTED
  10ff5d:	89 c7                	mov    %eax,%edi                      <== NOT EXECUTED
  10ff5f:	8b 4d cc             	mov    -0x34(%ebp),%ecx               <== NOT EXECUTED
  10ff62:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
  10ff64:	8b 03                	mov    (%ebx),%eax                    <== NOT EXECUTED
  10ff66:	8b 4d d0             	mov    -0x30(%ebp),%ecx               <== NOT EXECUTED
  10ff69:	2b 4d cc             	sub    -0x34(%ebp),%ecx               <== NOT EXECUTED
  10ff6c:	8b 75 cc             	mov    -0x34(%ebp),%esi               <== NOT EXECUTED
  10ff6f:	03 75 d4             	add    -0x2c(%ebp),%esi               <== NOT EXECUTED
  10ff72:	03 75 0c             	add    0xc(%ebp),%esi                 <== NOT EXECUTED
  10ff75:	89 c7                	mov    %eax,%edi                      <== NOT EXECUTED
  10ff77:	eb 09                	jmp    10ff82 <pipe_write+0x122>      <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
  10ff79:	8b 03                	mov    (%ebx),%eax                    
  10ff7b:	01 d0                	add    %edx,%eax                      
  10ff7d:	89 c7                	mov    %eax,%edi                      
  10ff7f:	8b 4d d0             	mov    -0x30(%ebp),%ecx               
  10ff82:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
                                                                      
    pipe->Length += chunk;                                            
  10ff84:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10ff87:	01 43 0c             	add    %eax,0xc(%ebx)                 
    if (pipe->waitingReaders > 0)                                     
  10ff8a:	83 7b 18 00          	cmpl   $0x0,0x18(%ebx)                
  10ff8e:	74 11                	je     10ffa1 <pipe_write+0x141>      
      PIPE_WAKEUPREADERS(pipe);                                       
  10ff90:	51                   	push   %ecx                           
  10ff91:	51                   	push   %ecx                           
  10ff92:	8d 4d e4             	lea    -0x1c(%ebp),%ecx               
  10ff95:	51                   	push   %ecx                           
  10ff96:	ff 73 2c             	pushl  0x2c(%ebx)                     
  10ff99:	e8 ea 12 00 00       	call   111288 <rtems_barrier_release> 
  10ff9e:	83 c4 10             	add    $0x10,%esp                     
    written += chunk;                                                 
  10ffa1:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10ffa4:	01 45 d4             	add    %eax,-0x2c(%ebp)               
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  10ffa7:	bf 01 00 00 00       	mov    $0x1,%edi                      
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
  10ffac:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10ffaf:	39 4d d4             	cmp    %ecx,-0x2c(%ebp)               
  10ffb2:	0f 82 69 ff ff ff    	jb     10ff21 <pipe_write+0xc1>       
  10ffb8:	31 f6                	xor    %esi,%esi                      
  10ffba:	eb 1a                	jmp    10ffd6 <pipe_write+0x176>      
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
    ret = -EPIPE;                                                     
  10ffbc:	be e0 ff ff ff       	mov    $0xffffffe0,%esi               <== NOT EXECUTED
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, written = 0, ret = 0;                            
  10ffc1:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               <== NOT EXECUTED
  10ffc8:	eb 0c                	jmp    10ffd6 <pipe_write+0x176>      <== NOT EXECUTED
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
  10ffca:	be f5 ff ff ff       	mov    $0xfffffff5,%esi               <== NOT EXECUTED
  10ffcf:	eb 05                	jmp    10ffd6 <pipe_write+0x176>      <== NOT EXECUTED
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
        ret = -EPIPE;                                                 
  10ffd1:	be e0 ff ff ff       	mov    $0xffffffe0,%esi               <== NOT EXECUTED
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
  10ffd6:	83 ec 0c             	sub    $0xc,%esp                      
  10ffd9:	ff 73 28             	pushl  0x28(%ebx)                     
  10ffdc:	e8 2f bb ff ff       	call   10bb10 <rtems_semaphore_release>
  10ffe1:	83 c4 10             	add    $0x10,%esp                     
                                                                      
out_nolock:                                                           
#ifdef RTEMS_POSIX_API                                                
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
  10ffe4:	83 fe e0             	cmp    $0xffffffe0,%esi               
  10ffe7:	75 19                	jne    110002 <pipe_write+0x1a2>      <== ALWAYS TAKEN
    kill(getpid(), SIGPIPE);                                          
  10ffe9:	e8 1a 07 00 00       	call   110708 <getpid>                <== NOT EXECUTED
  10ffee:	52                   	push   %edx                           <== NOT EXECUTED
  10ffef:	52                   	push   %edx                           <== NOT EXECUTED
  10fff0:	6a 0d                	push   $0xd                           <== NOT EXECUTED
  10fff2:	50                   	push   %eax                           <== NOT EXECUTED
  10fff3:	e8 94 09 00 00       	call   11098c <kill>                  <== NOT EXECUTED
  10fff8:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10fffb:	eb 05                	jmp    110002 <pipe_write+0x1a2>      <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
  10fffd:	be fc ff ff ff       	mov    $0xfffffffc,%esi               <== NOT EXECUTED
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
  110002:	83 7d d4 00          	cmpl   $0x0,-0x2c(%ebp)               
  110006:	7f 03                	jg     11000b <pipe_write+0x1ab>      <== ALWAYS TAKEN
  110008:	89 75 d4             	mov    %esi,-0x2c(%ebp)               <== NOT EXECUTED
    return written;                                                   
  return ret;                                                         
}                                                                     
  11000b:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  11000e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110011:	5b                   	pop    %ebx                           
  110012:	5e                   	pop    %esi                           
  110013:	5f                   	pop    %edi                           
  110014:	c9                   	leave                                 
  110015:	c3                   	ret                                   
                                                                      

0010a6d4 <posix_memalign>: int posix_memalign( void **pointer, size_t alignment, size_t size ) {
  10a6d4:	55                   	push   %ebp                           
  10a6d5:	89 e5                	mov    %esp,%ebp                      
  10a6d7:	53                   	push   %ebx                           
  10a6d8:	83 ec 04             	sub    $0x4,%esp                      
  10a6db:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
  10a6de:	ff 05 cc b9 12 00    	incl   0x12b9cc                       
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
  10a6e4:	8d 58 ff             	lea    -0x1(%eax),%ebx                
  10a6e7:	85 c3                	test   %eax,%ebx                      
  10a6e9:	75 0d                	jne    10a6f8 <posix_memalign+0x24>   <== NEVER TAKEN
  10a6eb:	83 f8 03             	cmp    $0x3,%eax                      
  10a6ee:	76 08                	jbe    10a6f8 <posix_memalign+0x24>   
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
}                                                                     
  10a6f0:	59                   	pop    %ecx                           
  10a6f1:	5b                   	pop    %ebx                           
  10a6f2:	c9                   	leave                                 
                                                                      
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
  10a6f3:	e9 20 01 00 00       	jmp    10a818 <rtems_memalign>        
}                                                                     
  10a6f8:	b8 16 00 00 00       	mov    $0x16,%eax                     
  10a6fd:	5a                   	pop    %edx                           
  10a6fe:	5b                   	pop    %ebx                           
  10a6ff:	c9                   	leave                                 
  10a700:	c3                   	ret                                   
                                                                      

0010e720 <pthread_attr_setschedpolicy>: int pthread_attr_setschedpolicy( pthread_attr_t *attr, int policy ) {
  10e720:	55                   	push   %ebp                           
  10e721:	89 e5                	mov    %esp,%ebp                      
  10e723:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10e726:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
  10e729:	b8 16 00 00 00       	mov    $0x16,%eax                     
int pthread_attr_setschedpolicy(                                      
  pthread_attr_t  *attr,                                              
  int              policy                                             
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
  10e72e:	85 d2                	test   %edx,%edx                      
  10e730:	74 1e                	je     10e750 <pthread_attr_setschedpolicy+0x30>
  10e732:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10e735:	74 19                	je     10e750 <pthread_attr_setschedpolicy+0x30>
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
  10e737:	83 f9 04             	cmp    $0x4,%ecx                      
  10e73a:	77 0f                	ja     10e74b <pthread_attr_setschedpolicy+0x2b>
  10e73c:	b0 01                	mov    $0x1,%al                       
  10e73e:	d3 e0                	shl    %cl,%eax                       
  10e740:	a8 17                	test   $0x17,%al                      
  10e742:	74 07                	je     10e74b <pthread_attr_setschedpolicy+0x2b><== NEVER TAKEN
    case SCHED_OTHER:                                                 
    case SCHED_FIFO:                                                  
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
  10e744:	89 4a 14             	mov    %ecx,0x14(%edx)                
      return 0;                                                       
  10e747:	31 c0                	xor    %eax,%eax                      
  10e749:	eb 05                	jmp    10e750 <pthread_attr_setschedpolicy+0x30>
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  10e74b:	b8 86 00 00 00       	mov    $0x86,%eax                     
  }                                                                   
}                                                                     
  10e750:	c9                   	leave                                 
  10e751:	c3                   	ret                                   
                                                                      

0010a594 <pthread_barrier_init>: int pthread_barrier_init( pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, unsigned int count ) {
  10a594:	55                   	push   %ebp                           
  10a595:	89 e5                	mov    %esp,%ebp                      
  10a597:	57                   	push   %edi                           
  10a598:	56                   	push   %esi                           
  10a599:	53                   	push   %ebx                           
  10a59a:	83 ec 1c             	sub    $0x1c,%esp                     
  10a59d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10a5a0:	8b 75 10             	mov    0x10(%ebp),%esi                
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !barrier )                                                     
    return EINVAL;                                                    
  10a5a3:	b8 16 00 00 00       	mov    $0x16,%eax                     
  const pthread_barrierattr_t   *the_attr;                            
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !barrier )                                                     
  10a5a8:	85 db                	test   %ebx,%ebx                      
  10a5aa:	0f 84 96 00 00 00    	je     10a646 <pthread_barrier_init+0xb2>
    return EINVAL;                                                    
                                                                      
  if ( count == 0 )                                                   
  10a5b0:	85 f6                	test   %esi,%esi                      
  10a5b2:	0f 84 8e 00 00 00    	je     10a646 <pthread_barrier_init+0xb2>
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
  10a5b8:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10a5bb:	85 ff                	test   %edi,%edi                      
  10a5bd:	75 0f                	jne    10a5ce <pthread_barrier_init+0x3a>
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_barrierattr_init( &my_attr );                      
  10a5bf:	83 ec 0c             	sub    $0xc,%esp                      
  10a5c2:	8d 7d d8             	lea    -0x28(%ebp),%edi               
  10a5c5:	57                   	push   %edi                           
  10a5c6:	e8 19 ff ff ff       	call   10a4e4 <pthread_barrierattr_init>
  10a5cb:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
    return EINVAL;                                                    
  10a5ce:	b8 16 00 00 00       	mov    $0x16,%eax                     
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
  10a5d3:	83 3f 00             	cmpl   $0x0,(%edi)                    
  10a5d6:	74 6e                	je     10a646 <pthread_barrier_init+0xb2>
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
  10a5d8:	83 7f 04 00          	cmpl   $0x0,0x4(%edi)                 
  10a5dc:	75 68                	jne    10a646 <pthread_barrier_init+0xb2><== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Convert from POSIX attributes to Core Barrier attributes         
   */                                                                 
  the_attributes.discipline    = CORE_BARRIER_AUTOMATIC_RELEASE;      
  10a5de:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  the_attributes.maximum_count = count;                               
  10a5e5:	89 75 e4             	mov    %esi,-0x1c(%ebp)               
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10a5e8:	a1 f4 61 12 00       	mov    0x1261f4,%eax                  
  10a5ed:	40                   	inc    %eax                           
  10a5ee:	a3 f4 61 12 00       	mov    %eax,0x1261f4                  
 *  the inactive chain of free barrier control blocks.                
 */                                                                   
RTEMS_INLINE_ROUTINE POSIX_Barrier_Control *_POSIX_Barrier_Allocate( void )
{                                                                     
  return (POSIX_Barrier_Control *)                                    
    _Objects_Allocate( &_POSIX_Barrier_Information );                 
  10a5f3:	83 ec 0c             	sub    $0xc,%esp                      
  10a5f6:	68 c0 65 12 00       	push   $0x1265c0                      
  10a5fb:	e8 1c 1e 00 00       	call   10c41c <_Objects_Allocate>     
  10a600:	89 c6                	mov    %eax,%esi                      
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
  10a602:	83 c4 10             	add    $0x10,%esp                     
  10a605:	85 c0                	test   %eax,%eax                      
  10a607:	75 0c                	jne    10a615 <pthread_barrier_init+0x81>
    _Thread_Enable_dispatch();                                        
  10a609:	e8 14 2a 00 00       	call   10d022 <_Thread_Enable_dispatch>
    return EAGAIN;                                                    
  10a60e:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  10a613:	eb 31                	jmp    10a646 <pthread_barrier_init+0xb2>
  }                                                                   
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
  10a615:	50                   	push   %eax                           
  10a616:	50                   	push   %eax                           
  10a617:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10a61a:	50                   	push   %eax                           
  10a61b:	8d 46 10             	lea    0x10(%esi),%eax                
  10a61e:	50                   	push   %eax                           
  10a61f:	e8 9c 14 00 00       	call   10bac0 <_CORE_barrier_Initialize>
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  10a624:	8b 46 08             	mov    0x8(%esi),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10a627:	0f b7 c8             	movzwl %ax,%ecx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10a62a:	8b 15 dc 65 12 00    	mov    0x1265dc,%edx                  
  10a630:	89 34 8a             	mov    %esi,(%edx,%ecx,4)             
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
  10a633:	c7 46 0c 00 00 00 00 	movl   $0x0,0xc(%esi)                 
  );                                                                  
                                                                      
  /*                                                                  
   * Exit the critical section and return the user an operational barrier
   */                                                                 
  *barrier = the_barrier->Object.id;                                  
  10a63a:	89 03                	mov    %eax,(%ebx)                    
  _Thread_Enable_dispatch();                                          
  10a63c:	e8 e1 29 00 00       	call   10d022 <_Thread_Enable_dispatch>
  return 0;                                                           
  10a641:	83 c4 10             	add    $0x10,%esp                     
  10a644:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10a646:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a649:	5b                   	pop    %ebx                           
  10a64a:	5e                   	pop    %esi                           
  10a64b:	5f                   	pop    %edi                           
  10a64c:	c9                   	leave                                 
  10a64d:	c3                   	ret                                   
                                                                      

00109f4c <pthread_cleanup_push>: void pthread_cleanup_push( void (*routine)( void * ), void *arg ) {
  109f4c:	55                   	push   %ebp                           
  109f4d:	89 e5                	mov    %esp,%ebp                      
  109f4f:	56                   	push   %esi                           
  109f50:	53                   	push   %ebx                           
  109f51:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  109f54:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  /*                                                                  
   *  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 )                                                     
  109f57:	85 db                	test   %ebx,%ebx                      
  109f59:	74 4b                	je     109fa6 <pthread_cleanup_push+0x5a>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  109f5b:	a1 cc 61 12 00       	mov    0x1261cc,%eax                  
  109f60:	40                   	inc    %eax                           
  109f61:	a3 cc 61 12 00       	mov    %eax,0x1261cc                  
    return;                                                           
                                                                      
  _Thread_Disable_dispatch();                                         
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
  109f66:	83 ec 0c             	sub    $0xc,%esp                      
  109f69:	6a 10                	push   $0x10                          
  109f6b:	e8 32 3b 00 00       	call   10daa2 <_Workspace_Allocate>   
                                                                      
  if ( handler ) {                                                    
  109f70:	83 c4 10             	add    $0x10,%esp                     
  109f73:	85 c0                	test   %eax,%eax                      
  109f75:	74 24                	je     109f9b <pthread_cleanup_push+0x4f><== NEVER TAKEN
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
  109f77:	8b 15 1c 67 12 00    	mov    0x12671c,%edx                  
                                                                      
    handler_stack = &thread_support->Cancellation_Handlers;           
  109f7d:	8b 92 f8 00 00 00    	mov    0xf8(%edx),%edx                
  109f83:	81 c2 e0 00 00 00    	add    $0xe0,%edx                     
                                                                      
    handler->routine = routine;                                       
  109f89:	89 58 08             	mov    %ebx,0x8(%eax)                 
    handler->arg = arg;                                               
  109f8c:	89 70 0c             	mov    %esi,0xc(%eax)                 
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
  109f8f:	51                   	push   %ecx                           
  109f90:	51                   	push   %ecx                           
  109f91:	50                   	push   %eax                           
  109f92:	52                   	push   %edx                           
  109f93:	e8 7c 15 00 00       	call   10b514 <_Chain_Append>         
  109f98:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
  _Thread_Enable_dispatch();                                          
}                                                                     
  109f9b:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  109f9e:	5b                   	pop    %ebx                           
  109f9f:	5e                   	pop    %esi                           
  109fa0:	c9                   	leave                                 
    handler->routine = routine;                                       
    handler->arg = arg;                                               
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
  }                                                                   
  _Thread_Enable_dispatch();                                          
  109fa1:	e9 78 2a 00 00       	jmp    10ca1e <_Thread_Enable_dispatch>
}                                                                     
  109fa6:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  109fa9:	5b                   	pop    %ebx                           
  109faa:	5e                   	pop    %esi                           
  109fab:	c9                   	leave                                 
  109fac:	c3                   	ret                                   
                                                                      

0010acbc <pthread_cond_init>: int pthread_cond_init( pthread_cond_t *cond, const pthread_condattr_t *attr ) {
  10acbc:	55                   	push   %ebp                           
  10acbd:	89 e5                	mov    %esp,%ebp                      
  10acbf:	56                   	push   %esi                           
  10acc0:	53                   	push   %ebx                           
  POSIX_Condition_variables_Control   *the_cond;                      
  const pthread_condattr_t            *the_attr;                      
                                                                      
  if ( attr ) the_attr = attr;                                        
  10acc1:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10acc4:	85 db                	test   %ebx,%ebx                      
  10acc6:	75 05                	jne    10accd <pthread_cond_init+0x11>
  else        the_attr = &_POSIX_Condition_variables_Default_attributes;
  10acc8:	bb 64 0e 12 00       	mov    $0x120e64,%ebx                 
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
                                                                      
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
    return EINVAL;                                                    
  10accd:	b8 16 00 00 00       	mov    $0x16,%eax                     
                                                                      
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
                                                                      
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
  10acd2:	83 7b 04 01          	cmpl   $0x1,0x4(%ebx)                 
  10acd6:	74 76                	je     10ad4e <pthread_cond_init+0x92><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  if ( !the_attr->is_initialized )                                    
  10acd8:	83 3b 00             	cmpl   $0x0,(%ebx)                    
  10acdb:	74 71                	je     10ad4e <pthread_cond_init+0x92>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10acdd:	a1 e4 73 12 00       	mov    0x1273e4,%eax                  
  10ace2:	40                   	inc    %eax                           
  10ace3:	a3 e4 73 12 00       	mov    %eax,0x1273e4                  
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control                
  *_POSIX_Condition_variables_Allocate( void )                        
{                                                                     
  return (POSIX_Condition_variables_Control *)                        
    _Objects_Allocate( &_POSIX_Condition_variables_Information );     
  10ace8:	83 ec 0c             	sub    $0xc,%esp                      
  10aceb:	68 48 78 12 00       	push   $0x127848                      
  10acf0:	e8 03 23 00 00       	call   10cff8 <_Objects_Allocate>     
  10acf5:	89 c6                	mov    %eax,%esi                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
  10acf7:	83 c4 10             	add    $0x10,%esp                     
  10acfa:	85 c0                	test   %eax,%eax                      
  10acfc:	75 0c                	jne    10ad0a <pthread_cond_init+0x4e>
    _Thread_Enable_dispatch();                                        
  10acfe:	e8 fb 2e 00 00       	call   10dbfe <_Thread_Enable_dispatch>
    return ENOMEM;                                                    
  10ad03:	b8 0c 00 00 00       	mov    $0xc,%eax                      
  10ad08:	eb 44                	jmp    10ad4e <pthread_cond_init+0x92>
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
  10ad0a:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10ad0d:	89 46 10             	mov    %eax,0x10(%esi)                
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
  10ad10:	c7 46 14 00 00 00 00 	movl   $0x0,0x14(%esi)                
                                                                      
/* XXX some more initialization might need to go here */              
  _Thread_queue_Initialize(                                           
  10ad17:	6a 74                	push   $0x74                          
  10ad19:	68 00 08 00 00       	push   $0x800                         
  10ad1e:	6a 00                	push   $0x0                           
  10ad20:	8d 46 18             	lea    0x18(%esi),%eax                
  10ad23:	50                   	push   %eax                           
  10ad24:	e8 cf 35 00 00       	call   10e2f8 <_Thread_queue_Initialize>
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  10ad29:	8b 46 08             	mov    0x8(%esi),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10ad2c:	0f b7 c8             	movzwl %ax,%ecx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10ad2f:	8b 15 64 78 12 00    	mov    0x127864,%edx                  
  10ad35:	89 34 8a             	mov    %esi,(%edx,%ecx,4)             
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
  10ad38:	c7 46 0c 00 00 00 00 	movl   $0x0,0xc(%esi)                 
    &_POSIX_Condition_variables_Information,                          
    &the_cond->Object,                                                
    0                                                                 
  );                                                                  
                                                                      
  *cond = the_cond->Object.id;                                        
  10ad3f:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10ad42:	89 02                	mov    %eax,(%edx)                    
                                                                      
  _Thread_Enable_dispatch();                                          
  10ad44:	e8 b5 2e 00 00       	call   10dbfe <_Thread_Enable_dispatch>
                                                                      
  return 0;                                                           
  10ad49:	83 c4 10             	add    $0x10,%esp                     
  10ad4c:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10ad4e:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ad51:	5b                   	pop    %ebx                           
  10ad52:	5e                   	pop    %esi                           
  10ad53:	c9                   	leave                                 
  10ad54:	c3                   	ret                                   
                                                                      

0010ab70 <pthread_condattr_destroy>: */ int pthread_condattr_destroy( pthread_condattr_t *attr ) {
  10ab70:	55                   	push   %ebp                           
  10ab71:	89 e5                	mov    %esp,%ebp                      
  10ab73:	8b 55 08             	mov    0x8(%ebp),%edx                 
  if ( !attr || attr->is_initialized == false )                       
    return EINVAL;                                                    
  10ab76:	b8 16 00 00 00       	mov    $0x16,%eax                     
                                                                      
int pthread_condattr_destroy(                                         
  pthread_condattr_t *attr                                            
)                                                                     
{                                                                     
  if ( !attr || attr->is_initialized == false )                       
  10ab7b:	85 d2                	test   %edx,%edx                      
  10ab7d:	74 0d                	je     10ab8c <pthread_condattr_destroy+0x1c>
  10ab7f:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10ab82:	74 08                	je     10ab8c <pthread_condattr_destroy+0x1c><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
  10ab84:	c7 02 00 00 00 00    	movl   $0x0,(%edx)                    
  return 0;                                                           
  10ab8a:	30 c0                	xor    %al,%al                        
}                                                                     
  10ab8c:	c9                   	leave                                 
  10ab8d:	c3                   	ret                                   
                                                                      

0010a298 <pthread_create>: pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)( void * ), void *arg ) {
  10a298:	55                   	push   %ebp                           
  10a299:	89 e5                	mov    %esp,%ebp                      
  10a29b:	57                   	push   %edi                           
  10a29c:	56                   	push   %esi                           
  10a29d:	53                   	push   %ebx                           
  10a29e:	83 ec 5c             	sub    $0x5c,%esp                     
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
    return EFAULT;                                                    
  10a2a1:	c7 45 b4 0e 00 00 00 	movl   $0xe,-0x4c(%ebp)               
  int                                 schedpolicy = SCHED_RR;         
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
  10a2a8:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  10a2ac:	0f 84 0f 02 00 00    	je     10a4c1 <pthread_create+0x229>  
    return EFAULT;                                                    
                                                                      
  the_attr = (attr) ? attr : &_POSIX_Threads_Default_attributes;      
  10a2b2:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10a2b5:	85 db                	test   %ebx,%ebx                      
  10a2b7:	75 05                	jne    10a2be <pthread_create+0x26>   
  10a2b9:	bb d4 f9 11 00       	mov    $0x11f9d4,%ebx                 
                                                                      
  if ( !the_attr->is_initialized )                                    
    return EINVAL;                                                    
  10a2be:	c7 45 b4 16 00 00 00 	movl   $0x16,-0x4c(%ebp)              
  if ( !start_routine )                                               
    return EFAULT;                                                    
                                                                      
  the_attr = (attr) ? attr : &_POSIX_Threads_Default_attributes;      
                                                                      
  if ( !the_attr->is_initialized )                                    
  10a2c5:	83 3b 00             	cmpl   $0x0,(%ebx)                    
  10a2c8:	0f 84 f3 01 00 00    	je     10a4c1 <pthread_create+0x229>  
   *  stack space if it is allowed to allocate it itself.             
   *                                                                  
   *  NOTE: If the user provides the stack we will let it drop below  
   *        twice the minimum.                                        
   */                                                                 
  if ( the_attr->stackaddr && !_Stack_Is_enough(the_attr->stacksize) )
  10a2ce:	83 7b 04 00          	cmpl   $0x0,0x4(%ebx)                 
  10a2d2:	74 0e                	je     10a2e2 <pthread_create+0x4a>   
  10a2d4:	a1 14 12 12 00       	mov    0x121214,%eax                  
  10a2d9:	39 43 08             	cmp    %eax,0x8(%ebx)                 
  10a2dc:	0f 82 df 01 00 00    	jb     10a4c1 <pthread_create+0x229>  
   *  If inheritsched is set to PTHREAD_INHERIT_SCHED, then this thread
   *  inherits scheduling attributes from the creating thread.   If it is
   *  PTHREAD_EXPLICIT_SCHED, then scheduling parameters come from the
   *  attributes structure.                                           
   */                                                                 
  switch ( the_attr->inheritsched ) {                                 
  10a2e2:	8b 43 10             	mov    0x10(%ebx),%eax                
  10a2e5:	83 f8 01             	cmp    $0x1,%eax                      
  10a2e8:	74 0b                	je     10a2f5 <pthread_create+0x5d>   
  10a2ea:	83 f8 02             	cmp    $0x2,%eax                      
  10a2ed:	0f 85 c7 01 00 00    	jne    10a4ba <pthread_create+0x222>  
  10a2f3:	eb 1f                	jmp    10a314 <pthread_create+0x7c>   
    case PTHREAD_INHERIT_SCHED:                                       
      api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];    
  10a2f5:	a1 24 57 12 00       	mov    0x125724,%eax                  
  10a2fa:	8b b0 f8 00 00 00    	mov    0xf8(%eax),%esi                
      schedpolicy = api->schedpolicy;                                 
  10a300:	8b 86 80 00 00 00    	mov    0x80(%esi),%eax                
  10a306:	89 45 ac             	mov    %eax,-0x54(%ebp)               
      schedparam  = api->schedparam;                                  
  10a309:	8d 7d c4             	lea    -0x3c(%ebp),%edi               
  10a30c:	81 c6 84 00 00 00    	add    $0x84,%esi                     
  10a312:	eb 0c                	jmp    10a320 <pthread_create+0x88>   
      break;                                                          
                                                                      
    case PTHREAD_EXPLICIT_SCHED:                                      
      schedpolicy = the_attr->schedpolicy;                            
  10a314:	8b 43 14             	mov    0x14(%ebx),%eax                
  10a317:	89 45 ac             	mov    %eax,-0x54(%ebp)               
      schedparam  = the_attr->schedparam;                             
  10a31a:	8d 7d c4             	lea    -0x3c(%ebp),%edi               
  10a31d:	8d 73 18             	lea    0x18(%ebx),%esi                
  10a320:	b9 07 00 00 00       	mov    $0x7,%ecx                      
  10a325:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  /*                                                                  
   *  Check the contentionscope since rtems only supports PROCESS wide
   *  contention (i.e. no system wide contention).                    
   */                                                                 
  if ( the_attr->contentionscope != PTHREAD_SCOPE_PROCESS )           
    return ENOTSUP;                                                   
  10a327:	c7 45 b4 86 00 00 00 	movl   $0x86,-0x4c(%ebp)              
                                                                      
  /*                                                                  
   *  Check the contentionscope since rtems only supports PROCESS wide
   *  contention (i.e. no system wide contention).                    
   */                                                                 
  if ( the_attr->contentionscope != PTHREAD_SCOPE_PROCESS )           
  10a32e:	83 7b 0c 00          	cmpl   $0x0,0xc(%ebx)                 
  10a332:	0f 85 89 01 00 00    	jne    10a4c1 <pthread_create+0x229>  
    return ENOTSUP;                                                   
                                                                      
  /*                                                                  
   *  Interpret the scheduling parameters.                            
   */                                                                 
  if ( !_POSIX_Priority_Is_valid( schedparam.sched_priority ) )       
  10a338:	83 ec 0c             	sub    $0xc,%esp                      
  10a33b:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  10a33e:	e8 3d 57 00 00       	call   10fa80 <_POSIX_Priority_Is_valid>
  10a343:	83 c4 10             	add    $0x10,%esp                     
    return EINVAL;                                                    
  10a346:	c7 45 b4 16 00 00 00 	movl   $0x16,-0x4c(%ebp)              
    return ENOTSUP;                                                   
                                                                      
  /*                                                                  
   *  Interpret the scheduling parameters.                            
   */                                                                 
  if ( !_POSIX_Priority_Is_valid( schedparam.sched_priority ) )       
  10a34d:	84 c0                	test   %al,%al                        
  10a34f:	0f 84 6c 01 00 00    	je     10a4c1 <pthread_create+0x229>  <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  core_priority = _POSIX_Priority_To_core( schedparam.sched_priority );
  10a355:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  10a358:	89 45 a8             	mov    %eax,-0x58(%ebp)               
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
  10a35b:	0f b6 3d 18 12 12 00 	movzbl 0x121218,%edi                  
                                                                      
  /*                                                                  
   *  Set the core scheduling policy information.                     
   */                                                                 
  rc = _POSIX_Thread_Translate_sched_param(                           
  10a362:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10a365:	50                   	push   %eax                           
  10a366:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10a369:	50                   	push   %eax                           
  10a36a:	8d 45 c4             	lea    -0x3c(%ebp),%eax               
  10a36d:	50                   	push   %eax                           
  10a36e:	ff 75 ac             	pushl  -0x54(%ebp)                    
  10a371:	e8 2a 57 00 00       	call   10faa0 <_POSIX_Thread_Translate_sched_param>
  10a376:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
    schedpolicy,                                                      
    &schedparam,                                                      
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
  10a379:	83 c4 10             	add    $0x10,%esp                     
  10a37c:	85 c0                	test   %eax,%eax                      
  10a37e:	0f 85 3d 01 00 00    	jne    10a4c1 <pthread_create+0x229>  
  #endif                                                              
                                                                      
  /*                                                                  
   *  Lock the allocator mutex for protection                         
   */                                                                 
  _RTEMS_Lock_allocator();                                            
  10a384:	83 ec 0c             	sub    $0xc,%esp                      
  10a387:	ff 35 7c 52 12 00    	pushl  0x12527c                       
  10a38d:	e8 4e 15 00 00       	call   10b8e0 <_API_Mutex_Lock>       
 *  _POSIX_Threads_Allocate                                           
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void )  
{                                                                     
  return (Thread_Control *) _Objects_Allocate( &_POSIX_Threads_Information );
  10a392:	c7 04 24 20 54 12 00 	movl   $0x125420,(%esp)               
  10a399:	e8 be 1e 00 00       	call   10c25c <_Objects_Allocate>     
  10a39e:	89 45 b0             	mov    %eax,-0x50(%ebp)               
   *  Allocate the thread control block.                              
   *                                                                  
   *  NOTE:  Global threads are not currently supported.              
   */                                                                 
  the_thread = _POSIX_Threads_Allocate();                             
  if ( !the_thread ) {                                                
  10a3a1:	83 c4 10             	add    $0x10,%esp                     
  10a3a4:	85 c0                	test   %eax,%eax                      
  10a3a6:	75 05                	jne    10a3ad <pthread_create+0x115>  
    _RTEMS_Unlock_allocator();                                        
  10a3a8:	83 ec 0c             	sub    $0xc,%esp                      
  10a3ab:	eb 53                	jmp    10a400 <pthread_create+0x168>  
                                                                      
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
  name.name_p = NULL;   /* posix threads don't have a name by default */
  status = _Thread_Initialize(                                        
  10a3ad:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  10a3b0:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
  10a3b3:	8b 53 08             	mov    0x8(%ebx),%edx                 
  10a3b6:	a1 14 12 12 00       	mov    0x121214,%eax                  
  10a3bb:	d1 e0                	shl    %eax                           
  10a3bd:	39 d0                	cmp    %edx,%eax                      
  10a3bf:	73 02                	jae    10a3c3 <pthread_create+0x12b>  
  10a3c1:	89 d0                	mov    %edx,%eax                      
  10a3c3:	52                   	push   %edx                           
  10a3c4:	6a 00                	push   $0x0                           
  10a3c6:	6a 00                	push   $0x0                           
  10a3c8:	51                   	push   %ecx                           
  10a3c9:	56                   	push   %esi                           
  10a3ca:	6a 01                	push   $0x1                           
  10a3cc:	81 e7 ff 00 00 00    	and    $0xff,%edi                     
  10a3d2:	2b 7d a8             	sub    -0x58(%ebp),%edi               
  10a3d5:	57                   	push   %edi                           
  10a3d6:	6a 01                	push   $0x1                           
  10a3d8:	50                   	push   %eax                           
  10a3d9:	ff 73 04             	pushl  0x4(%ebx)                      
  10a3dc:	ff 75 b0             	pushl  -0x50(%ebp)                    
  10a3df:	68 20 54 12 00       	push   $0x125420                      
  10a3e4:	e8 0f 2b 00 00       	call   10cef8 <_Thread_Initialize>    
    budget_callout,                                                   
    0,                    /* isr level */                             
    name                  /* posix threads don't have a name */       
  );                                                                  
                                                                      
  if ( !status ) {                                                    
  10a3e9:	83 c4 30             	add    $0x30,%esp                     
  10a3ec:	84 c0                	test   %al,%al                        
  10a3ee:	75 2a                	jne    10a41a <pthread_create+0x182>  
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free (                       
  Thread_Control *the_pthread                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Threads_Information, &the_pthread->Object ); 
  10a3f0:	56                   	push   %esi                           
  10a3f1:	56                   	push   %esi                           
  10a3f2:	ff 75 b0             	pushl  -0x50(%ebp)                    
  10a3f5:	68 20 54 12 00       	push   $0x125420                      
  10a3fa:	e8 55 21 00 00       	call   10c554 <_Objects_Free>         
    _POSIX_Threads_Free( the_thread );                                
    _RTEMS_Unlock_allocator();                                        
  10a3ff:	5b                   	pop    %ebx                           
  10a400:	ff 35 7c 52 12 00    	pushl  0x12527c                       
  10a406:	e8 1d 15 00 00       	call   10b928 <_API_Mutex_Unlock>     
    return EAGAIN;                                                    
  10a40b:	83 c4 10             	add    $0x10,%esp                     
  10a40e:	c7 45 b4 0b 00 00 00 	movl   $0xb,-0x4c(%ebp)               
  10a415:	e9 a7 00 00 00       	jmp    10a4c1 <pthread_create+0x229>  
  }                                                                   
                                                                      
  /*                                                                  
   *  finish initializing the per API structure                       
   */                                                                 
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  10a41a:	8b 45 b0             	mov    -0x50(%ebp),%eax               
  10a41d:	8b 90 f8 00 00 00    	mov    0xf8(%eax),%edx                
                                                                      
  api->Attributes  = *the_attr;                                       
  10a423:	b9 0f 00 00 00       	mov    $0xf,%ecx                      
  10a428:	89 d7                	mov    %edx,%edi                      
  10a42a:	89 de                	mov    %ebx,%esi                      
  10a42c:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  api->detachstate = the_attr->detachstate;                           
  10a42e:	8b 43 38             	mov    0x38(%ebx),%eax                
  10a431:	89 42 3c             	mov    %eax,0x3c(%edx)                
  api->schedpolicy = schedpolicy;                                     
  10a434:	8b 45 ac             	mov    -0x54(%ebp),%eax               
  10a437:	89 82 80 00 00 00    	mov    %eax,0x80(%edx)                
  api->schedparam  = schedparam;                                      
  10a43d:	8d ba 84 00 00 00    	lea    0x84(%edx),%edi                
  10a443:	8d 75 c4             	lea    -0x3c(%ebp),%esi               
  10a446:	b1 07                	mov    $0x7,%cl                       
  10a448:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
  10a44a:	83 ec 0c             	sub    $0xc,%esp                      
  10a44d:	6a 00                	push   $0x0                           
  10a44f:	ff 75 14             	pushl  0x14(%ebp)                     
  10a452:	ff 75 10             	pushl  0x10(%ebp)                     
  10a455:	6a 01                	push   $0x1                           
  10a457:	ff 75 b0             	pushl  -0x50(%ebp)                    
  10a45a:	89 55 a4             	mov    %edx,-0x5c(%ebp)               
  10a45d:	e8 1e 34 00 00       	call   10d880 <_Thread_Start>         
      _RTEMS_Unlock_allocator();                                      
      return EINVAL;                                                  
    }                                                                 
  #endif                                                              
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
  10a462:	83 c4 20             	add    $0x20,%esp                     
  10a465:	83 7d ac 04          	cmpl   $0x4,-0x54(%ebp)               
  10a469:	8b 55 a4             	mov    -0x5c(%ebp),%edx               
  10a46c:	75 2e                	jne    10a49c <pthread_create+0x204>  
    _Watchdog_Insert_ticks(                                           
  10a46e:	83 ec 0c             	sub    $0xc,%esp                      
      &api->Sporadic_timer,                                           
      _Timespec_To_ticks( &api->schedparam.sched_ss_repl_period )     
  10a471:	8d 82 8c 00 00 00    	lea    0x8c(%edx),%eax                
      return EINVAL;                                                  
    }                                                                 
  #endif                                                              
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
    _Watchdog_Insert_ticks(                                           
  10a477:	50                   	push   %eax                           
  10a478:	e8 ab 35 00 00       	call   10da28 <_Timespec_To_ticks>    
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10a47d:	8b 55 a4             	mov    -0x5c(%ebp),%edx               
  10a480:	89 82 b0 00 00 00    	mov    %eax,0xb0(%edx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10a486:	58                   	pop    %eax                           
  10a487:	59                   	pop    %ecx                           
  10a488:	81 c2 a4 00 00 00    	add    $0xa4,%edx                     
  10a48e:	52                   	push   %edx                           
  10a48f:	68 9c 52 12 00       	push   $0x12529c                      
  10a494:	e8 43 38 00 00       	call   10dcdc <_Watchdog_Insert>      
  10a499:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  /*                                                                  
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
  *thread = the_thread->Object.id;                                    
  10a49c:	8b 45 b0             	mov    -0x50(%ebp),%eax               
  10a49f:	8b 50 08             	mov    0x8(%eax),%edx                 
  10a4a2:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10a4a5:	89 10                	mov    %edx,(%eax)                    
                                                                      
  _RTEMS_Unlock_allocator();                                          
  10a4a7:	83 ec 0c             	sub    $0xc,%esp                      
  10a4aa:	ff 35 7c 52 12 00    	pushl  0x12527c                       
  10a4b0:	e8 73 14 00 00       	call   10b928 <_API_Mutex_Unlock>     
  return 0;                                                           
  10a4b5:	83 c4 10             	add    $0x10,%esp                     
  10a4b8:	eb 07                	jmp    10a4c1 <pthread_create+0x229>  
      schedpolicy = the_attr->schedpolicy;                            
      schedparam  = the_attr->schedparam;                             
      break;                                                          
                                                                      
    default:                                                          
      return EINVAL;                                                  
  10a4ba:	c7 45 b4 16 00 00 00 	movl   $0x16,-0x4c(%ebp)              
   */                                                                 
  *thread = the_thread->Object.id;                                    
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return 0;                                                           
}                                                                     
  10a4c1:	8b 45 b4             	mov    -0x4c(%ebp),%eax               
  10a4c4:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a4c7:	5b                   	pop    %ebx                           
  10a4c8:	5e                   	pop    %esi                           
  10a4c9:	5f                   	pop    %edi                           
  10a4ca:	c9                   	leave                                 
  10a4cb:	c3                   	ret                                   
                                                                      

00110d44 <pthread_exit>: } void pthread_exit( void *value_ptr ) {
  110d44:	55                   	push   %ebp                           
  110d45:	89 e5                	mov    %esp,%ebp                      
  110d47:	83 ec 10             	sub    $0x10,%esp                     
  _POSIX_Thread_Exit( _Thread_Executing, value_ptr );                 
  110d4a:	ff 75 08             	pushl  0x8(%ebp)                      
  110d4d:	ff 35 34 47 12 00    	pushl  0x124734                       
  110d53:	e8 88 ff ff ff       	call   110ce0 <_POSIX_Thread_Exit>    
  110d58:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
}                                                                     
  110d5b:	c9                   	leave                                 <== NOT EXECUTED
  110d5c:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010a118 <pthread_key_create>: int pthread_key_create( pthread_key_t *key, void (*destructor)( void * ) ) {
  10a118:	55                   	push   %ebp                           
  10a119:	89 e5                	mov    %esp,%ebp                      
  10a11b:	57                   	push   %edi                           
  10a11c:	56                   	push   %esi                           
  10a11d:	53                   	push   %ebx                           
  10a11e:	83 ec 28             	sub    $0x28,%esp                     
  10a121:	a1 34 62 12 00       	mov    0x126234,%eax                  
  10a126:	40                   	inc    %eax                           
  10a127:	a3 34 62 12 00       	mov    %eax,0x126234                  
 *  the inactive chain of free keys control blocks.                   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void ) 
{                                                                     
  return (POSIX_Keys_Control *) _Objects_Allocate( &_POSIX_Keys_Information );
  10a12c:	68 58 66 12 00       	push   $0x126658                      
  10a131:	e8 7a 1f 00 00       	call   10c0b0 <_Objects_Allocate>     
  10a136:	89 c3                	mov    %eax,%ebx                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_key = _POSIX_Keys_Allocate();                                   
                                                                      
  if ( !the_key ) {                                                   
  10a138:	83 c4 10             	add    $0x10,%esp                     
  10a13b:	85 c0                	test   %eax,%eax                      
  10a13d:	75 0f                	jne    10a14e <pthread_key_create+0x36>
    _Thread_Enable_dispatch();                                        
  10a13f:	e8 72 2b 00 00       	call   10ccb6 <_Thread_Enable_dispatch>
    return EAGAIN;                                                    
  10a144:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  10a149:	e9 a9 00 00 00       	jmp    10a1f7 <pthread_key_create+0xdf>
  }                                                                   
                                                                      
  the_key->destructor = destructor;                                   
  10a14e:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10a151:	89 43 10             	mov    %eax,0x10(%ebx)                
   *  APIs are optional.                                              
   *                                                                  
   *  NOTE: Currently RTEMS Classic API tasks are always enabled.     
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
  10a154:	be 01 00 00 00       	mov    $0x1,%esi                      
        the_api <= OBJECTS_APIS_LAST;                                 
        the_api++ ) {                                                 
                                                                      
    if ( _Objects_Information_table[ the_api ] ) {                    
  10a159:	8b 04 b5 0c 62 12 00 	mov    0x12620c(,%esi,4),%eax         
  10a160:	85 c0                	test   %eax,%eax                      
  10a162:	74 63                	je     10a1c7 <pthread_key_create+0xaf><== NEVER TAKEN
            true,                                                     
            INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY    
          );                                                          
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
  10a164:	8b 40 04             	mov    0x4(%eax),%eax                 
  10a167:	0f b7 40 10          	movzwl 0x10(%eax),%eax                
            INTERNAL_ERROR_CORE,                                      
            true,                                                     
            INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY    
          );                                                          
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
  10a16b:	8d 0c 85 04 00 00 00 	lea    0x4(,%eax,4),%ecx              
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
  10a172:	83 ec 0c             	sub    $0xc,%esp                      
  10a175:	51                   	push   %ecx                           
  10a176:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  10a179:	e8 28 3c 00 00       	call   10dda6 <_Workspace_Allocate>   
      if ( !table ) {                                                 
  10a17e:	83 c4 10             	add    $0x10,%esp                     
  10a181:	85 c0                	test   %eax,%eax                      
  10a183:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10a186:	75 33                	jne    10a1bb <pthread_key_create+0xa3>
        for ( --the_api;                                              
  10a188:	4e                   	dec    %esi                           
  10a189:	eb 10                	jmp    10a19b <pthread_key_create+0x83>
              the_api >= 1;                                           
              the_api-- )                                             
          _Workspace_Free( the_key->Values[ the_api ] );              
  10a18b:	83 ec 0c             	sub    $0xc,%esp                      
  10a18e:	ff 74 b3 14          	pushl  0x14(%ebx,%esi,4)              
  10a192:	e8 28 3c 00 00       	call   10ddbf <_Workspace_Free>       
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
      if ( !table ) {                                                 
        for ( --the_api;                                              
              the_api >= 1;                                           
              the_api-- )                                             
  10a197:	4e                   	dec    %esi                           
  10a198:	83 c4 10             	add    $0x10,%esp                     
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
      if ( !table ) {                                                 
        for ( --the_api;                                              
  10a19b:	85 f6                	test   %esi,%esi                      
  10a19d:	75 ec                	jne    10a18b <pthread_key_create+0x73>
 */                                                                   
RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (                          
  POSIX_Keys_Control *the_key                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Keys_Information, &the_key->Object );        
  10a19f:	50                   	push   %eax                           
  10a1a0:	50                   	push   %eax                           
  10a1a1:	53                   	push   %ebx                           
  10a1a2:	68 58 66 12 00       	push   $0x126658                      
  10a1a7:	e8 fc 21 00 00       	call   10c3a8 <_Objects_Free>         
              the_api >= 1;                                           
              the_api-- )                                             
          _Workspace_Free( the_key->Values[ the_api ] );              
                                                                      
        _POSIX_Keys_Free( the_key );                                  
        _Thread_Enable_dispatch();                                    
  10a1ac:	e8 05 2b 00 00       	call   10ccb6 <_Thread_Enable_dispatch>
        return ENOMEM;                                                
  10a1b1:	83 c4 10             	add    $0x10,%esp                     
  10a1b4:	b8 0c 00 00 00       	mov    $0xc,%eax                      
  10a1b9:	eb 3c                	jmp    10a1f7 <pthread_key_create+0xdf>
      }                                                               
                                                                      
      the_key->Values[ the_api ] = table;                             
  10a1bb:	89 44 b3 14          	mov    %eax,0x14(%ebx,%esi,4)         
      memset( table, '\0', bytes_to_allocate );                       
  10a1bf:	89 c7                	mov    %eax,%edi                      
  10a1c1:	31 c0                	xor    %eax,%eax                      
  10a1c3:	f3 aa                	rep stos %al,%es:(%edi)               
  10a1c5:	eb 08                	jmp    10a1cf <pthread_key_create+0xb7>
    } else {                                                          
      the_key->Values[ the_api ] = NULL;                              
  10a1c7:	c7 44 b3 14 00 00 00 	movl   $0x0,0x14(%ebx,%esi,4)         <== NOT EXECUTED
  10a1ce:	00                                                          
   *  NOTE: Currently RTEMS Classic API tasks are always enabled.     
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
        the_api <= OBJECTS_APIS_LAST;                                 
        the_api++ ) {                                                 
  10a1cf:	46                   	inc    %esi                           
   *  APIs are optional.                                              
   *                                                                  
   *  NOTE: Currently RTEMS Classic API tasks are always enabled.     
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
  10a1d0:	83 fe 04             	cmp    $0x4,%esi                      
  10a1d3:	75 84                	jne    10a159 <pthread_key_create+0x41>
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  10a1d5:	8b 43 08             	mov    0x8(%ebx),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10a1d8:	0f b7 c8             	movzwl %ax,%ecx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10a1db:	8b 15 74 66 12 00    	mov    0x126674,%edx                  
  10a1e1:	89 1c 8a             	mov    %ebx,(%edx,%ecx,4)             
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
  10a1e4:	c7 43 0c 00 00 00 00 	movl   $0x0,0xc(%ebx)                 
                                                                      
  }                                                                   
                                                                      
  _Objects_Open_u32( &_POSIX_Keys_Information, &the_key->Object, 0 ); 
                                                                      
  *key = the_key->Object.id;                                          
  10a1eb:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10a1ee:	89 02                	mov    %eax,(%edx)                    
                                                                      
  _Thread_Enable_dispatch();                                          
  10a1f0:	e8 c1 2a 00 00       	call   10ccb6 <_Thread_Enable_dispatch>
                                                                      
  return 0;                                                           
  10a1f5:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10a1f7:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a1fa:	5b                   	pop    %ebx                           
  10a1fb:	5e                   	pop    %esi                           
  10a1fc:	5f                   	pop    %edi                           
  10a1fd:	c9                   	leave                                 
  10a1fe:	c3                   	ret                                   
                                                                      

0010a200 <pthread_key_delete>: */ int pthread_key_delete( pthread_key_t key ) {
  10a200:	55                   	push   %ebp                           
  10a201:	89 e5                	mov    %esp,%ebp                      
  10a203:	56                   	push   %esi                           
  10a204:	53                   	push   %ebx                           
  10a205:	83 ec 14             	sub    $0x14,%esp                     
  register POSIX_Keys_Control *the_key;                               
  Objects_Locations            location;                              
  uint32_t                     the_api;                               
                                                                      
  the_key = _POSIX_Keys_Get( key, &location );                        
  10a208:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  pthread_key_t      id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Keys_Control *)                                       
    _Objects_Get( &_POSIX_Keys_Information, (Objects_Id) id, location );
  10a20b:	50                   	push   %eax                           
  10a20c:	ff 75 08             	pushl  0x8(%ebp)                      
  10a20f:	68 58 66 12 00       	push   $0x126658                      
  10a214:	e8 c3 22 00 00       	call   10c4dc <_Objects_Get>          
  10a219:	89 c6                	mov    %eax,%esi                      
  switch ( location ) {                                               
  10a21b:	83 c4 10             	add    $0x10,%esp                     
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
  10a21e:	b8 16 00 00 00       	mov    $0x16,%eax                     
  register POSIX_Keys_Control *the_key;                               
  Objects_Locations            location;                              
  uint32_t                     the_api;                               
                                                                      
  the_key = _POSIX_Keys_Get( key, &location );                        
  switch ( location ) {                                               
  10a223:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10a227:	75 46                	jne    10a26f <pthread_key_delete+0x6f>
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Close( &_POSIX_Keys_Information, &the_key->Object );   
  10a229:	52                   	push   %edx                           
  10a22a:	52                   	push   %edx                           
  10a22b:	56                   	push   %esi                           
  10a22c:	68 58 66 12 00       	push   $0x126658                      
  10a231:	e8 e6 1e 00 00       	call   10c11c <_Objects_Close>        
  10a236:	83 c4 10             	add    $0x10,%esp                     
                                                                      
      for ( the_api = 1; the_api <= OBJECTS_APIS_LAST; the_api++ )    
  10a239:	bb 01 00 00 00       	mov    $0x1,%ebx                      
        if ( the_key->Values[ the_api ] )                             
  10a23e:	8b 44 9e 14          	mov    0x14(%esi,%ebx,4),%eax         
  10a242:	85 c0                	test   %eax,%eax                      
  10a244:	74 0c                	je     10a252 <pthread_key_delete+0x52><== NEVER TAKEN
          _Workspace_Free( the_key->Values[ the_api ] );              
  10a246:	83 ec 0c             	sub    $0xc,%esp                      
  10a249:	50                   	push   %eax                           
  10a24a:	e8 70 3b 00 00       	call   10ddbf <_Workspace_Free>       
  10a24f:	83 c4 10             	add    $0x10,%esp                     
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Close( &_POSIX_Keys_Information, &the_key->Object );   
                                                                      
      for ( the_api = 1; the_api <= OBJECTS_APIS_LAST; the_api++ )    
  10a252:	43                   	inc    %ebx                           
  10a253:	83 fb 04             	cmp    $0x4,%ebx                      
  10a256:	75 e6                	jne    10a23e <pthread_key_delete+0x3e>
 */                                                                   
RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (                          
  POSIX_Keys_Control *the_key                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Keys_Information, &the_key->Object );        
  10a258:	50                   	push   %eax                           
  10a259:	50                   	push   %eax                           
  10a25a:	56                   	push   %esi                           
  10a25b:	68 58 66 12 00       	push   $0x126658                      
  10a260:	e8 43 21 00 00       	call   10c3a8 <_Objects_Free>         
       *  NOTE:  The destructor is not called and it is the responsibility
       *         of the application to free the memory.               
       */                                                             
                                                                      
      _POSIX_Keys_Free( the_key );                                    
      _Thread_Enable_dispatch();                                      
  10a265:	e8 4c 2a 00 00       	call   10ccb6 <_Thread_Enable_dispatch>
      return 0;                                                       
  10a26a:	83 c4 10             	add    $0x10,%esp                     
  10a26d:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10a26f:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10a272:	5b                   	pop    %ebx                           
  10a273:	5e                   	pop    %esi                           
  10a274:	c9                   	leave                                 
  10a275:	c3                   	ret                                   
                                                                      

0010bc18 <pthread_mutexattr_setpshared>: int pthread_mutexattr_setpshared( pthread_mutexattr_t *attr, int pshared ) {
  10bc18:	55                   	push   %ebp                           
  10bc19:	89 e5                	mov    %esp,%ebp                      
  10bc1b:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10bc1e:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
  10bc21:	b8 16 00 00 00       	mov    $0x16,%eax                     
int pthread_mutexattr_setpshared(                                     
  pthread_mutexattr_t *attr,                                          
  int                  pshared                                        
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
  10bc26:	85 d2                	test   %edx,%edx                      
  10bc28:	74 0f                	je     10bc39 <pthread_mutexattr_setpshared+0x21>
  10bc2a:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10bc2d:	74 0a                	je     10bc39 <pthread_mutexattr_setpshared+0x21>
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
  10bc2f:	83 f9 01             	cmp    $0x1,%ecx                      
  10bc32:	77 05                	ja     10bc39 <pthread_mutexattr_setpshared+0x21><== NEVER TAKEN
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
  10bc34:	89 4a 04             	mov    %ecx,0x4(%edx)                 
      return 0;                                                       
  10bc37:	30 c0                	xor    %al,%al                        
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  10bc39:	c9                   	leave                                 
  10bc3a:	c3                   	ret                                   
                                                                      

00109e40 <pthread_mutexattr_settype>: #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) int pthread_mutexattr_settype( pthread_mutexattr_t *attr, int type ) {
  109e40:	55                   	push   %ebp                           
  109e41:	89 e5                	mov    %esp,%ebp                      
  109e43:	8b 55 08             	mov    0x8(%ebp),%edx                 
  109e46:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
  109e49:	b8 16 00 00 00       	mov    $0x16,%eax                     
int pthread_mutexattr_settype(                                        
  pthread_mutexattr_t *attr,                                          
  int                  type                                           
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
  109e4e:	85 d2                	test   %edx,%edx                      
  109e50:	74 0f                	je     109e61 <pthread_mutexattr_settype+0x21>
  109e52:	83 3a 00             	cmpl   $0x0,(%edx)                    
  109e55:	74 0a                	je     109e61 <pthread_mutexattr_settype+0x21><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  switch ( type ) {                                                   
  109e57:	83 f9 03             	cmp    $0x3,%ecx                      
  109e5a:	77 05                	ja     109e61 <pthread_mutexattr_settype+0x21>
    case PTHREAD_MUTEX_NORMAL:                                        
    case PTHREAD_MUTEX_RECURSIVE:                                     
    case PTHREAD_MUTEX_ERRORCHECK:                                    
    case PTHREAD_MUTEX_DEFAULT:                                       
      attr->type = type;                                              
  109e5c:	89 4a 10             	mov    %ecx,0x10(%edx)                
      return 0;                                                       
  109e5f:	30 c0                	xor    %al,%al                        
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  109e61:	c9                   	leave                                 
  109e62:	c3                   	ret                                   
                                                                      

0010a8e4 <pthread_once>: int pthread_once( pthread_once_t *once_control, void (*init_routine)(void) ) {
  10a8e4:	55                   	push   %ebp                           
  10a8e5:	89 e5                	mov    %esp,%ebp                      
  10a8e7:	56                   	push   %esi                           
  10a8e8:	53                   	push   %ebx                           
  10a8e9:	83 ec 10             	sub    $0x10,%esp                     
  10a8ec:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10a8ef:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  if ( !once_control || !init_routine )                               
  10a8f2:	85 f6                	test   %esi,%esi                      
  10a8f4:	74 51                	je     10a947 <pthread_once+0x63>     
  10a8f6:	85 db                	test   %ebx,%ebx                      
  10a8f8:	74 4d                	je     10a947 <pthread_once+0x63>     
      once_control->init_executed = true;                             
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  }                                                                   
  return 0;                                                           
  10a8fa:	31 c0                	xor    %eax,%eax                      
)                                                                     
{                                                                     
  if ( !once_control || !init_routine )                               
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
  10a8fc:	83 7b 04 00          	cmpl   $0x0,0x4(%ebx)                 
  10a900:	75 4a                	jne    10a94c <pthread_once+0x68>     
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
  10a902:	52                   	push   %edx                           
  10a903:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10a906:	50                   	push   %eax                           
  10a907:	68 00 01 00 00       	push   $0x100                         
  10a90c:	68 00 01 00 00       	push   $0x100                         
  10a911:	e8 9e 0a 00 00       	call   10b3b4 <rtems_task_mode>       
    if ( !once_control->init_executed ) {                             
  10a916:	83 c4 10             	add    $0x10,%esp                     
  10a919:	83 7b 04 00          	cmpl   $0x0,0x4(%ebx)                 
  10a91d:	75 0f                	jne    10a92e <pthread_once+0x4a>     <== NEVER TAKEN
      once_control->is_initialized = true;                            
  10a91f:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)                    
      once_control->init_executed = true;                             
  10a925:	c7 43 04 01 00 00 00 	movl   $0x1,0x4(%ebx)                 
      (*init_routine)();                                              
  10a92c:	ff d6                	call   *%esi                          
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  10a92e:	50                   	push   %eax                           
  10a92f:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10a932:	50                   	push   %eax                           
  10a933:	68 00 01 00 00       	push   $0x100                         
  10a938:	ff 75 f4             	pushl  -0xc(%ebp)                     
  10a93b:	e8 74 0a 00 00       	call   10b3b4 <rtems_task_mode>       
  10a940:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
  return 0;                                                           
  10a943:	31 c0                	xor    %eax,%eax                      
  10a945:	eb 05                	jmp    10a94c <pthread_once+0x68>     
  pthread_once_t  *once_control,                                      
  void           (*init_routine)(void)                                
)                                                                     
{                                                                     
  if ( !once_control || !init_routine )                               
    return EINVAL;                                                    
  10a947:	b8 16 00 00 00       	mov    $0x16,%eax                     
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  }                                                                   
  return 0;                                                           
}                                                                     
  10a94c:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10a94f:	5b                   	pop    %ebx                           
  10a950:	5e                   	pop    %esi                           
  10a951:	c9                   	leave                                 
  10a952:	c3                   	ret                                   
                                                                      

0010af5c <pthread_rwlock_init>: int pthread_rwlock_init( pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr ) {
  10af5c:	55                   	push   %ebp                           
  10af5d:	89 e5                	mov    %esp,%ebp                      
  10af5f:	56                   	push   %esi                           
  10af60:	53                   	push   %ebx                           
  10af61:	83 ec 10             	sub    $0x10,%esp                     
  10af64:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
    return EINVAL;                                                    
  10af67:	b8 16 00 00 00       	mov    $0x16,%eax                     
  const pthread_rwlockattr_t  *the_attr;                              
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
  10af6c:	85 db                	test   %ebx,%ebx                      
  10af6e:	0f 84 84 00 00 00    	je     10aff8 <pthread_rwlock_init+0x9c>
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
  10af74:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10af77:	85 f6                	test   %esi,%esi                      
  10af79:	75 0f                	jne    10af8a <pthread_rwlock_init+0x2e>
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_rwlockattr_init( &default_attr );                  
  10af7b:	83 ec 0c             	sub    $0xc,%esp                      
  10af7e:	8d 75 ec             	lea    -0x14(%ebp),%esi               
  10af81:	56                   	push   %esi                           
  10af82:	e8 55 09 00 00       	call   10b8dc <pthread_rwlockattr_init>
  10af87:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
    return EINVAL;                                                    
  10af8a:	b8 16 00 00 00       	mov    $0x16,%eax                     
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
  10af8f:	83 3e 00             	cmpl   $0x0,(%esi)                    
  10af92:	74 64                	je     10aff8 <pthread_rwlock_init+0x9c><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
  10af94:	83 7e 04 00          	cmpl   $0x0,0x4(%esi)                 
  10af98:	75 5e                	jne    10aff8 <pthread_rwlock_init+0x9c><== NEVER TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10af9a:	a1 f4 71 12 00       	mov    0x1271f4,%eax                  
  10af9f:	40                   	inc    %eax                           
  10afa0:	a3 f4 71 12 00       	mov    %eax,0x1271f4                  
 *  the inactive chain of free RWLock control blocks.                 
 */                                                                   
RTEMS_INLINE_ROUTINE POSIX_RWLock_Control *_POSIX_RWLock_Allocate( void )
{                                                                     
  return (POSIX_RWLock_Control *)                                     
    _Objects_Allocate( &_POSIX_RWLock_Information );                  
  10afa5:	83 ec 0c             	sub    $0xc,%esp                      
  10afa8:	68 00 74 12 00       	push   $0x127400                      
  10afad:	e8 42 23 00 00       	call   10d2f4 <_Objects_Allocate>     
  10afb2:	89 c6                	mov    %eax,%esi                      
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
  10afb4:	83 c4 10             	add    $0x10,%esp                     
  10afb7:	85 c0                	test   %eax,%eax                      
  10afb9:	75 0c                	jne    10afc7 <pthread_rwlock_init+0x6b>
    _Thread_Enable_dispatch();                                        
  10afbb:	e8 3a 2f 00 00       	call   10defa <_Thread_Enable_dispatch>
    return EAGAIN;                                                    
  10afc0:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  10afc5:	eb 31                	jmp    10aff8 <pthread_rwlock_init+0x9c>
  }                                                                   
                                                                      
  _CORE_RWLock_Initialize( &the_rwlock->RWLock, &the_attributes );    
  10afc7:	50                   	push   %eax                           
  10afc8:	50                   	push   %eax                           
  10afc9:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10afcc:	50                   	push   %eax                           
  10afcd:	8d 46 10             	lea    0x10(%esi),%eax                
  10afd0:	50                   	push   %eax                           
  10afd1:	e8 76 1b 00 00       	call   10cb4c <_CORE_RWLock_Initialize>
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  10afd6:	8b 46 08             	mov    0x8(%esi),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10afd9:	0f b7 c8             	movzwl %ax,%ecx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10afdc:	8b 15 1c 74 12 00    	mov    0x12741c,%edx                  
  10afe2:	89 34 8a             	mov    %esi,(%edx,%ecx,4)             
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
  10afe5:	c7 46 0c 00 00 00 00 	movl   $0x0,0xc(%esi)                 
    &_POSIX_RWLock_Information,                                       
    &the_rwlock->Object,                                              
    0                                                                 
  );                                                                  
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
  10afec:	89 03                	mov    %eax,(%ebx)                    
                                                                      
  _Thread_Enable_dispatch();                                          
  10afee:	e8 07 2f 00 00       	call   10defa <_Thread_Enable_dispatch>
  return 0;                                                           
  10aff3:	83 c4 10             	add    $0x10,%esp                     
  10aff6:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10aff8:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10affb:	5b                   	pop    %ebx                           
  10affc:	5e                   	pop    %esi                           
  10affd:	c9                   	leave                                 
  10affe:	c3                   	ret                                   
                                                                      

0010b068 <pthread_rwlock_timedrdlock>: int pthread_rwlock_timedrdlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
  10b068:	55                   	push   %ebp                           
  10b069:	89 e5                	mov    %esp,%ebp                      
  10b06b:	57                   	push   %edi                           
  10b06c:	56                   	push   %esi                           
  10b06d:	53                   	push   %ebx                           
  10b06e:	83 ec 2c             	sub    $0x2c,%esp                     
  10b071:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
    return EINVAL;                                                    
  10b074:	bb 16 00 00 00       	mov    $0x16,%ebx                     
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
  10b079:	85 ff                	test   %edi,%edi                      
  10b07b:	0f 84 89 00 00 00    	je     10b10a <pthread_rwlock_timedrdlock+0xa2>
   *                                                                  
   *  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 );       
  10b081:	50                   	push   %eax                           
  10b082:	50                   	push   %eax                           
  10b083:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10b086:	50                   	push   %eax                           
  10b087:	ff 75 0c             	pushl  0xc(%ebp)                      
  10b08a:	e8 75 57 00 00       	call   110804 <_POSIX_Absolute_timeout_to_ticks>
  10b08f:	89 c6                	mov    %eax,%esi                      
  10b091:	83 c4 0c             	add    $0xc,%esp                      
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  10b094:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10b097:	50                   	push   %eax                           
  10b098:	ff 37                	pushl  (%edi)                         
  10b09a:	68 00 74 12 00       	push   $0x127400                      
  10b09f:	e8 7c 26 00 00       	call   10d720 <_Objects_Get>          
  switch ( location ) {                                               
  10b0a4:	83 c4 10             	add    $0x10,%esp                     
  10b0a7:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10b0ab:	75 5d                	jne    10b10a <pthread_rwlock_timedrdlock+0xa2>
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,                                
  10b0ad:	83 fe 03             	cmp    $0x3,%esi                      
  10b0b0:	0f 94 c2             	sete   %dl                            
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_reading(                                
  10b0b3:	83 ec 0c             	sub    $0xc,%esp                      
  10b0b6:	6a 00                	push   $0x0                           
  10b0b8:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b0bb:	0f b6 ca             	movzbl %dl,%ecx                       
  10b0be:	51                   	push   %ecx                           
  10b0bf:	ff 37                	pushl  (%edi)                         
  10b0c1:	83 c0 10             	add    $0x10,%eax                     
  10b0c4:	50                   	push   %eax                           
  10b0c5:	88 55 d4             	mov    %dl,-0x2c(%ebp)                
  10b0c8:	e8 b3 1a 00 00       	call   10cb80 <_CORE_RWLock_Obtain_for_reading>
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
  10b0cd:	83 c4 20             	add    $0x20,%esp                     
  10b0d0:	e8 25 2e 00 00       	call   10defa <_Thread_Enable_dispatch>
      if ( !do_wait ) {                                               
  10b0d5:	8a 55 d4             	mov    -0x2c(%ebp),%dl                
  10b0d8:	84 d2                	test   %dl,%dl                        
  10b0da:	75 19                	jne    10b0f5 <pthread_rwlock_timedrdlock+0x8d>
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
  10b0dc:	a1 44 77 12 00       	mov    0x127744,%eax                  
  10b0e1:	83 78 34 02          	cmpl   $0x2,0x34(%eax)                
  10b0e5:	75 0e                	jne    10b0f5 <pthread_rwlock_timedrdlock+0x8d>
	  switch (status) {                                                  
  10b0e7:	85 f6                	test   %esi,%esi                      
  10b0e9:	74 1f                	je     10b10a <pthread_rwlock_timedrdlock+0xa2><== NEVER TAKEN
	    case POSIX_ABSOLUTE_TIMEOUT_INVALID:                             
	      return EINVAL;                                                 
	    case POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST:                          
	    case POSIX_ABSOLUTE_TIMEOUT_IS_NOW:                              
	      return ETIMEDOUT;                                              
  10b0eb:	bb 74 00 00 00       	mov    $0x74,%ebx                     
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait ) {                                               
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
	  switch (status) {                                                  
  10b0f0:	83 fe 02             	cmp    $0x2,%esi                      
  10b0f3:	76 15                	jbe    10b10a <pthread_rwlock_timedrdlock+0xa2><== ALWAYS TAKEN
	      break;                                                         
	  }                                                                  
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
  10b0f5:	83 ec 0c             	sub    $0xc,%esp                      
        (CORE_RWLock_Status) _Thread_Executing->Wait.return_code      
  10b0f8:	a1 44 77 12 00       	mov    0x127744,%eax                  
	      break;                                                         
	  }                                                                  
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
  10b0fd:	ff 70 34             	pushl  0x34(%eax)                     
  10b100:	e8 bb 00 00 00       	call   10b1c0 <_POSIX_RWLock_Translate_core_RWLock_return_code>
  10b105:	89 c3                	mov    %eax,%ebx                      
  10b107:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10b10a:	89 d8                	mov    %ebx,%eax                      
  10b10c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b10f:	5b                   	pop    %ebx                           
  10b110:	5e                   	pop    %esi                           
  10b111:	5f                   	pop    %edi                           
  10b112:	c9                   	leave                                 
  10b113:	c3                   	ret                                   
                                                                      

0010b114 <pthread_rwlock_timedwrlock>: int pthread_rwlock_timedwrlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
  10b114:	55                   	push   %ebp                           
  10b115:	89 e5                	mov    %esp,%ebp                      
  10b117:	57                   	push   %edi                           
  10b118:	56                   	push   %esi                           
  10b119:	53                   	push   %ebx                           
  10b11a:	83 ec 2c             	sub    $0x2c,%esp                     
  10b11d:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
    return EINVAL;                                                    
  10b120:	bb 16 00 00 00       	mov    $0x16,%ebx                     
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
  10b125:	85 ff                	test   %edi,%edi                      
  10b127:	0f 84 89 00 00 00    	je     10b1b6 <pthread_rwlock_timedwrlock+0xa2>
   *                                                                  
   *  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 );       
  10b12d:	50                   	push   %eax                           
  10b12e:	50                   	push   %eax                           
  10b12f:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10b132:	50                   	push   %eax                           
  10b133:	ff 75 0c             	pushl  0xc(%ebp)                      
  10b136:	e8 c9 56 00 00       	call   110804 <_POSIX_Absolute_timeout_to_ticks>
  10b13b:	89 c6                	mov    %eax,%esi                      
  10b13d:	83 c4 0c             	add    $0xc,%esp                      
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  10b140:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10b143:	50                   	push   %eax                           
  10b144:	ff 37                	pushl  (%edi)                         
  10b146:	68 00 74 12 00       	push   $0x127400                      
  10b14b:	e8 d0 25 00 00       	call   10d720 <_Objects_Get>          
  switch ( location ) {                                               
  10b150:	83 c4 10             	add    $0x10,%esp                     
  10b153:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10b157:	75 5d                	jne    10b1b6 <pthread_rwlock_timedwrlock+0xa2>
        (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,                                
  10b159:	83 fe 03             	cmp    $0x3,%esi                      
  10b15c:	0f 94 c2             	sete   %dl                            
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_writing(                                
  10b15f:	83 ec 0c             	sub    $0xc,%esp                      
  10b162:	6a 00                	push   $0x0                           
  10b164:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b167:	0f b6 ca             	movzbl %dl,%ecx                       
  10b16a:	51                   	push   %ecx                           
  10b16b:	ff 37                	pushl  (%edi)                         
  10b16d:	83 c0 10             	add    $0x10,%eax                     
  10b170:	50                   	push   %eax                           
  10b171:	88 55 d4             	mov    %dl,-0x2c(%ebp)                
  10b174:	e8 bf 1a 00 00       	call   10cc38 <_CORE_RWLock_Obtain_for_writing>
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
  10b179:	83 c4 20             	add    $0x20,%esp                     
  10b17c:	e8 79 2d 00 00       	call   10defa <_Thread_Enable_dispatch>
      if ( !do_wait &&                                                
  10b181:	8a 55 d4             	mov    -0x2c(%ebp),%dl                
  10b184:	84 d2                	test   %dl,%dl                        
  10b186:	75 19                	jne    10b1a1 <pthread_rwlock_timedwrlock+0x8d>
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
  10b188:	a1 44 77 12 00       	mov    0x127744,%eax                  
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
  10b18d:	83 78 34 02          	cmpl   $0x2,0x34(%eax)                
  10b191:	75 0e                	jne    10b1a1 <pthread_rwlock_timedwrlock+0x8d>
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	switch (status) {                                                    
  10b193:	85 f6                	test   %esi,%esi                      
  10b195:	74 1f                	je     10b1b6 <pthread_rwlock_timedwrlock+0xa2><== NEVER TAKEN
	  case POSIX_ABSOLUTE_TIMEOUT_INVALID:                               
	    return EINVAL;                                                   
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST:                            
	  case POSIX_ABSOLUTE_TIMEOUT_IS_NOW:                                
	    return ETIMEDOUT;                                                
  10b197:	bb 74 00 00 00       	mov    $0x74,%ebx                     
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	switch (status) {                                                    
  10b19c:	83 fe 02             	cmp    $0x2,%esi                      
  10b19f:	76 15                	jbe    10b1b6 <pthread_rwlock_timedwrlock+0xa2><== ALWAYS TAKEN
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:                          
	    break;                                                           
	}                                                                    
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
  10b1a1:	83 ec 0c             	sub    $0xc,%esp                      
        (CORE_RWLock_Status) _Thread_Executing->Wait.return_code      
  10b1a4:	a1 44 77 12 00       	mov    0x127744,%eax                  
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:                          
	    break;                                                           
	}                                                                    
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
  10b1a9:	ff 70 34             	pushl  0x34(%eax)                     
  10b1ac:	e8 0f 00 00 00       	call   10b1c0 <_POSIX_RWLock_Translate_core_RWLock_return_code>
  10b1b1:	89 c3                	mov    %eax,%ebx                      
  10b1b3:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10b1b6:	89 d8                	mov    %ebx,%eax                      
  10b1b8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b1bb:	5b                   	pop    %ebx                           
  10b1bc:	5e                   	pop    %esi                           
  10b1bd:	5f                   	pop    %edi                           
  10b1be:	c9                   	leave                                 
  10b1bf:	c3                   	ret                                   
                                                                      

0010b8fc <pthread_rwlockattr_setpshared>: int pthread_rwlockattr_setpshared( pthread_rwlockattr_t *attr, int pshared ) {
  10b8fc:	55                   	push   %ebp                           
  10b8fd:	89 e5                	mov    %esp,%ebp                      
  10b8ff:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10b902:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  if ( !attr )                                                        
    return EINVAL;                                                    
  10b905:	b8 16 00 00 00       	mov    $0x16,%eax                     
int pthread_rwlockattr_setpshared(                                    
  pthread_rwlockattr_t *attr,                                         
  int                    pshared                                      
)                                                                     
{                                                                     
  if ( !attr )                                                        
  10b90a:	85 d2                	test   %edx,%edx                      
  10b90c:	74 0f                	je     10b91d <pthread_rwlockattr_setpshared+0x21>
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
  10b90e:	83 3a 00             	cmpl   $0x0,(%edx)                    
  10b911:	74 0a                	je     10b91d <pthread_rwlockattr_setpshared+0x21>
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
  10b913:	83 f9 01             	cmp    $0x1,%ecx                      
  10b916:	77 05                	ja     10b91d <pthread_rwlockattr_setpshared+0x21><== NEVER TAKEN
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
  10b918:	89 4a 04             	mov    %ecx,0x4(%edx)                 
      return 0;                                                       
  10b91b:	30 c0                	xor    %al,%al                        
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  10b91d:	c9                   	leave                                 
  10b91e:	c3                   	ret                                   
                                                                      

0010c794 <pthread_setschedparam>: int pthread_setschedparam( pthread_t thread, int policy, struct sched_param *param ) {
  10c794:	55                   	push   %ebp                           
  10c795:	89 e5                	mov    %esp,%ebp                      
  10c797:	57                   	push   %edi                           
  10c798:	56                   	push   %esi                           
  10c799:	53                   	push   %ebx                           
  10c79a:	83 ec 2c             	sub    $0x2c,%esp                     
  10c79d:	8b 75 10             	mov    0x10(%ebp),%esi                
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
    return EINVAL;                                                    
  10c7a0:	c7 45 d4 16 00 00 00 	movl   $0x16,-0x2c(%ebp)              
  int                                  rc;                            
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
  10c7a7:	85 f6                	test   %esi,%esi                      
  10c7a9:	0f 84 00 01 00 00    	je     10c8af <pthread_setschedparam+0x11b><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  rc = _POSIX_Thread_Translate_sched_param(                           
  10c7af:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10c7b2:	50                   	push   %eax                           
  10c7b3:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10c7b6:	50                   	push   %eax                           
  10c7b7:	56                   	push   %esi                           
  10c7b8:	ff 75 0c             	pushl  0xc(%ebp)                      
  10c7bb:	e8 30 51 00 00       	call   1118f0 <_POSIX_Thread_Translate_sched_param>
  10c7c0:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
    policy,                                                           
    param,                                                            
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
  10c7c3:	83 c4 10             	add    $0x10,%esp                     
  10c7c6:	85 c0                	test   %eax,%eax                      
  10c7c8:	0f 85 e1 00 00 00    	jne    10c8af <pthread_setschedparam+0x11b><== NEVER TAKEN
  10c7ce:	53                   	push   %ebx                           
    return rc;                                                        
                                                                      
  /*                                                                  
   *  Actually change the scheduling policy and parameters            
   */                                                                 
  the_thread = _POSIX_Threads_Get( thread, &location );               
  10c7cf:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  10c7d2:	50                   	push   %eax                           
  10c7d3:	ff 75 08             	pushl  0x8(%ebp)                      
  10c7d6:	68 80 94 12 00       	push   $0x129480                      
  10c7db:	e8 90 1c 00 00       	call   10e470 <_Objects_Get>          
  10c7e0:	89 c2                	mov    %eax,%edx                      
  switch ( location ) {                                               
  10c7e2:	83 c4 10             	add    $0x10,%esp                     
  10c7e5:	83 7d dc 00          	cmpl   $0x0,-0x24(%ebp)               
  10c7e9:	0f 85 b9 00 00 00    	jne    10c8a8 <pthread_setschedparam+0x114><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
  10c7ef:	8b 98 f8 00 00 00    	mov    0xf8(%eax),%ebx                
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
  10c7f5:	83 bb 80 00 00 00 04 	cmpl   $0x4,0x80(%ebx)                
  10c7fc:	75 18                	jne    10c816 <pthread_setschedparam+0x82>
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
  10c7fe:	83 ec 0c             	sub    $0xc,%esp                      
  10c801:	8d 83 a4 00 00 00    	lea    0xa4(%ebx),%eax                
  10c807:	50                   	push   %eax                           
  10c808:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  10c80b:	e8 58 34 00 00       	call   10fc68 <_Watchdog_Remove>      
  10c810:	83 c4 10             	add    $0x10,%esp                     
  10c813:	8b 55 d0             	mov    -0x30(%ebp),%edx               
                                                                      
      api->schedpolicy = policy;                                      
  10c816:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10c819:	89 83 80 00 00 00    	mov    %eax,0x80(%ebx)                
      api->schedparam  = *param;                                      
  10c81f:	8d bb 84 00 00 00    	lea    0x84(%ebx),%edi                
  10c825:	b9 07 00 00 00       	mov    $0x7,%ecx                      
  10c82a:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
      the_thread->budget_algorithm = budget_algorithm;                
  10c82c:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10c82f:	89 42 7c             	mov    %eax,0x7c(%edx)                
      the_thread->budget_callout   = budget_callout;                  
  10c832:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10c835:	89 82 80 00 00 00    	mov    %eax,0x80(%edx)                
                                                                      
      switch ( api->schedpolicy ) {                                   
  10c83b:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)                 
  10c83f:	78 60                	js     10c8a1 <pthread_setschedparam+0x10d><== NEVER TAKEN
  10c841:	83 7d 0c 02          	cmpl   $0x2,0xc(%ebp)                 
  10c845:	7e 08                	jle    10c84f <pthread_setschedparam+0xbb>
  10c847:	83 7d 0c 04          	cmpl   $0x4,0xc(%ebp)                 
  10c84b:	75 54                	jne    10c8a1 <pthread_setschedparam+0x10d><== NEVER TAKEN
  10c84d:	eb 24                	jmp    10c873 <pthread_setschedparam+0xdf>
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
  10c84f:	a1 04 92 12 00       	mov    0x129204,%eax                  
  10c854:	89 42 78             	mov    %eax,0x78(%edx)                
  10c857:	0f b6 05 18 52 12 00 	movzbl 0x125218,%eax                  
  10c85e:	2b 83 84 00 00 00    	sub    0x84(%ebx),%eax                
                                                                      
          the_thread->real_priority =                                 
  10c864:	89 42 18             	mov    %eax,0x18(%edx)                
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
  10c867:	51                   	push   %ecx                           
  10c868:	6a 01                	push   $0x1                           
  10c86a:	50                   	push   %eax                           
  10c86b:	52                   	push   %edx                           
  10c86c:	e8 47 1f 00 00       	call   10e7b8 <_Thread_Change_priority>
  10c871:	eb 2b                	jmp    10c89e <pthread_setschedparam+0x10a>
             true                                                     
          );                                                          
          break;                                                      
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
  10c873:	8b 83 84 00 00 00    	mov    0x84(%ebx),%eax                
  10c879:	89 83 a0 00 00 00    	mov    %eax,0xa0(%ebx)                
          _Watchdog_Remove( &api->Sporadic_timer );                   
  10c87f:	83 ec 0c             	sub    $0xc,%esp                      
  10c882:	81 c3 a4 00 00 00    	add    $0xa4,%ebx                     
  10c888:	53                   	push   %ebx                           
  10c889:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  10c88c:	e8 d7 33 00 00       	call   10fc68 <_Watchdog_Remove>      
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
  10c891:	58                   	pop    %eax                           
  10c892:	5a                   	pop    %edx                           
  10c893:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  10c896:	52                   	push   %edx                           
  10c897:	6a 00                	push   $0x0                           
  10c899:	e8 e1 fd ff ff       	call   10c67f <_POSIX_Threads_Sporadic_budget_TSR>
          break;                                                      
  10c89e:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
  10c8a1:	e8 a4 23 00 00       	call   10ec4a <_Thread_Enable_dispatch>
      return 0;                                                       
  10c8a6:	eb 07                	jmp    10c8af <pthread_setschedparam+0x11b>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
  10c8a8:	c7 45 d4 03 00 00 00 	movl   $0x3,-0x2c(%ebp)               
}                                                                     
  10c8af:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10c8b2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c8b5:	5b                   	pop    %ebx                           
  10c8b6:	5e                   	pop    %esi                           
  10c8b7:	5f                   	pop    %edi                           
  10c8b8:	c9                   	leave                                 
  10c8b9:	c3                   	ret                                   
                                                                      

0010a6c0 <pthread_testcancel>: * * 18.2.2 Setting Cancelability State, P1003.1c/Draft 10, p. 183 */ void pthread_testcancel( void ) {
  10a6c0:	55                   	push   %ebp                           
  10a6c1:	89 e5                	mov    %esp,%ebp                      
  10a6c3:	53                   	push   %ebx                           
  10a6c4:	83 ec 04             	sub    $0x4,%esp                      
   *  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() )                                        
  10a6c7:	83 3d 18 67 12 00 00 	cmpl   $0x0,0x126718                  
  10a6ce:	75 48                	jne    10a718 <pthread_testcancel+0x58><== NEVER TAKEN
    return;                                                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
  10a6d0:	a1 1c 67 12 00       	mov    0x12671c,%eax                  
  10a6d5:	8b 80 f8 00 00 00    	mov    0xf8(%eax),%eax                
  10a6db:	8b 15 cc 61 12 00    	mov    0x1261cc,%edx                  
  10a6e1:	42                   	inc    %edx                           
  10a6e2:	89 15 cc 61 12 00    	mov    %edx,0x1261cc                  
 */                                                                   
                                                                      
void pthread_testcancel( void )                                       
{                                                                     
  POSIX_API_Control *thread_support;                                  
  bool               cancel = false;                                  
  10a6e8:	31 db                	xor    %ebx,%ebx                      
    return;                                                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
  10a6ea:	83 b8 d4 00 00 00 00 	cmpl   $0x0,0xd4(%eax)                
  10a6f1:	75 0a                	jne    10a6fd <pthread_testcancel+0x3d><== NEVER TAKEN
                                                                      
/* Setting Cancelability State, P1003.1c/Draft 10, p. 183 */          
                                                                      
int	_EXFUN(pthread_setcancelstate, (int __state, int *__oldstate));   
int	_EXFUN(pthread_setcanceltype, (int __type, int *__oldtype));      
void 	_EXFUN(pthread_testcancel, (void));                             
  10a6f3:	83 b8 dc 00 00 00 00 	cmpl   $0x0,0xdc(%eax)                
  10a6fa:	0f 95 c3             	setne  %bl                            
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
  10a6fd:	e8 1c 23 00 00       	call   10ca1e <_Thread_Enable_dispatch>
                                                                      
  if ( cancel )                                                       
  10a702:	84 db                	test   %bl,%bl                        
  10a704:	74 12                	je     10a718 <pthread_testcancel+0x58>
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
  10a706:	50                   	push   %eax                           
  10a707:	50                   	push   %eax                           
  10a708:	6a ff                	push   $0xffffffff                    
  10a70a:	ff 35 1c 67 12 00    	pushl  0x12671c                       
  10a710:	e8 cb 50 00 00       	call   10f7e0 <_POSIX_Thread_Exit>    
  10a715:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
}                                                                     
  10a718:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10a71b:	c9                   	leave                                 
  10a71c:	c3                   	ret                                   
                                                                      

0011ca6c <read>: ssize_t read( int fd, void *buffer, size_t count ) {
  11ca6c:	55                   	push   %ebp                           
  11ca6d:	89 e5                	mov    %esp,%ebp                      
  11ca6f:	56                   	push   %esi                           
  11ca70:	53                   	push   %ebx                           
  11ca71:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11ca74:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  11ca77:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  11ca7a:	3b 1d 44 01 12 00    	cmp    0x120144,%ebx                  
  11ca80:	73 14                	jae    11ca96 <read+0x2a>             <== NEVER TAKEN
  iop = rtems_libio_iop( fd );                                        
  11ca82:	c1 e3 06             	shl    $0x6,%ebx                      
  11ca85:	03 1d 98 40 12 00    	add    0x124098,%ebx                  
  rtems_libio_check_is_open( iop );                                   
  11ca8b:	8b 73 14             	mov    0x14(%ebx),%esi                
  11ca8e:	f7 c6 00 01 00 00    	test   $0x100,%esi                    
  11ca94:	75 0d                	jne    11caa3 <read+0x37>             
  11ca96:	e8 a1 46 ff ff       	call   11113c <__errno>               
  11ca9b:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  11caa1:	eb 1a                	jmp    11cabd <read+0x51>             
  rtems_libio_check_buffer( buffer );                                 
  11caa3:	85 d2                	test   %edx,%edx                      
  11caa5:	74 0b                	je     11cab2 <read+0x46>             <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
  11caa7:	31 c0                	xor    %eax,%eax                      
  11caa9:	85 c9                	test   %ecx,%ecx                      
  11caab:	74 31                	je     11cade <read+0x72>             <== NEVER TAKEN
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
  11caad:	83 e6 02             	and    $0x2,%esi                      
  11cab0:	75 10                	jne    11cac2 <read+0x56>             <== ALWAYS TAKEN
  11cab2:	e8 85 46 ff ff       	call   11113c <__errno>               <== NOT EXECUTED
  11cab7:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
  11cabd:	83 c8 ff             	or     $0xffffffff,%eax               
  11cac0:	eb 1c                	jmp    11cade <read+0x72>             
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
  rc = (*iop->handlers->read_h)( iop, buffer, count );                
  11cac2:	50                   	push   %eax                           
  11cac3:	8b 43 3c             	mov    0x3c(%ebx),%eax                
  11cac6:	51                   	push   %ecx                           
  11cac7:	52                   	push   %edx                           
  11cac8:	53                   	push   %ebx                           
  11cac9:	ff 50 08             	call   *0x8(%eax)                     
                                                                      
  if ( rc > 0 )                                                       
  11cacc:	83 c4 10             	add    $0x10,%esp                     
  11cacf:	85 c0                	test   %eax,%eax                      
  11cad1:	7e 0b                	jle    11cade <read+0x72>             
    iop->offset += rc;                                                
  11cad3:	89 c1                	mov    %eax,%ecx                      
  11cad5:	c1 f9 1f             	sar    $0x1f,%ecx                     
  11cad8:	01 43 0c             	add    %eax,0xc(%ebx)                 
  11cadb:	11 4b 10             	adc    %ecx,0x10(%ebx)                
                                                                      
  return rc;                                                          
}                                                                     
  11cade:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  11cae1:	5b                   	pop    %ebx                           
  11cae2:	5e                   	pop    %esi                           
  11cae3:	c9                   	leave                                 
  11cae4:	c3                   	ret                                   
                                                                      

00109c24 <readlink>: ssize_t readlink( const char *pathname, char *buf, size_t bufsize ) {
  109c24:	55                   	push   %ebp                           
  109c25:	89 e5                	mov    %esp,%ebp                      
  109c27:	57                   	push   %edi                           
  109c28:	56                   	push   %esi                           
  109c29:	53                   	push   %ebx                           
  109c2a:	83 ec 2c             	sub    $0x2c,%esp                     
  109c2d:	8b 55 08             	mov    0x8(%ebp),%edx                 
  109c30:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
  109c33:	85 db                	test   %ebx,%ebx                      
  109c35:	75 10                	jne    109c47 <readlink+0x23>         <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
  109c37:	e8 5c 99 00 00       	call   113598 <__errno>               <== NOT EXECUTED
  109c3c:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    <== NOT EXECUTED
  109c42:	83 cf ff             	or     $0xffffffff,%edi               <== NOT EXECUTED
  109c45:	eb 69                	jmp    109cb0 <readlink+0x8c>         <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
  109c47:	31 c0                	xor    %eax,%eax                      
  109c49:	83 c9 ff             	or     $0xffffffff,%ecx               
  109c4c:	89 d7                	mov    %edx,%edi                      
  109c4e:	f2 ae                	repnz scas %es:(%edi),%al             
  109c50:	f7 d1                	not    %ecx                           
  109c52:	49                   	dec    %ecx                           
  109c53:	83 ec 0c             	sub    $0xc,%esp                      
  109c56:	6a 00                	push   $0x0                           
  109c58:	8d 75 d4             	lea    -0x2c(%ebp),%esi               
  109c5b:	56                   	push   %esi                           
  109c5c:	6a 00                	push   $0x0                           
  109c5e:	51                   	push   %ecx                           
  109c5f:	52                   	push   %edx                           
  109c60:	e8 28 f0 ff ff       	call   108c8d <rtems_filesystem_evaluate_path>
                                           0, &loc, false );          
  if ( result != 0 )                                                  
  109c65:	83 c4 20             	add    $0x20,%esp                     
     return -1;                                                       
  109c68:	83 cf ff             	or     $0xffffffff,%edi               
  if (!buf)                                                           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
                                           0, &loc, false );          
  if ( result != 0 )                                                  
  109c6b:	85 c0                	test   %eax,%eax                      
  109c6d:	75 41                	jne    109cb0 <readlink+0x8c>         <== NEVER TAKEN
     return -1;                                                       
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
  109c6f:	83 ec 0c             	sub    $0xc,%esp                      
  109c72:	56                   	push   %esi                           
  109c73:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  109c76:	ff 50 10             	call   *0x10(%eax)                    
  109c79:	83 c4 10             	add    $0x10,%esp                     
  109c7c:	83 f8 04             	cmp    $0x4,%eax                      
  109c7f:	74 16                	je     109c97 <readlink+0x73>         
    rtems_filesystem_freenode( &loc );                                
  109c81:	83 ec 0c             	sub    $0xc,%esp                      
  109c84:	56                   	push   %esi                           
  109c85:	e8 ea f0 ff ff       	call   108d74 <rtems_filesystem_freenode>
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  109c8a:	e8 09 99 00 00       	call   113598 <__errno>               
  109c8f:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  109c95:	eb 16                	jmp    109cad <readlink+0x89>         
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
  109c97:	50                   	push   %eax                           
  109c98:	ff 75 10             	pushl  0x10(%ebp)                     
  109c9b:	53                   	push   %ebx                           
  109c9c:	56                   	push   %esi                           
  109c9d:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  109ca0:	ff 50 3c             	call   *0x3c(%eax)                    
  109ca3:	89 c7                	mov    %eax,%edi                      
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  109ca5:	89 34 24             	mov    %esi,(%esp)                    
  109ca8:	e8 c7 f0 ff ff       	call   108d74 <rtems_filesystem_freenode>
                                                                      
  return result;                                                      
  109cad:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  109cb0:	89 f8                	mov    %edi,%eax                      
  109cb2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109cb5:	5b                   	pop    %ebx                           
  109cb6:	5e                   	pop    %esi                           
  109cb7:	5f                   	pop    %edi                           
  109cb8:	c9                   	leave                                 
  109cb9:	c3                   	ret                                   
                                                                      

00108c24 <readv>: ssize_t readv( int fd, const struct iovec *iov, int iovcnt ) {
  108c24:	55                   	push   %ebp                           
  108c25:	89 e5                	mov    %esp,%ebp                      
  108c27:	57                   	push   %edi                           
  108c28:	56                   	push   %esi                           
  108c29:	53                   	push   %ebx                           
  108c2a:	83 ec 2c             	sub    $0x2c,%esp                     
  108c2d:	8b 75 08             	mov    0x8(%ebp),%esi                 
  108c30:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  108c33:	3b 35 a4 22 12 00    	cmp    0x1222a4,%esi                  
  108c39:	73 11                	jae    108c4c <readv+0x28>            
  iop = rtems_libio_iop( fd );                                        
  108c3b:	c1 e6 06             	shl    $0x6,%esi                      
  108c3e:	03 35 f8 61 12 00    	add    0x1261f8,%esi                  
  rtems_libio_check_is_open( iop );                                   
  108c44:	8b 46 14             	mov    0x14(%esi),%eax                
  108c47:	f6 c4 01             	test   $0x1,%ah                       
  108c4a:	75 10                	jne    108c5c <readv+0x38>            
  108c4c:	e8 c3 90 00 00       	call   111d14 <__errno>               
  108c51:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  108c57:	e9 a4 00 00 00       	jmp    108d00 <readv+0xdc>            
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
  108c5c:	a8 02                	test   $0x2,%al                       
  108c5e:	74 35                	je     108c95 <readv+0x71>            <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
  108c60:	85 ff                	test   %edi,%edi                      
  108c62:	74 31                	je     108c95 <readv+0x71>            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
  108c64:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  108c68:	7e 2b                	jle    108c95 <readv+0x71>            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
  108c6a:	81 7d 10 00 04 00 00 	cmpl   $0x400,0x10(%ebp)              
  108c71:	7f 22                	jg     108c95 <readv+0x71>            <== NEVER TAKEN
  108c73:	b2 01                	mov    $0x1,%dl                       
  108c75:	31 c0                	xor    %eax,%eax                      
  108c77:	31 c9                	xor    %ecx,%ecx                      
  108c79:	89 75 d4             	mov    %esi,-0x2c(%ebp)               
  108c7c:	eb 03                	jmp    108c81 <readv+0x5d>            
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
  108c7e:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
                                                                      
  all_zeros = true;                                                   
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    ssize_t old;                                                      
                                                                      
    if ( !iov[v].iov_base )                                           
  108c81:	83 3c c7 00          	cmpl   $0x0,(%edi,%eax,8)             
  108c85:	74 0e                	je     108c95 <readv+0x71>            
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
  108c87:	8b 5c c7 04          	mov    0x4(%edi,%eax,8),%ebx          
  108c8b:	8d 34 19             	lea    (%ecx,%ebx,1),%esi             
  108c8e:	89 75 e4             	mov    %esi,-0x1c(%ebp)               
    if ( total < old )                                                
  108c91:	39 ce                	cmp    %ecx,%esi                      
  108c93:	7d 0d                	jge    108ca2 <readv+0x7e>            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  108c95:	e8 7a 90 00 00       	call   111d14 <__errno>               
  108c9a:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  108ca0:	eb 5e                	jmp    108d00 <readv+0xdc>            
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
  108ca2:	85 db                	test   %ebx,%ebx                      
  108ca4:	0f 94 c1             	sete   %cl                            
  108ca7:	f7 d9                	neg    %ecx                           
  108ca9:	21 ca                	and    %ecx,%edx                      
   *  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++ ) {                           
  108cab:	40                   	inc    %eax                           
  108cac:	3b 45 10             	cmp    0x10(%ebp),%eax                
  108caf:	7c cd                	jl     108c7e <readv+0x5a>            
  108cb1:	8b 75 d4             	mov    -0x2c(%ebp),%esi               
   *  A readv with all zeros logically has no effect.  Even though    
   *  OpenGroup didn't address this case as they did with writev(),   
   *  we will handle it the same way for symmetry.                    
   */                                                                 
  if ( all_zeros == true ) {                                          
    return 0;                                                         
  108cb4:	31 db                	xor    %ebx,%ebx                      
  /*                                                                  
   *  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 ) {                                          
  108cb6:	84 d2                	test   %dl,%dl                        
  108cb8:	75 49                	jne    108d03 <readv+0xdf>            
  108cba:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
                                                                      
  /*                                                                  
   *  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 );
  108cc1:	50                   	push   %eax                           
  108cc2:	8b 46 3c             	mov    0x3c(%esi),%eax                
  108cc5:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  108cc8:	ff 74 d7 04          	pushl  0x4(%edi,%edx,8)               
  108ccc:	ff 34 d7             	pushl  (%edi,%edx,8)                  
  108ccf:	56                   	push   %esi                           
  108cd0:	ff 50 08             	call   *0x8(%eax)                     
                                                                      
    if ( bytes < 0 )                                                  
  108cd3:	83 c4 10             	add    $0x10,%esp                     
  108cd6:	83 f8 00             	cmp    $0x0,%eax                      
  108cd9:	7c 25                	jl     108d00 <readv+0xdc>            <== NEVER TAKEN
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
  108cdb:	74 0d                	je     108cea <readv+0xc6>            <== NEVER TAKEN
      iop->offset += bytes;                                           
  108cdd:	89 c1                	mov    %eax,%ecx                      
  108cdf:	c1 f9 1f             	sar    $0x1f,%ecx                     
  108ce2:	01 46 0c             	add    %eax,0xc(%esi)                 
  108ce5:	11 4e 10             	adc    %ecx,0x10(%esi)                
      total       += bytes;                                           
  108ce8:	01 c3                	add    %eax,%ebx                      
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
  108cea:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  108ced:	3b 44 d7 04          	cmp    0x4(%edi,%edx,8),%eax          
  108cf1:	75 10                	jne    108d03 <readv+0xdf>            <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
  108cf3:	42                   	inc    %edx                           
  108cf4:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  108cf7:	8b 45 10             	mov    0x10(%ebp),%eax                
  108cfa:	39 c2                	cmp    %eax,%edx                      
  108cfc:	7c c3                	jl     108cc1 <readv+0x9d>            
  108cfe:	eb 03                	jmp    108d03 <readv+0xdf>            
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
  108d00:	83 cb ff             	or     $0xffffffff,%ebx               
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
  108d03:	89 d8                	mov    %ebx,%eax                      
  108d05:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108d08:	5b                   	pop    %ebx                           
  108d09:	5e                   	pop    %esi                           
  108d0a:	5f                   	pop    %edi                           
  108d0b:	c9                   	leave                                 
  108d0c:	c3                   	ret                                   
                                                                      

0011cb64 <realloc>: void *realloc( void *ptr, size_t size ) {
  11cb64:	55                   	push   %ebp                           
  11cb65:	89 e5                	mov    %esp,%ebp                      
  11cb67:	57                   	push   %edi                           
  11cb68:	56                   	push   %esi                           
  11cb69:	53                   	push   %ebx                           
  11cb6a:	83 ec 2c             	sub    $0x2c,%esp                     
  11cb6d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11cb70:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
  11cb73:	ff 05 c0 40 12 00    	incl   0x1240c0                       
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
  11cb79:	83 3d 64 43 12 00 03 	cmpl   $0x3,0x124364                  
  11cb80:	75 1a                	jne    11cb9c <realloc+0x38>          <== NEVER TAKEN
    if (_Thread_Dispatch_disable_level > 0)                           
  11cb82:	a1 e4 41 12 00       	mov    0x1241e4,%eax                  
  11cb87:	85 c0                	test   %eax,%eax                      
  11cb89:	0f 85 ad 00 00 00    	jne    11cc3c <realloc+0xd8>          <== NEVER TAKEN
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
  11cb8f:	83 3d 30 47 12 00 00 	cmpl   $0x0,0x124730                  
  11cb96:	0f 85 a0 00 00 00    	jne    11cc3c <realloc+0xd8>          <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
  11cb9c:	85 db                	test   %ebx,%ebx                      
  11cb9e:	75 13                	jne    11cbb3 <realloc+0x4f>          
    return malloc( size );                                            
  11cba0:	83 ec 0c             	sub    $0xc,%esp                      
  11cba3:	56                   	push   %esi                           
  11cba4:	e8 03 aa fe ff       	call   1075ac <malloc>                
  11cba9:	89 c3                	mov    %eax,%ebx                      
  11cbab:	83 c4 10             	add    $0x10,%esp                     
  11cbae:	e9 8b 00 00 00       	jmp    11cc3e <realloc+0xda>          
                                                                      
  if ( !size ) {                                                      
  11cbb3:	85 f6                	test   %esi,%esi                      
  11cbb5:	75 0e                	jne    11cbc5 <realloc+0x61>          <== ALWAYS TAKEN
    free( ptr );                                                      
  11cbb7:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  11cbba:	53                   	push   %ebx                           <== NOT EXECUTED
  11cbbb:	e8 4c a7 fe ff       	call   10730c <free>                  <== NOT EXECUTED
    return (void *) 0;                                                
  11cbc0:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  11cbc3:	eb 77                	jmp    11cc3c <realloc+0xd8>          <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
  11cbc5:	52                   	push   %edx                           
  11cbc6:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  11cbc9:	50                   	push   %eax                           
  11cbca:	53                   	push   %ebx                           
  11cbcb:	ff 35 50 01 12 00    	pushl  0x120150                       
  11cbd1:	e8 ee 00 00 00       	call   11ccc4 <_Protected_heap_Get_block_size>
  11cbd6:	83 c4 10             	add    $0x10,%esp                     
  11cbd9:	84 c0                	test   %al,%al                        
  11cbdb:	75 0d                	jne    11cbea <realloc+0x86>          
    errno = EINVAL;                                                   
  11cbdd:	e8 5a 45 ff ff       	call   11113c <__errno>               
  11cbe2:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  11cbe8:	eb 52                	jmp    11cc3c <realloc+0xd8>          
  }                                                                   
                                                                      
  /*                                                                  
   *  Now resize it.                                                  
   */                                                                 
  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, size ) ) {
  11cbea:	50                   	push   %eax                           
  11cbeb:	56                   	push   %esi                           
  11cbec:	53                   	push   %ebx                           
  11cbed:	ff 35 50 01 12 00    	pushl  0x120150                       
  11cbf3:	e8 04 01 00 00       	call   11ccfc <_Protected_heap_Resize_block>
  11cbf8:	83 c4 10             	add    $0x10,%esp                     
  11cbfb:	84 c0                	test   %al,%al                        
  11cbfd:	75 3f                	jne    11cc3e <realloc+0xda>          
   *  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 );                                          
  11cbff:	83 ec 0c             	sub    $0xc,%esp                      
  11cc02:	56                   	push   %esi                           
  11cc03:	e8 a4 a9 fe ff       	call   1075ac <malloc>                
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
  11cc08:	ff 0d b4 40 12 00    	decl   0x1240b4                       
                                                                      
  if ( !new_area ) {                                                  
  11cc0e:	83 c4 10             	add    $0x10,%esp                     
  11cc11:	85 c0                	test   %eax,%eax                      
  11cc13:	74 27                	je     11cc3c <realloc+0xd8>          
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  11cc15:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  11cc18:	89 f1                	mov    %esi,%ecx                      
  11cc1a:	39 d6                	cmp    %edx,%esi                      
  11cc1c:	76 02                	jbe    11cc20 <realloc+0xbc>          <== NEVER TAKEN
  11cc1e:	89 d1                	mov    %edx,%ecx                      
  11cc20:	89 c7                	mov    %eax,%edi                      
  11cc22:	89 de                	mov    %ebx,%esi                      
  11cc24:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
  free( ptr );                                                        
  11cc26:	83 ec 0c             	sub    $0xc,%esp                      
  11cc29:	53                   	push   %ebx                           
  11cc2a:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  11cc2d:	e8 da a6 fe ff       	call   10730c <free>                  
                                                                      
  return new_area;                                                    
  11cc32:	83 c4 10             	add    $0x10,%esp                     
  11cc35:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  11cc38:	89 c3                	mov    %eax,%ebx                      
  11cc3a:	eb 02                	jmp    11cc3e <realloc+0xda>          
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
    return (void *) 0;                                                
  11cc3c:	31 db                	xor    %ebx,%ebx                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
  11cc3e:	89 d8                	mov    %ebx,%eax                      
  11cc40:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11cc43:	5b                   	pop    %ebx                           
  11cc44:	5e                   	pop    %esi                           
  11cc45:	5f                   	pop    %edi                           
  11cc46:	c9                   	leave                                 
  11cc47:	c3                   	ret                                   
                                                                      

0010a25c <rmdir>: #include <rtems/seterr.h> int rmdir( const char *pathname ) {
  10a25c:	55                   	push   %ebp                           
  10a25d:	89 e5                	mov    %esp,%ebp                      
  10a25f:	57                   	push   %edi                           
  10a260:	56                   	push   %esi                           
  10a261:	53                   	push   %ebx                           
  10a262:	83 ec 58             	sub    $0x58,%esp                     
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
  10a265:	ff 75 08             	pushl  0x8(%ebp)                      
  10a268:	e8 cd ed ff ff       	call   10903a <rtems_filesystem_dirname>
  10a26d:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
                                                                      
  if ( parentpathlen == 0 )                                           
  10a270:	83 c4 10             	add    $0x10,%esp                     
  10a273:	85 c0                	test   %eax,%eax                      
  10a275:	8d 45 d0             	lea    -0x30(%ebp),%eax               
  10a278:	75 15                	jne    10a28f <rmdir+0x33>            
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
  10a27a:	51                   	push   %ecx                           
  10a27b:	50                   	push   %eax                           
  10a27c:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10a27f:	50                   	push   %eax                           
  10a280:	ff 75 08             	pushl  0x8(%ebp)                      
  10a283:	e8 98 01 00 00       	call   10a420 <rtems_filesystem_get_start_loc>
  10a288:	83 c4 10             	add    $0x10,%esp                     
  const char                       *name;                             
  rtems_filesystem_location_info_t  parentloc;                        
  rtems_filesystem_location_info_t  loc;                              
  int                               i;                                
  int                               result;                           
  bool                              free_parentloc = false;           
  10a28b:	31 db                	xor    %ebx,%ebx                      
  10a28d:	eb 25                	jmp    10a2b4 <rmdir+0x58>            
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
  10a28f:	83 ec 0c             	sub    $0xc,%esp                      
  10a292:	6a 00                	push   $0x0                           
  10a294:	50                   	push   %eax                           
  10a295:	6a 02                	push   $0x2                           
  10a297:	ff 75 b4             	pushl  -0x4c(%ebp)                    
  10a29a:	ff 75 08             	pushl  0x8(%ebp)                      
  10a29d:	e8 2f ed ff ff       	call   108fd1 <rtems_filesystem_evaluate_path>
  10a2a2:	89 c2                	mov    %eax,%edx                      
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
  10a2a4:	83 c4 20             	add    $0x20,%esp                     
      return -1;                                                      
  10a2a7:	83 c8 ff             	or     $0xffffffff,%eax               
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
  10a2aa:	85 d2                	test   %edx,%edx                      
  10a2ac:	0f 85 d6 00 00 00    	jne    10a388 <rmdir+0x12c>           <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
  10a2b2:	b3 01                	mov    $0x1,%bl                       
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
  10a2b4:	8d 7d bc             	lea    -0x44(%ebp),%edi               
  10a2b7:	8d 75 d0             	lea    -0x30(%ebp),%esi               
  10a2ba:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  10a2bf:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  name = pathname + parentpathlen;                                    
  10a2c1:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10a2c4:	03 75 b4             	add    -0x4c(%ebp),%esi               
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
  10a2c7:	83 c9 ff             	or     $0xffffffff,%ecx               
  10a2ca:	89 f7                	mov    %esi,%edi                      
  10a2cc:	31 c0                	xor    %eax,%eax                      
  10a2ce:	f2 ae                	repnz scas %es:(%edi),%al             
  10a2d0:	f7 d1                	not    %ecx                           
  10a2d2:	49                   	dec    %ecx                           
  10a2d3:	52                   	push   %edx                           
  10a2d4:	52                   	push   %edx                           
  10a2d5:	51                   	push   %ecx                           
  10a2d6:	56                   	push   %esi                           
  10a2d7:	e8 9d ed ff ff       	call   109079 <rtems_filesystem_prefix_separators>
  10a2dc:	01 c6                	add    %eax,%esi                      
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
  10a2de:	83 c9 ff             	or     $0xffffffff,%ecx               
  10a2e1:	89 f7                	mov    %esi,%edi                      
  10a2e3:	31 c0                	xor    %eax,%eax                      
  10a2e5:	f2 ae                	repnz scas %es:(%edi),%al             
  10a2e7:	f7 d1                	not    %ecx                           
  10a2e9:	49                   	dec    %ecx                           
  10a2ea:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  10a2f1:	8d 7d bc             	lea    -0x44(%ebp),%edi               
  10a2f4:	57                   	push   %edi                           
  10a2f5:	6a 00                	push   $0x0                           
  10a2f7:	51                   	push   %ecx                           
  10a2f8:	56                   	push   %esi                           
  10a2f9:	e8 4e ec ff ff       	call   108f4c <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
  10a2fe:	83 c4 20             	add    $0x20,%esp                     
  10a301:	85 c0                	test   %eax,%eax                      
  10a303:	74 13                	je     10a318 <rmdir+0xbc>            
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  10a305:	83 c8 ff             	or     $0xffffffff,%eax               
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
  10a308:	84 db                	test   %bl,%bl                        
  10a30a:	74 7c                	je     10a388 <rmdir+0x12c>           <== ALWAYS TAKEN
      rtems_filesystem_freenode( &parentloc );                        
  10a30c:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10a30f:	8d 55 d0             	lea    -0x30(%ebp),%edx               <== NOT EXECUTED
  10a312:	52                   	push   %edx                           <== NOT EXECUTED
  10a313:	89 45 b0             	mov    %eax,-0x50(%ebp)               <== NOT EXECUTED
  10a316:	eb 65                	jmp    10a37d <rmdir+0x121>           <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ){
  10a318:	83 ec 0c             	sub    $0xc,%esp                      
  10a31b:	57                   	push   %edi                           
  10a31c:	8b 45 c8             	mov    -0x38(%ebp),%eax               
  10a31f:	ff 50 10             	call   *0x10(%eax)                    
  10a322:	83 c4 10             	add    $0x10,%esp                     
  10a325:	48                   	dec    %eax                           
  10a326:	74 2f                	je     10a357 <rmdir+0xfb>            
    rtems_filesystem_freenode( &loc );                                
  10a328:	83 ec 0c             	sub    $0xc,%esp                      
  10a32b:	57                   	push   %edi                           
  10a32c:	e8 87 ed ff ff       	call   1090b8 <rtems_filesystem_freenode>
    if ( free_parentloc )                                             
  10a331:	83 c4 10             	add    $0x10,%esp                     
  10a334:	84 db                	test   %bl,%bl                        
  10a336:	74 0f                	je     10a347 <rmdir+0xeb>            <== NEVER TAKEN
      rtems_filesystem_freenode( &parentloc );                        
  10a338:	83 ec 0c             	sub    $0xc,%esp                      
  10a33b:	8d 45 d0             	lea    -0x30(%ebp),%eax               
  10a33e:	50                   	push   %eax                           
  10a33f:	e8 74 ed ff ff       	call   1090b8 <rtems_filesystem_freenode>
  10a344:	83 c4 10             	add    $0x10,%esp                     
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  10a347:	e8 a0 94 00 00       	call   1137ec <__errno>               
  10a34c:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   
  10a352:	83 c8 ff             	or     $0xffffffff,%eax               
  10a355:	eb 31                	jmp    10a388 <rmdir+0x12c>           
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
  10a357:	50                   	push   %eax                           
  10a358:	50                   	push   %eax                           
  10a359:	57                   	push   %edi                           
  10a35a:	8d 75 d0             	lea    -0x30(%ebp),%esi               
  10a35d:	56                   	push   %esi                           
  10a35e:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  10a361:	ff 50 34             	call   *0x34(%eax)                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  10a364:	89 3c 24             	mov    %edi,(%esp)                    
  10a367:	89 45 b0             	mov    %eax,-0x50(%ebp)               
  10a36a:	e8 49 ed ff ff       	call   1090b8 <rtems_filesystem_freenode>
  if ( free_parentloc )                                               
  10a36f:	83 c4 10             	add    $0x10,%esp                     
  10a372:	84 db                	test   %bl,%bl                        
  10a374:	8b 45 b0             	mov    -0x50(%ebp),%eax               
  10a377:	74 0f                	je     10a388 <rmdir+0x12c>           
    rtems_filesystem_freenode( &parentloc );                          
  10a379:	83 ec 0c             	sub    $0xc,%esp                      
  10a37c:	56                   	push   %esi                           
  10a37d:	e8 36 ed ff ff       	call   1090b8 <rtems_filesystem_freenode>
  10a382:	83 c4 10             	add    $0x10,%esp                     
  10a385:	8b 45 b0             	mov    -0x50(%ebp),%eax               
                                                                      
  return result;                                                      
}                                                                     
  10a388:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a38b:	5b                   	pop    %ebx                           
  10a38c:	5e                   	pop    %esi                           
  10a38d:	5f                   	pop    %edi                           
  10a38e:	c9                   	leave                                 
  10a38f:	c3                   	ret                                   
                                                                      

001153c8 <rtems_assoc_name_bad>: uint32_t bad_value #else uint32_t bad_value __attribute((unused)) #endif ) {
  1153c8:	55                   	push   %ebp                           <== NOT EXECUTED
  1153c9:	89 e5                	mov    %esp,%ebp                      <== 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;                                                
}                                                                     
  1153cb:	b8 60 80 12 00       	mov    $0x128060,%eax                 <== NOT EXECUTED
  1153d0:	c9                   	leave                                 <== NOT EXECUTED
  1153d1:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

001126a4 <rtems_assoc_name_by_local>: const char *rtems_assoc_name_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
  1126a4:	55                   	push   %ebp                           
  1126a5:	89 e5                	mov    %esp,%ebp                      
  1126a7:	53                   	push   %ebx                           
  1126a8:	83 ec 0c             	sub    $0xc,%esp                      
  1126ab:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
  1126ae:	53                   	push   %ebx                           
  1126af:	ff 75 08             	pushl  0x8(%ebp)                      
  1126b2:	e8 1d 00 00 00       	call   1126d4 <rtems_assoc_ptr_by_local>
  if (nap)                                                            
  1126b7:	83 c4 10             	add    $0x10,%esp                     
  1126ba:	85 c0                	test   %eax,%eax                      
  1126bc:	74 07                	je     1126c5 <rtems_assoc_name_by_local+0x21><== NEVER TAKEN
    return nap->name;                                                 
  1126be:	8b 00                	mov    (%eax),%eax                    
                                                                      
  return rtems_assoc_name_bad(local_value);                           
}                                                                     
  1126c0:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1126c3:	c9                   	leave                                 
  1126c4:	c3                   	ret                                   
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
  if (nap)                                                            
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
  1126c5:	89 5d 08             	mov    %ebx,0x8(%ebp)                 <== NOT EXECUTED
}                                                                     
  1126c8:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  1126cb:	c9                   	leave                                 <== NOT EXECUTED
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
  if (nap)                                                            
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
  1126cc:	e9 f7 2c 00 00       	jmp    1153c8 <rtems_assoc_name_bad>  <== NOT EXECUTED
                                                                      

001126d4 <rtems_assoc_ptr_by_local>: const rtems_assoc_t *rtems_assoc_ptr_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
  1126d4:	55                   	push   %ebp                           
  1126d5:	89 e5                	mov    %esp,%ebp                      
  1126d7:	57                   	push   %edi                           
  1126d8:	56                   	push   %esi                           
  1126d9:	53                   	push   %ebx                           
  1126da:	83 ec 0c             	sub    $0xc,%esp                      
  1126dd:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1126e0:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
  1126e3:	8b 03                	mov    (%ebx),%eax                    
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
  1126e5:	31 f6                	xor    %esi,%esi                      
                                                                      
  if (rtems_assoc_is_default(ap))                                     
  1126e7:	85 c0                	test   %eax,%eax                      
  1126e9:	74 23                	je     11270e <rtems_assoc_ptr_by_local+0x3a><== NEVER TAKEN
  1126eb:	52                   	push   %edx                           
  1126ec:	52                   	push   %edx                           
  1126ed:	68 18 47 12 00       	push   $0x124718                      
  1126f2:	50                   	push   %eax                           
  1126f3:	e8 10 41 00 00       	call   116808 <strcmp>                
  1126f8:	83 c4 10             	add    $0x10,%esp                     
  1126fb:	85 c0                	test   %eax,%eax                      
  1126fd:	75 0f                	jne    11270e <rtems_assoc_ptr_by_local+0x3a><== ALWAYS TAKEN
    default_ap = ap++;                                                
  1126ff:	89 de                	mov    %ebx,%esi                      <== NOT EXECUTED
  112701:	83 c3 0c             	add    $0xc,%ebx                      <== NOT EXECUTED
  112704:	eb 08                	jmp    11270e <rtems_assoc_ptr_by_local+0x3a><== NOT EXECUTED
                                                                      
  for ( ; ap->name; ap++)                                             
    if (ap->local_value == local_value)                               
  112706:	39 7b 04             	cmp    %edi,0x4(%ebx)                 
  112709:	74 0a                	je     112715 <rtems_assoc_ptr_by_local+0x41>
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
  11270b:	83 c3 0c             	add    $0xc,%ebx                      
  11270e:	83 3b 00             	cmpl   $0x0,(%ebx)                    
  112711:	75 f3                	jne    112706 <rtems_assoc_ptr_by_local+0x32>
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
  112713:	89 f3                	mov    %esi,%ebx                      
}                                                                     
  112715:	89 d8                	mov    %ebx,%eax                      
  112717:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11271a:	5b                   	pop    %ebx                           
  11271b:	5e                   	pop    %esi                           
  11271c:	5f                   	pop    %edi                           
  11271d:	c9                   	leave                                 
  11271e:	c3                   	ret                                   
                                                                      

00110a2c <rtems_assoc_ptr_by_remote>: const rtems_assoc_t *rtems_assoc_ptr_by_remote( const rtems_assoc_t *ap, uint32_t remote_value ) {
  110a2c:	55                   	push   %ebp                           
  110a2d:	89 e5                	mov    %esp,%ebp                      
  110a2f:	57                   	push   %edi                           
  110a30:	56                   	push   %esi                           
  110a31:	53                   	push   %ebx                           
  110a32:	83 ec 0c             	sub    $0xc,%esp                      
  110a35:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  110a38:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
  110a3b:	8b 03                	mov    (%ebx),%eax                    
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
  110a3d:	31 f6                	xor    %esi,%esi                      
                                                                      
  if (rtems_assoc_is_default(ap))                                     
  110a3f:	85 c0                	test   %eax,%eax                      
  110a41:	74 23                	je     110a66 <rtems_assoc_ptr_by_remote+0x3a><== NEVER TAKEN
  110a43:	52                   	push   %edx                           
  110a44:	52                   	push   %edx                           
  110a45:	68 ec ef 11 00       	push   $0x11efec                      
  110a4a:	50                   	push   %eax                           
  110a4b:	e8 b0 12 00 00       	call   111d00 <strcmp>                
  110a50:	83 c4 10             	add    $0x10,%esp                     
  110a53:	85 c0                	test   %eax,%eax                      
  110a55:	75 0f                	jne    110a66 <rtems_assoc_ptr_by_remote+0x3a><== ALWAYS TAKEN
    default_ap = ap++;                                                
  110a57:	89 de                	mov    %ebx,%esi                      <== NOT EXECUTED
  110a59:	83 c3 0c             	add    $0xc,%ebx                      <== NOT EXECUTED
  110a5c:	eb 08                	jmp    110a66 <rtems_assoc_ptr_by_remote+0x3a><== NOT EXECUTED
                                                                      
  for ( ; ap->name; ap++)                                             
    if (ap->remote_value == remote_value)                             
  110a5e:	39 7b 08             	cmp    %edi,0x8(%ebx)                 
  110a61:	74 0a                	je     110a6d <rtems_assoc_ptr_by_remote+0x41>
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
  110a63:	83 c3 0c             	add    $0xc,%ebx                      
  110a66:	83 3b 00             	cmpl   $0x0,(%ebx)                    
  110a69:	75 f3                	jne    110a5e <rtems_assoc_ptr_by_remote+0x32>
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
  110a6b:	89 f3                	mov    %esi,%ebx                      
}                                                                     
  110a6d:	89 d8                	mov    %ebx,%eax                      
  110a6f:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110a72:	5b                   	pop    %ebx                           
  110a73:	5e                   	pop    %esi                           
  110a74:	5f                   	pop    %edi                           
  110a75:	c9                   	leave                                 
  110a76:	c3                   	ret                                   
                                                                      

00106e94 <rtems_bsp_cmdline_get_param>: const char *rtems_bsp_cmdline_get_param( const char *name, char *value, size_t length ) {
  106e94:	55                   	push   %ebp                           
  106e95:	89 e5                	mov    %esp,%ebp                      
  106e97:	57                   	push   %edi                           
  106e98:	56                   	push   %esi                           
  106e99:	53                   	push   %ebx                           
  106e9a:	83 ec 0c             	sub    $0xc,%esp                      
  106e9d:	8b 45 08             	mov    0x8(%ebp),%eax                 
  106ea0:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  106ea3:	8b 75 10             	mov    0x10(%ebp),%esi                
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
  106ea6:	85 c0                	test   %eax,%eax                      
  106ea8:	74 4c                	je     106ef6 <rtems_bsp_cmdline_get_param+0x62>
    return NULL;                                                      
                                                                      
  if ( !value )                                                       
  106eaa:	85 db                	test   %ebx,%ebx                      
  106eac:	74 4a                	je     106ef8 <rtems_bsp_cmdline_get_param+0x64>
    return NULL;                                                      
                                                                      
  if ( !length )                                                      
  106eae:	85 f6                	test   %esi,%esi                      
  106eb0:	74 44                	je     106ef6 <rtems_bsp_cmdline_get_param+0x62>
    return NULL;                                                      
                                                                      
  value[0] = '\0';                                                    
  106eb2:	c6 03 00             	movb   $0x0,(%ebx)                    
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
  106eb5:	83 ec 0c             	sub    $0xc,%esp                      
  106eb8:	50                   	push   %eax                           
  106eb9:	e8 46 00 00 00       	call   106f04 <rtems_bsp_cmdline_get_param_raw>
                                                                      
  if ( !p )                                                           
  106ebe:	83 c4 10             	add    $0x10,%esp                     
  106ec1:	85 c0                	test   %eax,%eax                      
  106ec3:	74 31                	je     106ef6 <rtems_bsp_cmdline_get_param+0x62>
  106ec5:	31 ff                	xor    %edi,%edi                      
  106ec7:	31 d2                	xor    %edx,%edx                      
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
  106ec9:	4e                   	dec    %esi                           
  106eca:	eb 1d                	jmp    106ee9 <rtems_bsp_cmdline_get_param+0x55>
    if ( *p == '\"' ) {                                               
  106ecc:	80 f9 22             	cmp    $0x22,%cl                      
  106ecf:	75 03                	jne    106ed4 <rtems_bsp_cmdline_get_param+0x40>
      quotes++;                                                       
  106ed1:	47                   	inc    %edi                           
  106ed2:	eb 0d                	jmp    106ee1 <rtems_bsp_cmdline_get_param+0x4d>
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
  106ed4:	f7 c7 01 00 00 00    	test   $0x1,%edi                      
  106eda:	75 05                	jne    106ee1 <rtems_bsp_cmdline_get_param+0x4d>
  106edc:	80 f9 20             	cmp    $0x20,%cl                      
  106edf:	74 17                	je     106ef8 <rtems_bsp_cmdline_get_param+0x64>
      break;                                                          
    value[i++] = *p++;                                                
  106ee1:	88 0c 13             	mov    %cl,(%ebx,%edx,1)              
  106ee4:	42                   	inc    %edx                           
    value[i] = '\0';                                                  
  106ee5:	c6 04 13 00          	movb   $0x0,(%ebx,%edx,1)             
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
  106ee9:	8a 0c 10             	mov    (%eax,%edx,1),%cl              
  106eec:	84 c9                	test   %cl,%cl                        
  106eee:	74 08                	je     106ef8 <rtems_bsp_cmdline_get_param+0x64>
  106ef0:	39 f2                	cmp    %esi,%edx                      
  106ef2:	72 d8                	jb     106ecc <rtems_bsp_cmdline_get_param+0x38><== ALWAYS TAKEN
  106ef4:	eb 02                	jmp    106ef8 <rtems_bsp_cmdline_get_param+0x64><== NOT EXECUTED
  value[0] = '\0';                                                    
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
                                                                      
  if ( !p )                                                           
    return NULL;                                                      
  106ef6:	31 db                	xor    %ebx,%ebx                      
                                                                      
  copy_string( p, value, length );                                    
                                                                      
  return value;                                                       
}                                                                     
  106ef8:	89 d8                	mov    %ebx,%eax                      
  106efa:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  106efd:	5b                   	pop    %ebx                           
  106efe:	5e                   	pop    %esi                           
  106eff:	5f                   	pop    %edi                           
  106f00:	c9                   	leave                                 
  106f01:	c3                   	ret                                   
                                                                      

00106f2c <rtems_bsp_cmdline_get_param_rhs>: const char *rtems_bsp_cmdline_get_param_rhs( const char *name, char *value, size_t length ) {
  106f2c:	55                   	push   %ebp                           
  106f2d:	89 e5                	mov    %esp,%ebp                      
  106f2f:	57                   	push   %edi                           
  106f30:	53                   	push   %ebx                           
  106f31:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  106f34:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  const char *p;                                                      
  const char *rhs;                                                    
  char       *d;                                                      
                                                                      
  p = rtems_bsp_cmdline_get_param( name, value, length );             
  106f37:	50                   	push   %eax                           
  106f38:	ff 75 10             	pushl  0x10(%ebp)                     
  106f3b:	53                   	push   %ebx                           
  106f3c:	57                   	push   %edi                           
  106f3d:	e8 52 ff ff ff       	call   106e94 <rtems_bsp_cmdline_get_param>
  106f42:	89 c2                	mov    %eax,%edx                      
  if ( !p )                                                           
  106f44:	83 c4 10             	add    $0x10,%esp                     
  106f47:	85 c0                	test   %eax,%eax                      
  106f49:	74 3c                	je     106f87 <rtems_bsp_cmdline_get_param_rhs+0x5b>
    return NULL;                                                      
                                                                      
  rhs = &p[strlen(name)];                                             
  106f4b:	31 c0                	xor    %eax,%eax                      
  106f4d:	83 c9 ff             	or     $0xffffffff,%ecx               
  106f50:	f2 ae                	repnz scas %es:(%edi),%al             
  106f52:	f7 d1                	not    %ecx                           
  106f54:	8d 44 0a ff          	lea    -0x1(%edx,%ecx,1),%eax         
  if ( *rhs != '=' )                                                  
  106f58:	80 38 3d             	cmpb   $0x3d,(%eax)                   
  106f5b:	75 2a                	jne    106f87 <rtems_bsp_cmdline_get_param_rhs+0x5b><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  rhs++;                                                              
  106f5d:	8d 50 01             	lea    0x1(%eax),%edx                 
  if ( *rhs == '\"' )                                                 
  106f60:	80 78 01 22          	cmpb   $0x22,0x1(%eax)                
  106f64:	75 03                	jne    106f69 <rtems_bsp_cmdline_get_param_rhs+0x3d>
    rhs++;                                                            
  106f66:	8d 50 02             	lea    0x2(%eax),%edx                 
const char *rtems_bsp_cmdline_get_param_rhs(                          
  const char *name,                                                   
  char       *value,                                                  
  size_t      length                                                  
)                                                                     
{                                                                     
  106f69:	89 d8                	mov    %ebx,%eax                      
  106f6b:	eb 04                	jmp    106f71 <rtems_bsp_cmdline_get_param_rhs+0x45>
                                                                      
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
    *d++ = *rhs++;                                                    
  106f6d:	88 08                	mov    %cl,(%eax)                     
  106f6f:	40                   	inc    %eax                           
  106f70:	42                   	inc    %edx                           
    return NULL;                                                      
                                                                      
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
  106f71:	8a 0a                	mov    (%edx),%cl                     
  106f73:	84 c9                	test   %cl,%cl                        
  106f75:	75 f6                	jne    106f6d <rtems_bsp_cmdline_get_param_rhs+0x41>
    *d++ = *rhs++;                                                    
  if ( *(d-1) == '\"' )                                               
  106f77:	8d 50 ff             	lea    -0x1(%eax),%edx                
  106f7a:	80 78 ff 22          	cmpb   $0x22,-0x1(%eax)               
  106f7e:	74 02                	je     106f82 <rtems_bsp_cmdline_get_param_rhs+0x56>
  106f80:	89 c2                	mov    %eax,%edx                      
    d--;                                                              
  *d = '\0';                                                          
  106f82:	c6 02 00             	movb   $0x0,(%edx)                    
                                                                      
  return value;                                                       
  106f85:	eb 02                	jmp    106f89 <rtems_bsp_cmdline_get_param_rhs+0x5d>
  if ( !p )                                                           
    return NULL;                                                      
                                                                      
  rhs = &p[strlen(name)];                                             
  if ( *rhs != '=' )                                                  
    return NULL;                                                      
  106f87:	31 db                	xor    %ebx,%ebx                      
  if ( *(d-1) == '\"' )                                               
    d--;                                                              
  *d = '\0';                                                          
                                                                      
  return value;                                                       
}                                                                     
  106f89:	89 d8                	mov    %ebx,%eax                      
  106f8b:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  106f8e:	5b                   	pop    %ebx                           
  106f8f:	5f                   	pop    %edi                           
  106f90:	c9                   	leave                                 
  106f91:	c3                   	ret                                   
                                                                      

001075c8 <rtems_cpu_usage_report_with_plugin>: void rtems_cpu_usage_report_with_plugin( void *context, rtems_printk_plugin_t print ) {
  1075c8:	55                   	push   %ebp                           
  1075c9:	89 e5                	mov    %esp,%ebp                      
  1075cb:	57                   	push   %edi                           
  1075cc:	56                   	push   %esi                           
  1075cd:	53                   	push   %ebx                           
  1075ce:	83 ec 6c             	sub    $0x6c,%esp                     
  1075d1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
    Timestamp_Control  uptime, total, ran;                            
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
  1075d4:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)                 
  1075d8:	0f 84 53 01 00 00    	je     107731 <rtems_cpu_usage_report_with_plugin+0x169><== NEVER TAKEN
   *  When not using nanosecond CPU usage resolution, we have to count
   *  the number of "ticks" we gave credit for to give the user a rough
   *  guideline as to what each number means proportionally.          
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _TOD_Get_uptime( &uptime );                                       
  1075de:	83 ec 0c             	sub    $0xc,%esp                      
  1075e1:	8d 7d d8             	lea    -0x28(%ebp),%edi               
  1075e4:	57                   	push   %edi                           
  1075e5:	e8 d6 4c 00 00       	call   10c2c0 <_TOD_Get_uptime>       
    _Timestamp_Subtract( &CPU_usage_Uptime_at_last_reset, &uptime, &total );
  1075ea:	83 c4 0c             	add    $0xc,%esp                      
  1075ed:	8d 75 d0             	lea    -0x30(%ebp),%esi               
  1075f0:	56                   	push   %esi                           
  1075f1:	57                   	push   %edi                           
  1075f2:	68 c8 07 13 00       	push   $0x1307c8                      
  1075f7:	e8 a0 6c 00 00       	call   10e29c <_Timespec_Subtract>    
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
  1075fc:	5e                   	pop    %esi                           
  1075fd:	5f                   	pop    %edi                           
  1075fe:	68 ac 0d 12 00       	push   $0x120dac                      
  107603:	53                   	push   %ebx                           
  107604:	ff 55 0c             	call   *0xc(%ebp)                     
  107607:	83 c4 10             	add    $0x10,%esp                     
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ;                                               
  10760a:	c7 45 a4 01 00 00 00 	movl   $0x1,-0x5c(%ebp)               
        api_index <= OBJECTS_APIS_LAST ;                              
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
  107611:	8b 55 a4             	mov    -0x5c(%ebp),%edx               
  107614:	8b 04 95 00 02 13 00 	mov    0x130200(,%edx,4),%eax         
  10761b:	85 c0                	test   %eax,%eax                      
  10761d:	0f 84 e5 00 00 00    	je     107708 <rtems_cpu_usage_report_with_plugin+0x140><== NEVER TAKEN
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
  107623:	8b 70 04             	mov    0x4(%eax),%esi                 
    if ( information ) {                                              
  107626:	85 f6                	test   %esi,%esi                      
  107628:	0f 84 da 00 00 00    	je     107708 <rtems_cpu_usage_report_with_plugin+0x140><== NEVER TAKEN
  10762e:	bf 01 00 00 00       	mov    $0x1,%edi                      
  107633:	89 5d 94             	mov    %ebx,-0x6c(%ebp)               
  107636:	e9 be 00 00 00       	jmp    1076f9 <rtems_cpu_usage_report_with_plugin+0x131>
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
        the_thread = (Thread_Control *)information->local_table[ i ]; 
  10763b:	8b 46 1c             	mov    0x1c(%esi),%eax                
  10763e:	8b 14 b8             	mov    (%eax,%edi,4),%edx             
                                                                      
        if ( !the_thread )                                            
  107641:	85 d2                	test   %edx,%edx                      
  107643:	0f 84 af 00 00 00    	je     1076f8 <rtems_cpu_usage_report_with_plugin+0x130><== NEVER TAKEN
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
  107649:	51                   	push   %ecx                           
  10764a:	8d 4d b3             	lea    -0x4d(%ebp),%ecx               
  10764d:	51                   	push   %ecx                           
  10764e:	6a 0d                	push   $0xd                           
  107650:	ff 72 08             	pushl  0x8(%edx)                      
  107653:	89 55 a0             	mov    %edx,-0x60(%ebp)               
  107656:	e8 ed 3a 00 00       	call   10b148 <rtems_object_get_name> 
                                                                      
        (*print)(                                                     
  10765b:	8d 5d b3             	lea    -0x4d(%ebp),%ebx               
  10765e:	53                   	push   %ebx                           
  10765f:	8b 55 a0             	mov    -0x60(%ebp),%edx               
  107662:	ff 72 08             	pushl  0x8(%edx)                      
  107665:	68 1e 0f 12 00       	push   $0x120f1e                      
  10766a:	ff 75 94             	pushl  -0x6c(%ebp)                    
  10766d:	ff 55 0c             	call   *0xc(%ebp)                     
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
  107670:	8b 55 a0             	mov    -0x60(%ebp),%edx               
  107673:	8b 8a 84 00 00 00    	mov    0x84(%edx),%ecx                
  107679:	8b 9a 88 00 00 00    	mov    0x88(%edx),%ebx                
  10767f:	89 4d c8             	mov    %ecx,-0x38(%ebp)               
  107682:	89 5d cc             	mov    %ebx,-0x34(%ebp)               
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
  107685:	83 c4 20             	add    $0x20,%esp                     
  107688:	a1 b8 07 13 00       	mov    0x1307b8,%eax                  
  10768d:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  107690:	39 58 08             	cmp    %ebx,0x8(%eax)                 
  107693:	75 28                	jne    1076bd <rtems_cpu_usage_report_with_plugin+0xf5>
            Timestamp_Control used;                                   
            _Timestamp_Subtract(                                      
  107695:	50                   	push   %eax                           
  107696:	8d 45 c0             	lea    -0x40(%ebp),%eax               
  107699:	50                   	push   %eax                           
  10769a:	8d 55 d8             	lea    -0x28(%ebp),%edx               
  10769d:	52                   	push   %edx                           
  10769e:	68 dc 02 13 00       	push   $0x1302dc                      
  1076a3:	89 45 a0             	mov    %eax,-0x60(%ebp)               
  1076a6:	e8 f1 6b 00 00       	call   10e29c <_Timespec_Subtract>    
              &_Thread_Time_of_last_context_switch, &uptime, &used    
            );                                                        
            _Timestamp_Add_to( &ran, &used );                         
  1076ab:	59                   	pop    %ecx                           
  1076ac:	5b                   	pop    %ebx                           
  1076ad:	8b 45 a0             	mov    -0x60(%ebp),%eax               
  1076b0:	50                   	push   %eax                           
  1076b1:	8d 45 c8             	lea    -0x38(%ebp),%eax               
  1076b4:	50                   	push   %eax                           
  1076b5:	e8 f6 6a 00 00       	call   10e1b0 <_Timespec_Add_to>      
  1076ba:	83 c4 10             	add    $0x10,%esp                     
          };                                                          
          _Timestamp_Divide( &ran, &total, &ival, &fval );            
  1076bd:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  1076c0:	52                   	push   %edx                           
  1076c1:	8d 4d e4             	lea    -0x1c(%ebp),%ecx               
  1076c4:	51                   	push   %ecx                           
  1076c5:	8d 5d d0             	lea    -0x30(%ebp),%ebx               
  1076c8:	53                   	push   %ebx                           
  1076c9:	8d 45 c8             	lea    -0x38(%ebp),%eax               
  1076cc:	50                   	push   %eax                           
  1076cd:	e8 0e 6b 00 00       	call   10e1e0 <_Timespec_Divide>      
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
  1076d2:	58                   	pop    %eax                           
  1076d3:	5a                   	pop    %edx                           
  1076d4:	ff 75 e0             	pushl  -0x20(%ebp)                    
  1076d7:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  1076da:	8b 45 cc             	mov    -0x34(%ebp),%eax               
  1076dd:	b9 e8 03 00 00       	mov    $0x3e8,%ecx                    
  1076e2:	31 d2                	xor    %edx,%edx                      
  1076e4:	f7 f1                	div    %ecx                           
  1076e6:	50                   	push   %eax                           
  1076e7:	ff 75 c8             	pushl  -0x38(%ebp)                    
  1076ea:	68 31 0f 12 00       	push   $0x120f31                      
  1076ef:	ff 75 94             	pushl  -0x6c(%ebp)                    
  1076f2:	ff 55 0c             	call   *0xc(%ebp)                     
  1076f5:	83 c4 20             	add    $0x20,%esp                     
        api_index++ ) {                                               
    if ( !_Objects_Information_table[ api_index ] )                   
      continue;                                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
  1076f8:	47                   	inc    %edi                           
  1076f9:	0f b7 46 10          	movzwl 0x10(%esi),%eax                
  1076fd:	39 c7                	cmp    %eax,%edi                      
  1076ff:	0f 86 36 ff ff ff    	jbe    10763b <rtems_cpu_usage_report_with_plugin+0x73>
  107705:	8b 5d 94             	mov    -0x6c(%ebp),%ebx               
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ;                                               
        api_index <= OBJECTS_APIS_LAST ;                              
        api_index++ ) {                                               
  107708:	ff 45 a4             	incl   -0x5c(%ebp)                    
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ;                                               
  10770b:	83 7d a4 04          	cmpl   $0x4,-0x5c(%ebp)               
  10770f:	0f 85 fc fe ff ff    	jne    107611 <rtems_cpu_usage_report_with_plugin+0x49>
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)(                                                         
  107715:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  107718:	b9 e8 03 00 00       	mov    $0x3e8,%ecx                    
  10771d:	31 d2                	xor    %edx,%edx                      
  10771f:	f7 f1                	div    %ecx                           
  107721:	50                   	push   %eax                           
  107722:	ff 75 d0             	pushl  -0x30(%ebp)                    
  107725:	68 49 0f 12 00       	push   $0x120f49                      
  10772a:	53                   	push   %ebx                           
  10772b:	ff 55 0c             	call   *0xc(%ebp)                     
  10772e:	83 c4 10             	add    $0x10,%esp                     
       "-------------------------------------------------------------------------------\n",
       _Watchdog_Ticks_since_boot - CPU_usage_Ticks_at_last_reset,    
       total_units                                                    
    );                                                                
  #endif                                                              
}                                                                     
  107731:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107734:	5b                   	pop    %ebx                           
  107735:	5e                   	pop    %esi                           
  107736:	5f                   	pop    %edi                           
  107737:	c9                   	leave                                 
  107738:	c3                   	ret                                   
                                                                      

001110bc <rtems_deviceio_errno>: [RTEMS_IO_ERROR] = EIO, [RTEMS_PROXY_BLOCKING] = EIO }; int rtems_deviceio_errno(rtems_status_code sc) {
  1110bc:	55                   	push   %ebp                           
  1110bd:	89 e5                	mov    %esp,%ebp                      
  1110bf:	53                   	push   %ebx                           
  1110c0:	83 ec 04             	sub    $0x4,%esp                      
  1110c3:	8b 55 08             	mov    0x8(%ebp),%edx                 
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  1110c6:	31 c0                	xor    %eax,%eax                      
  [RTEMS_PROXY_BLOCKING]           = EIO                              
};                                                                    
                                                                      
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
  if (sc == RTEMS_SUCCESSFUL) {                                       
  1110c8:	85 d2                	test   %edx,%edx                      
  1110ca:	74 1b                	je     1110e7 <rtems_deviceio_errno+0x2b><== ALWAYS TAKEN
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
  1110cc:	bb 16 00 00 00       	mov    $0x16,%ebx                     <== NOT EXECUTED
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
  1110d1:	83 fa 1c             	cmp    $0x1c,%edx                     <== NOT EXECUTED
  1110d4:	77 07                	ja     1110dd <rtems_deviceio_errno+0x21><== NOT EXECUTED
      eno = status_code_to_errno [sc];                                
  1110d6:	8b 1c 95 f8 ef 11 00 	mov    0x11eff8(,%edx,4),%ebx         <== NOT EXECUTED
    }                                                                 
                                                                      
    errno = eno;                                                      
  1110dd:	e8 5a 00 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  1110e2:	89 18                	mov    %ebx,(%eax)                    <== NOT EXECUTED
                                                                      
    return -1;                                                        
  1110e4:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  }                                                                   
}                                                                     
  1110e7:	5a                   	pop    %edx                           
  1110e8:	5b                   	pop    %ebx                           
  1110e9:	c9                   	leave                                 
  1110ea:	c3                   	ret                                   
                                                                      

00107211 <rtems_filesystem_evaluate_path>: size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc, int follow_link ) {
  107211:	55                   	push   %ebp                           
  107212:	89 e5                	mov    %esp,%ebp                      
  107214:	56                   	push   %esi                           
  107215:	53                   	push   %ebx                           
  107216:	83 ec 10             	sub    $0x10,%esp                     
  107219:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10721c:	8b 75 14             	mov    0x14(%ebp),%esi                
  int                           i = 0;                                
  10721f:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)                
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
  107226:	85 db                	test   %ebx,%ebx                      
  107228:	75 0d                	jne    107237 <rtems_filesystem_evaluate_path+0x26><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
  10722a:	e8 0d 9f 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  10722f:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    <== NOT EXECUTED
  107235:	eb 0f                	jmp    107246 <rtems_filesystem_evaluate_path+0x35><== NOT EXECUTED
                                                                      
  if ( !pathloc )                                                     
  107237:	85 f6                	test   %esi,%esi                      
  107239:	75 10                	jne    10724b <rtems_filesystem_evaluate_path+0x3a><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
  10723b:	e8 fc 9e 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  107240:	c7 00 05 00 00 00    	movl   $0x5,(%eax)                    <== NOT EXECUTED
  107246:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  107249:	eb 28                	jmp    107273 <rtems_filesystem_evaluate_path+0x62><== NOT EXECUTED
                                                                      
  /*                                                                  
   * Evaluate the path using the optable evalpath.                    
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
  10724b:	51                   	push   %ecx                           
  10724c:	56                   	push   %esi                           
  10724d:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  107250:	50                   	push   %eax                           
  107251:	53                   	push   %ebx                           
  107252:	e8 21 0d 00 00       	call   107f78 <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],       
  107257:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  10725a:	5a                   	pop    %edx                           
  10725b:	ff 75 18             	pushl  0x18(%ebp)                     
  10725e:	56                   	push   %esi                           
  10725f:	ff 75 10             	pushl  0x10(%ebp)                     
  107262:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  107265:	29 c2                	sub    %eax,%edx                      
  107267:	52                   	push   %edx                           
  107268:	01 c3                	add    %eax,%ebx                      
  10726a:	53                   	push   %ebx                           
  10726b:	e8 1c ff ff ff       	call   10718c <rtems_filesystem_evaluate_relative_path>
  107270:	83 c4 20             	add    $0x20,%esp                     
                                                  pathnamelen - i,    
                                                  flags,              
                                                  pathloc,            
                                                  follow_link );      
}                                                                     
  107273:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  107276:	5b                   	pop    %ebx                           
  107277:	5e                   	pop    %esi                           
  107278:	c9                   	leave                                 
  107279:	c3                   	ret                                   
                                                                      

0010718c <rtems_filesystem_evaluate_relative_path>: size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc, int follow_link ) {
  10718c:	55                   	push   %ebp                           
  10718d:	89 e5                	mov    %esp,%ebp                      
  10718f:	57                   	push   %edi                           
  107190:	56                   	push   %esi                           
  107191:	53                   	push   %ebx                           
  107192:	83 ec 0c             	sub    $0xc,%esp                      
  107195:	8b 45 08             	mov    0x8(%ebp),%eax                 
  107198:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10719b:	8b 75 10             	mov    0x10(%ebp),%esi                
  10719e:	8b 5d 14             	mov    0x14(%ebp),%ebx                
  1071a1:	8b 7d 18             	mov    0x18(%ebp),%edi                
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
  1071a4:	85 c0                	test   %eax,%eax                      
  1071a6:	75 0d                	jne    1071b5 <rtems_filesystem_evaluate_relative_path+0x29><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
  1071a8:	e8 8f 9f 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  1071ad:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    <== NOT EXECUTED
  1071b3:	eb 0f                	jmp    1071c4 <rtems_filesystem_evaluate_relative_path+0x38><== NOT EXECUTED
                                                                      
  if ( !pathloc )                                                     
  1071b5:	85 db                	test   %ebx,%ebx                      
  1071b7:	75 10                	jne    1071c9 <rtems_filesystem_evaluate_relative_path+0x3d><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
  1071b9:	e8 7e 9f 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  1071be:	c7 00 05 00 00 00    	movl   $0x5,(%eax)                    <== NOT EXECUTED
  1071c4:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  1071c7:	eb 40                	jmp    107209 <rtems_filesystem_evaluate_relative_path+0x7d><== NOT EXECUTED
                                                                      
  result = (*pathloc->ops->evalpath_h)( pathname, pathnamelen, flags, pathloc );
  1071c9:	8b 53 0c             	mov    0xc(%ebx),%edx                 
  1071cc:	53                   	push   %ebx                           
  1071cd:	56                   	push   %esi                           
  1071ce:	51                   	push   %ecx                           
  1071cf:	50                   	push   %eax                           
  1071d0:	ff 12                	call   *(%edx)                        
  /*                                                                  
   * Get the Node type and determine if you need to follow the link or
   * not.                                                             
   */                                                                 
                                                                      
  if ( (result == 0) && follow_link ) {                               
  1071d2:	83 c4 10             	add    $0x10,%esp                     
  1071d5:	85 c0                	test   %eax,%eax                      
  1071d7:	75 30                	jne    107209 <rtems_filesystem_evaluate_relative_path+0x7d>
  1071d9:	85 ff                	test   %edi,%edi                      
  1071db:	74 2c                	je     107209 <rtems_filesystem_evaluate_relative_path+0x7d>
                                                                      
    type = (*pathloc->ops->node_type_h)( pathloc );                   
  1071dd:	83 ec 0c             	sub    $0xc,%esp                      
  1071e0:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  1071e3:	53                   	push   %ebx                           
  1071e4:	ff 50 10             	call   *0x10(%eax)                    
                                                                      
    if ( ( type == RTEMS_FILESYSTEM_HARD_LINK ) ||                    
  1071e7:	8d 50 fd             	lea    -0x3(%eax),%edx                
  1071ea:	83 c4 10             	add    $0x10,%esp                     
  1071ed:	31 c0                	xor    %eax,%eax                      
  1071ef:	83 fa 01             	cmp    $0x1,%edx                      
  1071f2:	77 15                	ja     107209 <rtems_filesystem_evaluate_relative_path+0x7d>
         *    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 );     
  1071f4:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  1071f7:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  1071fa:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  1071fd:	8b 40 34             	mov    0x34(%eax),%eax                
    }                                                                 
  }                                                                   
                                                                      
  return result;                                                      
}                                                                     
  107200:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107203:	5b                   	pop    %ebx                           
  107204:	5e                   	pop    %esi                           
  107205:	5f                   	pop    %edi                           
  107206:	c9                   	leave                                 
         *    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 );     
  107207:	ff e0                	jmp    *%eax                          
    }                                                                 
  }                                                                   
                                                                      
  return result;                                                      
}                                                                     
  107209:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10720c:	5b                   	pop    %ebx                           
  10720d:	5e                   	pop    %esi                           
  10720e:	5f                   	pop    %edi                           
  10720f:	c9                   	leave                                 
  107210:	c3                   	ret                                   
                                                                      

0010e2b3 <rtems_filesystem_get_mount_handler>: rtems_filesystem_fsmount_me_t rtems_filesystem_get_mount_handler( const char *type ) {
  10e2b3:	55                   	push   %ebp                           
  10e2b4:	89 e5                	mov    %esp,%ebp                      
  10e2b6:	83 ec 18             	sub    $0x18,%esp                     
  10e2b9:	8b 45 08             	mov    0x8(%ebp),%eax                 
  find_arg fa = {                                                     
  10e2bc:	89 45 f0             	mov    %eax,-0x10(%ebp)               
  10e2bf:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)                
    .type = type,                                                     
    .mount_h = NULL                                                   
  };                                                                  
                                                                      
  if ( type != NULL ) {                                               
  10e2c6:	85 c0                	test   %eax,%eax                      
  10e2c8:	74 13                	je     10e2dd <rtems_filesystem_get_mount_handler+0x2a><== NEVER TAKEN
    rtems_filesystem_iterate( find_handler, &fa );                    
  10e2ca:	50                   	push   %eax                           
  10e2cb:	50                   	push   %eax                           
  10e2cc:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  10e2cf:	50                   	push   %eax                           
  10e2d0:	68 dc e1 10 00       	push   $0x10e1dc                      
  10e2d5:	e8 62 ff ff ff       	call   10e23c <rtems_filesystem_iterate>
  10e2da:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  return fa.mount_h;                                                  
}                                                                     
  10e2dd:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  10e2e0:	c9                   	leave                                 
  10e2e1:	c3                   	ret                                   
                                                                      

00107070 <rtems_filesystem_initialize>: * configuration is a single instantiation of the IMFS or miniIMFS with * a single "/dev" directory in it. */ void rtems_filesystem_initialize( void ) {
  107070:	55                   	push   %ebp                           
  107071:	89 e5                	mov    %esp,%ebp                      
  107073:	57                   	push   %edi                           
  107074:	56                   	push   %esi                           
  107075:	53                   	push   %ebx                           
  107076:	83 ec 2c             	sub    $0x2c,%esp                     
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
  107079:	a1 54 1f 12 00       	mov    0x121f54,%eax                  
  10707e:	c7 40 2c 12 00 00 00 	movl   $0x12,0x2c(%eax)               
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
  107085:	83 3d 40 d1 11 00 00 	cmpl   $0x0,0x11d140                  
  10708c:	75 0a                	jne    107098 <rtems_filesystem_initialize+0x28><== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0xABCD0001 );                         
  10708e:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  107091:	68 01 00 cd ab       	push   $0xabcd0001                    <== NOT EXECUTED
  107096:	eb 28                	jmp    1070c0 <rtems_filesystem_initialize+0x50><== NOT EXECUTED
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
  107098:	a1 4c 01 12 00       	mov    0x12014c,%eax                  
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
  10709d:	83 ec 0c             	sub    $0xc,%esp                      
  1070a0:	6a 00                	push   $0x0                           
  1070a2:	ff 70 04             	pushl  0x4(%eax)                      
  1070a5:	ff 30                	pushl  (%eax)                         
  1070a7:	ff 70 0c             	pushl  0xc(%eax)                      
  1070aa:	ff 70 08             	pushl  0x8(%eax)                      
  1070ad:	e8 cb 06 00 00       	call   10777d <mount>                 
                                                                      
  if ( status == -1 )                                                 
  1070b2:	83 c4 20             	add    $0x20,%esp                     
  1070b5:	40                   	inc    %eax                           
  1070b6:	75 0d                	jne    1070c5 <rtems_filesystem_initialize+0x55><== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0xABCD0002 );                         
  1070b8:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1070bb:	68 02 00 cd ab       	push   $0xabcd0002                    <== NOT EXECUTED
  1070c0:	e8 e7 36 00 00       	call   10a7ac <rtems_fatal_error_occurred><== NOT EXECUTED
                                                                      
  rtems_filesystem_link_counts = 0;                                   
  1070c5:	a1 54 1f 12 00       	mov    0x121f54,%eax                  
  1070ca:	66 c7 40 30 00 00    	movw   $0x0,0x30(%eax)                
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  1070d0:	83 ec 0c             	sub    $0xc,%esp                      
  1070d3:	6a 00                	push   $0x0                           
  1070d5:	8d 5d d4             	lea    -0x2c(%ebp),%ebx               
  1070d8:	53                   	push   %ebx                           
  1070d9:	6a 00                	push   $0x0                           
  1070db:	6a 01                	push   $0x1                           
  1070dd:	68 70 e8 11 00       	push   $0x11e870                      
  1070e2:	e8 2a 01 00 00       	call   107211 <rtems_filesystem_evaluate_path>
  rtems_filesystem_root        = loc;                                 
  1070e7:	8b 3d 54 1f 12 00    	mov    0x121f54,%edi                  
  1070ed:	83 c7 18             	add    $0x18,%edi                     
  1070f0:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  1070f5:	89 de                	mov    %ebx,%esi                      
  1070f7:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  1070f9:	83 c4 14             	add    $0x14,%esp                     
  1070fc:	6a 00                	push   $0x0                           
  1070fe:	53                   	push   %ebx                           
  1070ff:	6a 00                	push   $0x0                           
  107101:	6a 01                	push   $0x1                           
  107103:	68 70 e8 11 00       	push   $0x11e870                      
  107108:	e8 04 01 00 00       	call   107211 <rtems_filesystem_evaluate_path>
  rtems_filesystem_current     = loc;                                 
  10710d:	8b 3d 54 1f 12 00    	mov    0x121f54,%edi                  
  107113:	83 c7 04             	add    $0x4,%edi                      
  107116:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  10711b:	89 de                	mov    %ebx,%esi                      
  10711d:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
   *                                                                  
   *  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);                                      
  10711f:	83 c4 18             	add    $0x18,%esp                     
  107122:	68 ff 01 00 00       	push   $0x1ff                         
  107127:	68 72 e8 11 00       	push   $0x11e872                      
  10712c:	e8 17 05 00 00       	call   107648 <mkdir>                 
  if ( status != 0 )                                                  
  107131:	83 c4 10             	add    $0x10,%esp                     
  107134:	85 c0                	test   %eax,%eax                      
  107136:	74 0d                	je     107145 <rtems_filesystem_initialize+0xd5><== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0xABCD0003 );                         
  107138:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10713b:	68 03 00 cd ab       	push   $0xabcd0003                    <== NOT EXECUTED
  107140:	e9 7b ff ff ff       	jmp    1070c0 <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.        
   */                                                                 
}                                                                     
  107145:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107148:	5b                   	pop    %ebx                           
  107149:	5e                   	pop    %esi                           
  10714a:	5f                   	pop    %edi                           
  10714b:	c9                   	leave                                 
  10714c:	c3                   	ret                                   
                                                                      

0010e23c <rtems_filesystem_iterate>: bool rtems_filesystem_iterate( rtems_per_filesystem_routine routine, void *routine_arg ) {
  10e23c:	55                   	push   %ebp                           
  10e23d:	89 e5                	mov    %esp,%ebp                      
  10e23f:	57                   	push   %edi                           
  10e240:	56                   	push   %esi                           
  10e241:	53                   	push   %ebx                           
  10e242:	83 ec 1c             	sub    $0x1c,%esp                     
  10e245:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10e248:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
  10e24b:	31 c0                	xor    %eax,%eax                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  10e24d:	bb 20 d1 11 00       	mov    $0x11d120,%ebx                 
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
  10e252:	eb 0c                	jmp    10e260 <rtems_filesystem_iterate+0x24>
    stop = (*routine)( table_entry, routine_arg );                    
  10e254:	51                   	push   %ecx                           
  10e255:	51                   	push   %ecx                           
  10e256:	57                   	push   %edi                           
  10e257:	53                   	push   %ebx                           
  10e258:	ff d6                	call   *%esi                          
    ++table_entry;                                                    
  10e25a:	83 c3 08             	add    $0x8,%ebx                      
  10e25d:	83 c4 10             	add    $0x10,%esp                     
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
  10e260:	83 3b 00             	cmpl   $0x0,(%ebx)                    
  10e263:	74 06                	je     10e26b <rtems_filesystem_iterate+0x2f>
  10e265:	84 c0                	test   %al,%al                        
  10e267:	74 eb                	je     10e254 <rtems_filesystem_iterate+0x18><== ALWAYS TAKEN
  10e269:	eb 40                	jmp    10e2ab <rtems_filesystem_iterate+0x6f><== NOT EXECUTED
    stop = (*routine)( table_entry, routine_arg );                    
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
  10e26b:	84 c0                	test   %al,%al                        
  10e26d:	75 3c                	jne    10e2ab <rtems_filesystem_iterate+0x6f>
    rtems_libio_lock();                                               
  10e26f:	88 45 e4             	mov    %al,-0x1c(%ebp)                
  10e272:	e8 95 ff ff ff       	call   10e20c <rtems_libio_lock>      
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
  10e277:	8b 1d 78 1f 12 00    	mov    0x121f78,%ebx                  
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
  10e27d:	8a 55 e4             	mov    -0x1c(%ebp),%dl                
  10e280:	eb 10                	jmp    10e292 <rtems_filesystem_iterate+0x56>
      !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 );                  
  10e282:	52                   	push   %edx                           <== NOT EXECUTED
  10e283:	52                   	push   %edx                           <== NOT EXECUTED
  10e284:	57                   	push   %edi                           <== NOT EXECUTED
  10e285:	8d 43 08             	lea    0x8(%ebx),%eax                 <== NOT EXECUTED
  10e288:	50                   	push   %eax                           <== NOT EXECUTED
  10e289:	ff d6                	call   *%esi                          <== NOT EXECUTED
  10e28b:	88 c2                	mov    %al,%dl                        <== NOT EXECUTED
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
  10e28d:	8b 1b                	mov    (%ebx),%ebx                    <== NOT EXECUTED
  10e28f:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
  10e292:	81 fb 7c 1f 12 00    	cmp    $0x121f7c,%ebx                 
  10e298:	74 04                	je     10e29e <rtems_filesystem_iterate+0x62><== ALWAYS TAKEN
      node = rtems_chain_first( &filesystem_chain );                  
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
  10e29a:	84 d2                	test   %dl,%dl                        <== NOT EXECUTED
  10e29c:	74 e4                	je     10e282 <rtems_filesystem_iterate+0x46><== NOT EXECUTED
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
    }                                                                 
    rtems_libio_unlock();                                             
  10e29e:	88 55 e4             	mov    %dl,-0x1c(%ebp)                
  10e2a1:	e8 80 ff ff ff       	call   10e226 <rtems_libio_unlock>    
  10e2a6:	8a 55 e4             	mov    -0x1c(%ebp),%dl                
  10e2a9:	88 d0                	mov    %dl,%al                        
  }                                                                   
                                                                      
  return stop;                                                        
}                                                                     
  10e2ab:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e2ae:	5b                   	pop    %ebx                           
  10e2af:	5e                   	pop    %esi                           
  10e2b0:	5f                   	pop    %edi                           
  10e2b1:	c9                   	leave                                 
  10e2b2:	c3                   	ret                                   
                                                                      

00107735 <rtems_filesystem_mount_iterate>: bool rtems_filesystem_mount_iterate( rtems_per_filesystem_mount_routine routine, void *routine_arg ) {
  107735:	55                   	push   %ebp                           
  107736:	89 e5                	mov    %esp,%ebp                      
  107738:	57                   	push   %edi                           
  107739:	56                   	push   %esi                           
  10773a:	53                   	push   %ebx                           
  10773b:	83 ec 1c             	sub    $0x1c,%esp                     
  10773e:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  107741:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  107744:	e8 bc ff ff ff       	call   107705 <rtems_libio_lock>      
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
  107749:	8b 1d 34 1f 12 00    	mov    0x121f34,%ebx                  
  rtems_per_filesystem_mount_routine routine,                         
  void *routine_arg                                                   
)                                                                     
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
  10774f:	31 c0                	xor    %eax,%eax                      
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
  107751:	eb 0b                	jmp    10775e <rtems_filesystem_mount_iterate+0x29>
    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 );                       
  107753:	50                   	push   %eax                           
  107754:	50                   	push   %eax                           
  107755:	56                   	push   %esi                           
  107756:	53                   	push   %ebx                           
  107757:	ff d7                	call   *%edi                          
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
  107759:	8b 1b                	mov    (%ebx),%ebx                    
  10775b:	83 c4 10             	add    $0x10,%esp                     
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
  10775e:	81 fb 38 1f 12 00    	cmp    $0x121f38,%ebx                 
  107764:	74 04                	je     10776a <rtems_filesystem_mount_iterate+0x35>
    node = rtems_chain_first( &mount_chain );                         
    !rtems_chain_is_tail( &mount_chain, node ) && !stop;              
  107766:	84 c0                	test   %al,%al                        
  107768:	74 e9                	je     107753 <rtems_filesystem_mount_iterate+0x1e><== ALWAYS TAKEN
    const rtems_filesystem_mount_table_entry_t *mt_entry =            
      (rtems_filesystem_mount_table_entry_t *) node;                  
                                                                      
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
  10776a:	88 45 e4             	mov    %al,-0x1c(%ebp)                
  10776d:	e8 ad ff ff ff       	call   10771f <rtems_libio_unlock>    
                                                                      
  return stop;                                                        
}                                                                     
  107772:	8a 45 e4             	mov    -0x1c(%ebp),%al                
  107775:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107778:	5b                   	pop    %ebx                           
  107779:	5e                   	pop    %esi                           
  10777a:	5f                   	pop    %edi                           
  10777b:	c9                   	leave                                 
  10777c:	c3                   	ret                                   
                                                                      

001072b9 <rtems_filesystem_prefix_separators>: int rtems_filesystem_prefix_separators( const char *pathname, int pathnamelen ) {
  1072b9:	55                   	push   %ebp                           
  1072ba:	89 e5                	mov    %esp,%ebp                      
  1072bc:	57                   	push   %edi                           
  1072bd:	56                   	push   %esi                           
  1072be:	53                   	push   %ebx                           
  1072bf:	83 ec 0c             	sub    $0xc,%esp                      
  1072c2:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  1072c5:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  1072c8:	31 db                	xor    %ebx,%ebx                      
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
  1072ca:	eb 01                	jmp    1072cd <rtems_filesystem_prefix_separators+0x14>
  {                                                                   
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
  1072cc:	43                   	inc    %ebx                           
{                                                                     
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
  1072cd:	8a 04 1f             	mov    (%edi,%ebx,1),%al              
  1072d0:	39 de                	cmp    %ebx,%esi                      
  1072d2:	74 17                	je     1072eb <rtems_filesystem_prefix_separators+0x32><== NEVER TAKEN
  1072d4:	84 c0                	test   %al,%al                        
  1072d6:	74 13                	je     1072eb <rtems_filesystem_prefix_separators+0x32><== NEVER TAKEN
  1072d8:	83 ec 0c             	sub    $0xc,%esp                      
  1072db:	0f be c0             	movsbl %al,%eax                       
  1072de:	50                   	push   %eax                           
  1072df:	e8 ec 0c 00 00       	call   107fd0 <rtems_filesystem_is_separator>
  1072e4:	83 c4 10             	add    $0x10,%esp                     
  1072e7:	85 c0                	test   %eax,%eax                      
  1072e9:	75 e1                	jne    1072cc <rtems_filesystem_prefix_separators+0x13>
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
  }                                                                   
  return stripped;                                                    
}                                                                     
  1072eb:	89 d8                	mov    %ebx,%eax                      
  1072ed:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1072f0:	5b                   	pop    %ebx                           
  1072f1:	5e                   	pop    %esi                           
  1072f2:	5f                   	pop    %edi                           
  1072f3:	c9                   	leave                                 
  1072f4:	c3                   	ret                                   
                                                                      

0010e2e2 <rtems_filesystem_register>: int rtems_filesystem_register( const char *type, rtems_filesystem_fsmount_me_t mount_h ) {
  10e2e2:	55                   	push   %ebp                           <== NOT EXECUTED
  10e2e3:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  10e2e5:	57                   	push   %edi                           <== NOT EXECUTED
  10e2e6:	56                   	push   %esi                           <== NOT EXECUTED
  10e2e7:	53                   	push   %ebx                           <== NOT EXECUTED
  10e2e8:	83 ec 18             	sub    $0x18,%esp                     <== NOT EXECUTED
  10e2eb:	8b 5d 08             	mov    0x8(%ebp),%ebx                 <== NOT EXECUTED
  size_t fsn_size = sizeof( filesystem_node ) + strlen(type) + 1;     
  10e2ee:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  10e2f0:	83 c9 ff             	or     $0xffffffff,%ecx               <== NOT EXECUTED
  10e2f3:	89 df                	mov    %ebx,%edi                      <== NOT EXECUTED
  10e2f5:	f2 ae                	repnz scas %es:(%edi),%al             <== NOT EXECUTED
  10e2f7:	f7 d1                	not    %ecx                           <== NOT EXECUTED
  10e2f9:	83 c1 10             	add    $0x10,%ecx                     <== NOT EXECUTED
  filesystem_node *fsn = malloc( fsn_size );                          
  10e2fc:	51                   	push   %ecx                           <== NOT EXECUTED
  10e2fd:	e8 aa 92 ff ff       	call   1075ac <malloc>                <== NOT EXECUTED
  10e302:	89 c6                	mov    %eax,%esi                      <== NOT EXECUTED
  char *type_storage = (char *) fsn + sizeof( filesystem_node );      
                                                                      
  if ( fsn == NULL )                                                  
  10e304:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10e307:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  10e309:	75 0d                	jne    10e318 <rtems_filesystem_register+0x36><== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
  10e30b:	e8 2c 2e 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  10e310:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    <== NOT EXECUTED
  10e316:	eb 5e                	jmp    10e376 <rtems_filesystem_register+0x94><== NOT EXECUTED
  rtems_filesystem_fsmount_me_t  mount_h                              
)                                                                     
{                                                                     
  size_t fsn_size = sizeof( filesystem_node ) + strlen(type) + 1;     
  filesystem_node *fsn = malloc( fsn_size );                          
  char *type_storage = (char *) fsn + sizeof( filesystem_node );      
  10e318:	8d 78 10             	lea    0x10(%eax),%edi                <== NOT EXECUTED
                                                                      
  if ( fsn == NULL )                                                  
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  strcpy(type_storage, type);                                         
  10e31b:	51                   	push   %ecx                           <== NOT EXECUTED
  10e31c:	51                   	push   %ecx                           <== NOT EXECUTED
  10e31d:	53                   	push   %ebx                           <== NOT EXECUTED
  10e31e:	57                   	push   %edi                           <== NOT EXECUTED
  10e31f:	e8 34 3a 00 00       	call   111d58 <strcpy>                <== NOT EXECUTED
  fsn->entry.type = type_storage;                                     
  10e324:	89 7e 08             	mov    %edi,0x8(%esi)                 <== NOT EXECUTED
  fsn->entry.mount_h = mount_h;                                       
  10e327:	8b 45 0c             	mov    0xc(%ebp),%eax                 <== NOT EXECUTED
  10e32a:	89 46 0c             	mov    %eax,0xc(%esi)                 <== NOT EXECUTED
                                                                      
  rtems_libio_lock();                                                 
  10e32d:	e8 da fe ff ff       	call   10e20c <rtems_libio_lock>      <== NOT EXECUTED
  if ( rtems_filesystem_get_mount_handler( type ) == NULL ) {         
  10e332:	89 1c 24             	mov    %ebx,(%esp)                    <== NOT EXECUTED
  10e335:	e8 79 ff ff ff       	call   10e2b3 <rtems_filesystem_get_mount_handler><== NOT EXECUTED
  10e33a:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10e33d:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  10e33f:	75 19                	jne    10e35a <rtems_filesystem_register+0x78><== NOT EXECUTED
  10e341:	52                   	push   %edx                           <== NOT EXECUTED
  10e342:	52                   	push   %edx                           <== NOT EXECUTED
  10e343:	56                   	push   %esi                           <== NOT EXECUTED
  10e344:	68 78 1f 12 00       	push   $0x121f78                      <== NOT EXECUTED
  10e349:	e8 02 c7 ff ff       	call   10aa50 <_Chain_Append>         <== NOT EXECUTED
    rtems_libio_unlock();                                             
    free( fsn );                                                      
                                                                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
  rtems_libio_unlock();                                               
  10e34e:	e8 d3 fe ff ff       	call   10e226 <rtems_libio_unlock>    <== NOT EXECUTED
                                                                      
  return 0;                                                           
  10e353:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10e356:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  10e358:	eb 1f                	jmp    10e379 <rtems_filesystem_register+0x97><== NOT EXECUTED
                                                                      
  rtems_libio_lock();                                                 
  if ( rtems_filesystem_get_mount_handler( type ) == NULL ) {         
    rtems_chain_append( &filesystem_chain, &fsn->node );              
  } else {                                                            
    rtems_libio_unlock();                                             
  10e35a:	e8 c7 fe ff ff       	call   10e226 <rtems_libio_unlock>    <== NOT EXECUTED
    free( fsn );                                                      
  10e35f:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10e362:	56                   	push   %esi                           <== NOT EXECUTED
  10e363:	e8 a4 8f ff ff       	call   10730c <free>                  <== NOT EXECUTED
                                                                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10e368:	e8 cf 2d 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  10e36d:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
  10e373:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10e376:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return 0;                                                           
}                                                                     
  10e379:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  10e37c:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10e37d:	5e                   	pop    %esi                           <== NOT EXECUTED
  10e37e:	5f                   	pop    %edi                           <== NOT EXECUTED
  10e37f:	c9                   	leave                                 <== NOT EXECUTED
  10e380:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010e381 <rtems_filesystem_unregister>: int rtems_filesystem_unregister( const char *type ) {
  10e381:	55                   	push   %ebp                           <== NOT EXECUTED
  10e382:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  10e384:	56                   	push   %esi                           <== NOT EXECUTED
  10e385:	53                   	push   %ebx                           <== NOT EXECUTED
  10e386:	8b 75 08             	mov    0x8(%ebp),%esi                 <== NOT EXECUTED
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
  10e389:	85 f6                	test   %esi,%esi                      <== NOT EXECUTED
  10e38b:	75 0d                	jne    10e39a <rtems_filesystem_unregister+0x19><== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10e38d:	e8 aa 2d 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  10e392:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
  10e398:	eb 56                	jmp    10e3f0 <rtems_filesystem_unregister+0x6f><== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  10e39a:	e8 6d fe ff ff       	call   10e20c <rtems_libio_lock>      <== NOT EXECUTED
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
  10e39f:	8b 1d 78 1f 12 00    	mov    0x121f78,%ebx                  <== NOT EXECUTED
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
  10e3a5:	eb 31                	jmp    10e3d8 <rtems_filesystem_unregister+0x57><== 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 ) {                     
  10e3a7:	50                   	push   %eax                           <== NOT EXECUTED
  10e3a8:	50                   	push   %eax                           <== NOT EXECUTED
  10e3a9:	56                   	push   %esi                           <== NOT EXECUTED
  10e3aa:	ff 73 08             	pushl  0x8(%ebx)                      <== NOT EXECUTED
  10e3ad:	e8 4e 39 00 00       	call   111d00 <strcmp>                <== NOT EXECUTED
  10e3b2:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10e3b5:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  10e3b7:	75 1d                	jne    10e3d6 <rtems_filesystem_unregister+0x55><== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
  10e3b9:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10e3bc:	53                   	push   %ebx                           <== NOT EXECUTED
  10e3bd:	e8 b2 c6 ff ff       	call   10aa74 <_Chain_Extract>        <== NOT EXECUTED
      rtems_chain_extract( node );                                    
      free( fsn );                                                    
  10e3c2:	89 1c 24             	mov    %ebx,(%esp)                    <== NOT EXECUTED
  10e3c5:	e8 42 8f ff ff       	call   10730c <free>                  <== NOT EXECUTED
      rtems_libio_unlock();                                           
  10e3ca:	e8 57 fe ff ff       	call   10e226 <rtems_libio_unlock>    <== NOT EXECUTED
                                                                      
      return 0;                                                       
  10e3cf:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10e3d2:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  10e3d4:	eb 1d                	jmp    10e3f3 <rtems_filesystem_unregister+0x72><== NOT EXECUTED
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
  10e3d6:	8b 1b                	mov    (%ebx),%ebx                    <== NOT EXECUTED
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
  10e3d8:	81 fb 7c 1f 12 00    	cmp    $0x121f7c,%ebx                 <== NOT EXECUTED
  10e3de:	75 c7                	jne    10e3a7 <rtems_filesystem_unregister+0x26><== NOT EXECUTED
      rtems_libio_unlock();                                           
                                                                      
      return 0;                                                       
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
  10e3e0:	e8 41 fe ff ff       	call   10e226 <rtems_libio_unlock>    <== NOT EXECUTED
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
  10e3e5:	e8 52 2d 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  10e3ea:	c7 00 02 00 00 00    	movl   $0x2,(%eax)                    <== NOT EXECUTED
  10e3f0:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
}                                                                     
  10e3f3:	8d 65 f8             	lea    -0x8(%ebp),%esp                <== NOT EXECUTED
  10e3f6:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10e3f7:	5e                   	pop    %esi                           <== NOT EXECUTED
  10e3f8:	c9                   	leave                                 <== NOT EXECUTED
  10e3f9:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

00107a3b <rtems_gxx_getspecific>: void *rtems_gxx_getspecific(__gthread_key_t key) {
  107a3b:	55                   	push   %ebp                           
  107a3c:	89 e5                	mov    %esp,%ebp                      
  107a3e:	53                   	push   %ebx                           
  107a3f:	83 ec 18             	sub    $0x18,%esp                     
  107a42:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  rtems_status_code  status;                                          
  void              *p= 0;                                            
  107a45:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)                
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_get( RTEMS_SELF, (void **)key, &p );   
  107a4c:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  107a4f:	50                   	push   %eax                           
  107a50:	53                   	push   %ebx                           
  107a51:	6a 00                	push   $0x0                           
  107a53:	e8 74 35 00 00       	call   10afcc <rtems_task_variable_get>
  if ( status == RTEMS_SUCCESSFUL ) {                                 
  107a58:	83 c4 10             	add    $0x10,%esp                     
  107a5b:	85 c0                	test   %eax,%eax                      
  107a5d:	75 07                	jne    107a66 <rtems_gxx_getspecific+0x2b><== NEVER TAKEN
    /* We do not have to do this, but what the heck ! */              
     p= key->val;                                                     
  107a5f:	8b 03                	mov    (%ebx),%eax                    
  107a61:	89 45 f4             	mov    %eax,-0xc(%ebp)                
  107a64:	eb 26                	jmp    107a8c <rtems_gxx_getspecific+0x51>
  } else {                                                            
    /* fisrt time, always set to zero, it is unknown the value that the others
     * threads are using at the moment of this call                   
     */                                                               
    status = rtems_task_variable_add( RTEMS_SELF, (void **)key, key->dtor );
  107a66:	51                   	push   %ecx                           <== NOT EXECUTED
  107a67:	ff 73 04             	pushl  0x4(%ebx)                      <== NOT EXECUTED
  107a6a:	53                   	push   %ebx                           <== NOT EXECUTED
  107a6b:	6a 00                	push   $0x0                           <== NOT EXECUTED
  107a6d:	e8 4a 34 00 00       	call   10aebc <rtems_task_variable_add><== NOT EXECUTED
    if ( status != RTEMS_SUCCESSFUL ) {                               
  107a72:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  107a75:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  107a77:	74 0d                	je     107a86 <rtems_gxx_getspecific+0x4b><== NOT EXECUTED
       rtems_panic ("rtems_gxx_getspecific");                         
  107a79:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  107a7c:	68 98 fc 11 00       	push   $0x11fc98                      <== NOT EXECUTED
  107a81:	e8 95 70 00 00       	call   10eb1b <rtems_panic>           <== NOT EXECUTED
    }                                                                 
    key->val = (void *)0;                                             
  107a86:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    <== NOT EXECUTED
       p,                                                             
       rtems_task_self()                                              
    );                                                                
  #endif                                                              
  return p;                                                           
}                                                                     
  107a8c:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  107a8f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  107a92:	c9                   	leave                                 
  107a93:	c3                   	ret                                   
                                                                      

00107a0b <rtems_gxx_key_delete>: int rtems_gxx_key_delete (__gthread_key_t key) {
  107a0b:	55                   	push   %ebp                           
  107a0c:	89 e5                	mov    %esp,%ebp                      
  107a0e:	53                   	push   %ebx                           
  107a0f:	83 ec 0c             	sub    $0xc,%esp                      
  107a12:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: delete key=%x\n", key );                   
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_delete( RTEMS_SELF, (void **)key );    
  107a15:	53                   	push   %ebx                           
  107a16:	6a 00                	push   $0x0                           
  107a18:	e8 33 35 00 00       	call   10af50 <rtems_task_variable_delete>
  if ( status == RTEMS_SUCCESSFUL ) {                                 
  107a1d:	83 c4 10             	add    $0x10,%esp                     
  107a20:	85 c0                	test   %eax,%eax                      
  107a22:	75 10                	jne    107a34 <rtems_gxx_key_delete+0x29><== NEVER TAKEN
    /* Hmm - hopefully all tasks using this key have gone away... */  
    if ( key ) free( (void *)key );                                   
  107a24:	85 db                	test   %ebx,%ebx                      
  107a26:	74 0c                	je     107a34 <rtems_gxx_key_delete+0x29><== NEVER TAKEN
  107a28:	83 ec 0c             	sub    $0xc,%esp                      
  107a2b:	53                   	push   %ebx                           
  107a2c:	e8 4b fe ff ff       	call   10787c <free>                  
  107a31:	83 c4 10             	add    $0x10,%esp                     
    return 0;                                                         
  }                                                                   
  return 0;                                                           
}                                                                     
  107a34:	31 c0                	xor    %eax,%eax                      
  107a36:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  107a39:	c9                   	leave                                 
  107a3a:	c3                   	ret                                   
                                                                      

001079fb <rtems_gxx_key_dtor>: int rtems_gxx_key_dtor (__gthread_key_t key, void *ptr) {
  1079fb:	55                   	push   %ebp                           <== NOT EXECUTED
  1079fc:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: dtor key=%x, ptr=%x\n", key, ptr );        
  #endif                                                              
                                                                      
  key->val  = 0;                                                      
  1079fe:	8b 45 08             	mov    0x8(%ebp),%eax                 <== NOT EXECUTED
  107a01:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    <== NOT EXECUTED
  return 0;                                                           
}                                                                     
  107a07:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  107a09:	c9                   	leave                                 <== NOT EXECUTED
  107a0a:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

00107b10 <rtems_gxx_mutex_destroy>: int rtems_gxx_mutex_destroy (__gthread_mutex_t *mutex) {
  107b10:	55                   	push   %ebp                           <== NOT EXECUTED
  107b11:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  107b13:	83 ec 14             	sub    $0x14,%esp                     <== NOT EXECUTED
                                                                      
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: destroy mutex=%X\n", *mutex );             
  #endif                                                              
                                                                      
  status = rtems_semaphore_delete(*(rtems_id *)mutex);                
  107b16:	8b 45 08             	mov    0x8(%ebp),%eax                 <== NOT EXECUTED
  107b19:	ff 30                	pushl  (%eax)                         <== NOT EXECUTED
  107b1b:	e8 d4 2d 00 00       	call   10a8f4 <rtems_semaphore_delete><== NOT EXECUTED
  if ( status == RTEMS_SUCCESSFUL )                                   
  107b20:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    return 0;                                                         
  107b23:	83 f8 01             	cmp    $0x1,%eax                      <== NOT EXECUTED
  107b26:	19 c0                	sbb    %eax,%eax                      <== NOT EXECUTED
  107b28:	f7 d0                	not    %eax                           <== NOT EXECUTED
  return -1;                                                          
}                                                                     
  107b2a:	c9                   	leave                                 <== NOT EXECUTED
  107b2b:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

00107ac1 <rtems_gxx_mutex_init>: /* * MUTEX support */ void rtems_gxx_mutex_init (__gthread_mutex_t *mutex) {
  107ac1:	55                   	push   %ebp                           
  107ac2:	89 e5                	mov    %esp,%ebp                      
  107ac4:	83 ec 14             	sub    $0x14,%esp                     
                                                                      
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: mutex init =%X\n", *mutex );               
  #endif                                                              
                                                                      
  status = rtems_semaphore_create(                                    
  107ac7:	ff 75 08             	pushl  0x8(%ebp)                      
  107aca:	6a 00                	push   $0x0                           
  107acc:	6a 54                	push   $0x54                          
  107ace:	6a 01                	push   $0x1                           
  107ad0:	68 32 43 43 47       	push   $0x47434332                    
  107ad5:	e8 82 2c 00 00       	call   10a75c <rtems_semaphore_create>
    RTEMS_PRIORITY|RTEMS_BINARY_SEMAPHORE|                            
      RTEMS_INHERIT_PRIORITY|RTEMS_NO_PRIORITY_CEILING|RTEMS_LOCAL,   
    0,                                                                
    (rtems_id *)mutex                                                 
  );                                                                  
  if ( status != RTEMS_SUCCESSFUL ) {                                 
  107ada:	83 c4 20             	add    $0x20,%esp                     
  107add:	85 c0                	test   %eax,%eax                      
  107adf:	74 0d                	je     107aee <rtems_gxx_mutex_init+0x2d><== ALWAYS TAKEN
        "gxx_wrappers: mutex init failed %s (%d)\n",                  
        rtems_status_text(status),                                    
        status                                                        
      );                                                              
    #endif                                                            
    rtems_panic ("rtems_gxx_mutex_init");                             
  107ae1:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  107ae4:	68 ae fc 11 00       	push   $0x11fcae                      <== NOT EXECUTED
  107ae9:	e8 2d 70 00 00       	call   10eb1b <rtems_panic>           <== NOT EXECUTED
  }                                                                   
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: mutex init complete =%X\n", *mutex );      
  #endif                                                              
}                                                                     
  107aee:	c9                   	leave                                 
  107aef:	c3                   	ret                                   
                                                                      

00107968 <rtems_gxx_once>: typedef int __gthread_once_t; typedef void *__gthread_mutex_t; typedef void *__gthread_recursive_mutex_t; int rtems_gxx_once(__gthread_once_t *once, void (*func) (void)) {
  107968:	55                   	push   %ebp                           
  107969:	89 e5                	mov    %esp,%ebp                      
  10796b:	56                   	push   %esi                           
  10796c:	53                   	push   %ebx                           
  10796d:	83 ec 10             	sub    $0x10,%esp                     
  107970:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
  107973:	8b 03                	mov    (%ebx),%eax                    
  107975:	85 c0                	test   %eax,%eax                      
  107977:	75 3f                	jne    1079b8 <rtems_gxx_once+0x50>   
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
  107979:	52                   	push   %edx                           
  10797a:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10797d:	50                   	push   %eax                           
  10797e:	68 00 01 00 00       	push   $0x100                         
  107983:	68 00 01 00 00       	push   $0x100                         
  107988:	e8 a3 33 00 00       	call   10ad30 <rtems_task_mode>       
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
  10798d:	8b 33                	mov    (%ebx),%esi                    
  10798f:	83 c4 10             	add    $0x10,%esp                     
  107992:	85 f6                	test   %esi,%esi                      
  107994:	75 06                	jne    10799c <rtems_gxx_once+0x34>   <== NEVER TAKEN
      *(volatile __gthread_once_t *)once = 1;                         
  107996:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)                    
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  10799c:	50                   	push   %eax                           
  10799d:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  1079a0:	50                   	push   %eax                           
  1079a1:	68 00 01 00 00       	push   $0x100                         
  1079a6:	ff 75 f4             	pushl  -0xc(%ebp)                     
  1079a9:	e8 82 33 00 00       	call   10ad30 <rtems_task_mode>       
    if ( o == 0 )                                                     
  1079ae:	83 c4 10             	add    $0x10,%esp                     
  1079b1:	85 f6                	test   %esi,%esi                      
  1079b3:	75 03                	jne    1079b8 <rtems_gxx_once+0x50>   <== NEVER TAKEN
      (*func)();                                                      
  1079b5:	ff 55 0c             	call   *0xc(%ebp)                     
  }                                                                   
  return 0;                                                           
}                                                                     
  1079b8:	31 c0                	xor    %eax,%eax                      
  1079ba:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1079bd:	5b                   	pop    %ebx                           
  1079be:	5e                   	pop    %esi                           
  1079bf:	c9                   	leave                                 
  1079c0:	c3                   	ret                                   
                                                                      

00107a94 <rtems_gxx_setspecific>: int rtems_gxx_setspecific(__gthread_key_t key, const void *ptr) {
  107a94:	55                   	push   %ebp                           
  107a95:	89 e5                	mov    %esp,%ebp                      
  107a97:	53                   	push   %ebx                           
  107a98:	83 ec 08             	sub    $0x8,%esp                      
  107a9b:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
      rtems_task_self()                                               
      );                                                              
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)key, key->dtor );
  107a9e:	ff 73 04             	pushl  0x4(%ebx)                      
  107aa1:	53                   	push   %ebx                           
  107aa2:	6a 00                	push   $0x0                           
  107aa4:	e8 13 34 00 00       	call   10aebc <rtems_task_variable_add>
  107aa9:	89 c2                	mov    %eax,%edx                      
  if ( status == RTEMS_SUCCESSFUL ) {                                 
  107aab:	83 c4 10             	add    $0x10,%esp                     
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
    return 0;                                                         
  }                                                                   
  return -1;                                                          
  107aae:	83 c8 ff             	or     $0xffffffff,%eax               
      );                                                              
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)key, key->dtor );
  if ( status == RTEMS_SUCCESSFUL ) {                                 
  107ab1:	85 d2                	test   %edx,%edx                      
  107ab3:	75 07                	jne    107abc <rtems_gxx_setspecific+0x28><== NEVER TAKEN
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
  107ab5:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  107ab8:	89 03                	mov    %eax,(%ebx)                    
    return 0;                                                         
  107aba:	31 c0                	xor    %eax,%eax                      
  }                                                                   
  return -1;                                                          
}                                                                     
  107abc:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  107abf:	c9                   	leave                                 
  107ac0:	c3                   	ret                                   
                                                                      

00106f6e <rtems_io_lookup_name>: rtems_status_code rtems_io_lookup_name( const char *name, rtems_driver_name_t *device_info ) {
  106f6e:	55                   	push   %ebp                           <== NOT EXECUTED
  106f6f:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  106f71:	57                   	push   %edi                           <== NOT EXECUTED
  106f72:	56                   	push   %esi                           <== NOT EXECUTED
  106f73:	53                   	push   %ebx                           <== NOT EXECUTED
  106f74:	83 ec 48             	sub    $0x48,%esp                     <== NOT EXECUTED
  106f77:	8b 55 0c             	mov    0xc(%ebp),%edx                 <== 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 );
  106f7a:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  106f7c:	83 c9 ff             	or     $0xffffffff,%ecx               <== NOT EXECUTED
  106f7f:	8b 7d 08             	mov    0x8(%ebp),%edi                 <== NOT EXECUTED
  106f82:	f2 ae                	repnz scas %es:(%edi),%al             <== NOT EXECUTED
  106f84:	f7 d1                	not    %ecx                           <== NOT EXECUTED
  106f86:	49                   	dec    %ecx                           <== NOT EXECUTED
  106f87:	6a 01                	push   $0x1                           <== NOT EXECUTED
  106f89:	8d 75 d4             	lea    -0x2c(%ebp),%esi               <== NOT EXECUTED
  106f8c:	56                   	push   %esi                           <== NOT EXECUTED
  106f8d:	6a 00                	push   $0x0                           <== NOT EXECUTED
  106f8f:	51                   	push   %ecx                           <== NOT EXECUTED
  106f90:	ff 75 08             	pushl  0x8(%ebp)                      <== NOT EXECUTED
  106f93:	89 55 c4             	mov    %edx,-0x3c(%ebp)               <== NOT EXECUTED
  106f96:	e8 76 02 00 00       	call   107211 <rtems_filesystem_evaluate_path><== NOT EXECUTED
  106f9b:	89 c7                	mov    %eax,%edi                      <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
  106f9d:	8b 5d d4             	mov    -0x2c(%ebp),%ebx               <== NOT EXECUTED
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
  106fa0:	8b 45 e0             	mov    -0x20(%ebp),%eax               <== NOT EXECUTED
  106fa3:	8b 40 10             	mov    0x10(%eax),%eax                <== NOT EXECUTED
  106fa6:	83 c4 20             	add    $0x20,%esp                     <== NOT EXECUTED
  106fa9:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  106fab:	8b 55 c4             	mov    -0x3c(%ebp),%edx               <== NOT EXECUTED
  106fae:	75 1c                	jne    106fcc <rtems_io_lookup_name+0x5e><== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
  106fb0:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  106fb3:	56                   	push   %esi                           <== NOT EXECUTED
  106fb4:	e8 3f 03 00 00       	call   1072f8 <rtems_filesystem_freenode><== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  106fb9:	e8 7e a1 00 00       	call   11113c <__errno>               <== NOT EXECUTED
  106fbe:	c7 00 86 00 00 00    	movl   $0x86,(%eax)                   <== NOT EXECUTED
  106fc4:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  106fc7:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  106fca:	eb 5e                	jmp    10702a <rtems_io_lookup_name+0xbc><== NOT EXECUTED
  }                                                                   
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
  106fcc:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  106fcf:	56                   	push   %esi                           <== NOT EXECUTED
  106fd0:	89 55 c4             	mov    %edx,-0x3c(%ebp)               <== NOT EXECUTED
  106fd3:	ff d0                	call   *%eax                          <== NOT EXECUTED
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
  106fd5:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  106fd8:	83 f8 02             	cmp    $0x2,%eax                      <== NOT EXECUTED
  106fdb:	8b 55 c4             	mov    -0x3c(%ebp),%edx               <== NOT EXECUTED
  106fde:	75 07                	jne    106fe7 <rtems_io_lookup_name+0x79><== NOT EXECUTED
  106fe0:	85 ff                	test   %edi,%edi                      <== NOT EXECUTED
  106fe2:	0f 95 c0             	setne  %al                            <== NOT EXECUTED
  106fe5:	74 16                	je     106ffd <rtems_io_lookup_name+0x8f><== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
  106fe7:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  106fea:	8d 45 d4             	lea    -0x2c(%ebp),%eax               <== NOT EXECUTED
  106fed:	50                   	push   %eax                           <== NOT EXECUTED
  106fee:	e8 05 03 00 00       	call   1072f8 <rtems_filesystem_freenode><== NOT EXECUTED
    return RTEMS_UNSATISFIED;                                         
  106ff3:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  106ff6:	b8 0d 00 00 00       	mov    $0xd,%eax                      <== NOT EXECUTED
  106ffb:	eb 2d                	jmp    10702a <rtems_io_lookup_name+0xbc><== NOT EXECUTED
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
  106ffd:	8b 4d 08             	mov    0x8(%ebp),%ecx                 <== NOT EXECUTED
  107000:	89 0a                	mov    %ecx,(%edx)                    <== NOT EXECUTED
  device_info->device_name_length = strlen( name );                   
  107002:	83 c9 ff             	or     $0xffffffff,%ecx               <== NOT EXECUTED
  107005:	8b 7d 08             	mov    0x8(%ebp),%edi                 <== NOT EXECUTED
  107008:	f2 ae                	repnz scas %es:(%edi),%al             <== NOT EXECUTED
  10700a:	f7 d1                	not    %ecx                           <== NOT EXECUTED
  10700c:	49                   	dec    %ecx                           <== NOT EXECUTED
  10700d:	89 4a 04             	mov    %ecx,0x4(%edx)                 <== NOT EXECUTED
  device_info->major              = the_jnode->info.device.major;     
  107010:	8b 43 50             	mov    0x50(%ebx),%eax                <== NOT EXECUTED
  107013:	89 42 08             	mov    %eax,0x8(%edx)                 <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
  107016:	8b 43 54             	mov    0x54(%ebx),%eax                <== NOT EXECUTED
  107019:	89 42 0c             	mov    %eax,0xc(%edx)                 <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  10701c:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10701f:	56                   	push   %esi                           <== NOT EXECUTED
  107020:	e8 d3 02 00 00       	call   1072f8 <rtems_filesystem_freenode><== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  107025:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  107028:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
}                                                                     
  10702a:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  10702d:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10702e:	5e                   	pop    %esi                           <== NOT EXECUTED
  10702f:	5f                   	pop    %edi                           <== NOT EXECUTED
  107030:	c9                   	leave                                 <== NOT EXECUTED
  107031:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010c7d8 <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) {
  10c7d8:	55                   	push   %ebp                           
  10c7d9:	89 e5                	mov    %esp,%ebp                      
  10c7db:	57                   	push   %edi                           
  10c7dc:	56                   	push   %esi                           
  10c7dd:	53                   	push   %ebx                           
  10c7de:	83 ec 0c             	sub    $0xc,%esp                      
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
  10c7e1:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)                 
  10c7e5:	74 41                	je     10c828 <rtems_iterate_over_all_threads+0x50><== NEVER TAKEN
  10c7e7:	bb 01 00 00 00       	mov    $0x1,%ebx                      
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    if ( !_Objects_Information_table[ api_index ] )                   
  10c7ec:	8b 04 9d 00 02 13 00 	mov    0x130200(,%ebx,4),%eax         
  10c7f3:	85 c0                	test   %eax,%eax                      
  10c7f5:	74 2b                	je     10c822 <rtems_iterate_over_all_threads+0x4a><== NEVER TAKEN
      continue;                                                       
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
  10c7f7:	8b 78 04             	mov    0x4(%eax),%edi                 
    if ( !information )                                               
  10c7fa:	be 01 00 00 00       	mov    $0x1,%esi                      
  10c7ff:	85 ff                	test   %edi,%edi                      
  10c801:	75 17                	jne    10c81a <rtems_iterate_over_all_threads+0x42>
  10c803:	eb 1d                	jmp    10c822 <rtems_iterate_over_all_threads+0x4a>
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
      the_thread = (Thread_Control *)information->local_table[ i ];   
  10c805:	8b 47 1c             	mov    0x1c(%edi),%eax                
  10c808:	8b 04 b0             	mov    (%eax,%esi,4),%eax             
                                                                      
      if ( !the_thread )                                              
  10c80b:	85 c0                	test   %eax,%eax                      
  10c80d:	74 0a                	je     10c819 <rtems_iterate_over_all_threads+0x41><== NEVER TAKEN
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
  10c80f:	83 ec 0c             	sub    $0xc,%esp                      
  10c812:	50                   	push   %eax                           
  10c813:	ff 55 08             	call   *0x8(%ebp)                     
  10c816:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
  10c819:	46                   	inc    %esi                           
  10c81a:	0f b7 47 10          	movzwl 0x10(%edi),%eax                
  10c81e:	39 c6                	cmp    %eax,%esi                      
  10c820:	76 e3                	jbe    10c805 <rtems_iterate_over_all_threads+0x2d>
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
  10c822:	43                   	inc    %ebx                           
  10c823:	83 fb 04             	cmp    $0x4,%ebx                      
  10c826:	75 c4                	jne    10c7ec <rtems_iterate_over_all_threads+0x14>
                                                                      
      (*routine)(the_thread);                                         
    }                                                                 
  }                                                                   
                                                                      
}                                                                     
  10c828:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c82b:	5b                   	pop    %ebx                           
  10c82c:	5e                   	pop    %esi                           
  10c82d:	5f                   	pop    %edi                           
  10c82e:	c9                   	leave                                 
  10c82f:	c3                   	ret                                   
                                                                      

0010e112 <rtems_libio_free>: */ void rtems_libio_free( rtems_libio_t *iop ) {
  10e112:	55                   	push   %ebp                           
  10e113:	89 e5                	mov    %esp,%ebp                      
  10e115:	53                   	push   %ebx                           
  10e116:	83 ec 04             	sub    $0x4,%esp                      
  10e119:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  rtems_libio_lock();                                                 
  10e11c:	e8 db fe ff ff       	call   10dffc <rtems_libio_lock>      
                                                                      
    if (iop->sem)                                                     
  10e121:	8b 43 2c             	mov    0x2c(%ebx),%eax                
  10e124:	85 c0                	test   %eax,%eax                      
  10e126:	74 0c                	je     10e134 <rtems_libio_free+0x22> <== NEVER TAKEN
      rtems_semaphore_delete(iop->sem);                               
  10e128:	83 ec 0c             	sub    $0xc,%esp                      
  10e12b:	50                   	push   %eax                           
  10e12c:	e8 23 c0 ff ff       	call   10a154 <rtems_semaphore_delete>
  10e131:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
  10e134:	81 63 14 ff fe ff ff 	andl   $0xfffffeff,0x14(%ebx)         
    iop->data1 = rtems_libio_iop_freelist;                            
  10e13b:	a1 9c 40 12 00       	mov    0x12409c,%eax                  
  10e140:	89 43 34             	mov    %eax,0x34(%ebx)                
    rtems_libio_iop_freelist = iop;                                   
  10e143:	89 1d 9c 40 12 00    	mov    %ebx,0x12409c                  
                                                                      
  rtems_libio_unlock();                                               
}                                                                     
  10e149:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10e14c:	c9                   	leave                                 
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
    iop->data1 = rtems_libio_iop_freelist;                            
    rtems_libio_iop_freelist = iop;                                   
                                                                      
  rtems_libio_unlock();                                               
  10e14d:	e9 c4 fe ff ff       	jmp    10e016 <rtems_libio_unlock>    
                                                                      

001073f8 <rtems_libio_init>: * * Called by BSP startup code to initialize the libio subsystem. */ void rtems_libio_init( void ) {
  1073f8:	55                   	push   %ebp                           
  1073f9:	89 e5                	mov    %esp,%ebp                      
  1073fb:	53                   	push   %ebx                           
  1073fc:	83 ec 04             	sub    $0x4,%esp                      
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
  1073ff:	8b 1d 44 01 12 00    	mov    0x120144,%ebx                  
  107405:	85 db                	test   %ebx,%ebx                      
  107407:	74 3e                	je     107447 <rtems_libio_init+0x4f> <== NEVER TAKEN
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
  107409:	50                   	push   %eax                           
  10740a:	50                   	push   %eax                           
  10740b:	6a 40                	push   $0x40                          
  10740d:	53                   	push   %ebx                           
  10740e:	e8 3d fd ff ff       	call   107150 <calloc>                
  107413:	a3 98 40 12 00       	mov    %eax,0x124098                  
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
  107418:	83 c4 10             	add    $0x10,%esp                     
  10741b:	85 c0                	test   %eax,%eax                      
  10741d:	75 07                	jne    107426 <rtems_libio_init+0x2e> <== ALWAYS TAKEN
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
  10741f:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  107422:	6a 1a                	push   $0x1a                          <== NOT EXECUTED
  107424:	eb 44                	jmp    10746a <rtems_libio_init+0x72> <== NOT EXECUTED
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
  107426:	a3 9c 40 12 00       	mov    %eax,0x12409c                  
  10742b:	89 c2                	mov    %eax,%edx                      
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
  10742d:	31 c9                	xor    %ecx,%ecx                      
  10742f:	eb 03                	jmp    107434 <rtems_libio_init+0x3c> 
          iop->data1 = iop + 1;                                       
  107431:	89 52 f4             	mov    %edx,-0xc(%edx)                
                                                    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++)  
  107434:	41                   	inc    %ecx                           
  107435:	83 c2 40             	add    $0x40,%edx                     
  107438:	39 d9                	cmp    %ebx,%ecx                      
  10743a:	72 f5                	jb     107431 <rtems_libio_init+0x39> 
          iop->data1 = iop + 1;                                       
        iop->data1 = NULL;                                            
  10743c:	c1 e3 06             	shl    $0x6,%ebx                      
  10743f:	c7 44 18 f4 00 00 00 	movl   $0x0,-0xc(%eax,%ebx,1)         
  107446:	00                                                          
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
  107447:	83 ec 0c             	sub    $0xc,%esp                      
  10744a:	68 a0 40 12 00       	push   $0x1240a0                      
  10744f:	6a 00                	push   $0x0                           
  107451:	6a 54                	push   $0x54                          
  107453:	6a 01                	push   $0x1                           
  107455:	68 4f 49 42 4c       	push   $0x4c42494f                    
  10745a:	e8 5d 2b 00 00       	call   109fbc <rtems_semaphore_create>
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
  10745f:	83 c4 20             	add    $0x20,%esp                     
  107462:	85 c0                	test   %eax,%eax                      
  107464:	74 09                	je     10746f <rtems_libio_init+0x77> <== ALWAYS TAKEN
    rtems_fatal_error_occurred( rc );                                 
  107466:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  107469:	50                   	push   %eax                           <== NOT EXECUTED
  10746a:	e8 3d 33 00 00       	call   10a7ac <rtems_fatal_error_occurred><== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
  10746f:	a1 40 01 12 00       	mov    0x120140,%eax                  
  107474:	85 c0                	test   %eax,%eax                      
  107476:	74 06                	je     10747e <rtems_libio_init+0x86> <== NEVER TAKEN
     (* rtems_fs_init_helper)();                                      
}                                                                     
  107478:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10747b:	c9                   	leave                                 
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
     (* rtems_fs_init_helper)();                                      
  10747c:	ff e0                	jmp    *%eax                          
}                                                                     
  10747e:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  107481:	c9                   	leave                                 <== NOT EXECUTED
  107482:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

001084a9 <rtems_libio_set_private_env>: rtems_status_code rtems_libio_set_private_env(void) {
  1084a9:	55                   	push   %ebp                           
  1084aa:	89 e5                	mov    %esp,%ebp                      
  1084ac:	57                   	push   %edi                           
  1084ad:	56                   	push   %esi                           
  1084ae:	53                   	push   %ebx                           
  1084af:	83 ec 40             	sub    $0x40,%esp                     
  rtems_status_code 					sc;                                          
  rtems_id          					task_id;                                     
  rtems_filesystem_location_info_t		loc;                              
                                                                      
  sc=rtems_task_ident(RTEMS_SELF,0,&task_id);                         
  1084b2:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  1084b5:	50                   	push   %eax                           
  1084b6:	6a 00                	push   $0x0                           
  1084b8:	6a 00                	push   $0x0                           
  1084ba:	e8 ad 27 00 00       	call   10ac6c <rtems_task_ident>      
  1084bf:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
  1084c2:	83 c4 10             	add    $0x10,%esp                     
  1084c5:	85 c0                	test   %eax,%eax                      
  1084c7:	0f 85 c8 00 00 00    	jne    108595 <rtems_libio_set_private_env+0xec><== NEVER TAKEN
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
  1084cd:	81 3d 40 2f 12 00 c8 	cmpl   $0x1250c8,0x122f40             
  1084d4:	50 12 00                                                    
  1084d7:	75 49                	jne    108522 <rtems_libio_set_private_env+0x79>
   rtems_user_env_t	*tmp = malloc(sizeof(rtems_user_env_t));          
  1084d9:	83 ec 0c             	sub    $0xc,%esp                      
  1084dc:	6a 48                	push   $0x48                          
  1084de:	e8 bd f5 ff ff       	call   107aa0 <malloc>                
  1084e3:	89 c3                	mov    %eax,%ebx                      
   if (!tmp)                                                          
  1084e5:	83 c4 10             	add    $0x10,%esp                     
  1084e8:	85 c0                	test   %eax,%eax                      
  1084ea:	0f 84 9e 00 00 00    	je     10858e <rtems_libio_set_private_env+0xe5><== NEVER TAKEN
                                                                      
#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);
  1084f0:	50                   	push   %eax                           
  1084f1:	68 6c 84 10 00       	push   $0x10846c                      
  1084f6:	68 40 2f 12 00       	push   $0x122f40                      
  1084fb:	6a 00                	push   $0x0                           
  1084fd:	e8 86 28 00 00       	call   10ad88 <rtems_task_variable_add>
  108502:	89 c6                	mov    %eax,%esi                      
   if (sc != RTEMS_SUCCESSFUL) {                                      
  108504:	83 c4 10             	add    $0x10,%esp                     
  108507:	85 c0                	test   %eax,%eax                      
  108509:	74 11                	je     10851c <rtems_libio_set_private_env+0x73><== ALWAYS TAKEN
	 /* don't use free_user_env because the pathlocs are                 
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
  10850b:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10850e:	53                   	push   %ebx                           <== NOT EXECUTED
  10850f:	e8 0c f1 ff ff       	call   107620 <free>                  <== NOT EXECUTED
     return sc;                                                       
  108514:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  108517:	89 75 c4             	mov    %esi,-0x3c(%ebp)               <== NOT EXECUTED
  10851a:	eb 79                	jmp    108595 <rtems_libio_set_private_env+0xec><== NOT EXECUTED
   }                                                                  
   rtems_current_user_env = tmp;                                      
  10851c:	89 1d 40 2f 12 00    	mov    %ebx,0x122f40                  
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
  108522:	a1 40 2f 12 00       	mov    0x122f40,%eax                  
  108527:	be c8 50 12 00       	mov    $0x1250c8,%esi                 
  10852c:	b9 12 00 00 00       	mov    $0x12,%ecx                     
  108531:	89 c7                	mov    %eax,%edi                      
  108533:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
  108535:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  108538:	89 10                	mov    %edx,(%eax)                    
   * 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);                 
  10853a:	83 ec 0c             	sub    $0xc,%esp                      
  10853d:	6a 00                	push   $0x0                           
  10853f:	8d 5d d0             	lea    -0x30(%ebp),%ebx               
  108542:	53                   	push   %ebx                           
  108543:	6a 00                	push   $0x0                           
  108545:	6a 01                	push   $0x1                           
  108547:	68 54 ef 11 00       	push   $0x11ef54                      
  10854c:	e8 d4 ef ff ff       	call   107525 <rtems_filesystem_evaluate_path>
  rtems_filesystem_root    = loc;                                     
  108551:	8b 3d 40 2f 12 00    	mov    0x122f40,%edi                  
  108557:	83 c7 18             	add    $0x18,%edi                     
  10855a:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  10855f:	89 de                	mov    %ebx,%esi                      
  108561:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  108563:	83 c4 14             	add    $0x14,%esp                     
  108566:	6a 00                	push   $0x0                           
  108568:	53                   	push   %ebx                           
  108569:	6a 00                	push   $0x0                           
  10856b:	6a 01                	push   $0x1                           
  10856d:	68 54 ef 11 00       	push   $0x11ef54                      
  108572:	e8 ae ef ff ff       	call   107525 <rtems_filesystem_evaluate_path>
  rtems_filesystem_current = loc;                                     
  108577:	8b 3d 40 2f 12 00    	mov    0x122f40,%edi                  
  10857d:	83 c7 04             	add    $0x4,%edi                      
  108580:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  108585:	89 de                	mov    %ebx,%esi                      
  108587:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  108589:	83 c4 20             	add    $0x20,%esp                     
  10858c:	eb 07                	jmp    108595 <rtems_libio_set_private_env+0xec>
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
   rtems_user_env_t	*tmp = malloc(sizeof(rtems_user_env_t));          
   if (!tmp)                                                          
     return RTEMS_NO_MEMORY;                                          
  10858e:	c7 45 c4 1a 00 00 00 	movl   $0x1a,-0x3c(%ebp)              <== NOT EXECUTED
  rtems_filesystem_root    = loc;                                     
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_current = loc;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  108595:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  108598:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10859b:	5b                   	pop    %ebx                           
  10859c:	5e                   	pop    %esi                           
  10859d:	5f                   	pop    %edi                           
  10859e:	c9                   	leave                                 
  10859f:	c3                   	ret                                   
                                                                      

001085a0 <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) {
  1085a0:	55                   	push   %ebp                           <== NOT EXECUTED
  1085a1:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  1085a3:	53                   	push   %ebx                           <== NOT EXECUTED
  1085a4:	83 ec 18             	sub    $0x18,%esp                     <== 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);                 
  1085a7:	8d 45 f0             	lea    -0x10(%ebp),%eax               <== NOT EXECUTED
  1085aa:	50                   	push   %eax                           <== NOT EXECUTED
  1085ab:	6a 00                	push   $0x0                           <== NOT EXECUTED
  1085ad:	6a 00                	push   $0x0                           <== NOT EXECUTED
  1085af:	e8 b8 26 00 00       	call   10ac6c <rtems_task_ident>      <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
  1085b4:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  1085b7:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  1085b9:	75 75                	jne    108630 <rtems_libio_share_private_env+0x90><== NOT EXECUTED
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
  1085bb:	8b 1d 40 2f 12 00    	mov    0x122f40,%ebx                  <== NOT EXECUTED
  1085c1:	8b 45 f0             	mov    -0x10(%ebp),%eax               <== NOT EXECUTED
  1085c4:	39 03                	cmp    %eax,(%ebx)                    <== NOT EXECUTED
  1085c6:	75 21                	jne    1085e9 <rtems_libio_share_private_env+0x49><== 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);
  1085c8:	50                   	push   %eax                           <== NOT EXECUTED
  1085c9:	50                   	push   %eax                           <== NOT EXECUTED
  1085ca:	68 40 2f 12 00       	push   $0x122f40                      <== NOT EXECUTED
  1085cf:	6a 00                	push   $0x0                           <== NOT EXECUTED
  1085d1:	e8 46 28 00 00       	call   10ae1c <rtems_task_variable_delete><== NOT EXECUTED
   if (sc != RTEMS_SUCCESSFUL) return sc;                             
  1085d6:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  1085d9:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  1085db:	75 53                	jne    108630 <rtems_libio_share_private_env+0x90><== NOT EXECUTED
   free_user_env(tmp);                                                
  1085dd:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1085e0:	53                   	push   %ebx                           <== NOT EXECUTED
  1085e1:	e8 86 fe ff ff       	call   10846c <free_user_env>         <== NOT EXECUTED
  1085e6:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  };                                                                  
                                                                      
  /* AT THIS POINT, rtems_current_user_env is DANGLING */             
                                                                      
  sc = rtems_task_variable_get(task_id,(void*)&rtems_current_user_env,
  1085e9:	51                   	push   %ecx                           <== NOT EXECUTED
		                       (void*)&shared_user_env       );             
  1085ea:	8d 45 f4             	lea    -0xc(%ebp),%eax                <== NOT EXECUTED
   free_user_env(tmp);                                                
  };                                                                  
                                                                      
  /* AT THIS POINT, rtems_current_user_env is DANGLING */             
                                                                      
  sc = rtems_task_variable_get(task_id,(void*)&rtems_current_user_env,
  1085ed:	50                   	push   %eax                           <== NOT EXECUTED
  1085ee:	68 40 2f 12 00       	push   $0x122f40                      <== NOT EXECUTED
  1085f3:	ff 75 08             	pushl  0x8(%ebp)                      <== NOT EXECUTED
  1085f6:	e8 9d 28 00 00       	call   10ae98 <rtems_task_variable_get><== NOT EXECUTED
		                       (void*)&shared_user_env       );             
  if (sc != RTEMS_SUCCESSFUL)                                         
  1085fb:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  1085fe:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  108600:	75 24                	jne    108626 <rtems_libio_share_private_env+0x86><== NOT EXECUTED
    goto bailout;                                                     
                                                                      
  sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,free_user_env);
  108602:	52                   	push   %edx                           <== NOT EXECUTED
  108603:	68 6c 84 10 00       	push   $0x10846c                      <== NOT EXECUTED
  108608:	68 40 2f 12 00       	push   $0x122f40                      <== NOT EXECUTED
  10860d:	6a 00                	push   $0x0                           <== NOT EXECUTED
  10860f:	e8 74 27 00 00       	call   10ad88 <rtems_task_variable_add><== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
  108614:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  108617:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  108619:	75 0b                	jne    108626 <rtems_libio_share_private_env+0x86><== NOT EXECUTED
    goto bailout;                                                     
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
  10861b:	8b 55 f4             	mov    -0xc(%ebp),%edx                <== NOT EXECUTED
  10861e:	89 15 40 2f 12 00    	mov    %edx,0x122f40                  <== NOT EXECUTED
  /* increase the reference count */                                  
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  108624:	eb 0a                	jmp    108630 <rtems_libio_share_private_env+0x90><== NOT EXECUTED
                                                                      
bailout:                                                              
  /* fallback to the global env */                                    
  rtems_current_user_env = &rtems_global_user_env;                    
  108626:	c7 05 40 2f 12 00 c8 	movl   $0x1250c8,0x122f40             <== NOT EXECUTED
  10862d:	50 12 00                                                    
  return sc;                                                          
}                                                                     
  108630:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  108633:	c9                   	leave                                 <== NOT EXECUTED
  108634:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010e061 <rtems_libio_to_fcntl_flags>: */ uint32_t rtems_libio_to_fcntl_flags( uint32_t flags ) {
  10e061:	55                   	push   %ebp                           
  10e062:	89 e5                	mov    %esp,%ebp                      
  10e064:	8b 55 08             	mov    0x8(%ebp),%edx                 
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
  10e067:	89 d1                	mov    %edx,%ecx                      
  10e069:	83 e1 06             	and    $0x6,%ecx                      
    fcntl_flags |= O_RDWR;                                            
  10e06c:	b8 02 00 00 00       	mov    $0x2,%eax                      
  uint32_t   flags                                                    
)                                                                     
{                                                                     
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
  10e071:	83 f9 06             	cmp    $0x6,%ecx                      
  10e074:	74 0f                	je     10e085 <rtems_libio_to_fcntl_flags+0x24><== NEVER TAKEN
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
    fcntl_flags |= O_RDONLY;                                          
  10e076:	30 c0                	xor    %al,%al                        
{                                                                     
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
  10e078:	f6 c2 02             	test   $0x2,%dl                       
  10e07b:	75 08                	jne    10e085 <rtems_libio_to_fcntl_flags+0x24><== ALWAYS TAKEN
)                                                                     
{                                                                     
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
  10e07d:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  10e07f:	f6 c2 04             	test   $0x4,%dl                       <== NOT EXECUTED
  10e082:	0f 95 c0             	setne  %al                            <== 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 ) {     
  10e085:	f6 c2 01             	test   $0x1,%dl                       
  10e088:	74 03                	je     10e08d <rtems_libio_to_fcntl_flags+0x2c>
    fcntl_flags |= O_NONBLOCK;                                        
  10e08a:	80 cc 40             	or     $0x40,%ah                      
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_APPEND) == LIBIO_FLAGS_APPEND ) {         
  10e08d:	f6 c6 02             	test   $0x2,%dh                       
  10e090:	74 03                	je     10e095 <rtems_libio_to_fcntl_flags+0x34>
    fcntl_flags |= O_APPEND;                                          
  10e092:	83 c8 08             	or     $0x8,%eax                      
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_CREATE) == LIBIO_FLAGS_CREATE ) {         
  10e095:	80 e6 04             	and    $0x4,%dh                       
  10e098:	74 03                	je     10e09d <rtems_libio_to_fcntl_flags+0x3c>
    fcntl_flags |= O_CREAT;                                           
  10e09a:	80 cc 02             	or     $0x2,%ah                       
  }                                                                   
                                                                      
  return fcntl_flags;                                                 
}                                                                     
  10e09d:	c9                   	leave                                 
  10e09e:	c3                   	ret                                   
                                                                      

001118c0 <rtems_memalign>: int rtems_memalign( void **pointer, size_t alignment, size_t size ) {
  1118c0:	55                   	push   %ebp                           
  1118c1:	89 e5                	mov    %esp,%ebp                      
  1118c3:	57                   	push   %edi                           
  1118c4:	56                   	push   %esi                           
  1118c5:	53                   	push   %ebx                           
  1118c6:	83 ec 0c             	sub    $0xc,%esp                      
  1118c9:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
    return EINVAL;                                                    
  1118cc:	be 16 00 00 00       	mov    $0x16,%esi                     
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
  1118d1:	85 db                	test   %ebx,%ebx                      
  1118d3:	74 55                	je     11192a <rtems_memalign+0x6a>   
    return EINVAL;                                                    
                                                                      
  *pointer = NULL;                                                    
  1118d5:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
  1118db:	83 3d 1c 86 12 00 03 	cmpl   $0x3,0x12861c                  
  1118e2:	75 09                	jne    1118ed <rtems_memalign+0x2d>   <== NEVER TAKEN
       !malloc_is_system_state_OK() )                                 
  1118e4:	e8 d3 68 ff ff       	call   1081bc <malloc_is_system_state_OK>
  *pointer = NULL;                                                    
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
  1118e9:	84 c0                	test   %al,%al                        
  1118eb:	74 3d                	je     11192a <rtems_memalign+0x6a>   <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
  1118ed:	e8 08 69 ff ff       	call   1081fa <malloc_deferred_frees_process>
  Heap_Control *heap,                                                 
  uintptr_t size,                                                     
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return                                                              
  1118f2:	6a 00                	push   $0x0                           
  1118f4:	ff 75 0c             	pushl  0xc(%ebp)                      
  1118f7:	ff 75 10             	pushl  0x10(%ebp)                     
  1118fa:	ff 35 50 43 12 00    	pushl  0x124350                       
  111900:	e8 97 b1 ff ff       	call   10ca9c <_Protected_heap_Allocate_aligned_with_boundary>
  111905:	89 c7                	mov    %eax,%edi                      
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
  111907:	83 c4 10             	add    $0x10,%esp                     
    return ENOMEM;                                                    
  11190a:	be 0c 00 00 00       	mov    $0xc,%esi                      
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
  11190f:	85 c0                	test   %eax,%eax                      
  111911:	74 17                	je     11192a <rtems_memalign+0x6a>   
    return ENOMEM;                                                    
                                                                      
  /*                                                                  
   *  If configured, update the more involved statistics              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
  111913:	a1 30 67 12 00       	mov    0x126730,%eax                  
  111918:	85 c0                	test   %eax,%eax                      
  11191a:	74 0a                	je     111926 <rtems_memalign+0x66>   <== ALWAYS TAKEN
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
  11191c:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  11191f:	53                   	push   %ebx                           <== NOT EXECUTED
  111920:	ff 50 04             	call   *0x4(%eax)                     <== NOT EXECUTED
  111923:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
                                                                      
  *pointer = return_this;                                             
  111926:	89 3b                	mov    %edi,(%ebx)                    
  return 0;                                                           
  111928:	31 f6                	xor    %esi,%esi                      
}                                                                     
  11192a:	89 f0                	mov    %esi,%eax                      
  11192c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11192f:	5b                   	pop    %ebx                           
  111930:	5e                   	pop    %esi                           
  111931:	5f                   	pop    %edi                           
  111932:	c9                   	leave                                 
  111933:	c3                   	ret                                   
                                                                      

0010f4ac <rtems_mkdir>: return (retval); } int rtems_mkdir(const char *path, mode_t mode) {
  10f4ac:	55                   	push   %ebp                           
  10f4ad:	89 e5                	mov    %esp,%ebp                      
  10f4af:	57                   	push   %edi                           
  10f4b0:	56                   	push   %esi                           
  10f4b1:	53                   	push   %ebx                           
  10f4b2:	83 ec 78             	sub    $0x78,%esp                     
	int success = 0;                                                     
	char *dup_path = strdup(path);                                       
  10f4b5:	ff 75 08             	pushl  0x8(%ebp)                      
  10f4b8:	e8 1f 47 00 00       	call   113bdc <strdup>                
  10f4bd:	89 c3                	mov    %eax,%ebx                      
                                                                      
	if (dup_path != NULL) {                                              
  10f4bf:	83 c4 10             	add    $0x10,%esp                     
		success = build(dup_path, mode);                                    
		free(dup_path);                                                     
	}                                                                    
                                                                      
	return success != 0 ? 0 : -1;                                        
  10f4c2:	83 c8 ff             	or     $0xffffffff,%eax               
rtems_mkdir(const char *path, mode_t mode)                            
{                                                                     
	int success = 0;                                                     
	char *dup_path = strdup(path);                                       
                                                                      
	if (dup_path != NULL) {                                              
  10f4c5:	85 db                	test   %ebx,%ebx                      
  10f4c7:	0f 84 1e 01 00 00    	je     10f5eb <rtems_mkdir+0x13f>     <== NEVER TAKEN
                                                                      
	p = path;                                                            
	oumask = 0;                                                          
	retval = 1;                                                          
	if (p[0] == '/')		/* Skip leading '/'. */                            
		++p;                                                                
  10f4cd:	31 c0                	xor    %eax,%eax                      
  10f4cf:	80 3b 2f             	cmpb   $0x2f,(%ebx)                   
  10f4d2:	0f 94 c0             	sete   %al                            
  10f4d5:	8d 3c 03             	lea    (%ebx,%eax,1),%edi             
	char *p;                                                             
                                                                      
	p = path;                                                            
	oumask = 0;                                                          
	retval = 1;                                                          
	if (p[0] == '/')		/* Skip leading '/'. */                            
  10f4d8:	c7 45 94 00 00 00 00 	movl   $0x0,-0x6c(%ebp)               
  10f4df:	b8 01 00 00 00       	mov    $0x1,%eax                      
		++p;                                                                
	for (first = 1, last = 0; !last ; ++p) {                             
		if (p[0] == '\0')                                                   
  10f4e4:	8a 0f                	mov    (%edi),%cl                     
			last = 1;                                                          
  10f4e6:	ba 01 00 00 00       	mov    $0x1,%edx                      
	oumask = 0;                                                          
	retval = 1;                                                          
	if (p[0] == '/')		/* Skip leading '/'. */                            
		++p;                                                                
	for (first = 1, last = 0; !last ; ++p) {                             
		if (p[0] == '\0')                                                   
  10f4eb:	84 c9                	test   %cl,%cl                        
  10f4ed:	74 0b                	je     10f4fa <rtems_mkdir+0x4e>      
			last = 1;                                                          
		else if (p[0] != '/')                                               
  10f4ef:	80 f9 2f             	cmp    $0x2f,%cl                      
  10f4f2:	0f 85 c8 00 00 00    	jne    10f5c0 <rtems_mkdir+0x114>     
  10f4f8:	30 d2                	xor    %dl,%dl                        
			continue;                                                          
		*p = '\0';                                                          
  10f4fa:	c6 07 00             	movb   $0x0,(%edi)                    
		if (!last && p[1] == '\0')                                          
  10f4fd:	be 01 00 00 00       	mov    $0x1,%esi                      
  10f502:	85 d2                	test   %edx,%edx                      
  10f504:	75 0b                	jne    10f511 <rtems_mkdir+0x65>      
  10f506:	31 d2                	xor    %edx,%edx                      
  10f508:	80 7f 01 00          	cmpb   $0x0,0x1(%edi)                 
  10f50c:	0f 94 c2             	sete   %dl                            
  10f50f:	89 d6                	mov    %edx,%esi                      
			last = 1;                                                          
		if (first) {                                                        
  10f511:	85 c0                	test   %eax,%eax                      
  10f513:	74 1a                	je     10f52f <rtems_mkdir+0x83>      
			 *    mkdir [-m mode] dir                                          
			 *                                                                 
			 * We change the user's umask and then restore it,                 
			 * instead of doing chmod's.                                       
			 */                                                                
			oumask = umask(0);                                                 
  10f515:	83 ec 0c             	sub    $0xc,%esp                      
  10f518:	6a 00                	push   $0x0                           
  10f51a:	e8 65 b4 ff ff       	call   10a984 <umask>                 
  10f51f:	89 45 94             	mov    %eax,-0x6c(%ebp)               
			numask = oumask & ~(S_IWUSR | S_IXUSR);                            
  10f522:	24 3f                	and    $0x3f,%al                      
			(void)umask(numask);                                               
  10f524:	89 04 24             	mov    %eax,(%esp)                    
  10f527:	e8 58 b4 ff ff       	call   10a984 <umask>                 
  10f52c:	83 c4 10             	add    $0x10,%esp                     
			first = 0;                                                         
		}                                                                   
		if (last)                                                           
			(void)umask(oumask);                                               
		if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {  
  10f52f:	b8 ff 01 00 00       	mov    $0x1ff,%eax                    
			oumask = umask(0);                                                 
			numask = oumask & ~(S_IWUSR | S_IXUSR);                            
			(void)umask(numask);                                               
			first = 0;                                                         
		}                                                                   
		if (last)                                                           
  10f534:	85 f6                	test   %esi,%esi                      
  10f536:	74 11                	je     10f549 <rtems_mkdir+0x9d>      
			(void)umask(oumask);                                               
  10f538:	83 ec 0c             	sub    $0xc,%esp                      
  10f53b:	ff 75 94             	pushl  -0x6c(%ebp)                    
  10f53e:	e8 41 b4 ff ff       	call   10a984 <umask>                 
  10f543:	83 c4 10             	add    $0x10,%esp                     
		if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {  
  10f546:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10f549:	52                   	push   %edx                           
  10f54a:	52                   	push   %edx                           
  10f54b:	50                   	push   %eax                           
  10f54c:	53                   	push   %ebx                           
  10f54d:	e8 be 8f ff ff       	call   108510 <mkdir>                 
  10f552:	83 c4 10             	add    $0x10,%esp                     
  10f555:	85 c0                	test   %eax,%eax                      
  10f557:	79 5e                	jns    10f5b7 <rtems_mkdir+0x10b>     
			if (errno == EEXIST || errno == EISDIR) {                          
  10f559:	e8 82 2e 00 00       	call   1123e0 <__errno>               
  10f55e:	83 38 11             	cmpl   $0x11,(%eax)                   
  10f561:	74 0a                	je     10f56d <rtems_mkdir+0xc1>      <== ALWAYS TAKEN
  10f563:	e8 78 2e 00 00       	call   1123e0 <__errno>               <== NOT EXECUTED
  10f568:	83 38 15             	cmpl   $0x15,(%eax)                   <== NOT EXECUTED
  10f56b:	75 59                	jne    10f5c6 <rtems_mkdir+0x11a>     <== NOT EXECUTED
				if (stat(path, &sb) < 0) {                                        
  10f56d:	50                   	push   %eax                           
  10f56e:	50                   	push   %eax                           
  10f56f:	8d 45 a0             	lea    -0x60(%ebp),%eax               
  10f572:	50                   	push   %eax                           
  10f573:	53                   	push   %ebx                           
  10f574:	e8 2f 99 ff ff       	call   108ea8 <stat>                  
  10f579:	83 c4 10             	add    $0x10,%esp                     
  10f57c:	85 c0                	test   %eax,%eax                      
  10f57e:	78 46                	js     10f5c6 <rtems_mkdir+0x11a>     <== NEVER TAKEN
					retval = 0;                                                      
					break;                                                           
				} else if (!S_ISDIR(sb.st_mode)) {                                
  10f580:	8b 45 ac             	mov    -0x54(%ebp),%eax               
  10f583:	25 00 f0 00 00       	and    $0xf000,%eax                   
  10f588:	3d 00 40 00 00       	cmp    $0x4000,%eax                   
  10f58d:	74 22                	je     10f5b1 <rtems_mkdir+0x105>     
					if (last)                                                        
  10f58f:	85 f6                	test   %esi,%esi                      
  10f591:	74 0f                	je     10f5a2 <rtems_mkdir+0xf6>      <== NEVER TAKEN
						errno = EEXIST;                                                 
  10f593:	e8 48 2e 00 00       	call   1123e0 <__errno>               
  10f598:	c7 00 11 00 00 00    	movl   $0x11,(%eax)                   
					else                                                             
						errno = ENOTDIR;                                                
					retval = 0;                                                      
  10f59e:	31 ff                	xor    %edi,%edi                      
  10f5a0:	eb 38                	jmp    10f5da <rtems_mkdir+0x12e>     
					break;                                                           
				} else if (!S_ISDIR(sb.st_mode)) {                                
					if (last)                                                        
						errno = EEXIST;                                                 
					else                                                             
						errno = ENOTDIR;                                                
  10f5a2:	e8 39 2e 00 00       	call   1123e0 <__errno>               <== NOT EXECUTED
  10f5a7:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   <== NOT EXECUTED
					retval = 0;                                                      
  10f5ad:	31 ff                	xor    %edi,%edi                      <== NOT EXECUTED
  10f5af:	eb 1b                	jmp    10f5cc <rtems_mkdir+0x120>     <== NOT EXECUTED
					break;                                                           
				}                                                                 
				if (last)                                                         
  10f5b1:	85 f6                	test   %esi,%esi                      
  10f5b3:	75 3e                	jne    10f5f3 <rtems_mkdir+0x147>     
  10f5b5:	eb 04                	jmp    10f5bb <rtems_mkdir+0x10f>     
			} else {                                                           
				retval = 0;                                                       
				break;                                                            
			}                                                                  
		}                                                                   
		if (!last)                                                          
  10f5b7:	85 f6                	test   %esi,%esi                      
  10f5b9:	75 3f                	jne    10f5fa <rtems_mkdir+0x14e>     
		    *p = '/';                                                       
  10f5bb:	c6 07 2f             	movb   $0x2f,(%edi)                   
  10f5be:	31 c0                	xor    %eax,%eax                      
	p = path;                                                            
	oumask = 0;                                                          
	retval = 1;                                                          
	if (p[0] == '/')		/* Skip leading '/'. */                            
		++p;                                                                
	for (first = 1, last = 0; !last ; ++p) {                             
  10f5c0:	47                   	inc    %edi                           
  10f5c1:	e9 1e ff ff ff       	jmp    10f4e4 <rtems_mkdir+0x38>      
		if (last)                                                           
			(void)umask(oumask);                                               
		if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {  
			if (errno == EEXIST || errno == EISDIR) {                          
				if (stat(path, &sb) < 0) {                                        
					retval = 0;                                                      
  10f5c6:	31 ff                	xor    %edi,%edi                      <== NOT EXECUTED
			}                                                                  
		}                                                                   
		if (!last)                                                          
		    *p = '/';                                                       
	}                                                                    
	if (!first && !last)                                                 
  10f5c8:	85 f6                	test   %esi,%esi                      <== NOT EXECUTED
  10f5ca:	75 0e                	jne    10f5da <rtems_mkdir+0x12e>     <== NOT EXECUTED
		(void)umask(oumask);                                                
  10f5cc:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10f5cf:	ff 75 94             	pushl  -0x6c(%ebp)                    <== NOT EXECUTED
  10f5d2:	e8 ad b3 ff ff       	call   10a984 <umask>                 <== NOT EXECUTED
  10f5d7:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
	int success = 0;                                                     
	char *dup_path = strdup(path);                                       
                                                                      
	if (dup_path != NULL) {                                              
		success = build(dup_path, mode);                                    
		free(dup_path);                                                     
  10f5da:	83 ec 0c             	sub    $0xc,%esp                      
  10f5dd:	53                   	push   %ebx                           
  10f5de:	e8 5d 88 ff ff       	call   107e40 <free>                  
	}                                                                    
                                                                      
	return success != 0 ? 0 : -1;                                        
  10f5e3:	83 c4 10             	add    $0x10,%esp                     
  10f5e6:	83 ff 01             	cmp    $0x1,%edi                      
  10f5e9:	19 c0                	sbb    %eax,%eax                      
}                                                                     
  10f5eb:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f5ee:	5b                   	pop    %ebx                           
  10f5ef:	5e                   	pop    %esi                           
  10f5f0:	5f                   	pop    %edi                           
  10f5f1:	c9                   	leave                                 
  10f5f2:	c3                   	ret                                   
						errno = ENOTDIR;                                                
					retval = 0;                                                      
					break;                                                           
				}                                                                 
				if (last)                                                         
					retval = 2;                                                      
  10f5f3:	bf 02 00 00 00       	mov    $0x2,%edi                      
  10f5f8:	eb e0                	jmp    10f5da <rtems_mkdir+0x12e>     
			} else {                                                           
				retval = 0;                                                       
				break;                                                            
			}                                                                  
		}                                                                   
		if (!last)                                                          
  10f5fa:	bf 01 00 00 00       	mov    $0x1,%edi                      
  10f5ff:	eb d9                	jmp    10f5da <rtems_mkdir+0x12e>     
                                                                      

001148ec <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
  1148ec:	55                   	push   %ebp                           
  1148ed:	89 e5                	mov    %esp,%ebp                      
  1148ef:	57                   	push   %edi                           
  1148f0:	56                   	push   %esi                           
  1148f1:	53                   	push   %ebx                           
  1148f2:	83 ec 1c             	sub    $0x1c,%esp                     
  1148f5:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  1148f8:	8b 55 10             	mov    0x10(%ebp),%edx                
  1148fb:	8b 7d 14             	mov    0x14(%ebp),%edi                
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
  1148fe:	b8 03 00 00 00       	mov    $0x3,%eax                      
  rtems_id        *id                                                 
)                                                                     
{                                                                     
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  114903:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)                 
  114907:	0f 84 ce 00 00 00    	je     1149db <rtems_partition_create+0xef>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
    return RTEMS_INVALID_ADDRESS;                                     
  11490d:	b0 09                	mov    $0x9,%al                       
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
  11490f:	85 f6                	test   %esi,%esi                      
  114911:	0f 84 c4 00 00 00    	je     1149db <rtems_partition_create+0xef>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
  114917:	83 7d 1c 00          	cmpl   $0x0,0x1c(%ebp)                
  11491b:	0f 84 ba 00 00 00    	je     1149db <rtems_partition_create+0xef><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
  114921:	85 ff                	test   %edi,%edi                      
  114923:	0f 84 ad 00 00 00    	je     1149d6 <rtems_partition_create+0xea>
  114929:	85 d2                	test   %edx,%edx                      
  11492b:	0f 84 a5 00 00 00    	je     1149d6 <rtems_partition_create+0xea>
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
  114931:	b0 08                	mov    $0x8,%al                       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
  114933:	39 fa                	cmp    %edi,%edx                      
  114935:	0f 82 a0 00 00 00    	jb     1149db <rtems_partition_create+0xef>
  11493b:	f7 c7 03 00 00 00    	test   $0x3,%edi                      
  114941:	0f 85 94 00 00 00    	jne    1149db <rtems_partition_create+0xef>
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
     return RTEMS_INVALID_ADDRESS;                                    
  114947:	b0 09                	mov    $0x9,%al                       
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
  114949:	f7 c6 03 00 00 00    	test   $0x3,%esi                      
  11494f:	0f 85 86 00 00 00    	jne    1149db <rtems_partition_create+0xef>
  114955:	a1 b8 e5 13 00       	mov    0x13e5b8,%eax                  
  11495a:	40                   	inc    %eax                           
  11495b:	a3 b8 e5 13 00       	mov    %eax,0x13e5b8                  
 *  This function allocates a partition control block from            
 *  the inactive chain of free partition control blocks.              
 */                                                                   
RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Allocate ( void )  
{                                                                     
  return (Partition_Control *) _Objects_Allocate( &_Partition_Information );
  114960:	83 ec 0c             	sub    $0xc,%esp                      
  114963:	68 44 e4 13 00       	push   $0x13e444                      
  114968:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  11496b:	e8 30 3e 00 00       	call   1187a0 <_Objects_Allocate>     
  114970:	89 c3                	mov    %eax,%ebx                      
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
  114972:	83 c4 10             	add    $0x10,%esp                     
  114975:	85 c0                	test   %eax,%eax                      
  114977:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  11497a:	75 0c                	jne    114988 <rtems_partition_create+0x9c>
    _Thread_Enable_dispatch();                                        
  11497c:	e8 61 4a 00 00       	call   1193e2 <_Thread_Enable_dispatch>
    return RTEMS_TOO_MANY;                                            
  114981:	b8 05 00 00 00       	mov    $0x5,%eax                      
  114986:	eb 53                	jmp    1149db <rtems_partition_create+0xef>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  114988:	89 70 10             	mov    %esi,0x10(%eax)                
  the_partition->length                = length;                      
  11498b:	89 50 14             	mov    %edx,0x14(%eax)                
  the_partition->buffer_size           = buffer_size;                 
  11498e:	89 78 18             	mov    %edi,0x18(%eax)                
  the_partition->attribute_set         = attribute_set;               
  114991:	8b 45 18             	mov    0x18(%ebp),%eax                
  114994:	89 43 1c             	mov    %eax,0x1c(%ebx)                
  the_partition->number_of_used_blocks = 0;                           
  114997:	c7 43 20 00 00 00 00 	movl   $0x0,0x20(%ebx)                
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
  11499e:	57                   	push   %edi                           
  11499f:	89 d0                	mov    %edx,%eax                      
  1149a1:	31 d2                	xor    %edx,%edx                      
  1149a3:	f7 f7                	div    %edi                           
  1149a5:	50                   	push   %eax                           
  1149a6:	56                   	push   %esi                           
  1149a7:	8d 43 24             	lea    0x24(%ebx),%eax                
  1149aa:	50                   	push   %eax                           
  1149ab:	e8 8c 2a 00 00       	call   11743c <_Chain_Initialize>     
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  1149b0:	8b 43 08             	mov    0x8(%ebx),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  1149b3:	0f b7 c8             	movzwl %ax,%ecx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  1149b6:	8b 15 60 e4 13 00    	mov    0x13e460,%edx                  
  1149bc:	89 1c 8a             	mov    %ebx,(%edx,%ecx,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  1149bf:	8b 55 08             	mov    0x8(%ebp),%edx                 
  1149c2:	89 53 0c             	mov    %edx,0xc(%ebx)                 
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
  1149c5:	8b 55 1c             	mov    0x1c(%ebp),%edx                
  1149c8:	89 02                	mov    %eax,(%edx)                    
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  1149ca:	e8 13 4a 00 00       	call   1193e2 <_Thread_Enable_dispatch>
  return RTEMS_SUCCESSFUL;                                            
  1149cf:	83 c4 10             	add    $0x10,%esp                     
  1149d2:	31 c0                	xor    %eax,%eax                      
  1149d4:	eb 05                	jmp    1149db <rtems_partition_create+0xef>
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
  1149d6:	b8 08 00 00 00       	mov    $0x8,%eax                      
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  1149db:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1149de:	5b                   	pop    %ebx                           
  1149df:	5e                   	pop    %esi                           
  1149e0:	5f                   	pop    %edi                           
  1149e1:	c9                   	leave                                 
  1149e2:	c3                   	ret                                   
                                                                      

00107057 <rtems_print_buffer>: void rtems_print_buffer( const unsigned char *buffer, int length ) {
  107057:	55                   	push   %ebp                           
  107058:	89 e5                	mov    %esp,%ebp                      
  10705a:	57                   	push   %edi                           
  10705b:	56                   	push   %esi                           
  10705c:	53                   	push   %ebx                           
  10705d:	83 ec 1c             	sub    $0x1c,%esp                     
  107060:	8b 75 08             	mov    0x8(%ebp),%esi                 
  107063:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
                                                                      
  int i, mod, max;                                                    
                                                                      
  if ( !length ) return;                                              
  107066:	85 c9                	test   %ecx,%ecx                      
  107068:	74 41                	je     1070ab <rtems_print_buffer+0x54><== NEVER TAKEN
                                                                      
  mod = length % 16;                                                  
  10706a:	bb 10 00 00 00       	mov    $0x10,%ebx                     
  10706f:	89 c8                	mov    %ecx,%eax                      
  107071:	99                   	cltd                                  
  107072:	f7 fb                	idiv   %ebx                           
  107074:	89 d7                	mov    %edx,%edi                      
                                                                      
  max = length - mod;                                                 
  107076:	29 d1                	sub    %edx,%ecx                      
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
  107078:	30 db                	xor    %bl,%bl                        
  10707a:	eb 16                	jmp    107092 <rtems_print_buffer+0x3b>
static inline void Dump_Line(                                         
  const unsigned char *buffer,                                        
  int                  length                                         
);                                                                    
                                                                      
void rtems_print_buffer(                                              
  10707c:	8d 04 1e             	lea    (%esi,%ebx,1),%eax             
  mod = length % 16;                                                  
                                                                      
  max = length - mod;                                                 
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
    Dump_Line( &buffer[ i ], 16 );                                    
  10707f:	ba 10 00 00 00       	mov    $0x10,%edx                     
  107084:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  107087:	e8 dc fe ff ff       	call   106f68 <Dump_Line>             
                                                                      
  mod = length % 16;                                                  
                                                                      
  max = length - mod;                                                 
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
  10708c:	83 c3 10             	add    $0x10,%ebx                     
  10708f:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  107092:	39 cb                	cmp    %ecx,%ebx                      
  107094:	7c e6                	jl     10707c <rtems_print_buffer+0x25>
    Dump_Line( &buffer[ i ], 16 );                                    
                                                                      
  if ( mod )                                                          
  107096:	85 ff                	test   %edi,%edi                      
  107098:	74 11                	je     1070ab <rtems_print_buffer+0x54>
    Dump_Line( &buffer[ max ], mod );                                 
  10709a:	8d 04 0e             	lea    (%esi,%ecx,1),%eax             
  10709d:	89 fa                	mov    %edi,%edx                      
}                                                                     
  10709f:	83 c4 1c             	add    $0x1c,%esp                     
  1070a2:	5b                   	pop    %ebx                           
  1070a3:	5e                   	pop    %esi                           
  1070a4:	5f                   	pop    %edi                           
  1070a5:	c9                   	leave                                 
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
    Dump_Line( &buffer[ i ], 16 );                                    
                                                                      
  if ( mod )                                                          
    Dump_Line( &buffer[ max ], mod );                                 
  1070a6:	e9 bd fe ff ff       	jmp    106f68 <Dump_Line>             
}                                                                     
  1070ab:	83 c4 1c             	add    $0x1c,%esp                     
  1070ae:	5b                   	pop    %ebx                           
  1070af:	5e                   	pop    %esi                           
  1070b0:	5f                   	pop    %edi                           
  1070b1:	c9                   	leave                                 
  1070b2:	c3                   	ret                                   
                                                                      

0010b0b1 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
  10b0b1:	55                   	push   %ebp                           
  10b0b2:	89 e5                	mov    %esp,%ebp                      
  10b0b4:	57                   	push   %edi                           
  10b0b5:	56                   	push   %esi                           
  10b0b6:	53                   	push   %ebx                           
  10b0b7:	83 ec 30             	sub    $0x30,%esp                     
  10b0ba:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10b0bd:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Locations                    location;                      
  rtems_status_code                    return_value;                  
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  10b0c0:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
    _Objects_Get( &_Rate_monotonic_Information, id, location );       
  10b0c3:	50                   	push   %eax                           
  10b0c4:	56                   	push   %esi                           
  10b0c5:	68 14 72 12 00       	push   $0x127214                      
  10b0ca:	e8 51 1e 00 00       	call   10cf20 <_Objects_Get>          
  10b0cf:	89 c7                	mov    %eax,%edi                      
                                                                      
  switch ( location ) {                                               
  10b0d1:	83 c4 10             	add    $0x10,%esp                     
  10b0d4:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10b0d8:	0f 85 3d 01 00 00    	jne    10b21b <rtems_rate_monotonic_period+0x16a>
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
  10b0de:	a1 58 78 12 00       	mov    0x127858,%eax                  
  10b0e3:	39 47 40             	cmp    %eax,0x40(%edi)                
  10b0e6:	74 0f                	je     10b0f7 <rtems_rate_monotonic_period+0x46>
        _Thread_Enable_dispatch();                                    
  10b0e8:	e8 0d 26 00 00       	call   10d6fa <_Thread_Enable_dispatch>
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
  10b0ed:	bb 17 00 00 00       	mov    $0x17,%ebx                     
  10b0f2:	e9 29 01 00 00       	jmp    10b220 <rtems_rate_monotonic_period+0x16f>
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
  10b0f7:	85 db                	test   %ebx,%ebx                      
  10b0f9:	75 19                	jne    10b114 <rtems_rate_monotonic_period+0x63>
        switch ( the_period->state ) {                                
  10b0fb:	8b 47 38             	mov    0x38(%edi),%eax                
  10b0fe:	83 f8 04             	cmp    $0x4,%eax                      
  10b101:	77 07                	ja     10b10a <rtems_rate_monotonic_period+0x59><== NEVER TAKEN
  10b103:	8b 1c 85 1c 0f 12 00 	mov    0x120f1c(,%eax,4),%ebx         
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
  10b10a:	e8 eb 25 00 00       	call   10d6fa <_Thread_Enable_dispatch>
        return( return_value );                                       
  10b10f:	e9 0c 01 00 00       	jmp    10b220 <rtems_rate_monotonic_period+0x16f>
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
  10b114:	9c                   	pushf                                 
  10b115:	fa                   	cli                                   
  10b116:	8f 45 d4             	popl   -0x2c(%ebp)                    
      switch ( the_period->state ) {                                  
  10b119:	8b 47 38             	mov    0x38(%edi),%eax                
  10b11c:	83 f8 02             	cmp    $0x2,%eax                      
  10b11f:	74 5d                	je     10b17e <rtems_rate_monotonic_period+0xcd>
  10b121:	83 f8 04             	cmp    $0x4,%eax                      
  10b124:	0f 84 b8 00 00 00    	je     10b1e2 <rtems_rate_monotonic_period+0x131>
  10b12a:	85 c0                	test   %eax,%eax                      
  10b12c:	0f 85 e9 00 00 00    	jne    10b21b <rtems_rate_monotonic_period+0x16a><== NEVER TAKEN
        case RATE_MONOTONIC_INACTIVE: {                               
                                                                      
          _ISR_Enable( level );                                       
  10b132:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b135:	9d                   	popf                                  
                                                                      
          /*                                                          
           *  Baseline statistics information for the beginning of a period.
           */                                                         
          _Rate_monotonic_Initiate_statistics( the_period );          
  10b136:	83 ec 0c             	sub    $0xc,%esp                      
  10b139:	57                   	push   %edi                           
  10b13a:	e8 2f fe ff ff       	call   10af6e <_Rate_monotonic_Initiate_statistics>
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
  10b13f:	c7 47 38 02 00 00 00 	movl   $0x2,0x38(%edi)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10b146:	c7 47 18 00 00 00 00 	movl   $0x0,0x18(%edi)                
  the_watchdog->routine   = routine;                                  
  10b14d:	c7 47 2c 2c b4 10 00 	movl   $0x10b42c,0x2c(%edi)           
  the_watchdog->id        = id;                                       
  10b154:	89 77 30             	mov    %esi,0x30(%edi)                
  the_watchdog->user_data = user_data;                                
  10b157:	c7 47 34 00 00 00 00 	movl   $0x0,0x34(%edi)                
            _Rate_monotonic_Timeout,                                  
            id,                                                       
            NULL                                                      
          );                                                          
                                                                      
          the_period->next_length = length;                           
  10b15e:	89 5f 3c             	mov    %ebx,0x3c(%edi)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10b161:	89 5f 1c             	mov    %ebx,0x1c(%edi)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10b164:	58                   	pop    %eax                           
  10b165:	5a                   	pop    %edx                           
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
  10b166:	83 c7 10             	add    $0x10,%edi                     
  10b169:	57                   	push   %edi                           
  10b16a:	68 d0 73 12 00       	push   $0x1273d0                      
  10b16f:	e8 f0 34 00 00       	call   10e664 <_Watchdog_Insert>      
          _Thread_Enable_dispatch();                                  
  10b174:	e8 81 25 00 00       	call   10d6fa <_Thread_Enable_dispatch>
          return RTEMS_SUCCESSFUL;                                    
  10b179:	83 c4 10             	add    $0x10,%esp                     
  10b17c:	eb 60                	jmp    10b1de <rtems_rate_monotonic_period+0x12d>
        case RATE_MONOTONIC_ACTIVE:                                   
                                                                      
          /*                                                          
           *  Update statistics from the concluding period.           
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
  10b17e:	83 ec 0c             	sub    $0xc,%esp                      
  10b181:	57                   	push   %edi                           
  10b182:	e8 4f fe ff ff       	call   10afd6 <_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;       
  10b187:	c7 47 38 01 00 00 00 	movl   $0x1,0x38(%edi)                
          the_period->next_length = length;                           
  10b18e:	89 5f 3c             	mov    %ebx,0x3c(%edi)                
                                                                      
          _ISR_Enable( level );                                       
  10b191:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b194:	9d                   	popf                                  
                                                                      
          _Thread_Executing->Wait.id = the_period->Object.id;         
  10b195:	a1 58 78 12 00       	mov    0x127858,%eax                  
  10b19a:	8b 57 08             	mov    0x8(%edi),%edx                 
  10b19d:	89 50 20             	mov    %edx,0x20(%eax)                
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
  10b1a0:	5b                   	pop    %ebx                           
  10b1a1:	5e                   	pop    %esi                           
  10b1a2:	68 00 40 00 00       	push   $0x4000                        
  10b1a7:	50                   	push   %eax                           
  10b1a8:	e8 4b 2d 00 00       	call   10def8 <_Thread_Set_state>     
                                                                      
          /*                                                          
           *  Did the watchdog timer expire while we were actually blocking
           *  on it?                                                  
           */                                                         
          _ISR_Disable( level );                                      
  10b1ad:	9c                   	pushf                                 
  10b1ae:	fa                   	cli                                   
  10b1af:	5a                   	pop    %edx                           
            local_state = the_period->state;                          
  10b1b0:	8b 47 38             	mov    0x38(%edi),%eax                
            the_period->state = RATE_MONOTONIC_ACTIVE;                
  10b1b3:	c7 47 38 02 00 00 00 	movl   $0x2,0x38(%edi)                
          _ISR_Enable( level );                                       
  10b1ba:	52                   	push   %edx                           
  10b1bb:	9d                   	popf                                  
                                                                      
          /*                                                          
           *  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 ) 
  10b1bc:	83 c4 10             	add    $0x10,%esp                     
  10b1bf:	83 f8 03             	cmp    $0x3,%eax                      
  10b1c2:	75 15                	jne    10b1d9 <rtems_rate_monotonic_period+0x128>
            _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
  10b1c4:	51                   	push   %ecx                           
  10b1c5:	51                   	push   %ecx                           
  10b1c6:	68 00 40 00 00       	push   $0x4000                        
  10b1cb:	ff 35 58 78 12 00    	pushl  0x127858                       
  10b1d1:	e8 b2 21 00 00       	call   10d388 <_Thread_Clear_state>   
  10b1d6:	83 c4 10             	add    $0x10,%esp                     
                                                                      
          _Thread_Enable_dispatch();                                  
  10b1d9:	e8 1c 25 00 00       	call   10d6fa <_Thread_Enable_dispatch>
          return RTEMS_SUCCESSFUL;                                    
  10b1de:	31 db                	xor    %ebx,%ebx                      
  10b1e0:	eb 3e                	jmp    10b220 <rtems_rate_monotonic_period+0x16f>
        case RATE_MONOTONIC_EXPIRED:                                  
                                                                      
          /*                                                          
           *  Update statistics from the concluding period            
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
  10b1e2:	83 ec 0c             	sub    $0xc,%esp                      
  10b1e5:	57                   	push   %edi                           
  10b1e6:	e8 eb fd ff ff       	call   10afd6 <_Rate_monotonic_Update_statistics>
                                                                      
          _ISR_Enable( level );                                       
  10b1eb:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b1ee:	9d                   	popf                                  
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
  10b1ef:	c7 47 38 02 00 00 00 	movl   $0x2,0x38(%edi)                
          the_period->next_length = length;                           
  10b1f6:	89 5f 3c             	mov    %ebx,0x3c(%edi)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10b1f9:	89 5f 1c             	mov    %ebx,0x1c(%edi)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10b1fc:	58                   	pop    %eax                           
  10b1fd:	5a                   	pop    %edx                           
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
  10b1fe:	83 c7 10             	add    $0x10,%edi                     
  10b201:	57                   	push   %edi                           
  10b202:	68 d0 73 12 00       	push   $0x1273d0                      
  10b207:	e8 58 34 00 00       	call   10e664 <_Watchdog_Insert>      
          _Thread_Enable_dispatch();                                  
  10b20c:	e8 e9 24 00 00       	call   10d6fa <_Thread_Enable_dispatch>
          return RTEMS_TIMEOUT;                                       
  10b211:	83 c4 10             	add    $0x10,%esp                     
  10b214:	bb 06 00 00 00       	mov    $0x6,%ebx                      
  10b219:	eb 05                	jmp    10b220 <rtems_rate_monotonic_period+0x16f>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10b21b:	bb 04 00 00 00       	mov    $0x4,%ebx                      
}                                                                     
  10b220:	89 d8                	mov    %ebx,%eax                      
  10b222:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b225:	5b                   	pop    %ebx                           
  10b226:	5e                   	pop    %esi                           
  10b227:	5f                   	pop    %edi                           
  10b228:	c9                   	leave                                 
  10b229:	c3                   	ret                                   
                                                                      

0010b22c <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
  10b22c:	55                   	push   %ebp                           
  10b22d:	89 e5                	mov    %esp,%ebp                      
  10b22f:	57                   	push   %edi                           
  10b230:	56                   	push   %esi                           
  10b231:	53                   	push   %ebx                           
  10b232:	83 ec 7c             	sub    $0x7c,%esp                     
  10b235:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10b238:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
  10b23b:	85 ff                	test   %edi,%edi                      
  10b23d:	0f 84 2b 01 00 00    	je     10b36e <rtems_rate_monotonic_report_statistics_with_plugin+0x142><== NEVER TAKEN
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
  10b243:	52                   	push   %edx                           
  10b244:	52                   	push   %edx                           
  10b245:	68 30 0f 12 00       	push   $0x120f30                      
  10b24a:	53                   	push   %ebx                           
  10b24b:	ff d7                	call   *%edi                          
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
  10b24d:	5e                   	pop    %esi                           
  10b24e:	58                   	pop    %eax                           
  10b24f:	68 4e 0f 12 00       	push   $0x120f4e                      
  10b254:	53                   	push   %ebx                           
  10b255:	ff d7                	call   *%edi                          
    (*print)( context, "--- Wall times are in seconds ---\n" );       
  10b257:	5a                   	pop    %edx                           
  10b258:	59                   	pop    %ecx                           
  10b259:	68 70 0f 12 00       	push   $0x120f70                      
  10b25e:	53                   	push   %ebx                           
  10b25f:	ff d7                	call   *%edi                          
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
  10b261:	5e                   	pop    %esi                           
  10b262:	58                   	pop    %eax                           
  10b263:	68 93 0f 12 00       	push   $0x120f93                      
  10b268:	53                   	push   %ebx                           
  10b269:	ff d7                	call   *%edi                          
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
  10b26b:	5a                   	pop    %edx                           
  10b26c:	59                   	pop    %ecx                           
  10b26d:	68 de 0f 12 00       	push   $0x120fde                      
  10b272:	53                   	push   %ebx                           
  10b273:	ff d7                	call   *%edi                          
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
  10b275:	8b 35 1c 72 12 00    	mov    0x12721c,%esi                  
  10b27b:	83 c4 10             	add    $0x10,%esp                     
  10b27e:	e9 df 00 00 00       	jmp    10b362 <rtems_rate_monotonic_report_statistics_with_plugin+0x136>
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
  10b283:	50                   	push   %eax                           
  10b284:	50                   	push   %eax                           
  10b285:	8d 45 88             	lea    -0x78(%ebp),%eax               
  10b288:	50                   	push   %eax                           
  10b289:	56                   	push   %esi                           
  10b28a:	e8 35 55 00 00       	call   1107c4 <rtems_rate_monotonic_get_statistics>
    if ( status != RTEMS_SUCCESSFUL )                                 
  10b28f:	83 c4 10             	add    $0x10,%esp                     
  10b292:	85 c0                	test   %eax,%eax                      
  10b294:	0f 85 c7 00 00 00    	jne    10b361 <rtems_rate_monotonic_report_statistics_with_plugin+0x135>
      continue;                                                       
                                                                      
    /* If the above passed, so should this but check it anyway */     
    status = rtems_rate_monotonic_get_status( id, &the_status );      
  10b29a:	51                   	push   %ecx                           
  10b29b:	51                   	push   %ecx                           
  10b29c:	8d 55 c0             	lea    -0x40(%ebp),%edx               
  10b29f:	52                   	push   %edx                           
  10b2a0:	56                   	push   %esi                           
  10b2a1:	e8 c2 55 00 00       	call   110868 <rtems_rate_monotonic_get_status>
    #if defined(RTEMS_DEBUG)                                          
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
  10b2a6:	83 c4 0c             	add    $0xc,%esp                      
  10b2a9:	8d 45 e3             	lea    -0x1d(%ebp),%eax               
  10b2ac:	50                   	push   %eax                           
  10b2ad:	6a 05                	push   $0x5                           
  10b2af:	ff 75 c0             	pushl  -0x40(%ebp)                    
  10b2b2:	e8 01 02 00 00       	call   10b4b8 <rtems_object_get_name> 
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
  10b2b7:	58                   	pop    %eax                           
  10b2b8:	5a                   	pop    %edx                           
  10b2b9:	ff 75 8c             	pushl  -0x74(%ebp)                    
  10b2bc:	ff 75 88             	pushl  -0x78(%ebp)                    
  10b2bf:	8d 55 e3             	lea    -0x1d(%ebp),%edx               
  10b2c2:	52                   	push   %edx                           
  10b2c3:	56                   	push   %esi                           
  10b2c4:	68 2a 10 12 00       	push   $0x12102a                      
  10b2c9:	53                   	push   %ebx                           
  10b2ca:	ff d7                	call   *%edi                          
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
  10b2cc:	8b 45 88             	mov    -0x78(%ebp),%eax               
  10b2cf:	83 c4 20             	add    $0x20,%esp                     
  10b2d2:	85 c0                	test   %eax,%eax                      
  10b2d4:	75 0f                	jne    10b2e5 <rtems_rate_monotonic_report_statistics_with_plugin+0xb9>
      (*print)( context, "\n" );                                      
  10b2d6:	51                   	push   %ecx                           
  10b2d7:	51                   	push   %ecx                           
  10b2d8:	68 a4 12 12 00       	push   $0x1212a4                      
  10b2dd:	53                   	push   %ebx                           
  10b2de:	ff d7                	call   *%edi                          
      continue;                                                       
  10b2e0:	83 c4 10             	add    $0x10,%esp                     
  10b2e3:	eb 7c                	jmp    10b361 <rtems_rate_monotonic_report_statistics_with_plugin+0x135>
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
  10b2e5:	52                   	push   %edx                           
  10b2e6:	8d 55 d8             	lea    -0x28(%ebp),%edx               
  10b2e9:	52                   	push   %edx                           
  10b2ea:	50                   	push   %eax                           
  10b2eb:	8d 45 a0             	lea    -0x60(%ebp),%eax               
  10b2ee:	50                   	push   %eax                           
  10b2ef:	e8 44 30 00 00       	call   10e338 <_Timespec_Divide_by_integer>
      (*print)( context,                                              
  10b2f4:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10b2f7:	b9 e8 03 00 00       	mov    $0x3e8,%ecx                    
  10b2fc:	99                   	cltd                                  
  10b2fd:	f7 f9                	idiv   %ecx                           
  10b2ff:	50                   	push   %eax                           
  10b300:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10b303:	8b 45 9c             	mov    -0x64(%ebp),%eax               
  10b306:	99                   	cltd                                  
  10b307:	f7 f9                	idiv   %ecx                           
  10b309:	50                   	push   %eax                           
  10b30a:	ff 75 98             	pushl  -0x68(%ebp)                    
  10b30d:	8b 45 94             	mov    -0x6c(%ebp),%eax               
  10b310:	99                   	cltd                                  
  10b311:	f7 f9                	idiv   %ecx                           
  10b313:	50                   	push   %eax                           
  10b314:	ff 75 90             	pushl  -0x70(%ebp)                    
  10b317:	68 41 10 12 00       	push   $0x121041                      
  10b31c:	53                   	push   %ebx                           
  10b31d:	89 4d 84             	mov    %ecx,-0x7c(%ebp)               
  10b320:	ff d7                	call   *%edi                          
      struct timespec  wall_average;                                  
      struct timespec *min_wall = &the_stats.min_wall_time;           
      struct timespec *max_wall = &the_stats.max_wall_time;           
      struct timespec *total_wall = &the_stats.total_wall_time;       
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
  10b322:	83 c4 2c             	add    $0x2c,%esp                     
  10b325:	8d 55 d8             	lea    -0x28(%ebp),%edx               
  10b328:	52                   	push   %edx                           
  10b329:	ff 75 88             	pushl  -0x78(%ebp)                    
    {                                                                 
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      struct timespec  wall_average;                                  
      struct timespec *min_wall = &the_stats.min_wall_time;           
      struct timespec *max_wall = &the_stats.max_wall_time;           
      struct timespec *total_wall = &the_stats.total_wall_time;       
  10b32c:	8d 45 b8             	lea    -0x48(%ebp),%eax               
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
  10b32f:	50                   	push   %eax                           
  10b330:	e8 03 30 00 00       	call   10e338 <_Timespec_Divide_by_integer>
      (*print)( context,                                              
  10b335:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10b338:	8b 4d 84             	mov    -0x7c(%ebp),%ecx               
  10b33b:	99                   	cltd                                  
  10b33c:	f7 f9                	idiv   %ecx                           
  10b33e:	50                   	push   %eax                           
  10b33f:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10b342:	8b 45 b4             	mov    -0x4c(%ebp),%eax               
  10b345:	99                   	cltd                                  
  10b346:	f7 f9                	idiv   %ecx                           
  10b348:	50                   	push   %eax                           
  10b349:	ff 75 b0             	pushl  -0x50(%ebp)                    
  10b34c:	8b 45 ac             	mov    -0x54(%ebp),%eax               
  10b34f:	99                   	cltd                                  
  10b350:	f7 f9                	idiv   %ecx                           
  10b352:	50                   	push   %eax                           
  10b353:	ff 75 a8             	pushl  -0x58(%ebp)                    
  10b356:	68 60 10 12 00       	push   $0x121060                      
  10b35b:	53                   	push   %ebx                           
  10b35c:	ff d7                	call   *%edi                          
  10b35e:	83 c4 30             	add    $0x30,%esp                     
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
  10b361:	46                   	inc    %esi                           
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
  10b362:	3b 35 20 72 12 00    	cmp    0x127220,%esi                  
  10b368:	0f 86 15 ff ff ff    	jbe    10b283 <rtems_rate_monotonic_report_statistics_with_plugin+0x57>
        the_stats.min_wall_time, the_stats.max_wall_time, ival_wall, fval_wall
      );                                                              
    #endif                                                            
    }                                                                 
  }                                                                   
}                                                                     
  10b36e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b371:	5b                   	pop    %ebx                           
  10b372:	5e                   	pop    %esi                           
  10b373:	5f                   	pop    %edi                           
  10b374:	c9                   	leave                                 
  10b375:	c3                   	ret                                   
                                                                      

00115c5c <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
  115c5c:	55                   	push   %ebp                           
  115c5d:	89 e5                	mov    %esp,%ebp                      
  115c5f:	53                   	push   %ebx                           
  115c60:	83 ec 14             	sub    $0x14,%esp                     
  115c63:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
  115c66:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
  115c6b:	85 db                	test   %ebx,%ebx                      
  115c6d:	74 6d                	je     115cdc <rtems_signal_send+0x80>
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  115c6f:	50                   	push   %eax                           
  115c70:	50                   	push   %eax                           
  115c71:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  115c74:	50                   	push   %eax                           
  115c75:	ff 75 08             	pushl  0x8(%ebp)                      
  115c78:	e8 87 37 00 00       	call   119404 <_Thread_Get>           
  switch ( location ) {                                               
  115c7d:	83 c4 10             	add    $0x10,%esp                     
  115c80:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  115c84:	75 51                	jne    115cd7 <rtems_signal_send+0x7b>
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
  115c86:	8b 90 f4 00 00 00    	mov    0xf4(%eax),%edx                
      asr = &api->Signal;                                             
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
  115c8c:	83 7a 0c 00          	cmpl   $0x0,0xc(%edx)                 
  115c90:	74 39                	je     115ccb <rtems_signal_send+0x6f>
        if ( asr->is_enabled ) {                                      
  115c92:	80 7a 08 00          	cmpb   $0x0,0x8(%edx)                 
  115c96:	74 22                	je     115cba <rtems_signal_send+0x5e>
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
  115c98:	9c                   	pushf                                 
  115c99:	fa                   	cli                                   
  115c9a:	59                   	pop    %ecx                           
    *signal_set |= signals;                                           
  115c9b:	09 5a 14             	or     %ebx,0x14(%edx)                
  _ISR_Enable( _level );                                              
  115c9e:	51                   	push   %ecx                           
  115c9f:	9d                   	popf                                  
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
  115ca0:	83 3d 0c eb 13 00 00 	cmpl   $0x0,0x13eb0c                  
  115ca7:	74 19                	je     115cc2 <rtems_signal_send+0x66>
  115ca9:	3b 05 10 eb 13 00    	cmp    0x13eb10,%eax                  
  115caf:	75 11                	jne    115cc2 <rtems_signal_send+0x66><== NEVER TAKEN
            _Context_Switch_necessary = true;                         
  115cb1:	c6 05 1c eb 13 00 01 	movb   $0x1,0x13eb1c                  
  115cb8:	eb 08                	jmp    115cc2 <rtems_signal_send+0x66>
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
  115cba:	9c                   	pushf                                 
  115cbb:	fa                   	cli                                   
  115cbc:	58                   	pop    %eax                           
    *signal_set |= signals;                                           
  115cbd:	09 5a 18             	or     %ebx,0x18(%edx)                
  _ISR_Enable( _level );                                              
  115cc0:	50                   	push   %eax                           
  115cc1:	9d                   	popf                                  
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
  115cc2:	e8 1b 37 00 00       	call   1193e2 <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  115cc7:	31 c0                	xor    %eax,%eax                      
  115cc9:	eb 11                	jmp    115cdc <rtems_signal_send+0x80>
      }                                                               
      _Thread_Enable_dispatch();                                      
  115ccb:	e8 12 37 00 00       	call   1193e2 <_Thread_Enable_dispatch>
      return RTEMS_NOT_DEFINED;                                       
  115cd0:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  115cd5:	eb 05                	jmp    115cdc <rtems_signal_send+0x80>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  115cd7:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  115cdc:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  115cdf:	c9                   	leave                                 
  115ce0:	c3                   	ret                                   
                                                                      

00106b40 <rtems_stack_checker_begin_extension>: * rtems_stack_checker_Begin_extension */ void rtems_stack_checker_begin_extension( Thread_Control *the_thread ) {
  106b40:	55                   	push   %ebp                           
  106b41:	89 e5                	mov    %esp,%ebp                      
  106b43:	57                   	push   %edi                           
  106b44:	56                   	push   %esi                           
  106b45:	8b 45 08             	mov    0x8(%ebp),%eax                 
  Stack_check_Control  *the_pattern;                                  
                                                                      
  if ( the_thread->Object.id == 0 )        /* skip system tasks */    
  106b48:	83 78 08 00          	cmpl   $0x0,0x8(%eax)                 
  106b4c:	74 15                	je     106b63 <rtems_stack_checker_begin_extension+0x23><== NEVER TAKEN
    return;                                                           
                                                                      
  the_pattern = Stack_check_Get_pattern_area(&the_thread->Start.Initial_stack);
                                                                      
  *the_pattern = Stack_check_Pattern;                                 
  106b4e:	8b b8 c8 00 00 00    	mov    0xc8(%eax),%edi                
  106b54:	83 c7 08             	add    $0x8,%edi                      
  106b57:	be c0 51 12 00       	mov    $0x1251c0,%esi                 
  106b5c:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  106b61:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
}                                                                     
  106b63:	5e                   	pop    %esi                           
  106b64:	5f                   	pop    %edi                           
  106b65:	c9                   	leave                                 
  106b66:	c3                   	ret                                   
                                                                      

00106b1e <rtems_stack_checker_create_extension>: */ bool rtems_stack_checker_create_extension( Thread_Control *running __attribute__((unused)), Thread_Control *the_thread ) {
  106b1e:	55                   	push   %ebp                           
  106b1f:	89 e5                	mov    %esp,%ebp                      
  106b21:	57                   	push   %edi                           
  106b22:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  Stack_check_Initialize();                                           
                                                                      
  if (the_thread)                                                     
  106b25:	85 c0                	test   %eax,%eax                      
  106b27:	74 12                	je     106b3b <rtems_stack_checker_create_extension+0x1d><== NEVER TAKEN
    Stack_check_Dope_stack(&the_thread->Start.Initial_stack);         
  106b29:	8b 88 c4 00 00 00    	mov    0xc4(%eax),%ecx                
  106b2f:	8b 90 c8 00 00 00    	mov    0xc8(%eax),%edx                
  106b35:	b0 a5                	mov    $0xa5,%al                      
  106b37:	89 d7                	mov    %edx,%edi                      
  106b39:	f3 aa                	rep stos %al,%es:(%edi)               
                                                                      
  return true;                                                        
}                                                                     
  106b3b:	b0 01                	mov    $0x1,%al                       
  106b3d:	5f                   	pop    %edi                           
  106b3e:	c9                   	leave                                 
  106b3f:	c3                   	ret                                   
                                                                      

00106c74 <rtems_stack_checker_is_blown>: /* * Check if blown */ bool rtems_stack_checker_is_blown( void ) {
  106c74:	55                   	push   %ebp                           
  106c75:	89 e5                	mov    %esp,%ebp                      
  106c77:	83 ec 08             	sub    $0x8,%esp                      
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
  106c7a:	a1 74 58 12 00       	mov    0x125874,%eax                  
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
  106c7f:	8b 90 c8 00 00 00    	mov    0xc8(%eax),%edx                
  106c85:	39 d5                	cmp    %edx,%ebp                      
  106c87:	72 0a                	jb     106c93 <rtems_stack_checker_is_blown+0x1f><== NEVER TAKEN
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
  106c89:	03 90 c4 00 00 00    	add    0xc4(%eax),%edx                
  106c8f:	39 d5                	cmp    %edx,%ebp                      
  106c91:	76 0f                	jbe    106ca2 <rtems_stack_checker_is_blown+0x2e><== ALWAYS TAKEN
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( _Thread_Executing, pattern_ok );   
  106c93:	52                   	push   %edx                           <== NOT EXECUTED
  106c94:	52                   	push   %edx                           <== NOT EXECUTED
  106c95:	6a 01                	push   $0x1                           <== NOT EXECUTED
  106c97:	ff 35 74 58 12 00    	pushl  0x125874                       <== NOT EXECUTED
  106c9d:	e8 c5 fe ff ff       	call   106b67 <Stack_check_report_blown_task><== NOT EXECUTED
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  return false;                                                       
}                                                                     
  106ca2:	31 c0                	xor    %eax,%eax                      
  106ca4:	c9                   	leave                                 
  106ca5:	c3                   	ret                                   
                                                                      

00106d0b <rtems_stack_checker_report_usage>: void rtems_stack_checker_report_usage( void ) {
  106d0b:	55                   	push   %ebp                           <== NOT EXECUTED
  106d0c:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  106d0e:	83 ec 10             	sub    $0x10,%esp                     <== NOT EXECUTED
  rtems_stack_checker_report_usage_with_plugin( NULL, printk_plugin );
  106d11:	68 14 82 10 00       	push   $0x108214                      <== NOT EXECUTED
  106d16:	6a 00                	push   $0x0                           <== NOT EXECUTED
  106d18:	e8 89 ff ff ff       	call   106ca6 <rtems_stack_checker_report_usage_with_plugin><== NOT EXECUTED
  106d1d:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
}                                                                     
  106d20:	c9                   	leave                                 <== NOT EXECUTED
  106d21:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

00106ca6 <rtems_stack_checker_report_usage_with_plugin>: void rtems_stack_checker_report_usage_with_plugin( void *context, rtems_printk_plugin_t print ) {
  106ca6:	55                   	push   %ebp                           <== NOT EXECUTED
  106ca7:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  106ca9:	56                   	push   %esi                           <== NOT EXECUTED
  106caa:	53                   	push   %ebx                           <== NOT EXECUTED
  106cab:	8b 75 08             	mov    0x8(%ebp),%esi                 <== NOT EXECUTED
  106cae:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 <== NOT EXECUTED
  if ( !print )                                                       
  106cb1:	85 db                	test   %ebx,%ebx                      <== NOT EXECUTED
  106cb3:	74 4f                	je     106d04 <rtems_stack_checker_report_usage_with_plugin+0x5e><== NOT EXECUTED
    return;                                                           
                                                                      
  print_context = context;                                            
  106cb5:	89 35 ac 4e 12 00    	mov    %esi,0x124eac                  <== NOT EXECUTED
  print_handler = print;                                              
  106cbb:	89 1d b0 4e 12 00    	mov    %ebx,0x124eb0                  <== NOT EXECUTED
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
  106cc1:	52                   	push   %edx                           <== NOT EXECUTED
  106cc2:	52                   	push   %edx                           <== NOT EXECUTED
  106cc3:	68 13 ec 11 00       	push   $0x11ec13                      <== NOT EXECUTED
  106cc8:	56                   	push   %esi                           <== NOT EXECUTED
  106cc9:	ff d3                	call   *%ebx                          <== NOT EXECUTED
  (*print)( context,                                                  
  106ccb:	59                   	pop    %ecx                           <== NOT EXECUTED
  106ccc:	58                   	pop    %eax                           <== NOT EXECUTED
  106ccd:	68 2a ec 11 00       	push   $0x11ec2a                      <== NOT EXECUTED
  106cd2:	56                   	push   %esi                           <== NOT EXECUTED
  106cd3:	ff d3                	call   *%ebx                          <== 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 );   
  106cd5:	c7 04 24 68 6a 10 00 	movl   $0x106a68,(%esp)               <== NOT EXECUTED
  106cdc:	e8 ef 48 00 00       	call   10b5d0 <rtems_iterate_over_all_threads><== NOT EXECUTED
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    /* dump interrupt stack info if any */                            
    Stack_check_Dump_threads_usage((Thread_Control *) -1);            
  106ce1:	c7 04 24 ff ff ff ff 	movl   $0xffffffff,(%esp)             <== NOT EXECUTED
  106ce8:	e8 7b fd ff ff       	call   106a68 <Stack_check_Dump_threads_usage><== NOT EXECUTED
  #endif                                                              
                                                                      
  print_context = NULL;                                               
  106ced:	c7 05 ac 4e 12 00 00 	movl   $0x0,0x124eac                  <== NOT EXECUTED
  106cf4:	00 00 00                                                    
  print_handler = NULL;                                               
  106cf7:	c7 05 b0 4e 12 00 00 	movl   $0x0,0x124eb0                  <== NOT EXECUTED
  106cfe:	00 00 00                                                    
  106d01:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
}                                                                     
  106d04:	8d 65 f8             	lea    -0x8(%ebp),%esp                <== NOT EXECUTED
  106d07:	5b                   	pop    %ebx                           <== NOT EXECUTED
  106d08:	5e                   	pop    %esi                           <== NOT EXECUTED
  106d09:	c9                   	leave                                 <== NOT EXECUTED
  106d0a:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

00106c1b <rtems_stack_checker_switch_extension>: */ void rtems_stack_checker_switch_extension( Thread_Control *running __attribute__((unused)), Thread_Control *heir __attribute__((unused)) ) {
  106c1b:	55                   	push   %ebp                           
  106c1c:	89 e5                	mov    %esp,%ebp                      
  106c1e:	53                   	push   %ebx                           
  106c1f:	83 ec 14             	sub    $0x14,%esp                     
  106c22:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  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;
  106c25:	8b 83 c8 00 00 00    	mov    0xc8(%ebx),%eax                
  106c2b:	8d 48 08             	lea    0x8(%eax),%ecx                 
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
      return false;                                                   
  106c2e:	31 d2                	xor    %edx,%edx                      
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
  106c30:	39 c5                	cmp    %eax,%ebp                      
  106c32:	72 0b                	jb     106c3f <rtems_stack_checker_switch_extension+0x24><== NEVER TAKEN
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
  106c34:	03 83 c4 00 00 00    	add    0xc4(%ebx),%eax                
}                                                                     
                                                                      
/*                                                                    
 *  rtems_stack_checker_switch_extension                              
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  106c3a:	39 c5                	cmp    %eax,%ebp                      
  106c3c:	0f 96 c2             	setbe  %dl                            
  /*                                                                  
   *  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,                                     
  106c3f:	50                   	push   %eax                           
  106c40:	6a 10                	push   $0x10                          
  106c42:	68 c0 51 12 00       	push   $0x1251c0                      
  106c47:	51                   	push   %ecx                           
  106c48:	88 55 f4             	mov    %dl,-0xc(%ebp)                 
  106c4b:	e8 78 b1 00 00       	call   111dc8 <memcmp>                
  106c50:	83 c4 10             	add    $0x10,%esp                     
  106c53:	85 c0                	test   %eax,%eax                      
  106c55:	0f 94 c0             	sete   %al                            
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
  106c58:	8a 55 f4             	mov    -0xc(%ebp),%dl                 
  106c5b:	84 d2                	test   %dl,%dl                        
  106c5d:	74 04                	je     106c63 <rtems_stack_checker_switch_extension+0x48><== NEVER TAKEN
  106c5f:	84 c0                	test   %al,%al                        
  106c61:	75 0c                	jne    106c6f <rtems_stack_checker_switch_extension+0x54><== ALWAYS TAKEN
    Stack_check_report_blown_task( running, pattern_ok );             
  106c63:	52                   	push   %edx                           <== NOT EXECUTED
  106c64:	52                   	push   %edx                           <== NOT EXECUTED
  106c65:	0f b6 c0             	movzbl %al,%eax                       <== NOT EXECUTED
  106c68:	50                   	push   %eax                           <== NOT EXECUTED
  106c69:	53                   	push   %ebx                           <== NOT EXECUTED
  106c6a:	e8 f8 fe ff ff       	call   106b67 <Stack_check_report_blown_task><== NOT EXECUTED
  }                                                                   
}                                                                     
  106c6f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  106c72:	c9                   	leave                                 
  106c73:	c3                   	ret                                   
                                                                      

0010edf0 <rtems_string_to_double>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  10edf0:	55                   	push   %ebp                           
  10edf1:	89 e5                	mov    %esp,%ebp                      
  10edf3:	57                   	push   %edi                           
  10edf4:	56                   	push   %esi                           
  10edf5:	53                   	push   %ebx                           
  10edf6:	83 ec 2c             	sub    $0x2c,%esp                     
  10edf9:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10edfc:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10edff:	8b 7d 10             	mov    0x10(%ebp),%edi                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  10ee02:	b8 09 00 00 00       	mov    $0x9,%eax                      
)                                                                     
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  10ee07:	85 db                	test   %ebx,%ebx                      
  10ee09:	74 6e                	je     10ee79 <rtems_string_to_double+0x89>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  10ee0b:	e8 ac 2a 00 00       	call   1118bc <__errno>               
  10ee10:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  10ee16:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
  10ee1c:	c7 43 04 00 00 00 00 	movl   $0x0,0x4(%ebx)                 
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  10ee23:	50                   	push   %eax                           
  10ee24:	50                   	push   %eax                           
  10ee25:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10ee28:	50                   	push   %eax                           
  10ee29:	56                   	push   %esi                           
  10ee2a:	e8 09 56 00 00       	call   114438 <strtod>                
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
  10ee2f:	83 c4 10             	add    $0x10,%esp                     
  10ee32:	85 ff                	test   %edi,%edi                      
  10ee34:	74 05                	je     10ee3b <rtems_string_to_double+0x4b>
    *endptr = end;                                                    
  10ee36:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10ee39:	89 07                	mov    %eax,(%edi)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  10ee3b:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  10ee40:	39 75 e4             	cmp    %esi,-0x1c(%ebp)               
  10ee43:	74 2e                	je     10ee73 <rtems_string_to_double+0x83>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  10ee45:	dd 05 80 34 12 00    	fldl   0x123480                       
  10ee4b:	d9 c9                	fxch   %st(1)                         
  10ee4d:	dd e1                	fucom  %st(1)                         
  10ee4f:	df e0                	fnstsw %ax                            
  10ee51:	dd d9                	fstp   %st(1)                         
  10ee53:	9e                   	sahf                                  
  10ee54:	76 17                	jbe    10ee6d <rtems_string_to_double+0x7d>
  10ee56:	dd 5d c8             	fstpl  -0x38(%ebp)                    
  10ee59:	e8 5e 2a 00 00       	call   1118bc <__errno>               
  10ee5e:	89 c2                	mov    %eax,%edx                      
      return RTEMS_INVALID_NUMBER;                                    
  10ee60:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  10ee65:	83 3a 22             	cmpl   $0x22,(%edx)                   
  10ee68:	dd 45 c8             	fldl   -0x38(%ebp)                    
  10ee6b:	74 0a                	je     10ee77 <rtems_string_to_double+0x87><== ALWAYS TAKEN
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  10ee6d:	dd 1b                	fstpl  (%ebx)                         
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  10ee6f:	31 c0                	xor    %eax,%eax                      
  10ee71:	eb 06                	jmp    10ee79 <rtems_string_to_double+0x89>
  10ee73:	dd d8                	fstp   %st(0)                         
  10ee75:	eb 02                	jmp    10ee79 <rtems_string_to_double+0x89>
  10ee77:	dd d8                	fstp   %st(0)                         
}                                                                     
  10ee79:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ee7c:	5b                   	pop    %ebx                           
  10ee7d:	5e                   	pop    %esi                           
  10ee7e:	5f                   	pop    %edi                           
  10ee7f:	c9                   	leave                                 
  10ee80:	c3                   	ret                                   
                                                                      

0010ee84 <rtems_string_to_float>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  10ee84:	55                   	push   %ebp                           
  10ee85:	89 e5                	mov    %esp,%ebp                      
  10ee87:	57                   	push   %edi                           
  10ee88:	56                   	push   %esi                           
  10ee89:	53                   	push   %ebx                           
  10ee8a:	83 ec 2c             	sub    $0x2c,%esp                     
  10ee8d:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10ee90:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10ee93:	8b 7d 10             	mov    0x10(%ebp),%edi                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  10ee96:	b8 09 00 00 00       	mov    $0x9,%eax                      
)                                                                     
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  10ee9b:	85 db                	test   %ebx,%ebx                      
  10ee9d:	74 67                	je     10ef06 <rtems_string_to_float+0x82>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  10ee9f:	e8 18 2a 00 00       	call   1118bc <__errno>               
  10eea4:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  10eeaa:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  10eeb0:	50                   	push   %eax                           
  10eeb1:	50                   	push   %eax                           
  10eeb2:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10eeb5:	50                   	push   %eax                           
  10eeb6:	56                   	push   %esi                           
  10eeb7:	e8 98 55 00 00       	call   114454 <strtof>                
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
  10eebc:	83 c4 10             	add    $0x10,%esp                     
  10eebf:	85 ff                	test   %edi,%edi                      
  10eec1:	74 05                	je     10eec8 <rtems_string_to_float+0x44>
    *endptr = end;                                                    
  10eec3:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10eec6:	89 07                	mov    %eax,(%edi)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  10eec8:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  10eecd:	39 75 e4             	cmp    %esi,-0x1c(%ebp)               
  10eed0:	74 2e                	je     10ef00 <rtems_string_to_float+0x7c>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  10eed2:	d9 05 88 34 12 00    	flds   0x123488                       
  10eed8:	d9 c9                	fxch   %st(1)                         
  10eeda:	dd e1                	fucom  %st(1)                         
  10eedc:	df e0                	fnstsw %ax                            
  10eede:	dd d9                	fstp   %st(1)                         
  10eee0:	9e                   	sahf                                  
  10eee1:	76 17                	jbe    10eefa <rtems_string_to_float+0x76>
  10eee3:	d9 5d c8             	fstps  -0x38(%ebp)                    
  10eee6:	e8 d1 29 00 00       	call   1118bc <__errno>               
  10eeeb:	89 c2                	mov    %eax,%edx                      
      return RTEMS_INVALID_NUMBER;                                    
  10eeed:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  10eef2:	83 3a 22             	cmpl   $0x22,(%edx)                   
  10eef5:	d9 45 c8             	flds   -0x38(%ebp)                    
  10eef8:	74 0a                	je     10ef04 <rtems_string_to_float+0x80><== ALWAYS TAKEN
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  10eefa:	d9 1b                	fstps  (%ebx)                         
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  10eefc:	31 c0                	xor    %eax,%eax                      
  10eefe:	eb 06                	jmp    10ef06 <rtems_string_to_float+0x82>
  10ef00:	dd d8                	fstp   %st(0)                         
  10ef02:	eb 02                	jmp    10ef06 <rtems_string_to_float+0x82>
  10ef04:	dd d8                	fstp   %st(0)                         
}                                                                     
  10ef06:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ef09:	5b                   	pop    %ebx                           
  10ef0a:	5e                   	pop    %esi                           
  10ef0b:	5f                   	pop    %edi                           
  10ef0c:	c9                   	leave                                 
  10ef0d:	c3                   	ret                                   
                                                                      

0010ef10 <rtems_string_to_int>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  10ef10:	55                   	push   %ebp                           
  10ef11:	89 e5                	mov    %esp,%ebp                      
  10ef13:	57                   	push   %edi                           
  10ef14:	56                   	push   %esi                           
  10ef15:	53                   	push   %ebx                           
  10ef16:	83 ec 2c             	sub    $0x2c,%esp                     
  10ef19:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10ef1c:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10ef1f:	8b 55 10             	mov    0x10(%ebp),%edx                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  10ef22:	b8 09 00 00 00       	mov    $0x9,%eax                      
)                                                                     
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  10ef27:	85 db                	test   %ebx,%ebx                      
  10ef29:	74 5a                	je     10ef85 <rtems_string_to_int+0x75>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  10ef2b:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  10ef2e:	e8 89 29 00 00       	call   1118bc <__errno>               
  10ef33:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  10ef39:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  10ef3f:	50                   	push   %eax                           
  10ef40:	ff 75 14             	pushl  0x14(%ebp)                     
  10ef43:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10ef46:	50                   	push   %eax                           
  10ef47:	57                   	push   %edi                           
  10ef48:	e8 cb 56 00 00       	call   114618 <strtol>                
  10ef4d:	89 c6                	mov    %eax,%esi                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
  10ef4f:	83 c4 10             	add    $0x10,%esp                     
  10ef52:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  10ef55:	85 d2                	test   %edx,%edx                      
  10ef57:	74 05                	je     10ef5e <rtems_string_to_int+0x4e>
    *endptr = end;                                                    
  10ef59:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10ef5c:	89 02                	mov    %eax,(%edx)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  10ef5e:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  10ef63:	39 7d e4             	cmp    %edi,-0x1c(%ebp)               
  10ef66:	74 1d                	je     10ef85 <rtems_string_to_int+0x75>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  10ef68:	81 fe ff ff ff 7f    	cmp    $0x7fffffff,%esi               
  10ef6e:	75 11                	jne    10ef81 <rtems_string_to_int+0x71>
  10ef70:	e8 47 29 00 00       	call   1118bc <__errno>               
  10ef75:	89 c2                	mov    %eax,%edx                      
      return RTEMS_INVALID_NUMBER;                                    
  10ef77:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  10ef7c:	83 3a 22             	cmpl   $0x22,(%edx)                   
  10ef7f:	74 04                	je     10ef85 <rtems_string_to_int+0x75><== ALWAYS TAKEN
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  10ef81:	89 33                	mov    %esi,(%ebx)                    
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  10ef83:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10ef85:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ef88:	5b                   	pop    %ebx                           
  10ef89:	5e                   	pop    %esi                           
  10ef8a:	5f                   	pop    %edi                           
  10ef8b:	c9                   	leave                                 
  10ef8c:	c3                   	ret                                   
                                                                      

0010f028 <rtems_string_to_long>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  10f028:	55                   	push   %ebp                           
  10f029:	89 e5                	mov    %esp,%ebp                      
  10f02b:	57                   	push   %edi                           
  10f02c:	56                   	push   %esi                           
  10f02d:	53                   	push   %ebx                           
  10f02e:	83 ec 2c             	sub    $0x2c,%esp                     
  10f031:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10f034:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10f037:	8b 55 10             	mov    0x10(%ebp),%edx                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  10f03a:	b9 09 00 00 00       	mov    $0x9,%ecx                      
)                                                                     
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  10f03f:	85 db                	test   %ebx,%ebx                      
  10f041:	74 60                	je     10f0a3 <rtems_string_to_long+0x7b>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  10f043:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  10f046:	e8 71 28 00 00       	call   1118bc <__errno>               
  10f04b:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  10f051:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  10f057:	50                   	push   %eax                           
  10f058:	ff 75 14             	pushl  0x14(%ebp)                     
  10f05b:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10f05e:	50                   	push   %eax                           
  10f05f:	57                   	push   %edi                           
  10f060:	e8 b3 55 00 00       	call   114618 <strtol>                
  10f065:	89 c6                	mov    %eax,%esi                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
  10f067:	83 c4 10             	add    $0x10,%esp                     
  10f06a:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  10f06d:	85 d2                	test   %edx,%edx                      
  10f06f:	74 05                	je     10f076 <rtems_string_to_long+0x4e>
    *endptr = end;                                                    
  10f071:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10f074:	89 02                	mov    %eax,(%edx)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  10f076:	b9 0b 00 00 00       	mov    $0xb,%ecx                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  10f07b:	39 7d e4             	cmp    %edi,-0x1c(%ebp)               
  10f07e:	74 23                	je     10f0a3 <rtems_string_to_long+0x7b>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  10f080:	81 fe ff ff ff 7f    	cmp    $0x7fffffff,%esi               
  10f086:	74 08                	je     10f090 <rtems_string_to_long+0x68>
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
  10f088:	81 fe 00 00 00 80    	cmp    $0x80000000,%esi               
  10f08e:	75 0f                	jne    10f09f <rtems_string_to_long+0x77>
  10f090:	e8 27 28 00 00       	call   1118bc <__errno>               
      return RTEMS_INVALID_NUMBER;                                    
  10f095:	b9 0a 00 00 00       	mov    $0xa,%ecx                      
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
  10f09a:	83 38 22             	cmpl   $0x22,(%eax)                   
  10f09d:	74 04                	je     10f0a3 <rtems_string_to_long+0x7b><== ALWAYS TAKEN
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  10f09f:	89 33                	mov    %esi,(%ebx)                    
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  10f0a1:	31 c9                	xor    %ecx,%ecx                      
}                                                                     
  10f0a3:	89 c8                	mov    %ecx,%eax                      
  10f0a5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f0a8:	5b                   	pop    %ebx                           
  10f0a9:	5e                   	pop    %esi                           
  10f0aa:	5f                   	pop    %edi                           
  10f0ab:	c9                   	leave                                 
  10f0ac:	c3                   	ret                                   
                                                                      

0010ef90 <rtems_string_to_long_long>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  10ef90:	55                   	push   %ebp                           
  10ef91:	89 e5                	mov    %esp,%ebp                      
  10ef93:	57                   	push   %edi                           
  10ef94:	56                   	push   %esi                           
  10ef95:	53                   	push   %ebx                           
  10ef96:	83 ec 2c             	sub    $0x2c,%esp                     
  10ef99:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10ef9c:	8b 7d 10             	mov    0x10(%ebp),%edi                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  10ef9f:	b9 09 00 00 00       	mov    $0x9,%ecx                      
)                                                                     
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  10efa4:	85 db                	test   %ebx,%ebx                      
  10efa6:	74 76                	je     10f01e <rtems_string_to_long_long+0x8e><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  10efa8:	e8 0f 29 00 00       	call   1118bc <__errno>               
  10efad:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  10efb3:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
  10efb9:	c7 43 04 00 00 00 00 	movl   $0x0,0x4(%ebx)                 
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  10efc0:	50                   	push   %eax                           
  10efc1:	ff 75 14             	pushl  0x14(%ebp)                     
  10efc4:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10efc7:	50                   	push   %eax                           
  10efc8:	ff 75 08             	pushl  0x8(%ebp)                      
  10efcb:	e8 64 56 00 00       	call   114634 <strtoll>               
  10efd0:	89 c6                	mov    %eax,%esi                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
  10efd2:	83 c4 10             	add    $0x10,%esp                     
  10efd5:	85 ff                	test   %edi,%edi                      
  10efd7:	74 05                	je     10efde <rtems_string_to_long_long+0x4e>
    *endptr = end;                                                    
  10efd9:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10efdc:	89 07                	mov    %eax,(%edi)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  10efde:	b9 0b 00 00 00       	mov    $0xb,%ecx                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  10efe3:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10efe6:	39 45 e4             	cmp    %eax,-0x1c(%ebp)               
  10efe9:	74 33                	je     10f01e <rtems_string_to_long_long+0x8e><== NEVER TAKEN
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  10efeb:	81 fa ff ff ff 7f    	cmp    $0x7fffffff,%edx               
  10eff1:	75 05                	jne    10eff8 <rtems_string_to_long_long+0x68>
  10eff3:	83 fe ff             	cmp    $0xffffffff,%esi               
  10eff6:	74 0a                	je     10f002 <rtems_string_to_long_long+0x72>
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
  10eff8:	8d 82 00 00 00 80    	lea    -0x80000000(%edx),%eax         
  10effe:	09 f0                	or     %esi,%eax                      
  10f000:	75 15                	jne    10f017 <rtems_string_to_long_long+0x87>
  10f002:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  10f005:	e8 b2 28 00 00       	call   1118bc <__errno>               
      return RTEMS_INVALID_NUMBER;                                    
  10f00a:	b9 0a 00 00 00       	mov    $0xa,%ecx                      
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
  10f00f:	83 38 22             	cmpl   $0x22,(%eax)                   
  10f012:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  10f015:	74 07                	je     10f01e <rtems_string_to_long_long+0x8e><== ALWAYS TAKEN
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  10f017:	89 33                	mov    %esi,(%ebx)                    
  10f019:	89 53 04             	mov    %edx,0x4(%ebx)                 
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  10f01c:	31 c9                	xor    %ecx,%ecx                      
}                                                                     
  10f01e:	89 c8                	mov    %ecx,%eax                      
  10f020:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f023:	5b                   	pop    %ebx                           
  10f024:	5e                   	pop    %esi                           
  10f025:	5f                   	pop    %edi                           
  10f026:	c9                   	leave                                 
  10f027:	c3                   	ret                                   
                                                                      

0010f0b0 <rtems_string_to_pointer>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  10f0b0:	55                   	push   %ebp                           
  10f0b1:	89 e5                	mov    %esp,%ebp                      
  10f0b3:	57                   	push   %edi                           
  10f0b4:	56                   	push   %esi                           
  10f0b5:	53                   	push   %ebx                           
  10f0b6:	83 ec 2c             	sub    $0x2c,%esp                     
  10f0b9:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10f0bc:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10f0bf:	8b 55 10             	mov    0x10(%ebp),%edx                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  10f0c2:	b8 09 00 00 00       	mov    $0x9,%eax                      
)                                                                     
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  10f0c7:	85 db                	test   %ebx,%ebx                      
  10f0c9:	74 56                	je     10f121 <rtems_string_to_pointer+0x71>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  10f0cb:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  10f0ce:	e8 e9 27 00 00       	call   1118bc <__errno>               
  10f0d3:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  10f0d9:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  10f0df:	50                   	push   %eax                           
  10f0e0:	6a 10                	push   $0x10                          
  10f0e2:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10f0e5:	50                   	push   %eax                           
  10f0e6:	57                   	push   %edi                           
  10f0e7:	e8 f4 59 00 00       	call   114ae0 <strtoul>               
  10f0ec:	89 c6                	mov    %eax,%esi                      
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
  10f0ee:	83 c4 10             	add    $0x10,%esp                     
  10f0f1:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  10f0f4:	85 d2                	test   %edx,%edx                      
  10f0f6:	74 05                	je     10f0fd <rtems_string_to_pointer+0x4d>
    *endptr = end;                                                    
  10f0f8:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10f0fb:	89 02                	mov    %eax,(%edx)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  10f0fd:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  10f102:	39 7d e4             	cmp    %edi,-0x1c(%ebp)               
  10f105:	74 1a                	je     10f121 <rtems_string_to_pointer+0x71>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  10f107:	83 fe ff             	cmp    $0xffffffff,%esi               
  10f10a:	75 11                	jne    10f11d <rtems_string_to_pointer+0x6d><== ALWAYS TAKEN
  10f10c:	e8 ab 27 00 00       	call   1118bc <__errno>               <== NOT EXECUTED
  10f111:	89 c2                	mov    %eax,%edx                      <== NOT EXECUTED
      return RTEMS_INVALID_NUMBER;                                    
  10f113:	b8 0a 00 00 00       	mov    $0xa,%eax                      <== NOT EXECUTED
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  10f118:	83 3a 22             	cmpl   $0x22,(%edx)                   <== NOT EXECUTED
  10f11b:	74 04                	je     10f121 <rtems_string_to_pointer+0x71><== NOT EXECUTED
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  10f11d:	89 33                	mov    %esi,(%ebx)                    
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  10f11f:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10f121:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f124:	5b                   	pop    %ebx                           
  10f125:	5e                   	pop    %esi                           
  10f126:	5f                   	pop    %edi                           
  10f127:	c9                   	leave                                 
  10f128:	c3                   	ret                                   
                                                                      

0010f188 <rtems_string_to_unsigned_int>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  10f188:	55                   	push   %ebp                           
  10f189:	89 e5                	mov    %esp,%ebp                      
  10f18b:	57                   	push   %edi                           
  10f18c:	56                   	push   %esi                           
  10f18d:	53                   	push   %ebx                           
  10f18e:	83 ec 2c             	sub    $0x2c,%esp                     
  10f191:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10f194:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10f197:	8b 55 10             	mov    0x10(%ebp),%edx                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  10f19a:	b8 09 00 00 00       	mov    $0x9,%eax                      
)                                                                     
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  10f19f:	85 db                	test   %ebx,%ebx                      
  10f1a1:	74 57                	je     10f1fa <rtems_string_to_unsigned_int+0x72>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  10f1a3:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  10f1a6:	e8 11 27 00 00       	call   1118bc <__errno>               
  10f1ab:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  10f1b1:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  10f1b7:	50                   	push   %eax                           
  10f1b8:	ff 75 14             	pushl  0x14(%ebp)                     
  10f1bb:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10f1be:	50                   	push   %eax                           
  10f1bf:	57                   	push   %edi                           
  10f1c0:	e8 1b 59 00 00       	call   114ae0 <strtoul>               
  10f1c5:	89 c6                	mov    %eax,%esi                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
  10f1c7:	83 c4 10             	add    $0x10,%esp                     
  10f1ca:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  10f1cd:	85 d2                	test   %edx,%edx                      
  10f1cf:	74 05                	je     10f1d6 <rtems_string_to_unsigned_int+0x4e>
    *endptr = end;                                                    
  10f1d1:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10f1d4:	89 02                	mov    %eax,(%edx)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  10f1d6:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  10f1db:	39 7d e4             	cmp    %edi,-0x1c(%ebp)               
  10f1de:	74 1a                	je     10f1fa <rtems_string_to_unsigned_int+0x72>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  10f1e0:	83 fe ff             	cmp    $0xffffffff,%esi               
  10f1e3:	75 11                	jne    10f1f6 <rtems_string_to_unsigned_int+0x6e>
  10f1e5:	e8 d2 26 00 00       	call   1118bc <__errno>               
  10f1ea:	89 c2                	mov    %eax,%edx                      
      return RTEMS_INVALID_NUMBER;                                    
  10f1ec:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  10f1f1:	83 3a 22             	cmpl   $0x22,(%edx)                   
  10f1f4:	74 04                	je     10f1fa <rtems_string_to_unsigned_int+0x72><== ALWAYS TAKEN
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  10f1f6:	89 33                	mov    %esi,(%ebx)                    
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  10f1f8:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10f1fa:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f1fd:	5b                   	pop    %ebx                           
  10f1fe:	5e                   	pop    %esi                           
  10f1ff:	5f                   	pop    %edi                           
  10f200:	c9                   	leave                                 
  10f201:	c3                   	ret                                   
                                                                      

0010f290 <rtems_string_to_unsigned_long>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  10f290:	55                   	push   %ebp                           
  10f291:	89 e5                	mov    %esp,%ebp                      
  10f293:	57                   	push   %edi                           
  10f294:	56                   	push   %esi                           
  10f295:	53                   	push   %ebx                           
  10f296:	83 ec 2c             	sub    $0x2c,%esp                     
  10f299:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10f29c:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10f29f:	8b 55 10             	mov    0x10(%ebp),%edx                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  10f2a2:	b8 09 00 00 00       	mov    $0x9,%eax                      
)                                                                     
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  10f2a7:	85 db                	test   %ebx,%ebx                      
  10f2a9:	74 57                	je     10f302 <rtems_string_to_unsigned_long+0x72>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  10f2ab:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  10f2ae:	e8 09 26 00 00       	call   1118bc <__errno>               
  10f2b3:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  10f2b9:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  10f2bf:	50                   	push   %eax                           
  10f2c0:	ff 75 14             	pushl  0x14(%ebp)                     
  10f2c3:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10f2c6:	50                   	push   %eax                           
  10f2c7:	57                   	push   %edi                           
  10f2c8:	e8 13 58 00 00       	call   114ae0 <strtoul>               
  10f2cd:	89 c6                	mov    %eax,%esi                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
  10f2cf:	83 c4 10             	add    $0x10,%esp                     
  10f2d2:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  10f2d5:	85 d2                	test   %edx,%edx                      
  10f2d7:	74 05                	je     10f2de <rtems_string_to_unsigned_long+0x4e>
    *endptr = end;                                                    
  10f2d9:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10f2dc:	89 02                	mov    %eax,(%edx)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  10f2de:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  10f2e3:	39 7d e4             	cmp    %edi,-0x1c(%ebp)               
  10f2e6:	74 1a                	je     10f302 <rtems_string_to_unsigned_long+0x72>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  10f2e8:	83 fe ff             	cmp    $0xffffffff,%esi               
  10f2eb:	75 11                	jne    10f2fe <rtems_string_to_unsigned_long+0x6e>
  10f2ed:	e8 ca 25 00 00       	call   1118bc <__errno>               
  10f2f2:	89 c2                	mov    %eax,%edx                      
      return RTEMS_INVALID_NUMBER;                                    
  10f2f4:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  10f2f9:	83 3a 22             	cmpl   $0x22,(%edx)                   
  10f2fc:	74 04                	je     10f302 <rtems_string_to_unsigned_long+0x72><== ALWAYS TAKEN
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  10f2fe:	89 33                	mov    %esi,(%ebx)                    
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  10f300:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10f302:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f305:	5b                   	pop    %ebx                           
  10f306:	5e                   	pop    %esi                           
  10f307:	5f                   	pop    %edi                           
  10f308:	c9                   	leave                                 
  10f309:	c3                   	ret                                   
                                                                      

0010f204 <rtems_string_to_unsigned_long_long>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  10f204:	55                   	push   %ebp                           
  10f205:	89 e5                	mov    %esp,%ebp                      
  10f207:	57                   	push   %edi                           
  10f208:	56                   	push   %esi                           
  10f209:	53                   	push   %ebx                           
  10f20a:	83 ec 2c             	sub    $0x2c,%esp                     
  10f20d:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10f210:	8b 7d 10             	mov    0x10(%ebp),%edi                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  10f213:	b8 09 00 00 00       	mov    $0x9,%eax                      
)                                                                     
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  10f218:	85 db                	test   %ebx,%ebx                      
  10f21a:	74 6b                	je     10f287 <rtems_string_to_unsigned_long_long+0x83>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  10f21c:	e8 9b 26 00 00       	call   1118bc <__errno>               
  10f221:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  10f227:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
  10f22d:	c7 43 04 00 00 00 00 	movl   $0x0,0x4(%ebx)                 
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  10f234:	50                   	push   %eax                           
  10f235:	ff 75 14             	pushl  0x14(%ebp)                     
  10f238:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10f23b:	50                   	push   %eax                           
  10f23c:	ff 75 08             	pushl  0x8(%ebp)                      
  10f23f:	e8 b8 58 00 00       	call   114afc <strtoull>              
  10f244:	89 c6                	mov    %eax,%esi                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
  10f246:	83 c4 10             	add    $0x10,%esp                     
  10f249:	85 ff                	test   %edi,%edi                      
  10f24b:	74 05                	je     10f252 <rtems_string_to_unsigned_long_long+0x4e>
    *endptr = end;                                                    
  10f24d:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10f250:	89 07                	mov    %eax,(%edi)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  10f252:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  10f257:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10f25a:	39 4d e4             	cmp    %ecx,-0x1c(%ebp)               
  10f25d:	74 28                	je     10f287 <rtems_string_to_unsigned_long_long+0x83>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  10f25f:	83 fa ff             	cmp    $0xffffffff,%edx               
  10f262:	75 1c                	jne    10f280 <rtems_string_to_unsigned_long_long+0x7c>
  10f264:	83 fe ff             	cmp    $0xffffffff,%esi               
  10f267:	75 17                	jne    10f280 <rtems_string_to_unsigned_long_long+0x7c><== NEVER TAKEN
  10f269:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  10f26c:	e8 4b 26 00 00       	call   1118bc <__errno>               
  10f271:	89 c1                	mov    %eax,%ecx                      
      return RTEMS_INVALID_NUMBER;                                    
  10f273:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  10f278:	83 39 22             	cmpl   $0x22,(%ecx)                   
  10f27b:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  10f27e:	74 07                	je     10f287 <rtems_string_to_unsigned_long_long+0x83><== ALWAYS TAKEN
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  10f280:	89 33                	mov    %esi,(%ebx)                    
  10f282:	89 53 04             	mov    %edx,0x4(%ebx)                 
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  10f285:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10f287:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f28a:	5b                   	pop    %ebx                           
  10f28b:	5e                   	pop    %esi                           
  10f28c:	5f                   	pop    %edi                           
  10f28d:	c9                   	leave                                 
  10f28e:	c3                   	ret                                   
                                                                      

00115fdc <rtems_task_is_suspended>: */ rtems_status_code rtems_task_is_suspended( rtems_id id ) {
  115fdc:	55                   	push   %ebp                           
  115fdd:	89 e5                	mov    %esp,%ebp                      
  115fdf:	83 ec 20             	sub    $0x20,%esp                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  115fe2:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  115fe5:	50                   	push   %eax                           
  115fe6:	ff 75 08             	pushl  0x8(%ebp)                      
  115fe9:	e8 16 34 00 00       	call   119404 <_Thread_Get>           
  switch ( location ) {                                               
  115fee:	83 c4 10             	add    $0x10,%esp                     
  115ff1:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  115ff5:	75 1b                	jne    116012 <rtems_task_is_suspended+0x36><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_States_Is_suspended( the_thread->current_state ) ) {     
  115ff7:	f6 40 10 02          	testb  $0x2,0x10(%eax)                
  115ffb:	75 09                	jne    116006 <rtems_task_is_suspended+0x2a>
        _Thread_Enable_dispatch();                                    
  115ffd:	e8 e0 33 00 00       	call   1193e2 <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  116002:	31 c0                	xor    %eax,%eax                      
  116004:	eb 11                	jmp    116017 <rtems_task_is_suspended+0x3b>
      }                                                               
      _Thread_Enable_dispatch();                                      
  116006:	e8 d7 33 00 00       	call   1193e2 <_Thread_Enable_dispatch>
      return RTEMS_ALREADY_SUSPENDED;                                 
  11600b:	b8 0f 00 00 00       	mov    $0xf,%eax                      
  116010:	eb 05                	jmp    116017 <rtems_task_is_suspended+0x3b>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  116012:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  116017:	c9                   	leave                                 
  116018:	c3                   	ret                                   
                                                                      

00110d60 <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
  110d60:	55                   	push   %ebp                           
  110d61:	89 e5                	mov    %esp,%ebp                      
  110d63:	57                   	push   %edi                           
  110d64:	56                   	push   %esi                           
  110d65:	53                   	push   %ebx                           
  110d66:	83 ec 1c             	sub    $0x1c,%esp                     
  110d69:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
  110d6c:	b8 09 00 00 00       	mov    $0x9,%eax                      
  ASR_Information    *asr;                                            
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
  110d71:	85 c9                	test   %ecx,%ecx                      
  110d73:	0f 84 04 01 00 00    	je     110e7d <rtems_task_mode+0x11d> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  110d79:	8b 35 34 47 12 00    	mov    0x124734,%esi                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  110d7f:	8b 9e f4 00 00 00    	mov    0xf4(%esi),%ebx                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
  110d85:	80 7e 74 01          	cmpb   $0x1,0x74(%esi)                
  110d89:	19 ff                	sbb    %edi,%edi                      
  110d8b:	81 e7 00 01 00 00    	and    $0x100,%edi                    
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
  110d91:	83 7e 7c 00          	cmpl   $0x0,0x7c(%esi)                
  110d95:	74 06                	je     110d9d <rtems_task_mode+0x3d>  
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
  110d97:	81 cf 00 02 00 00    	or     $0x200,%edi                    
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
  110d9d:	80 7b 08 01          	cmpb   $0x1,0x8(%ebx)                 
  110da1:	19 d2                	sbb    %edx,%edx                      
  110da3:	81 e2 00 04 00 00    	and    $0x400,%edx                    
  old_mode |= _ISR_Get_level();                                       
  110da9:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  110dac:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  110daf:	e8 71 c5 ff ff       	call   10d325 <_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;           
  110db4:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  110db7:	09 d0                	or     %edx,%eax                      
  old_mode |= _ISR_Get_level();                                       
  110db9:	09 f8                	or     %edi,%eax                      
  110dbb:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  110dbe:	89 01                	mov    %eax,(%ecx)                    
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
                                                                      
  if ( mask & RTEMS_PREEMPT_MASK )                                    
  110dc0:	f7 45 0c 00 01 00 00 	testl  $0x100,0xc(%ebp)               
  110dc7:	74 0b                	je     110dd4 <rtems_task_mode+0x74>  
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
  110dc9:	f7 45 08 00 01 00 00 	testl  $0x100,0x8(%ebp)               
  110dd0:	0f 94 46 74          	sete   0x74(%esi)                     
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
  110dd4:	f7 45 0c 00 02 00 00 	testl  $0x200,0xc(%ebp)               
  110ddb:	74 21                	je     110dfe <rtems_task_mode+0x9e>  
    if ( _Modes_Is_timeslice(mode_set) ) {                            
  110ddd:	f7 45 08 00 02 00 00 	testl  $0x200,0x8(%ebp)               
  110de4:	74 11                	je     110df7 <rtems_task_mode+0x97>  
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
  110de6:	c7 46 7c 01 00 00 00 	movl   $0x1,0x7c(%esi)                
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
  110ded:	a1 b4 41 12 00       	mov    0x1241b4,%eax                  
  110df2:	89 46 78             	mov    %eax,0x78(%esi)                
  110df5:	eb 07                	jmp    110dfe <rtems_task_mode+0x9e>  
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
  110df7:	c7 46 7c 00 00 00 00 	movl   $0x0,0x7c(%esi)                
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
                                                                      
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
  110dfe:	f6 45 0c 01          	testb  $0x1,0xc(%ebp)                 
  110e02:	74 0a                	je     110e0e <rtems_task_mode+0xae>  
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
  110e04:	f6 45 08 01          	testb  $0x1,0x8(%ebp)                 
  110e08:	74 03                	je     110e0d <rtems_task_mode+0xad>  
  110e0a:	fa                   	cli                                   
  110e0b:	eb 01                	jmp    110e0e <rtems_task_mode+0xae>  
  110e0d:	fb                   	sti                                   
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
                                                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
  110e0e:	31 d2                	xor    %edx,%edx                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
  110e10:	f7 45 0c 00 04 00 00 	testl  $0x400,0xc(%ebp)               
  110e17:	74 2a                	je     110e43 <rtems_task_mode+0xe3>  
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
  110e19:	f7 45 08 00 04 00 00 	testl  $0x400,0x8(%ebp)               
  110e20:	0f 94 c0             	sete   %al                            
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
  110e23:	3a 43 08             	cmp    0x8(%ebx),%al                  
  110e26:	74 1b                	je     110e43 <rtems_task_mode+0xe3>  
      asr->is_enabled = is_asr_enabled;                               
  110e28:	88 43 08             	mov    %al,0x8(%ebx)                  
)                                                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
  110e2b:	9c                   	pushf                                 
  110e2c:	fa                   	cli                                   
  110e2d:	58                   	pop    %eax                           
    _signals                     = information->signals_pending;      
  110e2e:	8b 53 18             	mov    0x18(%ebx),%edx                
    information->signals_pending = information->signals_posted;       
  110e31:	8b 4b 14             	mov    0x14(%ebx),%ecx                
  110e34:	89 4b 18             	mov    %ecx,0x18(%ebx)                
    information->signals_posted  = _signals;                          
  110e37:	89 53 14             	mov    %edx,0x14(%ebx)                
  _ISR_Enable( _level );                                              
  110e3a:	50                   	push   %eax                           
  110e3b:	9d                   	popf                                  
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
                                                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
  110e3c:	83 7b 14 00          	cmpl   $0x0,0x14(%ebx)                
  110e40:	0f 95 c2             	setne  %dl                            
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
      _Thread_Dispatch();                                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  110e43:	31 c0                	xor    %eax,%eax                      
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
  110e45:	83 3d 64 43 12 00 03 	cmpl   $0x3,0x124364                  
  110e4c:	75 2f                	jne    110e7d <rtems_task_mode+0x11d> <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Thread_Evaluate_mode( void )               
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
  110e4e:	a1 34 47 12 00       	mov    0x124734,%eax                  
                                                                      
  if ( !_States_Is_ready( executing->current_state ) ||               
  110e53:	83 78 10 00          	cmpl   $0x0,0x10(%eax)                
  110e57:	75 0e                	jne    110e67 <rtems_task_mode+0x107> <== NEVER TAKEN
  110e59:	3b 05 38 47 12 00    	cmp    0x124738,%eax                  
  110e5f:	74 0f                	je     110e70 <rtems_task_mode+0x110> 
       ( !_Thread_Is_heir( executing ) && executing->is_preemptible ) ) {
  110e61:	80 78 74 00          	cmpb   $0x0,0x74(%eax)                
  110e65:	74 09                	je     110e70 <rtems_task_mode+0x110> <== NEVER TAKEN
    _Context_Switch_necessary = true;                                 
  110e67:	c6 05 40 47 12 00 01 	movb   $0x1,0x124740                  
  110e6e:	eb 06                	jmp    110e76 <rtems_task_mode+0x116> 
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
      _Thread_Dispatch();                                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  110e70:	31 c0                	xor    %eax,%eax                      
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
  110e72:	84 d2                	test   %dl,%dl                        
  110e74:	74 07                	je     110e7d <rtems_task_mode+0x11d> 
      _Thread_Dispatch();                                             
  110e76:	e8 a5 af ff ff       	call   10be20 <_Thread_Dispatch>      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  110e7b:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110e7d:	83 c4 1c             	add    $0x1c,%esp                     
  110e80:	5b                   	pop    %ebx                           
  110e81:	5e                   	pop    %esi                           
  110e82:	5f                   	pop    %edi                           
  110e83:	c9                   	leave                                 
  110e84:	c3                   	ret                                   
                                                                      

0010ddc0 <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
  10ddc0:	55                   	push   %ebp                           
  10ddc1:	89 e5                	mov    %esp,%ebp                      
  10ddc3:	56                   	push   %esi                           
  10ddc4:	53                   	push   %ebx                           
  10ddc5:	83 ec 10             	sub    $0x10,%esp                     
  10ddc8:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10ddcb:	8b 75 10             	mov    0x10(%ebp),%esi                
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
  10ddce:	85 db                	test   %ebx,%ebx                      
  10ddd0:	74 10                	je     10dde2 <rtems_task_set_priority+0x22>
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
            ( the_priority <= RTEMS_MAXIMUM_PRIORITY ) );             
  10ddd2:	0f b6 15 f4 41 12 00 	movzbl 0x1241f4,%edx                  
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
  10ddd9:	b8 13 00 00 00       	mov    $0x13,%eax                     
)                                                                     
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
  10ddde:	39 d3                	cmp    %edx,%ebx                      
  10dde0:	77 52                	ja     10de34 <rtems_task_set_priority+0x74>
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
    return RTEMS_INVALID_ADDRESS;                                     
  10dde2:	b8 09 00 00 00       	mov    $0x9,%eax                      
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
  10dde7:	85 f6                	test   %esi,%esi                      
  10dde9:	74 49                	je     10de34 <rtems_task_set_priority+0x74>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10ddeb:	51                   	push   %ecx                           
  10ddec:	51                   	push   %ecx                           
  10dded:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10ddf0:	50                   	push   %eax                           
  10ddf1:	ff 75 08             	pushl  0x8(%ebp)                      
  10ddf4:	e8 03 1c 00 00       	call   10f9fc <_Thread_Get>           
  switch ( location ) {                                               
  10ddf9:	83 c4 10             	add    $0x10,%esp                     
  10ddfc:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  10de00:	75 2d                	jne    10de2f <rtems_task_set_priority+0x6f>
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
  10de02:	8b 50 14             	mov    0x14(%eax),%edx                
  10de05:	89 16                	mov    %edx,(%esi)                    
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
  10de07:	85 db                	test   %ebx,%ebx                      
  10de09:	74 1b                	je     10de26 <rtems_task_set_priority+0x66>
        the_thread->real_priority = new_priority;                     
  10de0b:	89 58 18             	mov    %ebx,0x18(%eax)                
        if ( the_thread->resource_count == 0 ||                       
  10de0e:	83 78 1c 00          	cmpl   $0x0,0x1c(%eax)                
  10de12:	74 05                	je     10de19 <rtems_task_set_priority+0x59>
  10de14:	39 58 14             	cmp    %ebx,0x14(%eax)                
  10de17:	76 0d                	jbe    10de26 <rtems_task_set_priority+0x66><== ALWAYS TAKEN
             the_thread->current_priority > new_priority )            
          _Thread_Change_priority( the_thread, new_priority, false ); 
  10de19:	52                   	push   %edx                           
  10de1a:	6a 00                	push   $0x0                           
  10de1c:	53                   	push   %ebx                           
  10de1d:	50                   	push   %eax                           
  10de1e:	e8 25 17 00 00       	call   10f548 <_Thread_Change_priority>
  10de23:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
      _Thread_Enable_dispatch();                                      
  10de26:	e8 af 1b 00 00       	call   10f9da <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  10de2b:	31 c0                	xor    %eax,%eax                      
  10de2d:	eb 05                	jmp    10de34 <rtems_task_set_priority+0x74>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10de2f:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10de34:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10de37:	5b                   	pop    %ebx                           
  10de38:	5e                   	pop    %esi                           
  10de39:	c9                   	leave                                 
  10de3a:	c3                   	ret                                   
                                                                      

00108718 <rtems_termios_bufsize>: rtems_status_code rtems_termios_bufsize ( int cbufsize, int raw_input, int raw_output ) {
  108718:	55                   	push   %ebp                           <== NOT EXECUTED
  108719:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  rtems_termios_cbufsize        = cbufsize;                           
  10871b:	8b 45 08             	mov    0x8(%ebp),%eax                 <== NOT EXECUTED
  10871e:	a3 44 1f 12 00       	mov    %eax,0x121f44                  <== NOT EXECUTED
  rtems_termios_raw_input_size  = raw_input;                          
  108723:	8b 45 0c             	mov    0xc(%ebp),%eax                 <== NOT EXECUTED
  108726:	a3 48 1f 12 00       	mov    %eax,0x121f48                  <== NOT EXECUTED
  rtems_termios_raw_output_size = raw_output;                         
  10872b:	8b 45 10             	mov    0x10(%ebp),%eax                <== NOT EXECUTED
  10872e:	a3 4c 1f 12 00       	mov    %eax,0x121f4c                  <== NOT EXECUTED
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  108733:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  108735:	c9                   	leave                                 <== NOT EXECUTED
  108736:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010859b <rtems_termios_close>: } } rtems_status_code rtems_termios_close (void *arg) {
  10859b:	55                   	push   %ebp                           
  10859c:	89 e5                	mov    %esp,%ebp                      
  10859e:	56                   	push   %esi                           
  10859f:	53                   	push   %ebx                           
  1085a0:	8b 75 08             	mov    0x8(%ebp),%esi                 
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
  1085a3:	8b 06                	mov    (%esi),%eax                    
  1085a5:	8b 58 34             	mov    0x34(%eax),%ebx                
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
  1085a8:	51                   	push   %ecx                           
  1085a9:	6a 00                	push   $0x0                           
  1085ab:	6a 00                	push   $0x0                           
  1085ad:	ff 35 dc 40 12 00    	pushl  0x1240dc                       
  1085b3:	e8 2c 1c 00 00       	call   10a1e4 <rtems_semaphore_obtain>
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
  1085b8:	83 c4 10             	add    $0x10,%esp                     
  1085bb:	85 c0                	test   %eax,%eax                      
  1085bd:	75 7d                	jne    10863c <rtems_termios_close+0xa1><== NEVER TAKEN
    rtems_fatal_error_occurred (sc);                                  
  if (--tty->refcount == 0) {                                         
  1085bf:	8b 43 08             	mov    0x8(%ebx),%eax                 
  1085c2:	48                   	dec    %eax                           
  1085c3:	89 43 08             	mov    %eax,0x8(%ebx)                 
  1085c6:	85 c0                	test   %eax,%eax                      
  1085c8:	0f 85 33 01 00 00    	jne    108701 <rtems_termios_close+0x166>
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
  1085ce:	8b 83 cc 00 00 00    	mov    0xcc(%ebx),%eax                
  1085d4:	c1 e0 05             	shl    $0x5,%eax                      
  1085d7:	8b 80 98 3d 12 00    	mov    0x123d98(%eax),%eax            
  1085dd:	85 c0                	test   %eax,%eax                      
  1085df:	74 0b                	je     1085ec <rtems_termios_close+0x51><== ALWAYS TAKEN
      /*                                                              
       * call discipline-specific close                               
       */                                                             
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
  1085e1:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1085e4:	53                   	push   %ebx                           <== NOT EXECUTED
  1085e5:	ff d0                	call   *%eax                          <== NOT EXECUTED
  1085e7:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  1085ea:	eb 1b                	jmp    108607 <rtems_termios_close+0x6c><== NOT EXECUTED
    }                                                                 
    else {                                                            
      /*                                                              
       * default: just flush output buffer                            
       */                                                             
      sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  1085ec:	52                   	push   %edx                           
  1085ed:	6a 00                	push   $0x0                           
  1085ef:	6a 00                	push   $0x0                           
  1085f1:	ff 73 18             	pushl  0x18(%ebx)                     
  1085f4:	e8 eb 1b 00 00       	call   10a1e4 <rtems_semaphore_obtain>
      if (sc != RTEMS_SUCCESSFUL) {                                   
  1085f9:	83 c4 10             	add    $0x10,%esp                     
  1085fc:	85 c0                	test   %eax,%eax                      
  1085fe:	75 3c                	jne    10863c <rtems_termios_close+0xa1><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      }                                                               
            drainOutput (tty);                                        
  108600:	89 d8                	mov    %ebx,%eax                      
  108602:	e8 11 fb ff ff       	call   108118 <drainOutput>           
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts                              
  108607:	83 bb b4 00 00 00 02 	cmpl   $0x2,0xb4(%ebx)                
  10860e:	75 35                	jne    108645 <rtems_termios_close+0xaa>
        == TERMIOS_TASK_DRIVEN) {                                     
      /*                                                              
       * send "terminate" to I/O tasks                                
       */                                                             
      sc = rtems_event_send(                                          
  108610:	50                   	push   %eax                           
  108611:	50                   	push   %eax                           
  108612:	6a 01                	push   $0x1                           
  108614:	ff b3 c4 00 00 00    	pushl  0xc4(%ebx)                     
  10861a:	e8 5d 17 00 00       	call   109d7c <rtems_event_send>      
                                  tty->rxTaskId,                      
          TERMIOS_RX_TERMINATE_EVENT);                                
      if (sc != RTEMS_SUCCESSFUL)                                     
  10861f:	83 c4 10             	add    $0x10,%esp                     
  108622:	85 c0                	test   %eax,%eax                      
  108624:	75 16                	jne    10863c <rtems_termios_close+0xa1><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send(                                          
  108626:	51                   	push   %ecx                           
  108627:	51                   	push   %ecx                           
  108628:	6a 01                	push   $0x1                           
  10862a:	ff b3 c8 00 00 00    	pushl  0xc8(%ebx)                     
  108630:	e8 47 17 00 00       	call   109d7c <rtems_event_send>      
                                  tty->txTaskId,                      
          TERMIOS_TX_TERMINATE_EVENT);                                
      if (sc != RTEMS_SUCCESSFUL)                                     
  108635:	83 c4 10             	add    $0x10,%esp                     
  108638:	85 c0                	test   %eax,%eax                      
  10863a:	74 09                	je     108645 <rtems_termios_close+0xaa><== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
  10863c:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10863f:	50                   	push   %eax                           <== NOT EXECUTED
  108640:	e8 67 21 00 00       	call   10a7ac <rtems_fatal_error_occurred><== NOT EXECUTED
    }                                                                 
    if (tty->device.lastClose)                                        
  108645:	8b 83 9c 00 00 00    	mov    0x9c(%ebx),%eax                
  10864b:	85 c0                	test   %eax,%eax                      
  10864d:	74 0d                	je     10865c <rtems_termios_close+0xc1>
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
  10864f:	52                   	push   %edx                           
  108650:	56                   	push   %esi                           
  108651:	ff 73 10             	pushl  0x10(%ebx)                     
  108654:	ff 73 0c             	pushl  0xc(%ebx)                      
  108657:	ff d0                	call   *%eax                          
  108659:	83 c4 10             	add    $0x10,%esp                     
    if (tty->forw == NULL) {                                          
  10865c:	8b 13                	mov    (%ebx),%edx                    
  10865e:	85 d2                	test   %edx,%edx                      
  108660:	8b 43 04             	mov    0x4(%ebx),%eax                 
  108663:	75 11                	jne    108676 <rtems_termios_close+0xdb>
      rtems_termios_ttyTail = tty->back;                              
  108665:	a3 e0 40 12 00       	mov    %eax,0x1240e0                  
      if ( rtems_termios_ttyTail != NULL ) {                          
  10866a:	85 c0                	test   %eax,%eax                      
  10866c:	74 0b                	je     108679 <rtems_termios_close+0xde><== ALWAYS TAKEN
        rtems_termios_ttyTail->forw = NULL;                           
  10866e:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    <== NOT EXECUTED
  108674:	eb 03                	jmp    108679 <rtems_termios_close+0xde><== NOT EXECUTED
      }                                                               
    }                                                                 
    else {                                                            
      tty->forw->back = tty->back;                                    
  108676:	89 42 04             	mov    %eax,0x4(%edx)                 
    }                                                                 
    if (tty->back == NULL) {                                          
  108679:	8b 53 04             	mov    0x4(%ebx),%edx                 
  10867c:	85 d2                	test   %edx,%edx                      
  10867e:	8b 03                	mov    (%ebx),%eax                    
  108680:	75 12                	jne    108694 <rtems_termios_close+0xf9><== NEVER TAKEN
      rtems_termios_ttyHead = tty->forw;                              
  108682:	a3 e4 40 12 00       	mov    %eax,0x1240e4                  
      if ( rtems_termios_ttyHead != NULL ) {                          
  108687:	85 c0                	test   %eax,%eax                      
  108689:	74 0b                	je     108696 <rtems_termios_close+0xfb>
        rtems_termios_ttyHead->back = NULL;                           
  10868b:	c7 40 04 00 00 00 00 	movl   $0x0,0x4(%eax)                 
  108692:	eb 02                	jmp    108696 <rtems_termios_close+0xfb>
      }                                                               
    }                                                                 
    else {                                                            
      tty->back->forw = tty->forw;                                    
  108694:	89 02                	mov    %eax,(%edx)                    <== NOT EXECUTED
    }                                                                 
    rtems_semaphore_delete (tty->isem);                               
  108696:	83 ec 0c             	sub    $0xc,%esp                      
  108699:	ff 73 14             	pushl  0x14(%ebx)                     
  10869c:	e8 b3 1a 00 00       	call   10a154 <rtems_semaphore_delete>
    rtems_semaphore_delete (tty->osem);                               
  1086a1:	59                   	pop    %ecx                           
  1086a2:	ff 73 18             	pushl  0x18(%ebx)                     
  1086a5:	e8 aa 1a 00 00       	call   10a154 <rtems_semaphore_delete>
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
  1086aa:	5a                   	pop    %edx                           
  1086ab:	ff b3 8c 00 00 00    	pushl  0x8c(%ebx)                     
  1086b1:	e8 9e 1a 00 00       	call   10a154 <rtems_semaphore_delete>
    if ((tty->device.pollRead == NULL) ||                             
  1086b6:	83 c4 10             	add    $0x10,%esp                     
  1086b9:	83 bb a0 00 00 00 00 	cmpl   $0x0,0xa0(%ebx)                
  1086c0:	74 09                	je     1086cb <rtems_termios_close+0x130>
  1086c2:	83 bb b4 00 00 00 02 	cmpl   $0x2,0xb4(%ebx)                
  1086c9:	75 0e                	jne    1086d9 <rtems_termios_close+0x13e>
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
  1086cb:	83 ec 0c             	sub    $0xc,%esp                      
  1086ce:	ff 73 68             	pushl  0x68(%ebx)                     
  1086d1:	e8 7e 1a 00 00       	call   10a154 <rtems_semaphore_delete>
  1086d6:	83 c4 10             	add    $0x10,%esp                     
    free (tty->rawInBuf.theBuf);                                      
  1086d9:	83 ec 0c             	sub    $0xc,%esp                      
  1086dc:	ff 73 58             	pushl  0x58(%ebx)                     
  1086df:	e8 28 ec ff ff       	call   10730c <free>                  
    free (tty->rawOutBuf.theBuf);                                     
  1086e4:	58                   	pop    %eax                           
  1086e5:	ff 73 7c             	pushl  0x7c(%ebx)                     
  1086e8:	e8 1f ec ff ff       	call   10730c <free>                  
    free (tty->cbuf);                                                 
  1086ed:	5e                   	pop    %esi                           
  1086ee:	ff 73 1c             	pushl  0x1c(%ebx)                     
  1086f1:	e8 16 ec ff ff       	call   10730c <free>                  
    free (tty);                                                       
  1086f6:	89 1c 24             	mov    %ebx,(%esp)                    
  1086f9:	e8 0e ec ff ff       	call   10730c <free>                  
  1086fe:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
  108701:	83 ec 0c             	sub    $0xc,%esp                      
  108704:	ff 35 dc 40 12 00    	pushl  0x1240dc                       
  10870a:	e8 c1 1b 00 00       	call   10a2d0 <rtems_semaphore_release>
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10870f:	31 c0                	xor    %eax,%eax                      
  108711:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  108714:	5b                   	pop    %ebx                           
  108715:	5e                   	pop    %esi                           
  108716:	c9                   	leave                                 
  108717:	c3                   	ret                                   
                                                                      

001098c3 <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) {
  1098c3:	55                   	push   %ebp                           
  1098c4:	89 e5                	mov    %esp,%ebp                      
  1098c6:	83 ec 08             	sub    $0x8,%esp                      
  1098c9:	8b 45 08             	mov    0x8(%ebp),%eax                 
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
  1098cc:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  1098cf:	01 90 90 00 00 00    	add    %edx,0x90(%eax)                
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
  1098d5:	83 b8 b4 00 00 00 02 	cmpl   $0x2,0xb4(%eax)                
  1098dc:	75 1f                	jne    1098fd <rtems_termios_dequeue_characters+0x3a>
    /*                                                                
     * send wake up to transmitter task                               
     */                                                               
    sc = rtems_event_send(tty->txTaskId,                              
  1098de:	52                   	push   %edx                           
  1098df:	52                   	push   %edx                           
  1098e0:	6a 02                	push   $0x2                           
  1098e2:	ff b0 c8 00 00 00    	pushl  0xc8(%eax)                     
  1098e8:	e8 8f 04 00 00       	call   109d7c <rtems_event_send>      
              TERMIOS_TX_START_EVENT);                                
    if (sc != RTEMS_SUCCESSFUL)                                       
  1098ed:	83 c4 10             	add    $0x10,%esp                     
  1098f0:	85 c0                	test   %eax,%eax                      
  1098f2:	74 30                	je     109924 <rtems_termios_dequeue_characters+0x61><== ALWAYS TAKEN
      rtems_fatal_error_occurred (sc);                                
  1098f4:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1098f7:	50                   	push   %eax                           <== NOT EXECUTED
  1098f8:	e8 af 0e 00 00       	call   10a7ac <rtems_fatal_error_occurred><== NOT EXECUTED
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
  1098fd:	83 b8 cc 00 00 00 05 	cmpl   $0x5,0xcc(%eax)                
  109904:	75 15                	jne    10991b <rtems_termios_dequeue_characters+0x58><== ALWAYS TAKEN
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
  109906:	8b 15 48 3e 12 00    	mov    0x123e48,%edx                  <== NOT EXECUTED
  10990c:	85 d2                	test   %edx,%edx                      <== NOT EXECUTED
  10990e:	74 14                	je     109924 <rtems_termios_dequeue_characters+0x61><== NOT EXECUTED
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
  109910:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  109913:	50                   	push   %eax                           <== NOT EXECUTED
  109914:	ff d2                	call   *%edx                          <== NOT EXECUTED
  109916:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  109919:	eb 09                	jmp    109924 <rtems_termios_dequeue_characters+0x61><== NOT EXECUTED
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
  10991b:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  10991e:	c9                   	leave                                 
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
  10991f:	e9 6e fd ff ff       	jmp    109692 <rtems_termios_refill_transmitter>
}                                                                     
  109924:	31 c0                	xor    %eax,%eax                      
  109926:	c9                   	leave                                 
  109927:	c3                   	ret                                   
                                                                      

001093a4 <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) {
  1093a4:	55                   	push   %ebp                           
  1093a5:	89 e5                	mov    %esp,%ebp                      
  1093a7:	57                   	push   %edi                           
  1093a8:	56                   	push   %esi                           
  1093a9:	53                   	push   %ebx                           
  1093aa:	83 ec 2c             	sub    $0x2c,%esp                     
  1093ad:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1093b0:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  1093b3:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  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) {             
  1093b6:	8b 83 cc 00 00 00    	mov    0xcc(%ebx),%eax                
  1093bc:	c1 e0 05             	shl    $0x5,%eax                      
  1093bf:	89 ca                	mov    %ecx,%edx                      
  1093c1:	83 b8 a4 3d 12 00 00 	cmpl   $0x0,0x123da4(%eax)            
  1093c8:	75 3b                	jne    109405 <rtems_termios_enqueue_raw_characters+0x61><== NEVER TAKEN
  1093ca:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  1093cd:	c6 45 df 00          	movb   $0x0,-0x21(%ebp)               
  1093d1:	31 f6                	xor    %esi,%esi                      
                                                                      
        /*                                                            
         * 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); 
  1093d3:	8d 43 30             	lea    0x30(%ebx),%eax                
  1093d6:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
          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,                          
  1093d9:	8d 53 4a             	lea    0x4a(%ebx),%edx                
  1093dc:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  1093df:	e9 26 02 00 00       	jmp    10960a <rtems_termios_enqueue_raw_characters+0x266>
  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--) {                                                   
      c = *buf++;                                                     
  1093e4:	0f be 0f             	movsbl (%edi),%ecx                    <== NOT EXECUTED
  1093e7:	47                   	inc    %edi                           <== NOT EXECUTED
      rtems_termios_linesw[tty->t_line].l_rint(c,tty);                
  1093e8:	56                   	push   %esi                           <== NOT EXECUTED
  1093e9:	56                   	push   %esi                           <== NOT EXECUTED
  1093ea:	8b 83 cc 00 00 00    	mov    0xcc(%ebx),%eax                <== NOT EXECUTED
  1093f0:	c1 e0 05             	shl    $0x5,%eax                      <== NOT EXECUTED
  1093f3:	53                   	push   %ebx                           <== NOT EXECUTED
  1093f4:	51                   	push   %ecx                           <== NOT EXECUTED
  1093f5:	89 55 cc             	mov    %edx,-0x34(%ebp)               <== NOT EXECUTED
  1093f8:	ff 90 a4 3d 12 00    	call   *0x123da4(%eax)                <== NOT EXECUTED
  1093fe:	8b 55 cc             	mov    -0x34(%ebp),%edx               <== NOT EXECUTED
  109401:	4a                   	dec    %edx                           <== NOT EXECUTED
  109402:	83 c4 10             	add    $0x10,%esp                     <== 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--) {                                                   
  109405:	85 d2                	test   %edx,%edx                      <== NOT EXECUTED
  109407:	75 db                	jne    1093e4 <rtems_termios_enqueue_raw_characters+0x40><== NOT EXECUTED
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  109409:	31 f6                	xor    %esi,%esi                      <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
  10940b:	83 bb e4 00 00 00 00 	cmpl   $0x0,0xe4(%ebx)                <== NOT EXECUTED
  109412:	0f 85 0d 02 00 00    	jne    109625 <rtems_termios_enqueue_raw_characters+0x281><== NOT EXECUTED
  109418:	8b 83 dc 00 00 00    	mov    0xdc(%ebx),%eax                <== NOT EXECUTED
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  10941e:	89 d6                	mov    %edx,%esi                      <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
  109420:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  109422:	0f 84 fd 01 00 00    	je     109625 <rtems_termios_enqueue_raw_characters+0x281><== NOT EXECUTED
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
  109428:	51                   	push   %ecx                           <== NOT EXECUTED
  109429:	51                   	push   %ecx                           <== NOT EXECUTED
  10942a:	ff b3 e0 00 00 00    	pushl  0xe0(%ebx)                     <== NOT EXECUTED
  109430:	8d 53 30             	lea    0x30(%ebx),%edx                <== NOT EXECUTED
  109433:	52                   	push   %edx                           <== NOT EXECUTED
  109434:	ff d0                	call   *%eax                          <== NOT EXECUTED
      tty->tty_rcvwakeup = 1;                                         
  109436:	c7 83 e4 00 00 00 01 	movl   $0x1,0xe4(%ebx)                <== NOT EXECUTED
  10943d:	00 00 00                                                    
  109440:	e9 dd 01 00 00       	jmp    109622 <rtems_termios_enqueue_raw_characters+0x27e><== NOT EXECUTED
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
    c = *buf++;                                                       
  109445:	8a 0f                	mov    (%edi),%cl                     
  109447:	88 4d de             	mov    %cl,-0x22(%ebp)                
  10944a:	47                   	inc    %edi                           
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
  10944b:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  109451:	f6 c4 02             	test   $0x2,%ah                       
  109454:	74 46                	je     10949c <rtems_termios_enqueue_raw_characters+0xf8>
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
  109456:	0f be c1             	movsbl %cl,%eax                       
  109459:	0f b6 53 4a          	movzbl 0x4a(%ebx),%edx                
  10945d:	39 d0                	cmp    %edx,%eax                      
  10945f:	75 28                	jne    109489 <rtems_termios_enqueue_raw_characters+0xe5><== ALWAYS TAKEN
        if (c == tty->termios.c_cc[VSTART]) {                         
  109461:	0f b6 53 49          	movzbl 0x49(%ebx),%edx                <== NOT EXECUTED
  109465:	39 d0                	cmp    %edx,%eax                      <== NOT EXECUTED
  109467:	75 0b                	jne    109474 <rtems_termios_enqueue_raw_characters+0xd0><== NOT EXECUTED
          /* received VSTOP and VSTART==VSTOP? */                     
          /* then toggle "stop output" status  */                     
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
  109469:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10946f:	83 f0 10             	xor    $0x10,%eax                     <== NOT EXECUTED
  109472:	eb 09                	jmp    10947d <rtems_termios_enqueue_raw_characters+0xd9><== NOT EXECUTED
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
  109474:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10947a:	83 c8 10             	or     $0x10,%eax                     <== NOT EXECUTED
  10947d:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== 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) 
{                                                                     
  109483:	c6 45 df 01          	movb   $0x1,-0x21(%ebp)               <== NOT EXECUTED
  109487:	eb 19                	jmp    1094a2 <rtems_termios_enqueue_raw_characters+0xfe><== NOT EXECUTED
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
        }                                                             
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
  109489:	0f b6 53 49          	movzbl 0x49(%ebx),%edx                
  10948d:	39 d0                	cmp    %edx,%eax                      
  10948f:	75 0b                	jne    10949c <rtems_termios_enqueue_raw_characters+0xf8><== ALWAYS TAKEN
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
  109491:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  109497:	83 e0 ef             	and    $0xffffffef,%eax               <== NOT EXECUTED
  10949a:	eb e1                	jmp    10947d <rtems_termios_enqueue_raw_characters+0xd9><== NOT EXECUTED
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
  10949c:	80 7d df 00          	cmpb   $0x0,-0x21(%ebp)               
  1094a0:	74 51                	je     1094f3 <rtems_termios_enqueue_raw_characters+0x14f><== ALWAYS TAKEN
      /* restart output according to FL_ORCVXOF flag */               
      if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {   
  1094a2:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  1094a8:	83 e0 30             	and    $0x30,%eax                     <== NOT EXECUTED
  1094ab:	83 f8 20             	cmp    $0x20,%eax                     <== NOT EXECUTED
  1094ae:	0f 85 53 01 00 00    	jne    109607 <rtems_termios_enqueue_raw_characters+0x263><== NOT EXECUTED
        /* disable interrupts    */                                   
        rtems_interrupt_disable(level);                               
  1094b4:	9c                   	pushf                                 <== NOT EXECUTED
  1094b5:	fa                   	cli                                   <== NOT EXECUTED
  1094b6:	8f 45 e4             	popl   -0x1c(%ebp)                    <== NOT EXECUTED
        tty->flow_ctrl &= ~FL_OSTOP;                                  
  1094b9:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  1094bf:	83 e0 df             	and    $0xffffffdf,%eax               <== NOT EXECUTED
  1094c2:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
  1094c8:	83 bb 94 00 00 00 00 	cmpl   $0x0,0x94(%ebx)                <== NOT EXECUTED
  1094cf:	74 19                	je     1094ea <rtems_termios_enqueue_raw_characters+0x146><== NOT EXECUTED
        /* if chars available, call write function... */              
        (*tty->device.write)(tty->minor,                              
         &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);             
  1094d1:	8b 83 84 00 00 00    	mov    0x84(%ebx),%eax                <== 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,                              
  1094d7:	52                   	push   %edx                           <== NOT EXECUTED
  1094d8:	6a 01                	push   $0x1                           <== NOT EXECUTED
  1094da:	03 43 7c             	add    0x7c(%ebx),%eax                <== NOT EXECUTED
  1094dd:	50                   	push   %eax                           <== NOT EXECUTED
  1094de:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  1094e1:	ff 93 a4 00 00 00    	call   *0xa4(%ebx)                    <== NOT EXECUTED
  1094e7:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
         &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);             
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
  1094ea:	ff 75 e4             	pushl  -0x1c(%ebp)                    <== NOT EXECUTED
  1094ed:	9d                   	popf                                  <== NOT EXECUTED
  1094ee:	e9 14 01 00 00       	jmp    109607 <rtems_termios_enqueue_raw_characters+0x263><== NOT EXECUTED
      }                                                               
    }                                                                 
    else {                                                            
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
  1094f3:	8b 43 60             	mov    0x60(%ebx),%eax                
  1094f6:	8b 4b 64             	mov    0x64(%ebx),%ecx                
  1094f9:	40                   	inc    %eax                           
  1094fa:	31 d2                	xor    %edx,%edx                      
  1094fc:	f7 f1                	div    %ecx                           
  1094fe:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
  109501:	9c                   	pushf                                 
  109502:	fa                   	cli                                   
  109503:	8f 45 d8             	popl   -0x28(%ebp)                    
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
  109506:	8b 53 5c             	mov    0x5c(%ebx),%edx                
  109509:	8b 43 64             	mov    0x64(%ebx),%eax                
            % tty->rawInBuf.Size) > tty->highwater) &&                
  10950c:	8b 4b 64             	mov    0x64(%ebx),%ecx                
    }                                                                 
    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)       
  10950f:	29 d0                	sub    %edx,%eax                      
  109511:	03 45 e4             	add    -0x1c(%ebp),%eax               
            % tty->rawInBuf.Size) > tty->highwater) &&                
  109514:	31 d2                	xor    %edx,%edx                      
  109516:	f7 f1                	div    %ecx                           
    }                                                                 
    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)       
  109518:	3b 93 c0 00 00 00    	cmp    0xc0(%ebx),%edx                
  10951e:	0f 86 98 00 00 00    	jbe    1095bc <rtems_termios_enqueue_raw_characters+0x218><== ALWAYS TAKEN
            % tty->rawInBuf.Size) > tty->highwater) &&                
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
  109524:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
    else {                                                            
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
            % tty->rawInBuf.Size) > tty->highwater) &&                
  10952a:	a8 01                	test   $0x1,%al                       <== NOT EXECUTED
  10952c:	0f 85 8a 00 00 00    	jne    1095bc <rtems_termios_enqueue_raw_characters+0x218><== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
  109532:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  109538:	83 c8 01             	or     $0x1,%eax                      <== NOT EXECUTED
  10953b:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
  109541:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  109547:	25 02 04 00 00       	and    $0x402,%eax                    <== NOT EXECUTED
  10954c:	3d 00 04 00 00       	cmp    $0x400,%eax                    <== NOT EXECUTED
  109551:	75 33                	jne    109586 <rtems_termios_enqueue_raw_characters+0x1e2><== NOT EXECUTED
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
  109553:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  109559:	a8 20                	test   $0x20,%al                      <== NOT EXECUTED
  10955b:	75 09                	jne    109566 <rtems_termios_enqueue_raw_characters+0x1c2><== NOT EXECUTED
  10955d:	83 bb 94 00 00 00 00 	cmpl   $0x0,0x94(%ebx)                <== NOT EXECUTED
  109564:	75 56                	jne    1095bc <rtems_termios_enqueue_raw_characters+0x218><== NOT EXECUTED
              (tty->rawOutBufState == rob_idle)) {                    
            /* if tx is stopped due to XOFF or out of data */         
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
  109566:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10956c:	83 c8 02             	or     $0x2,%eax                      <== NOT EXECUTED
  10956f:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
  109575:	51                   	push   %ecx                           <== NOT EXECUTED
  109576:	6a 01                	push   $0x1                           <== NOT EXECUTED
  109578:	ff 75 d0             	pushl  -0x30(%ebp)                    <== NOT EXECUTED
  10957b:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  10957e:	ff 93 a4 00 00 00    	call   *0xa4(%ebx)                    <== NOT EXECUTED
  109584:	eb 33                	jmp    1095b9 <rtems_termios_enqueue_raw_characters+0x215><== NOT EXECUTED
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        }                                                             
        else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
  109586:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10958c:	25 04 01 00 00       	and    $0x104,%eax                    <== NOT EXECUTED
  109591:	3d 00 01 00 00       	cmp    $0x100,%eax                    <== NOT EXECUTED
  109596:	75 24                	jne    1095bc <rtems_termios_enqueue_raw_characters+0x218><== NOT EXECUTED
          tty->flow_ctrl |= FL_IRTSOFF;                               
  109598:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10959e:	83 c8 04             	or     $0x4,%eax                      <== NOT EXECUTED
  1095a1:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
  1095a7:	8b 83 ac 00 00 00    	mov    0xac(%ebx),%eax                <== NOT EXECUTED
  1095ad:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  1095af:	74 0b                	je     1095bc <rtems_termios_enqueue_raw_characters+0x218><== NOT EXECUTED
            tty->device.stopRemoteTx(tty->minor);                     
  1095b1:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1095b4:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  1095b7:	ff d0                	call   *%eax                          <== NOT EXECUTED
  1095b9:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
  1095bc:	ff 75 d8             	pushl  -0x28(%ebp)                    
  1095bf:	9d                   	popf                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
  1095c0:	8b 43 5c             	mov    0x5c(%ebx),%eax                
  1095c3:	39 45 e4             	cmp    %eax,-0x1c(%ebp)               
  1095c6:	75 03                	jne    1095cb <rtems_termios_enqueue_raw_characters+0x227><== ALWAYS TAKEN
        dropped++;                                                    
  1095c8:	46                   	inc    %esi                           <== NOT EXECUTED
  1095c9:	eb 3c                	jmp    109607 <rtems_termios_enqueue_raw_characters+0x263><== NOT EXECUTED
      }                                                               
      else {                                                          
        tty->rawInBuf.theBuf[newTail] = c;                            
  1095cb:	8b 43 58             	mov    0x58(%ebx),%eax                
  1095ce:	8a 4d de             	mov    -0x22(%ebp),%cl                
  1095d1:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  1095d4:	88 0c 10             	mov    %cl,(%eax,%edx,1)              
        tty->rawInBuf.Tail = newTail;                                 
  1095d7:	89 53 60             	mov    %edx,0x60(%ebx)                
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
  1095da:	83 bb e4 00 00 00 00 	cmpl   $0x0,0xe4(%ebx)                
  1095e1:	75 24                	jne    109607 <rtems_termios_enqueue_raw_characters+0x263><== NEVER TAKEN
  1095e3:	8b 83 dc 00 00 00    	mov    0xdc(%ebx),%eax                
  1095e9:	85 c0                	test   %eax,%eax                      
  1095eb:	74 1a                	je     109607 <rtems_termios_enqueue_raw_characters+0x263><== ALWAYS TAKEN
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
  1095ed:	52                   	push   %edx                           <== NOT EXECUTED
  1095ee:	52                   	push   %edx                           <== NOT EXECUTED
  1095ef:	ff b3 e0 00 00 00    	pushl  0xe0(%ebx)                     <== NOT EXECUTED
  1095f5:	ff 75 d4             	pushl  -0x2c(%ebp)                    <== NOT EXECUTED
  1095f8:	ff d0                	call   *%eax                          <== NOT EXECUTED
          tty->tty_rcvwakeup = 1;                                     
  1095fa:	c7 83 e4 00 00 00 01 	movl   $0x1,0xe4(%ebx)                <== NOT EXECUTED
  109601:	00 00 00                                                    
  109604:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  109607:	ff 4d e0             	decl   -0x20(%ebp)                    
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
  10960a:	83 7d e0 00          	cmpl   $0x0,-0x20(%ebp)               
  10960e:	0f 85 31 fe ff ff    	jne    109445 <rtems_termios_enqueue_raw_characters+0xa1>
          tty->tty_rcvwakeup = 1;                                     
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
  tty->rawInBufDropped += dropped;                                    
  109614:	01 73 78             	add    %esi,0x78(%ebx)                
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
  109617:	83 ec 0c             	sub    $0xc,%esp                      
  10961a:	ff 73 68             	pushl  0x68(%ebx)                     
  10961d:	e8 ae 0c 00 00       	call   10a2d0 <rtems_semaphore_release>
  return dropped;                                                     
  109622:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  109625:	89 f0                	mov    %esi,%eax                      
  109627:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10962a:	5b                   	pop    %ebx                           
  10962b:	5e                   	pop    %esi                           
  10962c:	5f                   	pop    %edi                           
  10962d:	c9                   	leave                                 
  10962e:	c3                   	ret                                   
                                                                      

001080dc <rtems_termios_initialize>: struct rtems_termios_tty *rtems_termios_ttyTail; rtems_id rtems_termios_ttyMutex; void rtems_termios_initialize (void) {
  1080dc:	55                   	push   %ebp                           
  1080dd:	89 e5                	mov    %esp,%ebp                      
  1080df:	83 ec 08             	sub    $0x8,%esp                      
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
  1080e2:	83 3d dc 40 12 00 00 	cmpl   $0x0,0x1240dc                  
  1080e9:	75 28                	jne    108113 <rtems_termios_initialize+0x37>
    sc = rtems_semaphore_create (                                     
  1080eb:	83 ec 0c             	sub    $0xc,%esp                      
  1080ee:	68 dc 40 12 00       	push   $0x1240dc                      
  1080f3:	6a 00                	push   $0x0                           
  1080f5:	6a 54                	push   $0x54                          
  1080f7:	6a 01                	push   $0x1                           
  1080f9:	68 69 6d 52 54       	push   $0x54526d69                    
  1080fe:	e8 b9 1e 00 00       	call   109fbc <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)                                       
  108103:	83 c4 20             	add    $0x20,%esp                     
  108106:	85 c0                	test   %eax,%eax                      
  108108:	74 09                	je     108113 <rtems_termios_initialize+0x37><== ALWAYS TAKEN
      rtems_fatal_error_occurred (sc);                                
  10810a:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10810d:	50                   	push   %eax                           <== NOT EXECUTED
  10810e:	e8 99 26 00 00       	call   10a7ac <rtems_fatal_error_occurred><== NOT EXECUTED
  }                                                                   
}                                                                     
  108113:	c9                   	leave                                 
  108114:	c3                   	ret                                   
                                                                      

00108737 <rtems_termios_ioctl>: } } rtems_status_code rtems_termios_ioctl (void *arg) {
  108737:	55                   	push   %ebp                           
  108738:	89 e5                	mov    %esp,%ebp                      
  10873a:	57                   	push   %edi                           
  10873b:	56                   	push   %esi                           
  10873c:	53                   	push   %ebx                           
  10873d:	83 ec 20             	sub    $0x20,%esp                     
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
  108740:	8b 55 08             	mov    0x8(%ebp),%edx                 
  108743:	8b 02                	mov    (%edx),%eax                    
  108745:	8b 58 34             	mov    0x34(%eax),%ebx                
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
  108748:	8b 72 08             	mov    0x8(%edx),%esi                 
  rtems_status_code sc;                                               
                                                                      
   args->ioctl_return = 0;                                            
  10874b:	c7 42 0c 00 00 00 00 	movl   $0x0,0xc(%edx)                 
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  108752:	6a 00                	push   $0x0                           
  108754:	6a 00                	push   $0x0                           
  108756:	ff 73 18             	pushl  0x18(%ebx)                     
  108759:	e8 86 1a 00 00       	call   10a1e4 <rtems_semaphore_obtain>
  10875e:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  if (sc != RTEMS_SUCCESSFUL) {                                       
  108761:	83 c4 10             	add    $0x10,%esp                     
  108764:	85 c0                	test   %eax,%eax                      
  108766:	74 0b                	je     108773 <rtems_termios_ioctl+0x3c><== ALWAYS TAKEN
    args->ioctl_return = sc;                                          
  108768:	8b 4d 08             	mov    0x8(%ebp),%ecx                 <== NOT EXECUTED
  10876b:	89 41 0c             	mov    %eax,0xc(%ecx)                 <== NOT EXECUTED
    return sc;                                                        
  10876e:	e9 05 03 00 00       	jmp    108a78 <rtems_termios_ioctl+0x341><== NOT EXECUTED
  }                                                                   
  switch (args->command) {                                            
  108773:	8b 55 08             	mov    0x8(%ebp),%edx                 
  108776:	8b 42 04             	mov    0x4(%edx),%eax                 
  108779:	83 f8 04             	cmp    $0x4,%eax                      
  10877c:	0f 84 4d 02 00 00    	je     1089cf <rtems_termios_ioctl+0x298><== NEVER TAKEN
  108782:	77 10                	ja     108794 <rtems_termios_ioctl+0x5d><== NEVER TAKEN
  108784:	83 f8 02             	cmp    $0x2,%eax                      
  108787:	74 77                	je     108800 <rtems_termios_ioctl+0xc9>
  108789:	0f 87 1e 02 00 00    	ja     1089ad <rtems_termios_ioctl+0x276>
  10878f:	48                   	dec    %eax                           
  108790:	75 2f                	jne    1087c1 <rtems_termios_ioctl+0x8a><== NEVER TAKEN
  108792:	eb 55                	jmp    1087e9 <rtems_termios_ioctl+0xb2>
  108794:	3d 7f 66 04 40       	cmp    $0x4004667f,%eax               <== NOT EXECUTED
  108799:	0f 84 a5 02 00 00    	je     108a44 <rtems_termios_ioctl+0x30d><== NOT EXECUTED
  10879f:	77 0a                	ja     1087ab <rtems_termios_ioctl+0x74><== NOT EXECUTED
  1087a1:	83 f8 05             	cmp    $0x5,%eax                      <== NOT EXECUTED
  1087a4:	75 1b                	jne    1087c1 <rtems_termios_ioctl+0x8a><== NOT EXECUTED
  1087a6:	e9 0e 02 00 00       	jmp    1089b9 <rtems_termios_ioctl+0x282><== NOT EXECUTED
  1087ab:	3d 1a 74 04 40       	cmp    $0x4004741a,%eax               <== NOT EXECUTED
  1087b0:	0f 84 7e 02 00 00    	je     108a34 <rtems_termios_ioctl+0x2fd><== NOT EXECUTED
  1087b6:	3d 1b 74 04 80       	cmp    $0x8004741b,%eax               <== NOT EXECUTED
  1087bb:	0f 84 21 02 00 00    	je     1089e2 <rtems_termios_ioctl+0x2ab><== NOT EXECUTED
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
  1087c1:	8b 83 cc 00 00 00    	mov    0xcc(%ebx),%eax                <== NOT EXECUTED
  1087c7:	c1 e0 05             	shl    $0x5,%eax                      <== NOT EXECUTED
  1087ca:	8b 80 ac 3d 12 00    	mov    0x123dac(%eax),%eax            <== NOT EXECUTED
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
    }                                                                 
    else {                                                            
      sc = RTEMS_INVALID_NUMBER;                                      
  1087d0:	c7 45 e4 0a 00 00 00 	movl   $0xa,-0x1c(%ebp)               <== NOT EXECUTED
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
  1087d7:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  1087d9:	0f 84 82 02 00 00    	je     108a61 <rtems_termios_ioctl+0x32a><== NOT EXECUTED
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
  1087df:	52                   	push   %edx                           <== NOT EXECUTED
  1087e0:	52                   	push   %edx                           <== NOT EXECUTED
  1087e1:	ff 75 08             	pushl  0x8(%ebp)                      <== NOT EXECUTED
  1087e4:	e9 40 02 00 00       	jmp    108a29 <rtems_termios_ioctl+0x2f2><== NOT EXECUTED
      sc = RTEMS_INVALID_NUMBER;                                      
    }                                                                 
    break;                                                            
                                                                      
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
  1087e9:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  1087ec:	8b 41 08             	mov    0x8(%ecx),%eax                 
  1087ef:	8d 73 30             	lea    0x30(%ebx),%esi                
  1087f2:	b9 09 00 00 00       	mov    $0x9,%ecx                      
  1087f7:	89 c7                	mov    %eax,%edi                      
  1087f9:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
    break;                                                            
  1087fb:	e9 61 02 00 00       	jmp    108a61 <rtems_termios_ioctl+0x32a>
                                                                      
  case RTEMS_IO_SET_ATTRIBUTES:                                       
    tty->termios = *(struct termios *)args->buffer;                   
  108800:	8b 45 08             	mov    0x8(%ebp),%eax                 
  108803:	8b 70 08             	mov    0x8(%eax),%esi                 
  108806:	8d 7b 30             	lea    0x30(%ebx),%edi                
  108809:	b9 09 00 00 00       	mov    $0x9,%ecx                      
  10880e:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
  108810:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  108816:	f6 c4 02             	test   $0x2,%ah                       
  108819:	74 57                	je     108872 <rtems_termios_ioctl+0x13b>
  10881b:	f6 43 31 04          	testb  $0x4,0x31(%ebx)                
  10881f:	75 51                	jne    108872 <rtems_termios_ioctl+0x13b><== ALWAYS TAKEN
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
  108821:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  108827:	25 ef fd ff ff       	and    $0xfffffdef,%eax               <== NOT EXECUTED
  10882c:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
  108832:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  108838:	a8 20                	test   $0x20,%al                      <== NOT EXECUTED
  10883a:	74 36                	je     108872 <rtems_termios_ioctl+0x13b><== NOT EXECUTED
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
  10883c:	9c                   	pushf                                 <== NOT EXECUTED
  10883d:	fa                   	cli                                   <== NOT EXECUTED
  10883e:	5e                   	pop    %esi                           <== NOT EXECUTED
      tty->flow_ctrl &= ~FL_OSTOP;                                    
  10883f:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  108845:	83 e0 df             	and    $0xffffffdf,%eax               <== NOT EXECUTED
  108848:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
  10884e:	83 bb 94 00 00 00 00 	cmpl   $0x0,0x94(%ebx)                <== NOT EXECUTED
  108855:	74 19                	je     108870 <rtems_termios_ioctl+0x139><== NOT EXECUTED
  /* if chars available, call write function... */                    
  (*tty->device.write)(tty->minor,                                    
         &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);              
  108857:	8b 83 84 00 00 00    	mov    0x84(%ebx),%eax                <== 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,                                    
  10885d:	57                   	push   %edi                           <== NOT EXECUTED
  10885e:	6a 01                	push   $0x1                           <== NOT EXECUTED
  108860:	03 43 7c             	add    0x7c(%ebx),%eax                <== NOT EXECUTED
  108863:	50                   	push   %eax                           <== NOT EXECUTED
  108864:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  108867:	ff 93 a4 00 00 00    	call   *0xa4(%ebx)                    <== NOT EXECUTED
  10886d:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
         &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);              
      }                                                               
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
  108870:	56                   	push   %esi                           <== NOT EXECUTED
  108871:	9d                   	popf                                  <== NOT EXECUTED
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) &&                                 
  108872:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  108878:	f6 c4 04             	test   $0x4,%ah                       
  10887b:	74 24                	je     1088a1 <rtems_termios_ioctl+0x16a><== ALWAYS TAKEN
  10887d:	f6 43 31 10          	testb  $0x10,0x31(%ebx)               <== NOT EXECUTED
  108881:	75 1e                	jne    1088a1 <rtems_termios_ioctl+0x16a><== NOT EXECUTED
      !(tty->termios.c_iflag & IXOFF)) {                              
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
  108883:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  108889:	80 e4 fb             	and    $0xfb,%ah                      <== NOT EXECUTED
  10888c:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
  108892:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  108898:	83 e0 fd             	and    $0xfffffffd,%eax               <== NOT EXECUTED
  10889b:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) && !(tty->termios.c_cflag & CRTSCTS)) {
  1088a1:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  1088a7:	f6 c4 01             	test   $0x1,%ah                       
  1088aa:	74 43                	je     1088ef <rtems_termios_ioctl+0x1b8><== ALWAYS TAKEN
  1088ac:	83 7b 38 00          	cmpl   $0x0,0x38(%ebx)                <== NOT EXECUTED
  1088b0:	78 3d                	js     1088ef <rtems_termios_ioctl+0x1b8><== NOT EXECUTED
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
  1088b2:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  1088b8:	80 e4 fe             	and    $0xfe,%ah                      <== NOT EXECUTED
  1088bb:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) && (tty->device.startRemoteTx != NULL)) {
  1088c1:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  1088c7:	a8 04                	test   $0x4,%al                       <== NOT EXECUTED
  1088c9:	74 15                	je     1088e0 <rtems_termios_ioctl+0x1a9><== NOT EXECUTED
  1088cb:	8b 83 b0 00 00 00    	mov    0xb0(%ebx),%eax                <== NOT EXECUTED
  1088d1:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  1088d3:	74 0b                	je     1088e0 <rtems_termios_ioctl+0x1a9><== NOT EXECUTED
      tty->device.startRemoteTx(tty->minor);                          
  1088d5:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1088d8:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  1088db:	ff d0                	call   *%eax                          <== NOT EXECUTED
  1088dd:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
  1088e0:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  1088e6:	83 e0 fb             	and    $0xfffffffb,%eax               <== NOT EXECUTED
  1088e9:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== 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) {                               
  1088ef:	83 7b 38 00          	cmpl   $0x0,0x38(%ebx)                
  1088f3:	79 0f                	jns    108904 <rtems_termios_ioctl+0x1cd><== ALWAYS TAKEN
    tty->flow_ctrl |= FL_MDRTS;                                       
  1088f5:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  1088fb:	80 cc 01             	or     $0x1,%ah                       <== NOT EXECUTED
  1088fe:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
  108904:	8b 53 30             	mov    0x30(%ebx),%edx                
  108907:	f6 c6 10             	test   $0x10,%dh                      
  10890a:	74 0f                	je     10891b <rtems_termios_ioctl+0x1e4><== ALWAYS TAKEN
    tty->flow_ctrl |= FL_MDXOF;                                       
  10890c:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  108912:	80 cc 04             	or     $0x4,%ah                       <== NOT EXECUTED
  108915:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
  10891b:	80 e6 04             	and    $0x4,%dh                       
  10891e:	74 0f                	je     10892f <rtems_termios_ioctl+0x1f8><== NEVER TAKEN
    tty->flow_ctrl |= FL_MDXON;                                       
  108920:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  108926:	80 cc 02             	or     $0x2,%ah                       
  108929:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                
    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) {                              
  10892f:	f6 43 3c 02          	testb  $0x2,0x3c(%ebx)                
  108933:	75 39                	jne    10896e <rtems_termios_ioctl+0x237><== ALWAYS TAKEN
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    }                                                                 
    else {                                                            
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
  108935:	0f b6 73 46          	movzbl 0x46(%ebx),%esi                <== NOT EXECUTED
                    rtems_clock_get_ticks_per_second() / 10;          
  108939:	e8 66 12 00 00       	call   109ba4 <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] *                    
  10893e:	0f af c6             	imul   %esi,%eax                      <== NOT EXECUTED
                    rtems_clock_get_ticks_per_second() / 10;          
  108941:	b9 0a 00 00 00       	mov    $0xa,%ecx                      <== NOT EXECUTED
  108946:	31 d2                	xor    %edx,%edx                      <== NOT EXECUTED
  108948:	f7 f1                	div    %ecx                           <== NOT EXECUTED
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    }                                                                 
    else {                                                            
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
  10894a:	89 43 54             	mov    %eax,0x54(%ebx)                <== NOT EXECUTED
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
  10894d:	80 7b 46 00          	cmpb   $0x0,0x46(%ebx)                <== NOT EXECUTED
  108951:	74 15                	je     108968 <rtems_termios_ioctl+0x231><== NOT EXECUTED
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
  108953:	c7 43 6c 00 00 00 00 	movl   $0x0,0x6c(%ebx)                <== NOT EXECUTED
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
  10895a:	89 43 70             	mov    %eax,0x70(%ebx)                <== NOT EXECUTED
        if (tty->termios.c_cc[VMIN])                                  
  10895d:	80 7b 47 00          	cmpb   $0x0,0x47(%ebx)                <== NOT EXECUTED
  108961:	75 19                	jne    10897c <rtems_termios_ioctl+0x245><== NOT EXECUTED
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
  108963:	89 43 74             	mov    %eax,0x74(%ebx)                <== NOT EXECUTED
  108966:	eb 24                	jmp    10898c <rtems_termios_ioctl+0x255><== NOT EXECUTED
      }                                                               
      else {                                                          
        if (tty->termios.c_cc[VMIN]) {                                
  108968:	80 7b 47 00          	cmpb   $0x0,0x47(%ebx)                <== NOT EXECUTED
  10896c:	74 17                	je     108985 <rtems_termios_ioctl+0x24e><== NOT EXECUTED
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
  10896e:	c7 43 6c 00 00 00 00 	movl   $0x0,0x6c(%ebx)                
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
  108975:	c7 43 70 00 00 00 00 	movl   $0x0,0x70(%ebx)                
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
  10897c:	c7 43 74 00 00 00 00 	movl   $0x0,0x74(%ebx)                
  108983:	eb 07                	jmp    10898c <rtems_termios_ioctl+0x255>
        }                                                             
        else {                                                        
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
  108985:	c7 43 6c 01 00 00 00 	movl   $0x1,0x6c(%ebx)                <== NOT EXECUTED
        }                                                             
      }                                                               
    }                                                                 
    if (tty->device.setAttributes)                                    
  10898c:	8b 83 a8 00 00 00    	mov    0xa8(%ebx),%eax                
  108992:	85 c0                	test   %eax,%eax                      
  108994:	0f 84 c7 00 00 00    	je     108a61 <rtems_termios_ioctl+0x32a><== NEVER TAKEN
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
  10899a:	56                   	push   %esi                           
  10899b:	56                   	push   %esi                           
  10899c:	8d 53 30             	lea    0x30(%ebx),%edx                
  10899f:	52                   	push   %edx                           
  1089a0:	ff 73 10             	pushl  0x10(%ebx)                     
  1089a3:	ff d0                	call   *%eax                          
  1089a5:	83 c4 10             	add    $0x10,%esp                     
  1089a8:	e9 b4 00 00 00       	jmp    108a61 <rtems_termios_ioctl+0x32a>
    break;                                                            
                                                                      
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
  1089ad:	89 d8                	mov    %ebx,%eax                      
  1089af:	e8 64 f7 ff ff       	call   108118 <drainOutput>           
    break;                                                            
  1089b4:	e9 a8 00 00 00       	jmp    108a61 <rtems_termios_ioctl+0x32a>
                                                                      
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
  1089b9:	8b 06                	mov    (%esi),%eax                    <== NOT EXECUTED
  1089bb:	8b 56 04             	mov    0x4(%esi),%edx                 <== NOT EXECUTED
  1089be:	89 83 d4 00 00 00    	mov    %eax,0xd4(%ebx)                <== NOT EXECUTED
  1089c4:	89 93 d8 00 00 00    	mov    %edx,0xd8(%ebx)                <== NOT EXECUTED
    break;                                                            
  1089ca:	e9 92 00 00 00       	jmp    108a61 <rtems_termios_ioctl+0x32a><== NOT EXECUTED
                                                                      
  case RTEMS_IO_RCVWAKEUP:                                            
    tty->tty_rcv = *wakeup;                                           
  1089cf:	8b 06                	mov    (%esi),%eax                    <== NOT EXECUTED
  1089d1:	8b 56 04             	mov    0x4(%esi),%edx                 <== NOT EXECUTED
  1089d4:	89 83 dc 00 00 00    	mov    %eax,0xdc(%ebx)                <== NOT EXECUTED
  1089da:	89 93 e0 00 00 00    	mov    %edx,0xe0(%ebx)                <== NOT EXECUTED
    break;                                                            
  1089e0:	eb 7f                	jmp    108a61 <rtems_termios_ioctl+0x32a><== NOT EXECUTED
#if 1 /* FIXME */                                                     
  case TIOCSETD:                                                      
    /*                                                                
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
  1089e2:	8b 83 cc 00 00 00    	mov    0xcc(%ebx),%eax                <== NOT EXECUTED
  1089e8:	c1 e0 05             	shl    $0x5,%eax                      <== NOT EXECUTED
  1089eb:	8b 80 98 3d 12 00    	mov    0x123d98(%eax),%eax            <== NOT EXECUTED
  1089f1:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  1089f3:	74 0c                	je     108a01 <rtems_termios_ioctl+0x2ca><== NOT EXECUTED
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
  1089f5:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1089f8:	53                   	push   %ebx                           <== NOT EXECUTED
  1089f9:	ff d0                	call   *%eax                          <== NOT EXECUTED
  1089fb:	89 45 e4             	mov    %eax,-0x1c(%ebp)               <== NOT EXECUTED
  1089fe:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
  108a01:	8b 55 08             	mov    0x8(%ebp),%edx                 <== NOT EXECUTED
  108a04:	8b 42 08             	mov    0x8(%edx),%eax                 <== NOT EXECUTED
  108a07:	8b 00                	mov    (%eax),%eax                    <== NOT EXECUTED
  108a09:	89 83 cc 00 00 00    	mov    %eax,0xcc(%ebx)                <== NOT EXECUTED
    tty->t_sc = NULL; /* ensure that no more valid data */            
  108a0f:	c7 83 d0 00 00 00 00 	movl   $0x0,0xd0(%ebx)                <== NOT EXECUTED
  108a16:	00 00 00                                                    
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
  108a19:	c1 e0 05             	shl    $0x5,%eax                      <== NOT EXECUTED
  108a1c:	8b 80 94 3d 12 00    	mov    0x123d94(%eax),%eax            <== NOT EXECUTED
  108a22:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  108a24:	74 3b                	je     108a61 <rtems_termios_ioctl+0x32a><== NOT EXECUTED
      sc = rtems_termios_linesw[tty->t_line].l_open(tty);             
  108a26:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  108a29:	53                   	push   %ebx                           <== NOT EXECUTED
  108a2a:	ff d0                	call   *%eax                          <== NOT EXECUTED
  108a2c:	89 45 e4             	mov    %eax,-0x1c(%ebp)               <== NOT EXECUTED
  108a2f:	e9 71 ff ff ff       	jmp    1089a5 <rtems_termios_ioctl+0x26e><== NOT EXECUTED
    }                                                                 
    break;                                                            
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
  108a34:	8b 4d 08             	mov    0x8(%ebp),%ecx                 <== NOT EXECUTED
  108a37:	8b 41 08             	mov    0x8(%ecx),%eax                 <== NOT EXECUTED
  108a3a:	8b 93 cc 00 00 00    	mov    0xcc(%ebx),%edx                <== NOT EXECUTED
  108a40:	89 10                	mov    %edx,(%eax)                    <== NOT EXECUTED
    break;                                                            
  108a42:	eb 1d                	jmp    108a61 <rtems_termios_ioctl+0x32a><== NOT EXECUTED
#endif                                                                
   case FIONREAD:                                                     
    {                                                                 
    int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;              
  108a44:	8b 43 60             	mov    0x60(%ebx),%eax                <== NOT EXECUTED
  108a47:	8b 53 5c             	mov    0x5c(%ebx),%edx                <== NOT EXECUTED
    if ( rawnc < 0 )                                                  
  108a4a:	29 d0                	sub    %edx,%eax                      <== NOT EXECUTED
  108a4c:	79 05                	jns    108a53 <rtems_termios_ioctl+0x31c><== NOT EXECUTED
      rawnc += tty->rawInBuf.Size;                                    
  108a4e:	8b 53 64             	mov    0x64(%ebx),%edx                <== NOT EXECUTED
  108a51:	01 d0                	add    %edx,%eax                      <== NOT EXECUTED
    /* Half guess that this is the right operation */                 
    *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;         
  108a53:	8b 4d 08             	mov    0x8(%ebp),%ecx                 <== NOT EXECUTED
  108a56:	8b 51 08             	mov    0x8(%ecx),%edx                 <== NOT EXECUTED
  108a59:	03 43 20             	add    0x20(%ebx),%eax                <== NOT EXECUTED
  108a5c:	2b 43 24             	sub    0x24(%ebx),%eax                <== NOT EXECUTED
  108a5f:	89 02                	mov    %eax,(%edx)                    <== NOT EXECUTED
    }                                                                 
    break;                                                            
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
  108a61:	83 ec 0c             	sub    $0xc,%esp                      
  108a64:	ff 73 18             	pushl  0x18(%ebx)                     
  108a67:	e8 64 18 00 00       	call   10a2d0 <rtems_semaphore_release>
  args->ioctl_return = sc;                                            
  108a6c:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  108a6f:	8b 45 08             	mov    0x8(%ebp),%eax                 
  108a72:	89 50 0c             	mov    %edx,0xc(%eax)                 
  return sc;                                                          
  108a75:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  108a78:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  108a7b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108a7e:	5b                   	pop    %ebx                           
  108a7f:	5e                   	pop    %esi                           
  108a80:	5f                   	pop    %edi                           
  108a81:	c9                   	leave                                 
  108a82:	c3                   	ret                                   
                                                                      

00108175 <rtems_termios_open>: rtems_device_major_number major, rtems_device_minor_number minor, void *arg, const rtems_termios_callbacks *callbacks ) {
  108175:	55                   	push   %ebp                           
  108176:	89 e5                	mov    %esp,%ebp                      
  108178:	57                   	push   %edi                           
  108179:	56                   	push   %esi                           
  10817a:	53                   	push   %ebx                           
  10817b:	83 ec 20             	sub    $0x20,%esp                     
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                
  10817e:	6a 00                	push   $0x0                           
  108180:	6a 00                	push   $0x0                           
  108182:	ff 35 dc 40 12 00    	pushl  0x1240dc                       
  108188:	e8 57 20 00 00       	call   10a1e4 <rtems_semaphore_obtain>
  10818d:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
             RTEMS_WAIT, RTEMS_NO_TIMEOUT);                           
  if (sc != RTEMS_SUCCESSFUL)                                         
  108190:	83 c4 10             	add    $0x10,%esp                     
  108193:	85 c0                	test   %eax,%eax                      
  108195:	0f 85 d3 03 00 00    	jne    10856e <rtems_termios_open+0x3f9><== NEVER TAKEN
    return sc;                                                        
  for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) { 
  10819b:	8b 35 e4 40 12 00    	mov    0x1240e4,%esi                  
  1081a1:	89 f2                	mov    %esi,%edx                      
  1081a3:	eb 16                	jmp    1081bb <rtems_termios_open+0x46>
    if ((tty->major == major) && (tty->minor == minor))               
  1081a5:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1081a8:	39 42 0c             	cmp    %eax,0xc(%edx)                 
  1081ab:	75 0c                	jne    1081b9 <rtems_termios_open+0x44>
  1081ad:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  1081b0:	39 4a 10             	cmp    %ecx,0x10(%edx)                
  1081b3:	0f 84 26 03 00 00    	je     1084df <rtems_termios_open+0x36a><== ALWAYS TAKEN
   */                                                                 
  sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                
             RTEMS_WAIT, RTEMS_NO_TIMEOUT);                           
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
  for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) { 
  1081b9:	8b 12                	mov    (%edx),%edx                    
  1081bb:	85 d2                	test   %edx,%edx                      
  1081bd:	75 e6                	jne    1081a5 <rtems_termios_open+0x30>
  1081bf:	e9 b5 03 00 00       	jmp    108579 <rtems_termios_open+0x404>
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
    if (tty == NULL) {                                                
      rtems_semaphore_release (rtems_termios_ttyMutex);               
  1081c4:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1081c7:	eb 30                	jmp    1081f9 <rtems_termios_open+0x84><== NOT EXECUTED
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
  1081c9:	a1 48 1f 12 00       	mov    0x121f48,%eax                  
  1081ce:	89 42 64             	mov    %eax,0x64(%edx)                
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
  1081d1:	8b 42 64             	mov    0x64(%edx),%eax                
  1081d4:	83 ec 0c             	sub    $0xc,%esp                      
  1081d7:	50                   	push   %eax                           
  1081d8:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  1081db:	e8 cc f3 ff ff       	call   1075ac <malloc>                
  1081e0:	89 c7                	mov    %eax,%edi                      
  1081e2:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  1081e5:	89 42 58             	mov    %eax,0x58(%edx)                
    if (tty->rawInBuf.theBuf == NULL) {                               
  1081e8:	83 c4 10             	add    $0x10,%esp                     
  1081eb:	85 c0                	test   %eax,%eax                      
  1081ed:	75 24                	jne    108213 <rtems_termios_open+0x9e><== ALWAYS TAKEN
            free(tty);                                                
  1081ef:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1081f2:	52                   	push   %edx                           <== NOT EXECUTED
  1081f3:	e8 14 f1 ff ff       	call   10730c <free>                  <== NOT EXECUTED
      rtems_semaphore_release (rtems_termios_ttyMutex);               
  1081f8:	5b                   	pop    %ebx                           <== NOT EXECUTED
  1081f9:	ff 35 dc 40 12 00    	pushl  0x1240dc                       <== NOT EXECUTED
  1081ff:	e8 cc 20 00 00       	call   10a2d0 <rtems_semaphore_release><== NOT EXECUTED
      return RTEMS_NO_MEMORY;                                         
  108204:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  108207:	c7 45 e4 1a 00 00 00 	movl   $0x1a,-0x1c(%ebp)              <== NOT EXECUTED
  10820e:	e9 5b 03 00 00       	jmp    10856e <rtems_termios_open+0x3f9><== NOT EXECUTED
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
  108213:	a1 4c 1f 12 00       	mov    0x121f4c,%eax                  
  108218:	89 82 88 00 00 00    	mov    %eax,0x88(%edx)                
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
  10821e:	8b 82 88 00 00 00    	mov    0x88(%edx),%eax                
  108224:	83 ec 0c             	sub    $0xc,%esp                      
  108227:	50                   	push   %eax                           
  108228:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10822b:	e8 7c f3 ff ff       	call   1075ac <malloc>                
  108230:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  108233:	89 42 7c             	mov    %eax,0x7c(%edx)                
    if (tty->rawOutBuf.theBuf == NULL) {                              
  108236:	83 c4 10             	add    $0x10,%esp                     
  108239:	85 c0                	test   %eax,%eax                      
  10823b:	75 05                	jne    108242 <rtems_termios_open+0xcd><== ALWAYS TAKEN
            free((void *)(tty->rawInBuf.theBuf));                     
  10823d:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  108240:	eb 2e                	jmp    108270 <rtems_termios_open+0xfb><== NOT EXECUTED
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
  108242:	83 ec 0c             	sub    $0xc,%esp                      
  108245:	ff 35 44 1f 12 00    	pushl  0x121f44                       
  10824b:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10824e:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  108251:	e8 56 f3 ff ff       	call   1075ac <malloc>                
  108256:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  108259:	89 42 1c             	mov    %eax,0x1c(%edx)                
    if (tty->cbuf == NULL) {                                          
  10825c:	83 c4 10             	add    $0x10,%esp                     
  10825f:	85 c0                	test   %eax,%eax                      
  108261:	8b 4d dc             	mov    -0x24(%ebp),%ecx               
  108264:	75 19                	jne    10827f <rtems_termios_open+0x10a><== ALWAYS TAKEN
            free((void *)(tty->rawOutBuf.theBuf));                    
  108266:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  108269:	51                   	push   %ecx                           <== NOT EXECUTED
  10826a:	e8 9d f0 ff ff       	call   10730c <free>                  <== NOT EXECUTED
            free((void *)(tty->rawInBuf.theBuf));                     
  10826f:	59                   	pop    %ecx                           <== NOT EXECUTED
  108270:	57                   	push   %edi                           <== NOT EXECUTED
  108271:	e8 96 f0 ff ff       	call   10730c <free>                  <== NOT EXECUTED
            free(tty);                                                
  108276:	5a                   	pop    %edx                           <== NOT EXECUTED
  108277:	8b 55 e0             	mov    -0x20(%ebp),%edx               <== NOT EXECUTED
  10827a:	e9 73 ff ff ff       	jmp    1081f2 <rtems_termios_open+0x7d><== NOT EXECUTED
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
  10827f:	c7 82 d4 00 00 00 00 	movl   $0x0,0xd4(%edx)                
  108286:	00 00 00                                                    
    tty->tty_snd.sw_arg = NULL;                                       
  108289:	c7 82 d8 00 00 00 00 	movl   $0x0,0xd8(%edx)                
  108290:	00 00 00                                                    
    tty->tty_rcv.sw_pfn = NULL;                                       
  108293:	c7 82 dc 00 00 00 00 	movl   $0x0,0xdc(%edx)                
  10829a:	00 00 00                                                    
    tty->tty_rcv.sw_arg = NULL;                                       
  10829d:	c7 82 e0 00 00 00 00 	movl   $0x0,0xe0(%edx)                
  1082a4:	00 00 00                                                    
    tty->tty_rcvwakeup  = 0;                                          
  1082a7:	c7 82 e4 00 00 00 00 	movl   $0x0,0xe4(%edx)                
  1082ae:	00 00 00                                                    
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
  1082b1:	89 32                	mov    %esi,(%edx)                    
    tty->back = NULL;                                                 
  1082b3:	c7 42 04 00 00 00 00 	movl   $0x0,0x4(%edx)                 
    if (rtems_termios_ttyHead != NULL)                                
  1082ba:	85 f6                	test   %esi,%esi                      
  1082bc:	74 03                	je     1082c1 <rtems_termios_open+0x14c>
      rtems_termios_ttyHead->back = tty;                              
  1082be:	89 56 04             	mov    %edx,0x4(%esi)                 
    rtems_termios_ttyHead = tty;                                      
  1082c1:	89 1d e4 40 12 00    	mov    %ebx,0x1240e4                  
    if (rtems_termios_ttyTail == NULL)                                
  1082c7:	83 3d e0 40 12 00 00 	cmpl   $0x0,0x1240e0                  
  1082ce:	75 06                	jne    1082d6 <rtems_termios_open+0x161>
      rtems_termios_ttyTail = tty;                                    
  1082d0:	89 1d e0 40 12 00    	mov    %ebx,0x1240e0                  
                                                                      
    tty->minor = minor;                                               
  1082d6:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  1082d9:	89 43 10             	mov    %eax,0x10(%ebx)                
    tty->major = major;                                               
  1082dc:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  1082df:	89 4b 0c             	mov    %ecx,0xc(%ebx)                 
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
  1082e2:	83 ec 0c             	sub    $0xc,%esp                      
  1082e5:	8d 43 14             	lea    0x14(%ebx),%eax                
  1082e8:	50                   	push   %eax                           
  1082e9:	6a 00                	push   $0x0                           
  1082eb:	6a 54                	push   $0x54                          
  1082ed:	6a 01                	push   $0x1                           
      rtems_build_name ('T', 'R', 'i', c),                            
  1082ef:	0f be 05 50 1f 12 00 	movsbl 0x121f50,%eax                  
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
  1082f6:	0d 00 69 52 54       	or     $0x54526900,%eax               
  1082fb:	50                   	push   %eax                           
  1082fc:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  1082ff:	e8 b8 1c 00 00       	call   109fbc <rtems_semaphore_create>
      rtems_build_name ('T', 'R', 'i', c),                            
      1,                                                              
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &tty->isem);                                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
  108304:	83 c4 20             	add    $0x20,%esp                     
  108307:	85 c0                	test   %eax,%eax                      
  108309:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10830c:	0f 85 42 02 00 00    	jne    108554 <rtems_termios_open+0x3df>
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
  108312:	83 ec 0c             	sub    $0xc,%esp                      
  108315:	8d 43 18             	lea    0x18(%ebx),%eax                
  108318:	50                   	push   %eax                           
  108319:	6a 00                	push   $0x0                           
  10831b:	6a 54                	push   $0x54                          
  10831d:	6a 01                	push   $0x1                           
      rtems_build_name ('T', 'R', 'o', c),                            
  10831f:	0f be 05 50 1f 12 00 	movsbl 0x121f50,%eax                  
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &tty->isem);                                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
  108326:	0d 00 6f 52 54       	or     $0x54526f00,%eax               
  10832b:	50                   	push   %eax                           
  10832c:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10832f:	e8 88 1c 00 00       	call   109fbc <rtems_semaphore_create>
      rtems_build_name ('T', 'R', 'o', c),                            
      1,                                                              
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &tty->osem);                                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
  108334:	83 c4 20             	add    $0x20,%esp                     
  108337:	85 c0                	test   %eax,%eax                      
  108339:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10833c:	0f 85 12 02 00 00    	jne    108554 <rtems_termios_open+0x3df>
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
  108342:	83 ec 0c             	sub    $0xc,%esp                      
  108345:	8d 83 8c 00 00 00    	lea    0x8c(%ebx),%eax                
  10834b:	50                   	push   %eax                           
  10834c:	6a 00                	push   $0x0                           
  10834e:	6a 20                	push   $0x20                          
  108350:	6a 00                	push   $0x0                           
      rtems_build_name ('T', 'R', 'x', c),                            
  108352:	0f be 05 50 1f 12 00 	movsbl 0x121f50,%eax                  
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &tty->osem);                                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
  108359:	0d 00 78 52 54       	or     $0x54527800,%eax               
  10835e:	50                   	push   %eax                           
  10835f:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  108362:	e8 55 1c 00 00       	call   109fbc <rtems_semaphore_create>
      rtems_build_name ('T', 'R', 'x', c),                            
      0,                                                              
      RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_FIFO,                     
      RTEMS_NO_PRIORITY,                                              
      &tty->rawOutBuf.Semaphore);                                     
    if (sc != RTEMS_SUCCESSFUL)                                       
  108367:	83 c4 20             	add    $0x20,%esp                     
  10836a:	85 c0                	test   %eax,%eax                      
  10836c:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10836f:	0f 85 df 01 00 00    	jne    108554 <rtems_termios_open+0x3df>
      rtems_fatal_error_occurred (sc);                                
    tty->rawOutBufState = rob_idle;                                   
  108375:	c7 83 94 00 00 00 00 	movl   $0x0,0x94(%ebx)                
  10837c:	00 00 00                                                    
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
  10837f:	8d bb 98 00 00 00    	lea    0x98(%ebx),%edi                
  108385:	b9 08 00 00 00       	mov    $0x8,%ecx                      
  10838a:	8b 75 14             	mov    0x14(%ebp),%esi                
  10838d:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
  10838f:	83 bb b4 00 00 00 02 	cmpl   $0x2,0xb4(%ebx)                
  108396:	75 74                	jne    10840c <rtems_termios_open+0x297>
      sc = rtems_task_create (                                        
  108398:	50                   	push   %eax                           
  108399:	50                   	push   %eax                           
  10839a:	8d 83 c8 00 00 00    	lea    0xc8(%ebx),%eax                
  1083a0:	50                   	push   %eax                           
  1083a1:	6a 00                	push   $0x0                           
  1083a3:	68 00 05 00 00       	push   $0x500                         
  1083a8:	68 00 04 00 00       	push   $0x400                         
  1083ad:	6a 0a                	push   $0xa                           
                                   rtems_build_name ('T', 'x', 'T', c),
  1083af:	0f be 05 50 1f 12 00 	movsbl 0x121f50,%eax                  
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
  1083b6:	0d 00 54 78 54       	or     $0x54785400,%eax               
  1083bb:	50                   	push   %eax                           
  1083bc:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  1083bf:	e8 9c 1f 00 00       	call   10a360 <rtems_task_create>     
           TERMIOS_TXTASK_STACKSIZE,                                  
           RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                    
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->txTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
  1083c4:	83 c4 20             	add    $0x20,%esp                     
  1083c7:	85 c0                	test   %eax,%eax                      
  1083c9:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  1083cc:	0f 85 82 01 00 00    	jne    108554 <rtems_termios_open+0x3df><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
  1083d2:	57                   	push   %edi                           
  1083d3:	57                   	push   %edi                           
  1083d4:	8d 83 c4 00 00 00    	lea    0xc4(%ebx),%eax                
  1083da:	50                   	push   %eax                           
  1083db:	6a 00                	push   $0x0                           
  1083dd:	68 00 05 00 00       	push   $0x500                         
  1083e2:	68 00 04 00 00       	push   $0x400                         
  1083e7:	6a 09                	push   $0x9                           
                                   rtems_build_name ('R', 'x', 'T', c),
  1083e9:	0f be 05 50 1f 12 00 	movsbl 0x121f50,%eax                  
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->txTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
  1083f0:	0d 00 54 78 52       	or     $0x52785400,%eax               
  1083f5:	50                   	push   %eax                           
  1083f6:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  1083f9:	e8 62 1f 00 00       	call   10a360 <rtems_task_create>     
           TERMIOS_RXTASK_STACKSIZE,                                  
           RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                    
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->rxTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
  1083fe:	83 c4 20             	add    $0x20,%esp                     
  108401:	85 c0                	test   %eax,%eax                      
  108403:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  108406:	0f 85 48 01 00 00    	jne    108554 <rtems_termios_open+0x3df><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
  10840c:	83 bb a0 00 00 00 00 	cmpl   $0x0,0xa0(%ebx)                
  108413:	74 09                	je     10841e <rtems_termios_open+0x2a9>
  108415:	83 bb b4 00 00 00 02 	cmpl   $0x2,0xb4(%ebx)                
  10841c:	75 30                	jne    10844e <rtems_termios_open+0x2d9>
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
  10841e:	83 ec 0c             	sub    $0xc,%esp                      
  108421:	8d 43 68             	lea    0x68(%ebx),%eax                
  108424:	50                   	push   %eax                           
  108425:	6a 00                	push   $0x0                           
  108427:	6a 24                	push   $0x24                          
  108429:	6a 00                	push   $0x0                           
        rtems_build_name ('T', 'R', 'r', c),                          
  10842b:	0f be 05 50 1f 12 00 	movsbl 0x121f50,%eax                  
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
  108432:	0d 00 72 52 54       	or     $0x54527200,%eax               
  108437:	50                   	push   %eax                           
  108438:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10843b:	e8 7c 1b 00 00       	call   109fbc <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)                                     
  108440:	83 c4 20             	add    $0x20,%esp                     
  108443:	85 c0                	test   %eax,%eax                      
  108445:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  108448:	0f 85 06 01 00 00    	jne    108554 <rtems_termios_open+0x3df>
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
  10844e:	c7 43 30 02 25 00 00 	movl   $0x2502,0x30(%ebx)             
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
  108455:	c7 43 34 05 18 00 00 	movl   $0x1805,0x34(%ebx)             
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
  10845c:	c7 43 38 bd 08 00 00 	movl   $0x8bd,0x38(%ebx)              
    tty->termios.c_lflag =                                            
  108463:	c7 43 3c 3b 82 00 00 	movl   $0x823b,0x3c(%ebx)             
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
  10846a:	c6 43 41 03          	movb   $0x3,0x41(%ebx)                
    tty->termios.c_cc[VQUIT] = '\034';                                
  10846e:	c6 43 42 1c          	movb   $0x1c,0x42(%ebx)               
    tty->termios.c_cc[VERASE] = '\177';                               
  108472:	c6 43 43 7f          	movb   $0x7f,0x43(%ebx)               
    tty->termios.c_cc[VKILL] = '\025';                                
  108476:	c6 43 44 15          	movb   $0x15,0x44(%ebx)               
    tty->termios.c_cc[VEOF] = '\004';                                 
  10847a:	c6 43 45 04          	movb   $0x4,0x45(%ebx)                
    tty->termios.c_cc[VEOL] = '\000';                                 
  10847e:	c6 43 4c 00          	movb   $0x0,0x4c(%ebx)                
    tty->termios.c_cc[VEOL2] = '\000';                                
  108482:	c6 43 51 00          	movb   $0x0,0x51(%ebx)                
    tty->termios.c_cc[VSTART] = '\021';                               
  108486:	c6 43 49 11          	movb   $0x11,0x49(%ebx)               
    tty->termios.c_cc[VSTOP] = '\023';                                
  10848a:	c6 43 4a 13          	movb   $0x13,0x4a(%ebx)               
    tty->termios.c_cc[VSUSP] = '\032';                                
  10848e:	c6 43 4b 1a          	movb   $0x1a,0x4b(%ebx)               
    tty->termios.c_cc[VREPRINT] = '\022';                             
  108492:	c6 43 4d 12          	movb   $0x12,0x4d(%ebx)               
    tty->termios.c_cc[VDISCARD] = '\017';                             
  108496:	c6 43 4e 0f          	movb   $0xf,0x4e(%ebx)                
    tty->termios.c_cc[VWERASE] = '\027';                              
  10849a:	c6 43 4f 17          	movb   $0x17,0x4f(%ebx)               
    tty->termios.c_cc[VLNEXT] = '\026';                               
  10849e:	c6 43 50 16          	movb   $0x16,0x50(%ebx)               
                                                                      
    /* start with no flow control, clear flow control flags */        
    tty->flow_ctrl = 0;                                               
  1084a2:	c7 83 b8 00 00 00 00 	movl   $0x0,0xb8(%ebx)                
  1084a9:	00 00 00                                                    
    /*                                                                
     * set low/highwater mark for XON/XOFF support                    
     */                                                               
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
  1084ac:	8b 43 64             	mov    0x64(%ebx),%eax                
  1084af:	d1 e8                	shr    %eax                           
  1084b1:	89 83 bc 00 00 00    	mov    %eax,0xbc(%ebx)                
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
  1084b7:	8b 43 64             	mov    0x64(%ebx),%eax                
  1084ba:	8d 04 40             	lea    (%eax,%eax,2),%eax             
  1084bd:	c1 e8 02             	shr    $0x2,%eax                      
  1084c0:	89 83 c0 00 00 00    	mov    %eax,0xc0(%ebx)                
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
  1084c6:	a0 50 1f 12 00       	mov    0x121f50,%al                   
  1084cb:	8d 48 01             	lea    0x1(%eax),%ecx                 
  1084ce:	88 0d 50 1f 12 00    	mov    %cl,0x121f50                   
  1084d4:	3c 7a                	cmp    $0x7a,%al                      
  1084d6:	75 07                	jne    1084df <rtems_termios_open+0x36a><== ALWAYS TAKEN
      c = 'a';                                                        
  1084d8:	c6 05 50 1f 12 00 61 	movb   $0x61,0x121f50                 <== NOT EXECUTED
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
  1084df:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  1084e2:	8b 01                	mov    (%ecx),%eax                    
  1084e4:	89 50 34             	mov    %edx,0x34(%eax)                
  if (!tty->refcount++) {                                             
  1084e7:	8b 42 08             	mov    0x8(%edx),%eax                 
  1084ea:	8d 48 01             	lea    0x1(%eax),%ecx                 
  1084ed:	89 4a 08             	mov    %ecx,0x8(%edx)                 
  1084f0:	85 c0                	test   %eax,%eax                      
  1084f2:	75 69                	jne    10855d <rtems_termios_open+0x3e8>
    if (tty->device.firstOpen)                                        
  1084f4:	8b 82 98 00 00 00    	mov    0x98(%edx),%eax                
  1084fa:	85 c0                	test   %eax,%eax                      
  1084fc:	74 15                	je     108513 <rtems_termios_open+0x39e>
    (*tty->device.firstOpen)(major, minor, arg);                      
  1084fe:	56                   	push   %esi                           
  1084ff:	ff 75 10             	pushl  0x10(%ebp)                     
  108502:	ff 75 0c             	pushl  0xc(%ebp)                      
  108505:	ff 75 08             	pushl  0x8(%ebp)                      
  108508:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10850b:	ff d0                	call   *%eax                          
  10850d:	83 c4 10             	add    $0x10,%esp                     
  108510:	8b 55 e0             	mov    -0x20(%ebp),%edx               
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
  108513:	83 ba b4 00 00 00 02 	cmpl   $0x2,0xb4(%edx)                
  10851a:	75 41                	jne    10855d <rtems_termios_open+0x3e8>
      sc = rtems_task_start(tty->rxTaskId,                            
  10851c:	53                   	push   %ebx                           
  10851d:	52                   	push   %edx                           
  10851e:	68 2f 96 10 00       	push   $0x10962f                      
  108523:	ff b2 c4 00 00 00    	pushl  0xc4(%edx)                     
  108529:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10852c:	e8 a3 20 00 00       	call   10a5d4 <rtems_task_start>      
          rtems_termios_rxdaemon,                                     
          (rtems_task_argument)tty);                                  
      if (sc != RTEMS_SUCCESSFUL)                                     
  108531:	83 c4 10             	add    $0x10,%esp                     
  108534:	85 c0                	test   %eax,%eax                      
  108536:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  108539:	75 19                	jne    108554 <rtems_termios_open+0x3df><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(tty->txTaskId,                            
  10853b:	51                   	push   %ecx                           
  10853c:	52                   	push   %edx                           
  10853d:	68 60 98 10 00       	push   $0x109860                      
  108542:	ff b2 c8 00 00 00    	pushl  0xc8(%edx)                     
  108548:	e8 87 20 00 00       	call   10a5d4 <rtems_task_start>      
          rtems_termios_txdaemon,                                     
          (rtems_task_argument)tty);                                  
      if (sc != RTEMS_SUCCESSFUL)                                     
  10854d:	83 c4 10             	add    $0x10,%esp                     
  108550:	85 c0                	test   %eax,%eax                      
  108552:	74 09                	je     10855d <rtems_termios_open+0x3e8><== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
  108554:	83 ec 0c             	sub    $0xc,%esp                      
  108557:	50                   	push   %eax                           
  108558:	e8 4f 22 00 00       	call   10a7ac <rtems_fatal_error_occurred>
    }                                                                 
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
  10855d:	83 ec 0c             	sub    $0xc,%esp                      
  108560:	ff 35 dc 40 12 00    	pushl  0x1240dc                       
  108566:	e8 65 1d 00 00       	call   10a2d0 <rtems_semaphore_release>
  return RTEMS_SUCCESSFUL;                                            
  10856b:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10856e:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  108571:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108574:	5b                   	pop    %ebx                           
  108575:	5e                   	pop    %esi                           
  108576:	5f                   	pop    %edi                           
  108577:	c9                   	leave                                 
  108578:	c3                   	ret                                   
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
  108579:	52                   	push   %edx                           
  10857a:	52                   	push   %edx                           
  10857b:	68 e8 00 00 00       	push   $0xe8                          
  108580:	6a 01                	push   $0x1                           
  108582:	e8 c9 eb ff ff       	call   107150 <calloc>                
  108587:	89 c2                	mov    %eax,%edx                      
  108589:	89 c3                	mov    %eax,%ebx                      
    if (tty == NULL) {                                                
  10858b:	83 c4 10             	add    $0x10,%esp                     
  10858e:	85 c0                	test   %eax,%eax                      
  108590:	0f 85 33 fc ff ff    	jne    1081c9 <rtems_termios_open+0x54><== ALWAYS TAKEN
  108596:	e9 29 fc ff ff       	jmp    1081c4 <rtems_termios_open+0x4f><== NOT EXECUTED
                                                                      

00108a83 <rtems_termios_puts>: * Send characters to device-specific code */ void rtems_termios_puts ( const void *_buf, int len, struct rtems_termios_tty *tty) {
  108a83:	55                   	push   %ebp                           
  108a84:	89 e5                	mov    %esp,%ebp                      
  108a86:	57                   	push   %edi                           
  108a87:	56                   	push   %esi                           
  108a88:	53                   	push   %ebx                           
  108a89:	83 ec 3c             	sub    $0x3c,%esp                     
  108a8c:	8b 45 08             	mov    0x8(%ebp),%eax                 
  108a8f:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  108a92:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  const unsigned char *buf = _buf;                                    
  108a95:	89 c7                	mov    %eax,%edi                      
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
  108a97:	83 bb b4 00 00 00 00 	cmpl   $0x0,0xb4(%ebx)                
  108a9e:	75 1b                	jne    108abb <rtems_termios_puts+0x38>
    (*tty->device.write)(tty->minor, (void *)buf, len);               
  108aa0:	89 75 10             	mov    %esi,0x10(%ebp)                
  108aa3:	89 45 0c             	mov    %eax,0xc(%ebp)                 
  108aa6:	8b 43 10             	mov    0x10(%ebx),%eax                
  108aa9:	89 45 08             	mov    %eax,0x8(%ebp)                 
  108aac:	8b 83 a4 00 00 00    	mov    0xa4(%ebx),%eax                
      tty->rawOutBufState = rob_busy;                                 
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
  }                                                                   
}                                                                     
  108ab2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108ab5:	5b                   	pop    %ebx                           
  108ab6:	5e                   	pop    %esi                           
  108ab7:	5f                   	pop    %edi                           
  108ab8:	c9                   	leave                                 
  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);               
  108ab9:	ff e0                	jmp    *%eax                          
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  108abb:	8b 83 80 00 00 00    	mov    0x80(%ebx),%eax                
  108ac1:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  while (len) {                                                       
  108ac4:	e9 ca 00 00 00       	jmp    108b93 <rtems_termios_puts+0x110>
     *  len -= ncopy                                                  
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
  108ac9:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  108acc:	40                   	inc    %eax                           
  108acd:	8b 8b 88 00 00 00    	mov    0x88(%ebx),%ecx                
  108ad3:	31 d2                	xor    %edx,%edx                      
  108ad5:	f7 f1                	div    %ecx                           
  108ad7:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  108ada:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
    rtems_interrupt_disable (level);                                  
  108add:	9c                   	pushf                                 
  108ade:	fa                   	cli                                   
  108adf:	8f 45 d4             	popl   -0x2c(%ebp)                    
  108ae2:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  108ae5:	8b 4d c4             	mov    -0x3c(%ebp),%ecx               
    while (newHead == tty->rawOutBuf.Tail) {                          
  108ae8:	eb 35                	jmp    108b1f <rtems_termios_puts+0x9c>
      tty->rawOutBufState = rob_wait;                                 
  108aea:	c7 83 94 00 00 00 02 	movl   $0x2,0x94(%ebx)                
  108af1:	00 00 00                                                    
      rtems_interrupt_enable (level);                                 
  108af4:	52                   	push   %edx                           
  108af5:	9d                   	popf                                  
      sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,          
  108af6:	50                   	push   %eax                           
  108af7:	6a 00                	push   $0x0                           
  108af9:	6a 00                	push   $0x0                           
  108afb:	ff b3 8c 00 00 00    	pushl  0x8c(%ebx)                     
  108b01:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  108b04:	e8 db 16 00 00       	call   10a1e4 <rtems_semaphore_obtain>
              RTEMS_WAIT,                                             
              RTEMS_NO_TIMEOUT);                                      
      if (sc != RTEMS_SUCCESSFUL)                                     
  108b09:	83 c4 10             	add    $0x10,%esp                     
  108b0c:	85 c0                	test   %eax,%eax                      
  108b0e:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  108b11:	74 09                	je     108b1c <rtems_termios_puts+0x99><== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
  108b13:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  108b16:	50                   	push   %eax                           <== NOT EXECUTED
  108b17:	e8 90 1c 00 00       	call   10a7ac <rtems_fatal_error_occurred><== NOT EXECUTED
      rtems_interrupt_disable (level);                                
  108b1c:	9c                   	pushf                                 
  108b1d:	fa                   	cli                                   
  108b1e:	5a                   	pop    %edx                           
     * 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) {                          
  108b1f:	8b 83 84 00 00 00    	mov    0x84(%ebx),%eax                
  108b25:	39 c1                	cmp    %eax,%ecx                      
  108b27:	74 c1                	je     108aea <rtems_termios_puts+0x67>
  108b29:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  108b2c:	89 4d c4             	mov    %ecx,-0x3c(%ebp)               
              RTEMS_NO_TIMEOUT);                                      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;              
  108b2f:	8b 8b 80 00 00 00    	mov    0x80(%ebx),%ecx                
  108b35:	8a 07                	mov    (%edi),%al                     
  108b37:	8b 53 7c             	mov    0x7c(%ebx),%edx                
  108b3a:	88 04 0a             	mov    %al,(%edx,%ecx,1)              
  108b3d:	47                   	inc    %edi                           
    tty->rawOutBuf.Head = newHead;                                    
  108b3e:	8b 4d c4             	mov    -0x3c(%ebp),%ecx               
  108b41:	89 8b 80 00 00 00    	mov    %ecx,0x80(%ebx)                
    if (tty->rawOutBufState == rob_idle) {                            
  108b47:	83 bb 94 00 00 00 00 	cmpl   $0x0,0x94(%ebx)                
  108b4e:	75 3e                	jne    108b8e <rtems_termios_puts+0x10b>
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
  108b50:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  108b56:	a8 10                	test   $0x10,%al                      
  108b58:	75 1b                	jne    108b75 <rtems_termios_puts+0xf2><== NEVER TAKEN
        (*tty->device.write)(tty->minor,                              
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
  108b5a:	8b 83 84 00 00 00    	mov    0x84(%ebx),%eax                
    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,                              
  108b60:	51                   	push   %ecx                           
  108b61:	6a 01                	push   $0x1                           
  108b63:	03 43 7c             	add    0x7c(%ebx),%eax                
  108b66:	50                   	push   %eax                           
  108b67:	ff 73 10             	pushl  0x10(%ebx)                     
  108b6a:	ff 93 a4 00 00 00    	call   *0xa4(%ebx)                    
  108b70:	83 c4 10             	add    $0x10,%esp                     
  108b73:	eb 0f                	jmp    108b84 <rtems_termios_puts+0x101>
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
      }                                                               
      else {                                                          
        /* remember that output has been stopped due to flow ctrl*/   
        tty->flow_ctrl |= FL_OSTOP;                                   
  108b75:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  108b7b:	83 c8 20             	or     $0x20,%eax                     <== NOT EXECUTED
  108b7e:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy;                                 
  108b84:	c7 83 94 00 00 00 01 	movl   $0x1,0x94(%ebx)                
  108b8b:	00 00 00                                                    
    }                                                                 
    rtems_interrupt_enable (level);                                   
  108b8e:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  108b91:	9d                   	popf                                  
    len--;                                                            
  108b92:	4e                   	dec    %esi                           
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, (void *)buf, len);               
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
  108b93:	85 f6                	test   %esi,%esi                      
  108b95:	0f 85 2e ff ff ff    	jne    108ac9 <rtems_termios_puts+0x46>
      tty->rawOutBufState = rob_busy;                                 
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
  }                                                                   
}                                                                     
  108b9b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108b9e:	5b                   	pop    %ebx                           
  108b9f:	5e                   	pop    %esi                           
  108ba0:	5f                   	pop    %edi                           
  108ba1:	c9                   	leave                                 
  108ba2:	c3                   	ret                                   
                                                                      

001090aa <rtems_termios_read>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_termios_read (void *arg) {
  1090aa:	55                   	push   %ebp                           
  1090ab:	89 e5                	mov    %esp,%ebp                      
  1090ad:	57                   	push   %edi                           
  1090ae:	56                   	push   %esi                           
  1090af:	53                   	push   %ebx                           
  1090b0:	83 ec 40             	sub    $0x40,%esp                     
  1090b3:	8b 75 08             	mov    0x8(%ebp),%esi                 
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
  1090b6:	8b 06                	mov    (%esi),%eax                    
  1090b8:	8b 58 34             	mov    0x34(%eax),%ebx                
  uint32_t   count = args->count;                                     
  1090bb:	8b 46 10             	mov    0x10(%esi),%eax                
  1090be:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  char      *buffer = args->buffer;                                   
  1090c1:	8b 46 0c             	mov    0xc(%esi),%eax                 
  1090c4:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  1090c7:	6a 00                	push   $0x0                           
  1090c9:	6a 00                	push   $0x0                           
  1090cb:	ff 73 14             	pushl  0x14(%ebx)                     
  1090ce:	e8 11 11 00 00       	call   10a1e4 <rtems_semaphore_obtain>
  1090d3:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  if (sc != RTEMS_SUCCESSFUL)                                         
  1090d6:	83 c4 10             	add    $0x10,%esp                     
  1090d9:	85 c0                	test   %eax,%eax                      
  1090db:	0f 85 9d 02 00 00    	jne    10937e <rtems_termios_read+0x2d4><== NEVER TAKEN
    return sc;                                                        
  if (rtems_termios_linesw[tty->t_line].l_read != NULL) {             
  1090e1:	8b 83 cc 00 00 00    	mov    0xcc(%ebx),%eax                
  1090e7:	c1 e0 05             	shl    $0x5,%eax                      
  1090ea:	8b 80 9c 3d 12 00    	mov    0x123d9c(%eax),%eax            
  1090f0:	85 c0                	test   %eax,%eax                      
  1090f2:	74 19                	je     10910d <rtems_termios_read+0x63><== ALWAYS TAKEN
    sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);          
  1090f4:	57                   	push   %edi                           <== NOT EXECUTED
  1090f5:	57                   	push   %edi                           <== NOT EXECUTED
  1090f6:	56                   	push   %esi                           <== NOT EXECUTED
  1090f7:	53                   	push   %ebx                           <== NOT EXECUTED
  1090f8:	ff d0                	call   *%eax                          <== NOT EXECUTED
  1090fa:	89 45 dc             	mov    %eax,-0x24(%ebp)               <== NOT EXECUTED
    tty->tty_rcvwakeup = 0;                                           
  1090fd:	c7 83 e4 00 00 00 00 	movl   $0x0,0xe4(%ebx)                <== NOT EXECUTED
  109104:	00 00 00                                                    
    rtems_semaphore_release (tty->isem);                              
  109107:	59                   	pop    %ecx                           <== NOT EXECUTED
  109108:	e9 66 02 00 00       	jmp    109373 <rtems_termios_read+0x2c9><== NOT EXECUTED
    return sc;                                                        
  }                                                                   
  if (tty->cindex == tty->ccount) {                                   
  10910d:	8b 43 20             	mov    0x20(%ebx),%eax                
  109110:	39 43 24             	cmp    %eax,0x24(%ebx)                
  109113:	0f 85 2d 02 00 00    	jne    109346 <rtems_termios_read+0x29c><== NEVER TAKEN
    tty->cindex = tty->ccount = 0;                                    
  109119:	c7 43 20 00 00 00 00 	movl   $0x0,0x20(%ebx)                
  109120:	c7 43 24 00 00 00 00 	movl   $0x0,0x24(%ebx)                
    tty->read_start_column = tty->column;                             
  109127:	8b 43 28             	mov    0x28(%ebx),%eax                
  10912a:	89 43 2c             	mov    %eax,0x2c(%ebx)                
    if (tty->device.pollRead != NULL                                  
  10912d:	83 bb a0 00 00 00 00 	cmpl   $0x0,0xa0(%ebx)                
  109134:	0f 84 c4 00 00 00    	je     1091fe <rtems_termios_read+0x154>
        && tty->device.outputUsesInterrupts == TERMIOS_POLLED)        
  10913a:	83 bb b4 00 00 00 00 	cmpl   $0x0,0xb4(%ebx)                
  109141:	0f 85 b7 00 00 00    	jne    1091fe <rtems_termios_read+0x154>
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
  109147:	f6 43 3c 02          	testb  $0x2,0x3c(%ebx)                
  10914b:	74 35                	je     109182 <rtems_termios_read+0xd8><== NEVER TAKEN
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
  10914d:	83 ec 0c             	sub    $0xc,%esp                      
  109150:	ff 73 10             	pushl  0x10(%ebx)                     
  109153:	ff 93 a0 00 00 00    	call   *0xa0(%ebx)                    
      if (n < 0) {                                                    
  109159:	83 c4 10             	add    $0x10,%esp                     
  10915c:	85 c0                	test   %eax,%eax                      
  10915e:	79 0f                	jns    10916f <rtems_termios_read+0xc5>
        rtems_task_wake_after (1);                                    
  109160:	83 ec 0c             	sub    $0xc,%esp                      
  109163:	6a 01                	push   $0x1                           
  109165:	e8 ce 14 00 00       	call   10a638 <rtems_task_wake_after> 
  10916a:	83 c4 10             	add    $0x10,%esp                     
  10916d:	eb de                	jmp    10914d <rtems_termios_read+0xa3>
      }                                                               
      else {                                                          
        if  (siproc (n, tty))                                         
  10916f:	0f b6 c0             	movzbl %al,%eax                       
  109172:	89 da                	mov    %ebx,%edx                      
  109174:	e8 38 fe ff ff       	call   108fb1 <siproc>                
  109179:	85 c0                	test   %eax,%eax                      
  10917b:	74 d0                	je     10914d <rtems_termios_read+0xa3>
  10917d:	e9 c4 01 00 00       	jmp    109346 <rtems_termios_read+0x29c>
      }                                                               
    }                                                                 
  }                                                                   
  else {                                                              
    rtems_interval then, now;                                         
    then = rtems_clock_get_ticks_since_boot();                        
  109182:	e8 31 0a 00 00       	call   109bb8 <rtems_clock_get_ticks_since_boot><== NOT EXECUTED
  109187:	89 c7                	mov    %eax,%edi                      <== NOT EXECUTED
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
  109189:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10918c:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  10918f:	ff 93 a0 00 00 00    	call   *0xa0(%ebx)                    <== NOT EXECUTED
      if (n < 0) {                                                    
  109195:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  109198:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  10919a:	79 3d                	jns    1091d9 <rtems_termios_read+0x12f><== NOT EXECUTED
        if (tty->termios.c_cc[VMIN]) {                                
  10919c:	80 7b 47 00          	cmpb   $0x0,0x47(%ebx)                <== NOT EXECUTED
  1091a0:	74 0e                	je     1091b0 <rtems_termios_read+0x106><== NOT EXECUTED
          if (tty->termios.c_cc[VTIME] && tty->ccount) {              
  1091a2:	80 7b 46 00          	cmpb   $0x0,0x46(%ebx)                <== NOT EXECUTED
  1091a6:	74 22                	je     1091ca <rtems_termios_read+0x120><== NOT EXECUTED
  1091a8:	83 7b 20 00          	cmpl   $0x0,0x20(%ebx)                <== NOT EXECUTED
  1091ac:	74 1c                	je     1091ca <rtems_termios_read+0x120><== NOT EXECUTED
  1091ae:	eb 0a                	jmp    1091ba <rtems_termios_read+0x110><== NOT EXECUTED
              break;                                                  
            }                                                         
          }                                                           
        }                                                             
        else {                                                        
          if (!tty->termios.c_cc[VTIME])                              
  1091b0:	80 7b 46 00          	cmpb   $0x0,0x46(%ebx)                <== NOT EXECUTED
  1091b4:	0f 84 8c 01 00 00    	je     109346 <rtems_termios_read+0x29c><== NOT EXECUTED
            break;                                                    
          now = rtems_clock_get_ticks_since_boot();                   
  1091ba:	e8 f9 09 00 00       	call   109bb8 <rtems_clock_get_ticks_since_boot><== NOT EXECUTED
          if ((now - then) > tty->vtimeTicks) {                       
  1091bf:	29 f8                	sub    %edi,%eax                      <== NOT EXECUTED
  1091c1:	3b 43 54             	cmp    0x54(%ebx),%eax                <== NOT EXECUTED
  1091c4:	0f 87 7c 01 00 00    	ja     109346 <rtems_termios_read+0x29c><== NOT EXECUTED
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
  1091ca:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1091cd:	6a 01                	push   $0x1                           <== NOT EXECUTED
  1091cf:	e8 64 14 00 00       	call   10a638 <rtems_task_wake_after> <== NOT EXECUTED
  1091d4:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  1091d7:	eb b0                	jmp    109189 <rtems_termios_read+0xdf><== NOT EXECUTED
      }                                                               
      else {                                                          
        siproc (n, tty);                                              
  1091d9:	0f b6 c0             	movzbl %al,%eax                       <== NOT EXECUTED
  1091dc:	89 da                	mov    %ebx,%edx                      <== NOT EXECUTED
  1091de:	e8 ce fd ff ff       	call   108fb1 <siproc>                <== NOT EXECUTED
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
  1091e3:	8a 43 47             	mov    0x47(%ebx),%al                 <== NOT EXECUTED
  1091e6:	0f b6 d0             	movzbl %al,%edx                       <== NOT EXECUTED
  1091e9:	39 53 20             	cmp    %edx,0x20(%ebx)                <== NOT EXECUTED
  1091ec:	0f 8d 54 01 00 00    	jge    109346 <rtems_termios_read+0x29c><== NOT EXECUTED
          break;                                                      
        if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])      
  1091f2:	84 c0                	test   %al,%al                        <== NOT EXECUTED
  1091f4:	74 93                	je     109189 <rtems_termios_read+0xdf><== NOT EXECUTED
  1091f6:	80 7b 46 00          	cmpb   $0x0,0x46(%ebx)                <== NOT EXECUTED
  1091fa:	74 8d                	je     109189 <rtems_termios_read+0xdf><== NOT EXECUTED
  1091fc:	eb 84                	jmp    109182 <rtems_termios_read+0xd8><== 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;        
  1091fe:	8b 53 74             	mov    0x74(%ebx),%edx                
  rtems_status_code sc;                                               
  int               wait = (int)1;                                    
  109201:	bf 01 00 00 00       	mov    $0x1,%edi                      
        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,                            
  109206:	8d 43 49             	lea    0x49(%ebx),%eax                
  109209:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  10920c:	e9 e6 00 00 00       	jmp    1092f7 <rtems_termios_read+0x24d>
    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;        
  109211:	8b 43 5c             	mov    0x5c(%ebx),%eax                
  109214:	8b 4b 64             	mov    0x64(%ebx),%ecx                
  109217:	40                   	inc    %eax                           
  109218:	31 d2                	xor    %edx,%edx                      
  10921a:	f7 f1                	div    %ecx                           
      c = tty->rawInBuf.theBuf[newHead];                              
  10921c:	8b 43 58             	mov    0x58(%ebx),%eax                
  10921f:	8a 04 10             	mov    (%eax,%edx,1),%al              
  109222:	88 45 db             	mov    %al,-0x25(%ebp)                
      tty->rawInBuf.Head = newHead;                                   
  109225:	89 53 5c             	mov    %edx,0x5c(%ebx)                
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
  109228:	8b 43 60             	mov    0x60(%ebx),%eax                
  10922b:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  10922e:	8b 4b 64             	mov    0x64(%ebx),%ecx                
          % tty->rawInBuf.Size)                                       
  109231:	8b 43 64             	mov    0x64(%ebx),%eax                
  109234:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
      c = tty->rawInBuf.theBuf[newHead];                              
      tty->rawInBuf.Head = newHead;                                   
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
  109237:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  10923a:	8d 04 01             	lea    (%ecx,%eax,1),%eax             
  10923d:	29 d0                	sub    %edx,%eax                      
          % tty->rawInBuf.Size)                                       
  10923f:	31 d2                	xor    %edx,%edx                      
  109241:	f7 75 d4             	divl   -0x2c(%ebp)                    
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
      c = tty->rawInBuf.theBuf[newHead];                              
      tty->rawInBuf.Head = newHead;                                   
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
  109244:	3b 93 bc 00 00 00    	cmp    0xbc(%ebx),%edx                
  10924a:	73 74                	jae    1092c0 <rtems_termios_read+0x216><== NEVER TAKEN
          % tty->rawInBuf.Size)                                       
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
  10924c:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  109252:	83 e0 fe             	and    $0xfffffffe,%eax               
  109255:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
  10925b:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  109261:	25 02 02 00 00       	and    $0x202,%eax                    
  109266:	3d 02 02 00 00       	cmp    $0x202,%eax                    
  10926b:	75 24                	jne    109291 <rtems_termios_read+0x1e7><== ALWAYS TAKEN
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
  10926d:	83 bb 94 00 00 00 00 	cmpl   $0x0,0x94(%ebx)                <== NOT EXECUTED
  109274:	74 0a                	je     109280 <rtems_termios_read+0x1d6><== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
  109276:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10927c:	a8 20                	test   $0x20,%al                      <== NOT EXECUTED
  10927e:	74 11                	je     109291 <rtems_termios_read+0x1e7><== NOT EXECUTED
          /* XON should be sent now... */                             
          (*tty->device.write)(tty->minor,                            
  109280:	52                   	push   %edx                           <== NOT EXECUTED
  109281:	6a 01                	push   $0x1                           <== NOT EXECUTED
  109283:	ff 75 d0             	pushl  -0x30(%ebp)                    <== NOT EXECUTED
  109286:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  109289:	ff 93 a4 00 00 00    	call   *0xa4(%ebx)                    <== NOT EXECUTED
  10928f:	eb 2c                	jmp    1092bd <rtems_termios_read+0x213><== NOT EXECUTED
        (void *)&(tty->termios.c_cc[VSTART]),                         
        1);                                                           
        }                                                             
        else if (tty->flow_ctrl & FL_MDRTS) {                         
  109291:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  109297:	f6 c4 01             	test   $0x1,%ah                       
  10929a:	74 24                	je     1092c0 <rtems_termios_read+0x216><== ALWAYS TAKEN
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
  10929c:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  1092a2:	83 e0 fb             	and    $0xfffffffb,%eax               <== NOT EXECUTED
  1092a5:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
  1092ab:	8b 83 b0 00 00 00    	mov    0xb0(%ebx),%eax                <== NOT EXECUTED
  1092b1:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  1092b3:	74 0b                	je     1092c0 <rtems_termios_read+0x216><== NOT EXECUTED
            tty->device.startRemoteTx(tty->minor);                    
  1092b5:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1092b8:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  1092bb:	ff d0                	call   *%eax                          <== NOT EXECUTED
  1092bd:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
  1092c0:	f6 43 3c 02          	testb  $0x2,0x3c(%ebx)                
  1092c4:	74 12                	je     1092d8 <rtems_termios_read+0x22e><== NEVER TAKEN
        if  (siproc (c, tty))                                         
  1092c6:	0f b6 45 db          	movzbl -0x25(%ebp),%eax               
  1092ca:	89 da                	mov    %ebx,%edx                      
  1092cc:	e8 e0 fc ff ff       	call   108fb1 <siproc>                
          wait = 0;                                                   
  1092d1:	85 c0                	test   %eax,%eax                      
  1092d3:	0f 94 c0             	sete   %al                            
  1092d6:	eb 15                	jmp    1092ed <rtems_termios_read+0x243>
      }                                                               
      else {                                                          
        siproc (c, tty);                                              
  1092d8:	0f b6 45 db          	movzbl -0x25(%ebp),%eax               <== NOT EXECUTED
  1092dc:	89 da                	mov    %ebx,%edx                      <== NOT EXECUTED
  1092de:	e8 ce fc ff ff       	call   108fb1 <siproc>                <== NOT EXECUTED
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
  1092e3:	0f b6 43 47          	movzbl 0x47(%ebx),%eax                <== NOT EXECUTED
          wait = 0;                                                   
  1092e7:	39 43 20             	cmp    %eax,0x20(%ebx)                <== NOT EXECUTED
  1092ea:	0f 9c c0             	setl   %al                            <== NOT EXECUTED
  1092ed:	0f b6 c0             	movzbl %al,%eax                       
  1092f0:	f7 d8                	neg    %eax                           
  1092f2:	21 c7                	and    %eax,%edi                      
      }                                                               
      timeout = tty->rawInBufSemaphoreTimeout;                        
  1092f4:	8b 53 70             	mov    0x70(%ebx),%edx                
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
  1092f7:	8b 4b 5c             	mov    0x5c(%ebx),%ecx                
  1092fa:	8b 43 60             	mov    0x60(%ebx),%eax                
  1092fd:	39 c1                	cmp    %eax,%ecx                      
  1092ff:	74 0f                	je     109310 <rtems_termios_read+0x266>
                       (tty->ccount < (CBUFSIZE-1))) {                
  109301:	a1 44 1f 12 00       	mov    0x121f44,%eax                  
  109306:	48                   	dec    %eax                           
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
  109307:	39 43 20             	cmp    %eax,0x20(%ebx)                
  10930a:	0f 8c 01 ff ff ff    	jl     109211 <rtems_termios_read+0x167><== ALWAYS TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * Wait for characters                                            
     */                                                               
    if ( wait ) {                                                     
  109310:	85 ff                	test   %edi,%edi                      
  109312:	74 32                	je     109346 <rtems_termios_read+0x29c>
      sc = rtems_semaphore_obtain (tty->rawInBuf.Semaphore,           
  109314:	50                   	push   %eax                           
  109315:	52                   	push   %edx                           
  109316:	ff 73 6c             	pushl  0x6c(%ebx)                     
  109319:	ff 73 68             	pushl  0x68(%ebx)                     
  10931c:	89 55 cc             	mov    %edx,-0x34(%ebp)               
  10931f:	e8 c0 0e 00 00       	call   10a1e4 <rtems_semaphore_obtain>
        tty->rawInBufSemaphoreOptions,                                
        timeout);                                                     
      if (sc != RTEMS_SUCCESSFUL)                                     
  109324:	83 c4 10             	add    $0x10,%esp                     
  109327:	85 c0                	test   %eax,%eax                      
  109329:	8b 55 cc             	mov    -0x34(%ebp),%edx               
  10932c:	74 c9                	je     1092f7 <rtems_termios_read+0x24d><== ALWAYS TAKEN
  10932e:	eb 16                	jmp    109346 <rtems_termios_read+0x29c><== 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++];                             
  109330:	8b 7b 1c             	mov    0x1c(%ebx),%edi                
  109333:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  109336:	8a 04 07             	mov    (%edi,%eax,1),%al              
  109339:	88 01                	mov    %al,(%ecx)                     
  10933b:	41                   	inc    %ecx                           
  10933c:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10933f:	40                   	inc    %eax                           
  109340:	89 43 24             	mov    %eax,0x24(%ebx)                
    count--;                                                          
  109343:	4a                   	dec    %edx                           
  109344:	eb 06                	jmp    10934c <rtems_termios_read+0x2a2>
  109346:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  109349:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
    else                                                              
      sc = fillBufferQueue (tty);                                     
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
  10934c:	85 d2                	test   %edx,%edx                      
  10934e:	74 0b                	je     10935b <rtems_termios_read+0x2b1><== NEVER TAKEN
  109350:	8b 43 24             	mov    0x24(%ebx),%eax                
  109353:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  109356:	3b 43 20             	cmp    0x20(%ebx),%eax                
  109359:	7c d5                	jl     109330 <rtems_termios_read+0x286>
  10935b:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
  10935e:	8b 46 10             	mov    0x10(%esi),%eax                
  109361:	29 d0                	sub    %edx,%eax                      
  109363:	89 46 18             	mov    %eax,0x18(%esi)                
  tty->tty_rcvwakeup = 0;                                             
  109366:	c7 83 e4 00 00 00 00 	movl   $0x0,0xe4(%ebx)                
  10936d:	00 00 00                                                    
  rtems_semaphore_release (tty->isem);                                
  109370:	83 ec 0c             	sub    $0xc,%esp                      
  109373:	ff 73 14             	pushl  0x14(%ebx)                     
  109376:	e8 55 0f 00 00       	call   10a2d0 <rtems_semaphore_release>
  return sc;                                                          
  10937b:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10937e:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  109381:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109384:	5b                   	pop    %ebx                           
  109385:	5e                   	pop    %esi                           
  109386:	5f                   	pop    %edi                           
  109387:	c9                   	leave                                 
  109388:	c3                   	ret                                   
                                                                      

00109692 <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) {
  109692:	55                   	push   %ebp                           
  109693:	89 e5                	mov    %esp,%ebp                      
  109695:	57                   	push   %edi                           
  109696:	56                   	push   %esi                           
  109697:	53                   	push   %ebx                           
  109698:	83 ec 0c             	sub    $0xc,%esp                      
  10969b:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  int nToSend;                                                        
  rtems_interrupt_level level;                                        
  int len;                                                            
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
  10969e:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  1096a4:	25 03 04 00 00       	and    $0x403,%eax                    
  1096a9:	3d 01 04 00 00       	cmp    $0x401,%eax                    
  1096ae:	75 2c                	jne    1096dc <rtems_termios_refill_transmitter+0x4a><== ALWAYS TAKEN
      == (FL_MDXOF | FL_IREQXOF)) {                                   
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor,                                  
  1096b0:	57                   	push   %edi                           <== NOT EXECUTED
  1096b1:	6a 01                	push   $0x1                           <== NOT EXECUTED
  1096b3:	8d 43 4a             	lea    0x4a(%ebx),%eax                <== NOT EXECUTED
  1096b6:	50                   	push   %eax                           <== NOT EXECUTED
  1096b7:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  1096ba:	ff 93 a4 00 00 00    	call   *0xa4(%ebx)                    <== NOT EXECUTED
        (void *)&(tty->termios.c_cc[VSTOP]), 1);                      
                                                                      
    rtems_interrupt_disable(level);                                   
  1096c0:	9c                   	pushf                                 <== NOT EXECUTED
  1096c1:	fa                   	cli                                   <== NOT EXECUTED
  1096c2:	5a                   	pop    %edx                           <== NOT EXECUTED
    tty->t_dqlen--;                                                   
  1096c3:	ff 8b 90 00 00 00    	decl   0x90(%ebx)                     <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
  1096c9:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  1096cf:	83 c8 02             	or     $0x2,%eax                      <== NOT EXECUTED
  1096d2:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
  1096d8:	52                   	push   %edx                           <== NOT EXECUTED
  1096d9:	9d                   	popf                                  <== NOT EXECUTED
  1096da:	eb 38                	jmp    109714 <rtems_termios_refill_transmitter+0x82><== NOT EXECUTED
                                                                      
    nToSend = 1;                                                      
  }                                                                   
  else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF)) == FL_ISNTXOF) {
  1096dc:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  1096e2:	83 e0 03             	and    $0x3,%eax                      
  1096e5:	83 f8 02             	cmp    $0x2,%eax                      
  1096e8:	75 37                	jne    109721 <rtems_termios_refill_transmitter+0x8f><== 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,                                  
  1096ea:	56                   	push   %esi                           <== NOT EXECUTED
  1096eb:	6a 01                	push   $0x1                           <== NOT EXECUTED
  1096ed:	8d 43 49             	lea    0x49(%ebx),%eax                <== NOT EXECUTED
  1096f0:	50                   	push   %eax                           <== NOT EXECUTED
  1096f1:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  1096f4:	ff 93 a4 00 00 00    	call   *0xa4(%ebx)                    <== NOT EXECUTED
             (void *)&(tty->termios.c_cc[VSTART]), 1);                
                                                                      
    rtems_interrupt_disable(level);                                   
  1096fa:	9c                   	pushf                                 <== NOT EXECUTED
  1096fb:	fa                   	cli                                   <== NOT EXECUTED
  1096fc:	5a                   	pop    %edx                           <== NOT EXECUTED
    tty->t_dqlen--;                                                   
  1096fd:	ff 8b 90 00 00 00    	decl   0x90(%ebx)                     <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
  109703:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  109709:	83 e0 fd             	and    $0xfffffffd,%eax               <== NOT EXECUTED
  10970c:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
  109712:	52                   	push   %edx                           <== NOT EXECUTED
  109713:	9d                   	popf                                  <== NOT EXECUTED
  109714:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
                                                                      
    nToSend = 1;                                                      
  109717:	be 01 00 00 00       	mov    $0x1,%esi                      <== NOT EXECUTED
  10971c:	e9 35 01 00 00       	jmp    109856 <rtems_termios_refill_transmitter+0x1c4><== NOT EXECUTED
  }                                                                   
  else {                                                              
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
  109721:	8b 93 80 00 00 00    	mov    0x80(%ebx),%edx                
  109727:	8b 83 84 00 00 00    	mov    0x84(%ebx),%eax                
  10972d:	39 c2                	cmp    %eax,%edx                      
  10972f:	75 25                	jne    109756 <rtems_termios_refill_transmitter+0xc4>
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
      }                                                               
      return 0;                                                       
  109731:	31 f6                	xor    %esi,%esi                      
  else {                                                              
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
  109733:	83 bb 94 00 00 00 02 	cmpl   $0x2,0x94(%ebx)                
  10973a:	0f 85 16 01 00 00    	jne    109856 <rtems_termios_refill_transmitter+0x1c4><== ALWAYS TAKEN
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
  109740:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  109743:	ff b3 8c 00 00 00    	pushl  0x8c(%ebx)                     <== NOT EXECUTED
  109749:	e8 82 0b 00 00       	call   10a2d0 <rtems_semaphore_release><== NOT EXECUTED
  10974e:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  109751:	e9 00 01 00 00       	jmp    109856 <rtems_termios_refill_transmitter+0x1c4><== NOT EXECUTED
      }                                                               
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
  109756:	9c                   	pushf                                 
  109757:	fa                   	cli                                   
  109758:	58                   	pop    %eax                           
    len = tty->t_dqlen;                                               
  109759:	8b bb 90 00 00 00    	mov    0x90(%ebx),%edi                
    tty->t_dqlen = 0;                                                 
  10975f:	c7 83 90 00 00 00 00 	movl   $0x0,0x90(%ebx)                
  109766:	00 00 00                                                    
    rtems_interrupt_enable(level);                                    
  109769:	50                   	push   %eax                           
  10976a:	9d                   	popf                                  
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
  10976b:	8b 83 84 00 00 00    	mov    0x84(%ebx),%eax                
  109771:	8b 8b 88 00 00 00    	mov    0x88(%ebx),%ecx                
  109777:	8d 04 07             	lea    (%edi,%eax,1),%eax             
  10977a:	31 d2                	xor    %edx,%edx                      
  10977c:	f7 f1                	div    %ecx                           
  10977e:	89 d7                	mov    %edx,%edi                      
    tty->rawOutBuf.Tail = newTail;                                    
  109780:	89 93 84 00 00 00    	mov    %edx,0x84(%ebx)                
    if (tty->rawOutBufState == rob_wait) {                            
  109786:	83 bb 94 00 00 00 02 	cmpl   $0x2,0x94(%ebx)                
  10978d:	75 11                	jne    1097a0 <rtems_termios_refill_transmitter+0x10e>
      /*                                                              
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
  10978f:	83 ec 0c             	sub    $0xc,%esp                      
  109792:	ff b3 8c 00 00 00    	pushl  0x8c(%ebx)                     
  109798:	e8 33 0b 00 00       	call   10a2d0 <rtems_semaphore_release>
  10979d:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
    if (newTail == tty->rawOutBuf.Head) {                             
  1097a0:	8b 83 80 00 00 00    	mov    0x80(%ebx),%eax                
  1097a6:	39 c7                	cmp    %eax,%edi                      
  1097a8:	75 2a                	jne    1097d4 <rtems_termios_refill_transmitter+0x142>
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
  1097aa:	c7 83 94 00 00 00 00 	movl   $0x0,0x94(%ebx)                
  1097b1:	00 00 00                                                    
      nToSend = 0;                                                    
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
  1097b4:	8b 83 d4 00 00 00    	mov    0xd4(%ebx),%eax                
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
      nToSend = 0;                                                    
  1097ba:	31 f6                	xor    %esi,%esi                      
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
  1097bc:	85 c0                	test   %eax,%eax                      
  1097be:	0f 84 8c 00 00 00    	je     109850 <rtems_termios_refill_transmitter+0x1be><== ALWAYS TAKEN
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
  1097c4:	51                   	push   %ecx                           <== NOT EXECUTED
  1097c5:	51                   	push   %ecx                           <== NOT EXECUTED
  1097c6:	ff b3 d8 00 00 00    	pushl  0xd8(%ebx)                     <== NOT EXECUTED
  1097cc:	8d 53 30             	lea    0x30(%ebx),%edx                <== NOT EXECUTED
  1097cf:	52                   	push   %edx                           <== NOT EXECUTED
  1097d0:	ff d0                	call   *%eax                          <== NOT EXECUTED
  1097d2:	eb 79                	jmp    10984d <rtems_termios_refill_transmitter+0x1bb><== NOT EXECUTED
      }                                                               
    }                                                                 
    /* check, whether output should stop due to received XOFF */      
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
  1097d4:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  1097da:	25 10 02 00 00       	and    $0x210,%eax                    
  1097df:	3d 10 02 00 00       	cmp    $0x210,%eax                    
  1097e4:	75 22                	jne    109808 <rtems_termios_refill_transmitter+0x176><== 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);                                 
  1097e6:	9c                   	pushf                                 <== NOT EXECUTED
  1097e7:	fa                   	cli                                   <== NOT EXECUTED
  1097e8:	5a                   	pop    %edx                           <== NOT EXECUTED
      tty->flow_ctrl |= FL_OSTOP;                                     
  1097e9:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  1097ef:	83 c8 20             	or     $0x20,%eax                     <== NOT EXECUTED
  1097f2:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
  1097f8:	c7 83 94 00 00 00 01 	movl   $0x1,0x94(%ebx)                <== NOT EXECUTED
  1097ff:	00 00 00                                                    
      rtems_interrupt_enable(level);                                  
  109802:	52                   	push   %edx                           <== NOT EXECUTED
  109803:	9d                   	popf                                  <== NOT EXECUTED
      nToSend = 0;                                                    
  109804:	31 f6                	xor    %esi,%esi                      <== NOT EXECUTED
  109806:	eb 48                	jmp    109850 <rtems_termios_refill_transmitter+0x1be><== NOT EXECUTED
    }                                                                 
    else {                                                            
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
  109808:	8b 83 80 00 00 00    	mov    0x80(%ebx),%eax                
  10980e:	39 c7                	cmp    %eax,%edi                      
  109810:	76 08                	jbe    10981a <rtems_termios_refill_transmitter+0x188>
        nToSend = tty->rawOutBuf.Size - newTail;                      
  109812:	8b b3 88 00 00 00    	mov    0x88(%ebx),%esi                
  109818:	eb 06                	jmp    109820 <rtems_termios_refill_transmitter+0x18e>
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
  10981a:	8b b3 80 00 00 00    	mov    0x80(%ebx),%esi                
  109820:	29 fe                	sub    %edi,%esi                      
      /* 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)) {                   
  109822:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  109828:	f6 c4 06             	test   $0x6,%ah                       
  10982b:	74 05                	je     109832 <rtems_termios_refill_transmitter+0x1a0>
        nToSend = 1;                                                  
  10982d:	be 01 00 00 00       	mov    $0x1,%esi                      
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
  109832:	c7 83 94 00 00 00 01 	movl   $0x1,0x94(%ebx)                
  109839:	00 00 00                                                    
      (*tty->device.write)(tty->minor,                                
  10983c:	52                   	push   %edx                           
  10983d:	56                   	push   %esi                           
  10983e:	8b 43 7c             	mov    0x7c(%ebx),%eax                
  109841:	01 f8                	add    %edi,%eax                      
  109843:	50                   	push   %eax                           
  109844:	ff 73 10             	pushl  0x10(%ebx)                     
  109847:	ff 93 a4 00 00 00    	call   *0xa4(%ebx)                    
  10984d:	83 c4 10             	add    $0x10,%esp                     
         &tty->rawOutBuf.theBuf[newTail],                             
         nToSend);                                                    
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  109850:	89 bb 84 00 00 00    	mov    %edi,0x84(%ebx)                
  }                                                                   
  return nToSend;                                                     
}                                                                     
  109856:	89 f0                	mov    %esi,%eax                      
  109858:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10985b:	5b                   	pop    %ebx                           
  10985c:	5e                   	pop    %esi                           
  10985d:	5f                   	pop    %edi                           
  10985e:	c9                   	leave                                 
  10985f:	c3                   	ret                                   
                                                                      

0010962f <rtems_termios_rxdaemon>: /* * this task actually processes any receive events */ static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument) {
  10962f:	55                   	push   %ebp                           
  109630:	89 e5                	mov    %esp,%ebp                      
  109632:	57                   	push   %edi                           
  109633:	56                   	push   %esi                           
  109634:	53                   	push   %ebx                           
  109635:	83 ec 1c             	sub    $0x1c,%esp                     
  109638:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  char c_buf;                                                         
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive((TERMIOS_RX_PROC_EVENT |                      
  10963b:	8d 7d e0             	lea    -0x20(%ebp),%edi               
      if (c != EOF) {                                                 
        /*                                                            
         * pollRead did call enqueue on its own                       
         */                                                           
        c_buf = c;                                                    
        rtems_termios_enqueue_raw_characters (                        
  10963e:	8d 75 e7             	lea    -0x19(%ebp),%esi               
  char c_buf;                                                         
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive((TERMIOS_RX_PROC_EVENT |                      
  109641:	57                   	push   %edi                           
  109642:	6a 00                	push   $0x0                           
  109644:	6a 02                	push   $0x2                           
  109646:	6a 03                	push   $0x3                           
  109648:	e8 cf 05 00 00       	call   109c1c <rtems_event_receive>   
             TERMIOS_RX_TERMINATE_EVENT),                             
            RTEMS_EVENT_ANY | RTEMS_WAIT,                             
            RTEMS_NO_TIMEOUT,                                         
            &the_event);                                              
    if ((the_event & TERMIOS_RX_TERMINATE_EVENT) != 0) {              
  10964d:	83 c4 10             	add    $0x10,%esp                     
  109650:	f6 45 e0 01          	testb  $0x1,-0x20(%ebp)               
  109654:	74 16                	je     10966c <rtems_termios_rxdaemon+0x3d><== ALWAYS TAKEN
      tty->rxTaskId = 0;                                              
  109656:	c7 83 c4 00 00 00 00 	movl   $0x0,0xc4(%ebx)                <== NOT EXECUTED
  10965d:	00 00 00                                                    
      rtems_task_delete(RTEMS_SELF);                                  
  109660:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  109663:	6a 00                	push   $0x0                           <== NOT EXECUTED
  109665:	e8 2e 0e 00 00       	call   10a498 <rtems_task_delete>     <== NOT EXECUTED
  10966a:	eb 21                	jmp    10968d <rtems_termios_rxdaemon+0x5e><== NOT EXECUTED
    }                                                                 
    else {                                                            
      /*                                                              
       * do something                                                 
       */                                                             
      c = tty->device.pollRead(tty->minor);                           
  10966c:	83 ec 0c             	sub    $0xc,%esp                      
  10966f:	ff 73 10             	pushl  0x10(%ebx)                     
  109672:	ff 93 a0 00 00 00    	call   *0xa0(%ebx)                    
      if (c != EOF) {                                                 
  109678:	83 c4 10             	add    $0x10,%esp                     
  10967b:	83 f8 ff             	cmp    $0xffffffff,%eax               
  10967e:	74 c1                	je     109641 <rtems_termios_rxdaemon+0x12>
        /*                                                            
         * pollRead did call enqueue on its own                       
         */                                                           
        c_buf = c;                                                    
  109680:	88 45 e7             	mov    %al,-0x19(%ebp)                
        rtems_termios_enqueue_raw_characters (                        
  109683:	50                   	push   %eax                           
  109684:	6a 01                	push   $0x1                           
  109686:	56                   	push   %esi                           
  109687:	53                   	push   %ebx                           
  109688:	e8 17 fd ff ff       	call   1093a4 <rtems_termios_enqueue_raw_characters>
  10968d:	83 c4 10             	add    $0x10,%esp                     
  109690:	eb af                	jmp    109641 <rtems_termios_rxdaemon+0x12>
                                                                      

00109860 <rtems_termios_txdaemon>: /* * this task actually processes any transmit events */ static rtems_task rtems_termios_txdaemon(rtems_task_argument argument) {
  109860:	55                   	push   %ebp                           
  109861:	89 e5                	mov    %esp,%ebp                      
  109863:	56                   	push   %esi                           
  109864:	53                   	push   %ebx                           
  109865:	83 ec 10             	sub    $0x10,%esp                     
  109868:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive((TERMIOS_TX_START_EVENT |                     
  10986b:	8d 75 f4             	lea    -0xc(%ebp),%esi                
  10986e:	56                   	push   %esi                           
  10986f:	6a 00                	push   $0x0                           
  109871:	6a 02                	push   $0x2                           
  109873:	6a 03                	push   $0x3                           
  109875:	e8 a2 03 00 00       	call   109c1c <rtems_event_receive>   
             TERMIOS_TX_TERMINATE_EVENT),                             
            RTEMS_EVENT_ANY | RTEMS_WAIT,                             
            RTEMS_NO_TIMEOUT,                                         
            &the_event);                                              
    if ((the_event & TERMIOS_TX_TERMINATE_EVENT) != 0) {              
  10987a:	83 c4 10             	add    $0x10,%esp                     
  10987d:	f6 45 f4 01          	testb  $0x1,-0xc(%ebp)                
  109881:	74 16                	je     109899 <rtems_termios_txdaemon+0x39><== ALWAYS TAKEN
      tty->txTaskId = 0;                                              
  109883:	c7 83 c8 00 00 00 00 	movl   $0x0,0xc8(%ebx)                <== NOT EXECUTED
  10988a:	00 00 00                                                    
      rtems_task_delete(RTEMS_SELF);                                  
  10988d:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  109890:	6a 00                	push   $0x0                           <== NOT EXECUTED
  109892:	e8 01 0c 00 00       	call   10a498 <rtems_task_delete>     <== NOT EXECUTED
  109897:	eb 25                	jmp    1098be <rtems_termios_txdaemon+0x5e><== NOT EXECUTED
    }                                                                 
    else {                                                            
      /*                                                              
       * call any line discipline start function                      
       */                                                             
      if (rtems_termios_linesw[tty->t_line].l_start != NULL) {        
  109899:	8b 83 cc 00 00 00    	mov    0xcc(%ebx),%eax                
  10989f:	c1 e0 05             	shl    $0x5,%eax                      
  1098a2:	8b 80 a8 3d 12 00    	mov    0x123da8(%eax),%eax            
  1098a8:	85 c0                	test   %eax,%eax                      
  1098aa:	74 09                	je     1098b5 <rtems_termios_txdaemon+0x55><== ALWAYS TAKEN
        rtems_termios_linesw[tty->t_line].l_start(tty);               
  1098ac:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1098af:	53                   	push   %ebx                           <== NOT EXECUTED
  1098b0:	ff d0                	call   *%eax                          <== NOT EXECUTED
  1098b2:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
      }                                                               
      /*                                                              
       * try to push further characters to device                     
       */                                                             
      rtems_termios_refill_transmitter(tty);                          
  1098b5:	83 ec 0c             	sub    $0xc,%esp                      
  1098b8:	53                   	push   %ebx                           
  1098b9:	e8 d4 fd ff ff       	call   109692 <rtems_termios_refill_transmitter>
  1098be:	83 c4 10             	add    $0x10,%esp                     
  1098c1:	eb ab                	jmp    10986e <rtems_termios_txdaemon+0xe>
                                                                      

00109003 <rtems_termios_write>: rtems_termios_puts (&c, 1, tty); } rtems_status_code rtems_termios_write (void *arg) {
  109003:	55                   	push   %ebp                           
  109004:	89 e5                	mov    %esp,%ebp                      
  109006:	57                   	push   %edi                           
  109007:	56                   	push   %esi                           
  109008:	53                   	push   %ebx                           
  109009:	83 ec 20             	sub    $0x20,%esp                     
  10900c:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
  10900f:	8b 03                	mov    (%ebx),%eax                    
  109011:	8b 70 34             	mov    0x34(%eax),%esi                
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  109014:	6a 00                	push   $0x0                           
  109016:	6a 00                	push   $0x0                           
  109018:	ff 76 18             	pushl  0x18(%esi)                     
  10901b:	e8 c4 11 00 00       	call   10a1e4 <rtems_semaphore_obtain>
  109020:	89 c7                	mov    %eax,%edi                      
  if (sc != RTEMS_SUCCESSFUL)                                         
  109022:	83 c4 10             	add    $0x10,%esp                     
  109025:	85 c0                	test   %eax,%eax                      
  109027:	75 77                	jne    1090a0 <rtems_termios_write+0x9d><== NEVER TAKEN
    return sc;                                                        
  if (rtems_termios_linesw[tty->t_line].l_write != NULL) {            
  109029:	8b 86 cc 00 00 00    	mov    0xcc(%esi),%eax                
  10902f:	c1 e0 05             	shl    $0x5,%eax                      
  109032:	8b 80 a0 3d 12 00    	mov    0x123da0(%eax),%eax            
  109038:	85 c0                	test   %eax,%eax                      
  10903a:	74 0b                	je     109047 <rtems_termios_write+0x44><== ALWAYS TAKEN
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
  10903c:	57                   	push   %edi                           <== NOT EXECUTED
  10903d:	57                   	push   %edi                           <== NOT EXECUTED
  10903e:	53                   	push   %ebx                           <== NOT EXECUTED
  10903f:	56                   	push   %esi                           <== NOT EXECUTED
  109040:	ff d0                	call   *%eax                          <== NOT EXECUTED
  109042:	89 c7                	mov    %eax,%edi                      <== NOT EXECUTED
    rtems_semaphore_release (tty->osem);                              
  109044:	5b                   	pop    %ebx                           <== NOT EXECUTED
  109045:	eb 4e                	jmp    109095 <rtems_termios_write+0x92><== NOT EXECUTED
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
  109047:	f6 46 34 01          	testb  $0x1,0x34(%esi)                
  10904b:	74 2f                	je     10907c <rtems_termios_write+0x79><== NEVER TAKEN
    uint32_t   count = args->count;                                   
  10904d:	8b 4b 10             	mov    0x10(%ebx),%ecx                
    char      *buffer = args->buffer;                                 
  109050:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  109053:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
    while (count--)                                                   
  109056:	eb 18                	jmp    109070 <rtems_termios_write+0x6d>
      oproc (*buffer++, tty);                                         
  109058:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10905b:	0f b6 02             	movzbl (%edx),%eax                    
  10905e:	42                   	inc    %edx                           
  10905f:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  109062:	89 f2                	mov    %esi,%edx                      
  109064:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  109067:	e8 37 fb ff ff       	call   108ba3 <oproc>                 
  10906c:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  10906f:	49                   	dec    %ecx                           
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
  109070:	85 c9                	test   %ecx,%ecx                      
  109072:	75 e4                	jne    109058 <rtems_termios_write+0x55>
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  109074:	8b 43 10             	mov    0x10(%ebx),%eax                
  109077:	89 43 18             	mov    %eax,0x18(%ebx)                
  10907a:	eb 16                	jmp    109092 <rtems_termios_write+0x8f>
  }                                                                   
  else {                                                              
    rtems_termios_puts (args->buffer, args->count, tty);              
  10907c:	51                   	push   %ecx                           <== NOT EXECUTED
  10907d:	56                   	push   %esi                           <== NOT EXECUTED
  10907e:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  109081:	ff 73 0c             	pushl  0xc(%ebx)                      <== NOT EXECUTED
  109084:	e8 fa f9 ff ff       	call   108a83 <rtems_termios_puts>    <== NOT EXECUTED
    args->bytes_moved = args->count;                                  
  109089:	8b 43 10             	mov    0x10(%ebx),%eax                <== NOT EXECUTED
  10908c:	89 43 18             	mov    %eax,0x18(%ebx)                <== NOT EXECUTED
  10908f:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
  109092:	83 ec 0c             	sub    $0xc,%esp                      
  109095:	ff 76 18             	pushl  0x18(%esi)                     
  109098:	e8 33 12 00 00       	call   10a2d0 <rtems_semaphore_release>
  return sc;                                                          
  10909d:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  1090a0:	89 f8                	mov    %edi,%eax                      
  1090a2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1090a5:	5b                   	pop    %ebx                           
  1090a6:	5e                   	pop    %esi                           
  1090a7:	5f                   	pop    %edi                           
  1090a8:	c9                   	leave                                 
  1090a9:	c3                   	ret                                   
                                                                      

001164b4 <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
  1164b4:	55                   	push   %ebp                           
  1164b5:	89 e5                	mov    %esp,%ebp                      
  1164b7:	83 ec 1c             	sub    $0x1c,%esp                     
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  1164ba:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
    _Objects_Get( &_Timer_Information, id, location );                
  1164bd:	50                   	push   %eax                           
  1164be:	ff 75 08             	pushl  0x8(%ebp)                      
  1164c1:	68 04 ef 13 00       	push   $0x13ef04                      
  1164c6:	e8 3d 27 00 00       	call   118c08 <_Objects_Get>          
  switch ( location ) {                                               
  1164cb:	83 c4 10             	add    $0x10,%esp                     
  1164ce:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)                
  1164d2:	75 1e                	jne    1164f2 <rtems_timer_cancel+0x3e>
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
  1164d4:	83 78 38 04          	cmpl   $0x4,0x38(%eax)                
  1164d8:	74 0f                	je     1164e9 <rtems_timer_cancel+0x35><== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
  1164da:	83 ec 0c             	sub    $0xc,%esp                      
  1164dd:	83 c0 10             	add    $0x10,%eax                     
  1164e0:	50                   	push   %eax                           
  1164e1:	e8 3e 41 00 00       	call   11a624 <_Watchdog_Remove>      
  1164e6:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Enable_dispatch();                                      
  1164e9:	e8 f4 2e 00 00       	call   1193e2 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  1164ee:	31 c0                	xor    %eax,%eax                      
  1164f0:	eb 05                	jmp    1164f7 <rtems_timer_cancel+0x43>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  1164f2:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  1164f7:	c9                   	leave                                 
  1164f8:	c3                   	ret                                   
                                                                      

00116914 <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
  116914:	55                   	push   %ebp                           
  116915:	89 e5                	mov    %esp,%ebp                      
  116917:	57                   	push   %edi                           
  116918:	56                   	push   %esi                           
  116919:	53                   	push   %ebx                           
  11691a:	83 ec 1c             	sub    $0x1c,%esp                     
  11691d:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
  116920:	8b 35 44 ef 13 00    	mov    0x13ef44,%esi                  
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
  116926:	bb 0e 00 00 00       	mov    $0xe,%ebx                      
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
  11692b:	85 f6                	test   %esi,%esi                      
  11692d:	0f 84 b1 00 00 00    	je     1169e4 <rtems_timer_server_fire_when+0xd0>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
  116933:	b3 0b                	mov    $0xb,%bl                       
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
  116935:	80 3d cc e5 13 00 00 	cmpb   $0x0,0x13e5cc                  
  11693c:	0f 84 a2 00 00 00    	je     1169e4 <rtems_timer_server_fire_when+0xd0><== NEVER TAKEN
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
  116942:	b3 09                	mov    $0x9,%bl                       
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
  116944:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  116948:	0f 84 96 00 00 00    	je     1169e4 <rtems_timer_server_fire_when+0xd0>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
  11694e:	83 ec 0c             	sub    $0xc,%esp                      
  116951:	57                   	push   %edi                           
  116952:	e8 99 d6 ff ff       	call   113ff0 <_TOD_Validate>         
  116957:	83 c4 10             	add    $0x10,%esp                     
    return RTEMS_INVALID_CLOCK;                                       
  11695a:	b3 14                	mov    $0x14,%bl                      
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
  11695c:	84 c0                	test   %al,%al                        
  11695e:	0f 84 80 00 00 00    	je     1169e4 <rtems_timer_server_fire_when+0xd0>
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
  116964:	83 ec 0c             	sub    $0xc,%esp                      
  116967:	57                   	push   %edi                           
  116968:	e8 1b d6 ff ff       	call   113f88 <_TOD_To_seconds>       
  11696d:	89 c7                	mov    %eax,%edi                      
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
  11696f:	83 c4 10             	add    $0x10,%esp                     
  116972:	3b 05 44 e6 13 00    	cmp    0x13e644,%eax                  
  116978:	76 6a                	jbe    1169e4 <rtems_timer_server_fire_when+0xd0>
  11697a:	51                   	push   %ecx                           
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  11697b:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  11697e:	50                   	push   %eax                           
  11697f:	ff 75 08             	pushl  0x8(%ebp)                      
  116982:	68 04 ef 13 00       	push   $0x13ef04                      
  116987:	e8 7c 22 00 00       	call   118c08 <_Objects_Get>          
  11698c:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  11698e:	83 c4 10             	add    $0x10,%esp                     
  116991:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  116995:	75 48                	jne    1169df <rtems_timer_server_fire_when+0xcb>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
  116997:	83 ec 0c             	sub    $0xc,%esp                      
  11699a:	8d 40 10             	lea    0x10(%eax),%eax                
  11699d:	50                   	push   %eax                           
  11699e:	e8 81 3c 00 00       	call   11a624 <_Watchdog_Remove>      
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
  1169a3:	c7 43 38 03 00 00 00 	movl   $0x3,0x38(%ebx)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  1169aa:	c7 43 18 00 00 00 00 	movl   $0x0,0x18(%ebx)                
  the_watchdog->routine   = routine;                                  
  1169b1:	8b 45 10             	mov    0x10(%ebp),%eax                
  1169b4:	89 43 2c             	mov    %eax,0x2c(%ebx)                
  the_watchdog->id        = id;                                       
  1169b7:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1169ba:	89 43 30             	mov    %eax,0x30(%ebx)                
  the_watchdog->user_data = user_data;                                
  1169bd:	8b 45 14             	mov    0x14(%ebp),%eax                
  1169c0:	89 43 34             	mov    %eax,0x34(%ebx)                
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
  1169c3:	2b 3d 44 e6 13 00    	sub    0x13e644,%edi                  
  1169c9:	89 7b 1c             	mov    %edi,0x1c(%ebx)                
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
  1169cc:	58                   	pop    %eax                           
  1169cd:	5a                   	pop    %edx                           
  1169ce:	53                   	push   %ebx                           
  1169cf:	56                   	push   %esi                           
  1169d0:	ff 56 04             	call   *0x4(%esi)                     
                                                                      
      _Thread_Enable_dispatch();                                      
  1169d3:	e8 0a 2a 00 00       	call   1193e2 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  1169d8:	83 c4 10             	add    $0x10,%esp                     
  1169db:	31 db                	xor    %ebx,%ebx                      
  1169dd:	eb 05                	jmp    1169e4 <rtems_timer_server_fire_when+0xd0>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  1169df:	bb 04 00 00 00       	mov    $0x4,%ebx                      
}                                                                     
  1169e4:	89 d8                	mov    %ebx,%eax                      
  1169e6:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1169e9:	5b                   	pop    %ebx                           
  1169ea:	5e                   	pop    %esi                           
  1169eb:	5f                   	pop    %edi                           
  1169ec:	c9                   	leave                                 
  1169ed:	c3                   	ret                                   
                                                                      

0010b0c9 <rtems_verror>: static int rtems_verror( rtems_error_code_t error_flag, const char *printf_format, va_list arglist ) {
  10b0c9:	55                   	push   %ebp                           
  10b0ca:	89 e5                	mov    %esp,%ebp                      
  10b0cc:	57                   	push   %edi                           
  10b0cd:	56                   	push   %esi                           
  10b0ce:	53                   	push   %ebx                           
  10b0cf:	83 ec 1c             	sub    $0x1c,%esp                     
  10b0d2:	89 c3                	mov    %eax,%ebx                      
  10b0d4:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10b0d7:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  int               local_errno = 0;                                  
  int               chars_written = 0;                                
  rtems_status_code status;                                           
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
  10b0da:	a9 00 00 00 20       	test   $0x20000000,%eax               
  10b0df:	74 2c                	je     10b10d <rtems_verror+0x44>     
    if (rtems_panic_in_progress++)                                    
  10b0e1:	a1 08 a2 12 00       	mov    0x12a208,%eax                  
  10b0e6:	8d 50 01             	lea    0x1(%eax),%edx                 
  10b0e9:	89 15 08 a2 12 00    	mov    %edx,0x12a208                  
  10b0ef:	85 c0                	test   %eax,%eax                      
  10b0f1:	74 0b                	je     10b0fe <rtems_verror+0x35>     <== ALWAYS TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10b0f3:	a1 58 a3 12 00       	mov    0x12a358,%eax                  <== NOT EXECUTED
  10b0f8:	40                   	inc    %eax                           <== NOT EXECUTED
  10b0f9:	a3 58 a3 12 00       	mov    %eax,0x12a358                  <== NOT EXECUTED
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
      return 0;                                                       
  10b0fe:	31 f6                	xor    %esi,%esi                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
    if (rtems_panic_in_progress++)                                    
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
  10b100:	83 3d 08 a2 12 00 02 	cmpl   $0x2,0x12a208                  
  10b107:	0f 8f da 00 00 00    	jg     10b1e7 <rtems_verror+0x11e>    <== NEVER TAKEN
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
  10b10d:	83 ec 0c             	sub    $0xc,%esp                      
  10b110:	a1 a0 80 12 00       	mov    0x1280a0,%eax                  
  10b115:	ff 70 08             	pushl  0x8(%eax)                      
  10b118:	e8 53 ac 00 00       	call   115d70 <fflush>                
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  10b11d:	89 df                	mov    %ebx,%edi                      
  10b11f:	81 e7 ff ff ff 8f    	and    $0x8fffffff,%edi               
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
  10b125:	83 c4 10             	add    $0x10,%esp                     
  rtems_error_code_t  error_flag,                                     
  const char         *printf_format,                                  
  va_list             arglist                                         
)                                                                     
{                                                                     
  int               local_errno = 0;                                  
  10b128:	31 f6                	xor    %esi,%esi                      
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
  10b12a:	81 e3 00 00 00 40    	and    $0x40000000,%ebx               
  10b130:	74 07                	je     10b139 <rtems_verror+0x70>     
    local_errno = errno;                                              
  10b132:	e8 a1 a8 00 00       	call   1159d8 <__errno>               
  10b137:	8b 30                	mov    (%eax),%esi                    
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
  10b139:	53                   	push   %ebx                           
  10b13a:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b13d:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10b140:	a1 a0 80 12 00       	mov    0x1280a0,%eax                  
  10b145:	ff 70 0c             	pushl  0xc(%eax)                      
  10b148:	e8 9f 09 01 00       	call   11baec <vfprintf>              
  10b14d:	89 c3                	mov    %eax,%ebx                      
                                                                      
  if (status)                                                         
  10b14f:	83 c4 10             	add    $0x10,%esp                     
  10b152:	85 ff                	test   %edi,%edi                      
  10b154:	74 24                	je     10b17a <rtems_verror+0xb1>     
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
  10b156:	83 ec 0c             	sub    $0xc,%esp                      
  10b159:	57                   	push   %edi                           
  10b15a:	e8 55 ff ff ff       	call   10b0b4 <rtems_status_text>     
  10b15f:	83 c4 0c             	add    $0xc,%esp                      
  10b162:	50                   	push   %eax                           
  10b163:	68 7f 3d 12 00       	push   $0x123d7f                      
  10b168:	a1 a0 80 12 00       	mov    0x1280a0,%eax                  
  10b16d:	ff 70 0c             	pushl  0xc(%eax)                      
  10b170:	e8 ef af 00 00       	call   116164 <fprintf>               
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
  10b175:	01 c3                	add    %eax,%ebx                      
  10b177:	83 c4 10             	add    $0x10,%esp                     
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
  10b17a:	83 fe 00             	cmp    $0x0,%esi                      
  10b17d:	74 40                	je     10b1bf <rtems_verror+0xf6>     
    if ((local_errno > 0) && *strerror(local_errno))                  
  10b17f:	7e 25                	jle    10b1a6 <rtems_verror+0xdd>     
  10b181:	83 ec 0c             	sub    $0xc,%esp                      
  10b184:	56                   	push   %esi                           
  10b185:	e8 7e b7 00 00       	call   116908 <strerror>              
  10b18a:	83 c4 10             	add    $0x10,%esp                     
  10b18d:	80 38 00             	cmpb   $0x0,(%eax)                    
  10b190:	74 14                	je     10b1a6 <rtems_verror+0xdd>     <== NEVER TAKEN
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
  10b192:	83 ec 0c             	sub    $0xc,%esp                      
  10b195:	56                   	push   %esi                           
  10b196:	e8 6d b7 00 00       	call   116908 <strerror>              
  10b19b:	83 c4 0c             	add    $0xc,%esp                      
  10b19e:	50                   	push   %eax                           
  10b19f:	68 8d 3d 12 00       	push   $0x123d8d                      
  10b1a4:	eb 07                	jmp    10b1ad <rtems_verror+0xe4>     
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
  10b1a6:	51                   	push   %ecx                           
  10b1a7:	56                   	push   %esi                           
  10b1a8:	68 9a 3d 12 00       	push   $0x123d9a                      
  10b1ad:	a1 a0 80 12 00       	mov    0x1280a0,%eax                  
  10b1b2:	ff 70 0c             	pushl  0xc(%eax)                      
  10b1b5:	e8 aa af 00 00       	call   116164 <fprintf>               
  10b1ba:	01 c3                	add    %eax,%ebx                      
  10b1bc:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
  10b1bf:	52                   	push   %edx                           
  10b1c0:	52                   	push   %edx                           
  10b1c1:	68 d0 44 12 00       	push   $0x1244d0                      
  10b1c6:	a1 a0 80 12 00       	mov    0x1280a0,%eax                  
  10b1cb:	ff 70 0c             	pushl  0xc(%eax)                      
  10b1ce:	e8 91 af 00 00       	call   116164 <fprintf>               
  10b1d3:	8d 34 18             	lea    (%eax,%ebx,1),%esi             
                                                                      
  (void) fflush(stderr);                                              
  10b1d6:	58                   	pop    %eax                           
  10b1d7:	a1 a0 80 12 00       	mov    0x1280a0,%eax                  
  10b1dc:	ff 70 0c             	pushl  0xc(%eax)                      
  10b1df:	e8 8c ab 00 00       	call   115d70 <fflush>                
                                                                      
  return chars_written;                                               
  10b1e4:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10b1e7:	89 f0                	mov    %esi,%eax                      
  10b1e9:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b1ec:	5b                   	pop    %ebx                           
  10b1ed:	5e                   	pop    %esi                           
  10b1ee:	5f                   	pop    %edi                           
  10b1ef:	c9                   	leave                                 
  10b1f0:	c3                   	ret                                   
                                                                      

00107944 <scanInt>: /* * Extract an integer value from the database */ static int scanInt(FILE *fp, int *val) {
  107944:	55                   	push   %ebp                           
  107945:	89 e5                	mov    %esp,%ebp                      
  107947:	57                   	push   %edi                           
  107948:	56                   	push   %esi                           
  107949:	53                   	push   %ebx                           
  10794a:	83 ec 3c             	sub    $0x3c,%esp                     
  10794d:	89 c3                	mov    %eax,%ebx                      
  10794f:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  107952:	31 f6                	xor    %esi,%esi                      
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
  107954:	c7 45 e4 ff ff ff 7f 	movl   $0x7fffffff,-0x1c(%ebp)        
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
  int c;                                                              
  unsigned int i = 0;                                                 
  10795b:	31 ff                	xor    %edi,%edi                      
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
  10795d:	89 7d c4             	mov    %edi,-0x3c(%ebp)               
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
  107960:	8b 43 04             	mov    0x4(%ebx),%eax                 
  107963:	48                   	dec    %eax                           
  107964:	89 43 04             	mov    %eax,0x4(%ebx)                 
  107967:	85 c0                	test   %eax,%eax                      
  107969:	79 15                	jns    107980 <scanInt+0x3c>          <== ALWAYS TAKEN
  10796b:	50                   	push   %eax                           <== NOT EXECUTED
  10796c:	50                   	push   %eax                           <== NOT EXECUTED
  10796d:	53                   	push   %ebx                           <== NOT EXECUTED
  10796e:	ff 35 20 40 12 00    	pushl  0x124020                       <== NOT EXECUTED
  107974:	e8 5b bf 00 00       	call   1138d4 <__srget_r>             <== NOT EXECUTED
  107979:	89 c1                	mov    %eax,%ecx                      <== NOT EXECUTED
  10797b:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10797e:	eb 08                	jmp    107988 <scanInt+0x44>          <== NOT EXECUTED
  107980:	8b 03                	mov    (%ebx),%eax                    
  107982:	0f b6 08             	movzbl (%eax),%ecx                    
  107985:	40                   	inc    %eax                           
  107986:	89 03                	mov    %eax,(%ebx)                    
    if (c == ':')                                                     
  107988:	83 f9 3a             	cmp    $0x3a,%ecx                     
  10798b:	74 4a                	je     1079d7 <scanInt+0x93>          
      break;                                                          
    if (sign == 0) {                                                  
  10798d:	85 f6                	test   %esi,%esi                      
  10798f:	75 11                	jne    1079a2 <scanInt+0x5e>          
      if (c == '-') {                                                 
        sign = -1;                                                    
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
  107991:	66 be 01 00          	mov    $0x1,%si                       
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
  107995:	83 f9 2d             	cmp    $0x2d,%ecx                     
  107998:	75 08                	jne    1079a2 <scanInt+0x5e>          
        sign = -1;                                                    
        limit++;                                                      
  10799a:	ff 45 e4             	incl   -0x1c(%ebp)                    
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
  10799d:	83 ce ff             	or     $0xffffffff,%esi               
        limit++;                                                      
        continue;                                                     
  1079a0:	eb be                	jmp    107960 <scanInt+0x1c>          
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
  1079a2:	a1 0c 40 12 00       	mov    0x12400c,%eax                  
  1079a7:	f6 44 08 01 04       	testb  $0x4,0x1(%eax,%ecx,1)          
  1079ac:	74 41                	je     1079ef <scanInt+0xab>          
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
  1079ae:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  1079b1:	bf 0a 00 00 00       	mov    $0xa,%edi                      
  1079b6:	31 d2                	xor    %edx,%edx                      
  1079b8:	f7 f7                	div    %edi                           
  1079ba:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  1079bd:	39 45 c4             	cmp    %eax,-0x3c(%ebp)               
  1079c0:	77 2d                	ja     1079ef <scanInt+0xab>          <== NEVER TAKEN
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
  1079c2:	83 e9 30             	sub    $0x30,%ecx                     
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
  1079c5:	39 45 c4             	cmp    %eax,-0x3c(%ebp)               
  1079c8:	75 04                	jne    1079ce <scanInt+0x8a>          <== ALWAYS TAKEN
  1079ca:	39 d1                	cmp    %edx,%ecx                      <== NOT EXECUTED
  1079cc:	77 21                	ja     1079ef <scanInt+0xab>          <== NOT EXECUTED
      return 0;                                                       
    i = i * 10 + d;                                                   
  1079ce:	6b 7d c4 0a          	imul   $0xa,-0x3c(%ebp),%edi          
  1079d2:	8d 3c 39             	lea    (%ecx,%edi,1),%edi             
  1079d5:	eb 86                	jmp    10795d <scanInt+0x19>          
  1079d7:	8b 7d c4             	mov    -0x3c(%ebp),%edi               
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  1079da:	31 c0                	xor    %eax,%eax                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
  1079dc:	85 f6                	test   %esi,%esi                      
  1079de:	74 11                	je     1079f1 <scanInt+0xad>          <== NEVER TAKEN
    return 0;                                                         
  *val = i * sign;                                                    
  1079e0:	0f af f7             	imul   %edi,%esi                      
  1079e3:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  1079e6:	89 30                	mov    %esi,(%eax)                    
  return 1;                                                           
  1079e8:	b8 01 00 00 00       	mov    $0x1,%eax                      
  1079ed:	eb 02                	jmp    1079f1 <scanInt+0xad>          
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
  1079ef:	31 c0                	xor    %eax,%eax                      
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
  return 1;                                                           
}                                                                     
  1079f1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1079f4:	5b                   	pop    %ebx                           
  1079f5:	5e                   	pop    %esi                           
  1079f6:	5f                   	pop    %edi                           
  1079f7:	c9                   	leave                                 
  1079f8:	c3                   	ret                                   
                                                                      

001079f9 <scanString>: /* * Extract a string value from the database */ static int scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag) {
  1079f9:	55                   	push   %ebp                           
  1079fa:	89 e5                	mov    %esp,%ebp                      
  1079fc:	57                   	push   %edi                           
  1079fd:	56                   	push   %esi                           
  1079fe:	53                   	push   %ebx                           
  1079ff:	83 ec 1c             	sub    $0x1c,%esp                     
  107a02:	89 c3                	mov    %eax,%ebx                      
  107a04:	89 ce                	mov    %ecx,%esi                      
  107a06:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  107a09:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  107a0c:	8b 06                	mov    (%esi),%eax                    
  107a0e:	89 02                	mov    %eax,(%edx)                    
  for (;;) {                                                          
    c = getc(fp);                                                     
  107a10:	8b 43 04             	mov    0x4(%ebx),%eax                 
  107a13:	48                   	dec    %eax                           
  107a14:	89 43 04             	mov    %eax,0x4(%ebx)                 
  107a17:	85 c0                	test   %eax,%eax                      
  107a19:	79 19                	jns    107a34 <scanString+0x3b>       
  107a1b:	52                   	push   %edx                           
  107a1c:	52                   	push   %edx                           
  107a1d:	53                   	push   %ebx                           
  107a1e:	ff 35 20 40 12 00    	pushl  0x124020                       
  107a24:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  107a27:	e8 a8 be 00 00       	call   1138d4 <__srget_r>             
  107a2c:	83 c4 10             	add    $0x10,%esp                     
  107a2f:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  107a32:	eb 08                	jmp    107a3c <scanString+0x43>       
  107a34:	8b 13                	mov    (%ebx),%edx                    
  107a36:	0f b6 02             	movzbl (%edx),%eax                    
  107a39:	42                   	inc    %edx                           
  107a3a:	89 13                	mov    %edx,(%ebx)                    
    if (c == ':') {                                                   
  107a3c:	83 f8 3a             	cmp    $0x3a,%eax                     
  107a3f:	75 08                	jne    107a49 <scanString+0x50>       
        if (nlFlag)                                                   
            return 0;                                                 
  107a41:	30 c0                	xor    %al,%al                        
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':') {                                                   
        if (nlFlag)                                                   
  107a43:	85 c9                	test   %ecx,%ecx                      
  107a45:	74 23                	je     107a6a <scanString+0x71>       
  107a47:	eb 33                	jmp    107a7c <scanString+0x83>       
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
  107a49:	83 f8 0a             	cmp    $0xa,%eax                      
  107a4c:	75 08                	jne    107a56 <scanString+0x5d>       
        if (!nlFlag)                                                  
            return 0;                                                 
  107a4e:	30 c0                	xor    %al,%al                        
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
        if (!nlFlag)                                                  
  107a50:	85 c9                	test   %ecx,%ecx                      
  107a52:	75 16                	jne    107a6a <scanString+0x71>       
  107a54:	eb 26                	jmp    107a7c <scanString+0x83>       
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
  107a56:	83 f8 ff             	cmp    $0xffffffff,%eax               
  107a59:	74 1f                	je     107a7a <scanString+0x81>       
      return 0;                                                       
    if (*nleft < 2)                                                   
  107a5b:	83 3f 01             	cmpl   $0x1,(%edi)                    
  107a5e:	76 1a                	jbe    107a7a <scanString+0x81>       <== NEVER TAKEN
      return 0;                                                       
    **bufp = c;                                                       
  107a60:	8b 16                	mov    (%esi),%edx                    
  107a62:	88 02                	mov    %al,(%edx)                     
    ++(*bufp);                                                        
  107a64:	ff 06                	incl   (%esi)                         
    --(*nleft);                                                       
  107a66:	ff 0f                	decl   (%edi)                         
  }                                                                   
  107a68:	eb a6                	jmp    107a10 <scanString+0x17>       
  **bufp = '\0';                                                      
  107a6a:	8b 06                	mov    (%esi),%eax                    
  107a6c:	c6 00 00             	movb   $0x0,(%eax)                    
  ++(*bufp);                                                          
  107a6f:	ff 06                	incl   (%esi)                         
  --(*nleft);                                                         
  107a71:	ff 0f                	decl   (%edi)                         
  return 1;                                                           
  107a73:	b8 01 00 00 00       	mov    $0x1,%eax                      
  107a78:	eb 02                	jmp    107a7c <scanString+0x83>       
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
  107a7a:	31 c0                	xor    %eax,%eax                      
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
}                                                                     
  107a7c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107a7f:	5b                   	pop    %ebx                           
  107a80:	5e                   	pop    %esi                           
  107a81:	5f                   	pop    %edi                           
  107a82:	c9                   	leave                                 
  107a83:	c3                   	ret                                   
                                                                      

00107a84 <scangr>: FILE *fp, struct group *grp, char *buffer, size_t bufsize ) {
  107a84:	55                   	push   %ebp                           
  107a85:	89 e5                	mov    %esp,%ebp                      
  107a87:	57                   	push   %edi                           
  107a88:	56                   	push   %esi                           
  107a89:	53                   	push   %ebx                           
  107a8a:	83 ec 34             	sub    $0x34,%esp                     
  107a8d:	89 c7                	mov    %eax,%edi                      
  107a8f:	89 d3                	mov    %edx,%ebx                      
  107a91:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
  107a94:	6a 00                	push   $0x0                           
  107a96:	8d 45 08             	lea    0x8(%ebp),%eax                 
  107a99:	50                   	push   %eax                           
  107a9a:	8d 4d d4             	lea    -0x2c(%ebp),%ecx               
  107a9d:	89 f8                	mov    %edi,%eax                      
  107a9f:	e8 55 ff ff ff       	call   1079f9 <scanString>            
  107aa4:	83 c4 10             	add    $0x10,%esp                     
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
    return 0;                                                         
  107aa7:	31 f6                	xor    %esi,%esi                      
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
  107aa9:	85 c0                	test   %eax,%eax                      
  107aab:	0f 84 c2 00 00 00    	je     107b73 <scangr+0xef>           
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
  107ab1:	50                   	push   %eax                           
  107ab2:	50                   	push   %eax                           
  107ab3:	8d 53 04             	lea    0x4(%ebx),%edx                 
  107ab6:	6a 00                	push   $0x0                           
  107ab8:	8d 45 08             	lea    0x8(%ebp),%eax                 
  107abb:	50                   	push   %eax                           
  107abc:	8d 4d d4             	lea    -0x2c(%ebp),%ecx               
  107abf:	89 f8                	mov    %edi,%eax                      
  107ac1:	e8 33 ff ff ff       	call   1079f9 <scanString>            
  107ac6:	83 c4 10             	add    $0x10,%esp                     
  107ac9:	85 c0                	test   %eax,%eax                      
  107acb:	0f 84 a2 00 00 00    	je     107b73 <scangr+0xef>           <== NEVER TAKEN
   || !scanInt(fp, &grgid)                                            
  107ad1:	8d 55 e4             	lea    -0x1c(%ebp),%edx               
  107ad4:	89 f8                	mov    %edi,%eax                      
  107ad6:	e8 69 fe ff ff       	call   107944 <scanInt>               
  107adb:	85 c0                	test   %eax,%eax                      
  107add:	0f 84 90 00 00 00    	je     107b73 <scangr+0xef>           <== NEVER TAKEN
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
  107ae3:	51                   	push   %ecx                           
  107ae4:	51                   	push   %ecx                           
  107ae5:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  107ae8:	6a 01                	push   $0x1                           
  107aea:	8d 45 08             	lea    0x8(%ebp),%eax                 
  107aed:	50                   	push   %eax                           
  107aee:	8d 4d d4             	lea    -0x2c(%ebp),%ecx               
  107af1:	89 f8                	mov    %edi,%eax                      
  107af3:	e8 01 ff ff ff       	call   1079f9 <scanString>            
  107af8:	83 c4 10             	add    $0x10,%esp                     
  107afb:	85 c0                	test   %eax,%eax                      
  107afd:	74 74                	je     107b73 <scangr+0xef>           <== NEVER TAKEN
    return 0;                                                         
  grp->gr_gid = grgid;                                                
  107aff:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  107b02:	66 89 43 08          	mov    %ax,0x8(%ebx)                  
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
  107b06:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  107b09:	89 ca                	mov    %ecx,%edx                      
  107b0b:	b8 01 00 00 00       	mov    $0x1,%eax                      
  107b10:	89 c6                	mov    %eax,%esi                      
  107b12:	eb 0b                	jmp    107b1f <scangr+0x9b>           
    if(*cp == ',')                                                    
      memcount++;                                                     
  107b14:	3c 2c                	cmp    $0x2c,%al                      
  107b16:	0f 94 c0             	sete   %al                            
  107b19:	0f b6 c0             	movzbl %al,%eax                       
  107b1c:	01 c6                	add    %eax,%esi                      
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
  107b1e:	42                   	inc    %edx                           
  107b1f:	8a 02                	mov    (%edx),%al                     
  107b21:	84 c0                	test   %al,%al                        
  107b23:	75 ef                	jne    107b14 <scangr+0x90>           
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
  107b25:	8d 04 b5 13 00 00 00 	lea    0x13(,%esi,4),%eax             
    return 0;                                                         
  107b2c:	31 f6                	xor    %esi,%esi                      
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
  107b2e:	39 45 08             	cmp    %eax,0x8(%ebp)                 
  107b31:	72 40                	jb     107b73 <scangr+0xef>           <== NEVER TAKEN
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
  107b33:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  107b36:	83 c0 0f             	add    $0xf,%eax                      
  107b39:	83 e0 f0             	and    $0xfffffff0,%eax               
  107b3c:	89 43 0c             	mov    %eax,0xc(%ebx)                 
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  107b3f:	89 08                	mov    %ecx,(%eax)                    
}                                                                     
                                                                      
/*                                                                    
 * Extract a single group record from the database                    
 */                                                                   
static int scangr(                                                    
  107b41:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  107b44:	40                   	inc    %eax                           
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
  107b45:	ba 01 00 00 00       	mov    $0x1,%edx                      
  107b4a:	eb 11                	jmp    107b5d <scangr+0xd9>           
    if(*cp == ',') {                                                  
  107b4c:	80 f9 2c             	cmp    $0x2c,%cl                      
  107b4f:	75 0b                	jne    107b5c <scangr+0xd8>           
      *cp = '\0';                                                     
  107b51:	c6 40 ff 00          	movb   $0x0,-0x1(%eax)                
      grp->gr_mem[memcount++] = cp + 1;                               
  107b55:	8b 4b 0c             	mov    0xc(%ebx),%ecx                 
  107b58:	89 04 91             	mov    %eax,(%ecx,%edx,4)             
  107b5b:	42                   	inc    %edx                           
  107b5c:	40                   	inc    %eax                           
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
  107b5d:	8a 48 ff             	mov    -0x1(%eax),%cl                 
  107b60:	84 c9                	test   %cl,%cl                        
  107b62:	75 e8                	jne    107b4c <scangr+0xc8>           
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
  107b64:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  107b67:	c7 04 90 00 00 00 00 	movl   $0x0,(%eax,%edx,4)             
  return 1;                                                           
  107b6e:	be 01 00 00 00       	mov    $0x1,%esi                      
}                                                                     
  107b73:	89 f0                	mov    %esi,%eax                      
  107b75:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107b78:	5b                   	pop    %ebx                           
  107b79:	5e                   	pop    %esi                           
  107b7a:	5f                   	pop    %edi                           
  107b7b:	c9                   	leave                                 
  107b7c:	c3                   	ret                                   
                                                                      

00107b7d <scanpw>: FILE *fp, struct passwd *pwd, char *buffer, size_t bufsize ) {
  107b7d:	55                   	push   %ebp                           
  107b7e:	89 e5                	mov    %esp,%ebp                      
  107b80:	57                   	push   %edi                           
  107b81:	56                   	push   %esi                           
  107b82:	53                   	push   %ebx                           
  107b83:	83 ec 34             	sub    $0x34,%esp                     
  107b86:	89 c6                	mov    %eax,%esi                      
  107b88:	89 d3                	mov    %edx,%ebx                      
  107b8a:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
  107b8d:	8d 7d d4             	lea    -0x2c(%ebp),%edi               
  107b90:	6a 00                	push   $0x0                           
  107b92:	8d 45 08             	lea    0x8(%ebp),%eax                 
  107b95:	50                   	push   %eax                           
  107b96:	89 f9                	mov    %edi,%ecx                      
  107b98:	89 f0                	mov    %esi,%eax                      
  107b9a:	e8 5a fe ff ff       	call   1079f9 <scanString>            
  107b9f:	83 c4 10             	add    $0x10,%esp                     
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
    return 0;                                                         
  107ba2:	c7 45 d0 00 00 00 00 	movl   $0x0,-0x30(%ebp)               
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
  107ba9:	85 c0                	test   %eax,%eax                      
  107bab:	0f 84 c4 00 00 00    	je     107c75 <scanpw+0xf8>           
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
  107bb1:	51                   	push   %ecx                           
  107bb2:	51                   	push   %ecx                           
  107bb3:	8d 53 04             	lea    0x4(%ebx),%edx                 
  107bb6:	6a 00                	push   $0x0                           
  107bb8:	8d 45 08             	lea    0x8(%ebp),%eax                 
  107bbb:	50                   	push   %eax                           
  107bbc:	89 f9                	mov    %edi,%ecx                      
  107bbe:	89 f0                	mov    %esi,%eax                      
  107bc0:	e8 34 fe ff ff       	call   1079f9 <scanString>            
  107bc5:	83 c4 10             	add    $0x10,%esp                     
  107bc8:	85 c0                	test   %eax,%eax                      
  107bca:	0f 84 a5 00 00 00    	je     107c75 <scanpw+0xf8>           <== NEVER TAKEN
   || !scanInt(fp, &pwuid)                                            
  107bd0:	8d 55 e4             	lea    -0x1c(%ebp),%edx               
  107bd3:	89 f0                	mov    %esi,%eax                      
  107bd5:	e8 6a fd ff ff       	call   107944 <scanInt>               
  107bda:	85 c0                	test   %eax,%eax                      
  107bdc:	0f 84 93 00 00 00    	je     107c75 <scanpw+0xf8>           <== NEVER TAKEN
   || !scanInt(fp, &pwgid)                                            
  107be2:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  107be5:	89 f0                	mov    %esi,%eax                      
  107be7:	e8 58 fd ff ff       	call   107944 <scanInt>               
  107bec:	85 c0                	test   %eax,%eax                      
  107bee:	0f 84 81 00 00 00    	je     107c75 <scanpw+0xf8>           
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
  107bf4:	52                   	push   %edx                           
  107bf5:	52                   	push   %edx                           
  107bf6:	8d 53 0c             	lea    0xc(%ebx),%edx                 
  107bf9:	6a 00                	push   $0x0                           
  107bfb:	8d 45 08             	lea    0x8(%ebp),%eax                 
  107bfe:	50                   	push   %eax                           
  107bff:	89 f9                	mov    %edi,%ecx                      
  107c01:	89 f0                	mov    %esi,%eax                      
  107c03:	e8 f1 fd ff ff       	call   1079f9 <scanString>            
  107c08:	83 c4 10             	add    $0x10,%esp                     
  107c0b:	85 c0                	test   %eax,%eax                      
  107c0d:	74 66                	je     107c75 <scanpw+0xf8>           <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
  107c0f:	50                   	push   %eax                           
  107c10:	50                   	push   %eax                           
  107c11:	8d 53 10             	lea    0x10(%ebx),%edx                
  107c14:	6a 00                	push   $0x0                           
  107c16:	8d 45 08             	lea    0x8(%ebp),%eax                 
  107c19:	50                   	push   %eax                           
  107c1a:	89 f9                	mov    %edi,%ecx                      
  107c1c:	89 f0                	mov    %esi,%eax                      
  107c1e:	e8 d6 fd ff ff       	call   1079f9 <scanString>            
  107c23:	83 c4 10             	add    $0x10,%esp                     
  107c26:	85 c0                	test   %eax,%eax                      
  107c28:	74 4b                	je     107c75 <scanpw+0xf8>           <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
  107c2a:	51                   	push   %ecx                           
  107c2b:	51                   	push   %ecx                           
  107c2c:	8d 53 14             	lea    0x14(%ebx),%edx                
  107c2f:	6a 00                	push   $0x0                           
  107c31:	8d 45 08             	lea    0x8(%ebp),%eax                 
  107c34:	50                   	push   %eax                           
  107c35:	89 f9                	mov    %edi,%ecx                      
  107c37:	89 f0                	mov    %esi,%eax                      
  107c39:	e8 bb fd ff ff       	call   1079f9 <scanString>            
  107c3e:	83 c4 10             	add    $0x10,%esp                     
  107c41:	85 c0                	test   %eax,%eax                      
  107c43:	74 30                	je     107c75 <scanpw+0xf8>           <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
  107c45:	52                   	push   %edx                           
  107c46:	52                   	push   %edx                           
  107c47:	8d 53 18             	lea    0x18(%ebx),%edx                
  107c4a:	6a 01                	push   $0x1                           
  107c4c:	8d 45 08             	lea    0x8(%ebp),%eax                 
  107c4f:	50                   	push   %eax                           
  107c50:	89 f9                	mov    %edi,%ecx                      
  107c52:	89 f0                	mov    %esi,%eax                      
  107c54:	e8 a0 fd ff ff       	call   1079f9 <scanString>            
  107c59:	83 c4 10             	add    $0x10,%esp                     
  107c5c:	85 c0                	test   %eax,%eax                      
  107c5e:	74 15                	je     107c75 <scanpw+0xf8>           
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
  107c60:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  107c63:	66 89 43 08          	mov    %ax,0x8(%ebx)                  
  pwd->pw_gid = pwgid;                                                
  107c67:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  107c6a:	66 89 43 0a          	mov    %ax,0xa(%ebx)                  
  return 1;                                                           
  107c6e:	c7 45 d0 01 00 00 00 	movl   $0x1,-0x30(%ebp)               
}                                                                     
  107c75:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  107c78:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107c7b:	5b                   	pop    %ebx                           
  107c7c:	5e                   	pop    %esi                           
  107c7d:	5f                   	pop    %edi                           
  107c7e:	c9                   	leave                                 
  107c7f:	c3                   	ret                                   
                                                                      

0010a964 <sched_get_priority_max>: #include <rtems/posix/priority.h> int sched_get_priority_max( int policy ) {
  10a964:	55                   	push   %ebp                           
  10a965:	89 e5                	mov    %esp,%ebp                      
  10a967:	83 ec 08             	sub    $0x8,%esp                      
  10a96a:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  switch ( policy ) {                                                 
  10a96d:	83 f9 04             	cmp    $0x4,%ecx                      
  10a970:	77 0b                	ja     10a97d <sched_get_priority_max+0x19>
  10a972:	b8 01 00 00 00       	mov    $0x1,%eax                      
  10a977:	d3 e0                	shl    %cl,%eax                       
  10a979:	a8 17                	test   $0x17,%al                      
  10a97b:	75 10                	jne    10a98d <sched_get_priority_max+0x29><== ALWAYS TAKEN
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  10a97d:	e8 be 73 00 00       	call   111d40 <__errno>               
  10a982:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a988:	83 c8 ff             	or     $0xffffffff,%eax               
  10a98b:	eb 08                	jmp    10a995 <sched_get_priority_max+0x31>
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
  10a98d:	0f b6 05 18 12 12 00 	movzbl 0x121218,%eax                  
  10a994:	48                   	dec    %eax                           
}                                                                     
  10a995:	c9                   	leave                                 
  10a996:	c3                   	ret                                   
                                                                      

0010a998 <sched_get_priority_min>: #include <rtems/posix/priority.h> int sched_get_priority_min( int policy ) {
  10a998:	55                   	push   %ebp                           
  10a999:	89 e5                	mov    %esp,%ebp                      
  10a99b:	83 ec 08             	sub    $0x8,%esp                      
  10a99e:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  switch ( policy ) {                                                 
  10a9a1:	83 f9 04             	cmp    $0x4,%ecx                      
  10a9a4:	77 11                	ja     10a9b7 <sched_get_priority_min+0x1f>
  10a9a6:	ba 01 00 00 00       	mov    $0x1,%edx                      
  10a9ab:	d3 e2                	shl    %cl,%edx                       
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
  10a9ad:	b8 01 00 00 00       	mov    $0x1,%eax                      
                                                                      
int sched_get_priority_min(                                           
  int  policy                                                         
)                                                                     
{                                                                     
  switch ( policy ) {                                                 
  10a9b2:	80 e2 17             	and    $0x17,%dl                      
  10a9b5:	75 0e                	jne    10a9c5 <sched_get_priority_min+0x2d><== ALWAYS TAKEN
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  10a9b7:	e8 84 73 00 00       	call   111d40 <__errno>               
  10a9bc:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a9c2:	83 c8 ff             	or     $0xffffffff,%eax               
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
  10a9c5:	c9                   	leave                                 
  10a9c6:	c3                   	ret                                   
                                                                      

0010a9c8 <sched_rr_get_interval>: int sched_rr_get_interval( pid_t pid, struct timespec *interval ) {
  10a9c8:	55                   	push   %ebp                           
  10a9c9:	89 e5                	mov    %esp,%ebp                      
  10a9cb:	56                   	push   %esi                           
  10a9cc:	53                   	push   %ebx                           
  10a9cd:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10a9d0:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
  10a9d3:	85 f6                	test   %esi,%esi                      
  10a9d5:	74 16                	je     10a9ed <sched_rr_get_interval+0x25><== NEVER TAKEN
  10a9d7:	e8 08 d0 ff ff       	call   1079e4 <getpid>                
  10a9dc:	39 c6                	cmp    %eax,%esi                      
  10a9de:	74 0d                	je     10a9ed <sched_rr_get_interval+0x25>
    rtems_set_errno_and_return_minus_one( ESRCH );                    
  10a9e0:	e8 5b 73 00 00       	call   111d40 <__errno>               
  10a9e5:	c7 00 03 00 00 00    	movl   $0x3,(%eax)                    
  10a9eb:	eb 0f                	jmp    10a9fc <sched_rr_get_interval+0x34>
                                                                      
  if ( !interval )                                                    
  10a9ed:	85 db                	test   %ebx,%ebx                      
  10a9ef:	75 10                	jne    10aa01 <sched_rr_get_interval+0x39>
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10a9f1:	e8 4a 73 00 00       	call   111d40 <__errno>               
  10a9f6:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a9fc:	83 c8 ff             	or     $0xffffffff,%eax               
  10a9ff:	eb 13                	jmp    10aa14 <sched_rr_get_interval+0x4c>
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
  10aa01:	50                   	push   %eax                           
  10aa02:	50                   	push   %eax                           
  10aa03:	53                   	push   %ebx                           
  10aa04:	ff 35 a4 51 12 00    	pushl  0x1251a4                       
  10aa0a:	e8 bd 2f 00 00       	call   10d9cc <_Timespec_From_ticks>  
  return 0;                                                           
  10aa0f:	83 c4 10             	add    $0x10,%esp                     
  10aa12:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10aa14:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10aa17:	5b                   	pop    %ebx                           
  10aa18:	5e                   	pop    %esi                           
  10aa19:	c9                   	leave                                 
  10aa1a:	c3                   	ret                                   
                                                                      

0010d044 <sem_open>: int oflag, ... /* mode_t mode, */ /* unsigned int value */ ) {
  10d044:	55                   	push   %ebp                           
  10d045:	89 e5                	mov    %esp,%ebp                      
  10d047:	57                   	push   %edi                           
  10d048:	56                   	push   %esi                           
  10d049:	53                   	push   %ebx                           
  10d04a:	83 ec 2c             	sub    $0x2c,%esp                     
  10d04d:	8b 75 08             	mov    0x8(%ebp),%esi                 
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10d050:	a1 cc a3 12 00       	mov    0x12a3cc,%eax                  
  10d055:	40                   	inc    %eax                           
  10d056:	a3 cc a3 12 00       	mov    %eax,0x12a3cc                  
  va_list                    arg;                                     
  mode_t                     mode;                                    
  unsigned int               value = 0;                               
  10d05b:	31 ff                	xor    %edi,%edi                      
  POSIX_Semaphore_Control   *the_semaphore;                           
  Objects_Locations          location;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
  10d05d:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10d060:	25 00 02 00 00       	and    $0x200,%eax                    
  10d065:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10d068:	74 03                	je     10d06d <sem_open+0x29>         
    va_start(arg, oflag);                                             
    mode = (mode_t) va_arg( arg, unsigned int );                      
    value = va_arg( arg, unsigned int );                              
  10d06a:	8b 7d 14             	mov    0x14(%ebp),%edi                
    va_end(arg);                                                      
  }                                                                   
                                                                      
  status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id );    
  10d06d:	52                   	push   %edx                           
  10d06e:	52                   	push   %edx                           
  10d06f:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10d072:	50                   	push   %eax                           
  10d073:	56                   	push   %esi                           
  10d074:	e8 6b 57 00 00       	call   1127e4 <_POSIX_Semaphore_Name_to_id>
  10d079:	89 c3                	mov    %eax,%ebx                      
   *  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 ) {                                                     
  10d07b:	83 c4 10             	add    $0x10,%esp                     
  10d07e:	85 c0                	test   %eax,%eax                      
  10d080:	74 19                	je     10d09b <sem_open+0x57>         
    /*                                                                
     * 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) ) ) {               
  10d082:	83 f8 02             	cmp    $0x2,%eax                      
  10d085:	75 06                	jne    10d08d <sem_open+0x49>         <== NEVER TAKEN
  10d087:	83 7d d4 00          	cmpl   $0x0,-0x2c(%ebp)               
  10d08b:	75 59                	jne    10d0e6 <sem_open+0xa2>         
      _Thread_Enable_dispatch();                                      
  10d08d:	e8 44 25 00 00       	call   10f5d6 <_Thread_Enable_dispatch>
      rtems_set_errno_and_return_minus_one_cast( status, sem_t * );   
  10d092:	e8 e1 7e 00 00       	call   114f78 <__errno>               
  10d097:	89 18                	mov    %ebx,(%eax)                    
  10d099:	eb 1f                	jmp    10d0ba <sem_open+0x76>         
                                                                      
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
  10d09b:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10d09e:	25 00 0a 00 00       	and    $0xa00,%eax                    
  10d0a3:	3d 00 0a 00 00       	cmp    $0xa00,%eax                    
  10d0a8:	75 15                	jne    10d0bf <sem_open+0x7b>         
      _Thread_Enable_dispatch();                                      
  10d0aa:	e8 27 25 00 00       	call   10f5d6 <_Thread_Enable_dispatch>
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
  10d0af:	e8 c4 7e 00 00       	call   114f78 <__errno>               
  10d0b4:	c7 00 11 00 00 00    	movl   $0x11,(%eax)                   
  10d0ba:	83 c8 ff             	or     $0xffffffff,%eax               
  10d0bd:	eb 4a                	jmp    10d109 <sem_open+0xc5>         
  10d0bf:	50                   	push   %eax                           
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( &the_semaphore_id, &location );
  10d0c0:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  10d0c3:	50                   	push   %eax                           
  10d0c4:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10d0c7:	68 98 a6 12 00       	push   $0x12a698                      
  10d0cc:	e8 e7 1c 00 00       	call   10edb8 <_Objects_Get>          
  10d0d1:	89 45 e0             	mov    %eax,-0x20(%ebp)               
    the_semaphore->open_count += 1;                                   
  10d0d4:	ff 40 18             	incl   0x18(%eax)                     
    _Thread_Enable_dispatch();                                        
  10d0d7:	e8 fa 24 00 00       	call   10f5d6 <_Thread_Enable_dispatch>
    _Thread_Enable_dispatch();                                        
  10d0dc:	e8 f5 24 00 00       	call   10f5d6 <_Thread_Enable_dispatch>
    goto return_id;                                                   
  10d0e1:	83 c4 10             	add    $0x10,%esp                     
  10d0e4:	eb 1d                	jmp    10d103 <sem_open+0xbf>         
  /*                                                                  
   *  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(                            
  10d0e6:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10d0e9:	50                   	push   %eax                           
  10d0ea:	57                   	push   %edi                           
  10d0eb:	6a 00                	push   $0x0                           
  10d0ed:	56                   	push   %esi                           
  10d0ee:	e8 bd 55 00 00       	call   1126b0 <_POSIX_Semaphore_Create_support>
  10d0f3:	89 c3                	mov    %eax,%ebx                      
                                                                      
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
  10d0f5:	e8 dc 24 00 00       	call   10f5d6 <_Thread_Enable_dispatch>
                                                                      
  if ( status == -1 )                                                 
  10d0fa:	83 c4 10             	add    $0x10,%esp                     
    return SEM_FAILED;                                                
  10d0fd:	83 c8 ff             	or     $0xffffffff,%eax               
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  if ( status == -1 )                                                 
  10d100:	43                   	inc    %ebx                           
  10d101:	74 06                	je     10d109 <sem_open+0xc5>         
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;                          
  10d103:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10d106:	83 c0 08             	add    $0x8,%eax                      
  #endif                                                              
  return id;                                                          
}                                                                     
  10d109:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d10c:	5b                   	pop    %ebx                           
  10d10d:	5e                   	pop    %esi                           
  10d10e:	5f                   	pop    %edi                           
  10d10f:	c9                   	leave                                 
  10d110:	c3                   	ret                                   
                                                                      

0010a84c <sigaction>: int sigaction( int sig, const struct sigaction *act, struct sigaction *oact ) {
  10a84c:	55                   	push   %ebp                           
  10a84d:	89 e5                	mov    %esp,%ebp                      
  10a84f:	57                   	push   %edi                           
  10a850:	56                   	push   %esi                           
  10a851:	53                   	push   %ebx                           
  10a852:	83 ec 1c             	sub    $0x1c,%esp                     
  10a855:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10a858:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10a85b:	8b 45 10             	mov    0x10(%ebp),%eax                
  ISR_Level     level;                                                
                                                                      
  if ( oact )                                                         
  10a85e:	85 c0                	test   %eax,%eax                      
  10a860:	74 12                	je     10a874 <sigaction+0x28>        
    *oact = _POSIX_signals_Vectors[ sig ];                            
  10a862:	6b f3 0c             	imul   $0xc,%ebx,%esi                 
  10a865:	81 c6 84 67 12 00    	add    $0x126784,%esi                 
  10a86b:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  10a870:	89 c7                	mov    %eax,%edi                      
  10a872:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  if ( !sig )                                                         
  10a874:	85 db                	test   %ebx,%ebx                      
  10a876:	74 0d                	je     10a885 <sigaction+0x39>        
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
  10a878:	8d 43 ff             	lea    -0x1(%ebx),%eax                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
  10a87b:	83 f8 1f             	cmp    $0x1f,%eax                     
  10a87e:	77 05                	ja     10a885 <sigaction+0x39>        
   *                                                                  
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
  10a880:	83 fb 09             	cmp    $0x9,%ebx                      
  10a883:	75 10                	jne    10a895 <sigaction+0x49>        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10a885:	e8 3a 77 00 00       	call   111fc4 <__errno>               
  10a88a:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a890:	83 c8 ff             	or     $0xffffffff,%eax               
  10a893:	eb 57                	jmp    10a8ec <sigaction+0xa0>        
   *      now (signals not posted when SIG_IGN).                      
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
  10a895:	31 c0                	xor    %eax,%eax                      
  /*                                                                  
   *  Evaluate the new action structure and set the global signal vector
   *  appropriately.                                                  
   */                                                                 
                                                                      
  if ( act ) {                                                        
  10a897:	85 d2                	test   %edx,%edx                      
  10a899:	74 51                	je     10a8ec <sigaction+0xa0>        <== 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 );                                            
  10a89b:	9c                   	pushf                                 
  10a89c:	fa                   	cli                                   
  10a89d:	8f 45 e4             	popl   -0x1c(%ebp)                    
      if ( act->sa_handler == SIG_DFL ) {                             
  10a8a0:	83 7a 08 00          	cmpl   $0x0,0x8(%edx)                 
  10a8a4:	75 1a                	jne    10a8c0 <sigaction+0x74>        
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
  10a8a6:	6b f3 0c             	imul   $0xc,%ebx,%esi                 
  10a8a9:	8d 86 84 67 12 00    	lea    0x126784(%esi),%eax            
  10a8af:	81 c6 08 0b 12 00    	add    $0x120b08,%esi                 
  10a8b5:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  10a8ba:	89 c7                	mov    %eax,%edi                      
  10a8bc:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  10a8be:	eb 26                	jmp    10a8e6 <sigaction+0x9a>        
      } else {                                                        
         _POSIX_signals_Clear_process_signals( sig );                 
  10a8c0:	83 ec 0c             	sub    $0xc,%esp                      
  10a8c3:	53                   	push   %ebx                           
  10a8c4:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10a8c7:	e8 c0 4c 00 00       	call   10f58c <_POSIX_signals_Clear_process_signals>
         _POSIX_signals_Vectors[ sig ] = *act;                        
  10a8cc:	6b db 0c             	imul   $0xc,%ebx,%ebx                 
  10a8cf:	81 c3 84 67 12 00    	add    $0x126784,%ebx                 
  10a8d5:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  10a8da:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10a8dd:	89 df                	mov    %ebx,%edi                      
  10a8df:	89 d6                	mov    %edx,%esi                      
  10a8e1:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  10a8e3:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
    _ISR_Enable( level );                                             
  10a8e6:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10a8e9:	9d                   	popf                                  
   *      now (signals not posted when SIG_IGN).                      
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
  10a8ea:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10a8ec:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a8ef:	5b                   	pop    %ebx                           
  10a8f0:	5e                   	pop    %esi                           
  10a8f1:	5f                   	pop    %edi                           
  10a8f2:	c9                   	leave                                 
  10a8f3:	c3                   	ret                                   
                                                                      

0010c83c <sigsuspend>: #include <rtems/seterr.h> int sigsuspend( const sigset_t *sigmask ) {
  10c83c:	55                   	push   %ebp                           
  10c83d:	89 e5                	mov    %esp,%ebp                      
  10c83f:	56                   	push   %esi                           
  10c840:	53                   	push   %ebx                           
  10c841:	83 ec 14             	sub    $0x14,%esp                     
  int                 status;                                         
  POSIX_API_Control  *api;                                            
                                                                      
  api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];        
                                                                      
  status = sigprocmask( SIG_BLOCK, sigmask, &saved_signals_blocked ); 
  10c844:	8d 5d f4             	lea    -0xc(%ebp),%ebx                
  10c847:	53                   	push   %ebx                           
  10c848:	ff 75 08             	pushl  0x8(%ebp)                      
  10c84b:	6a 01                	push   $0x1                           
  10c84d:	e8 c6 ff ff ff       	call   10c818 <sigprocmask>           
                                                                      
  (void) sigfillset( &all_signals );                                  
  10c852:	8d 75 f0             	lea    -0x10(%ebp),%esi               
  10c855:	89 34 24             	mov    %esi,(%esp)                    
  10c858:	e8 17 ff ff ff       	call   10c774 <sigfillset>            
                                                                      
  status = sigtimedwait( &all_signals, NULL, NULL );                  
  10c85d:	83 c4 0c             	add    $0xc,%esp                      
  10c860:	6a 00                	push   $0x0                           
  10c862:	6a 00                	push   $0x0                           
  10c864:	56                   	push   %esi                           
  10c865:	e8 69 00 00 00       	call   10c8d3 <sigtimedwait>          
  10c86a:	89 c6                	mov    %eax,%esi                      
                                                                      
  (void) sigprocmask( SIG_SETMASK, &saved_signals_blocked, NULL );    
  10c86c:	83 c4 0c             	add    $0xc,%esp                      
  10c86f:	6a 00                	push   $0x0                           
  10c871:	53                   	push   %ebx                           
  10c872:	6a 00                	push   $0x0                           
  10c874:	e8 9f ff ff ff       	call   10c818 <sigprocmask>           
                                                                      
  /*                                                                  
   * sigtimedwait() returns the signal number while sigsuspend()      
   * is supposed to return -1 and EINTR when a signal is caught.      
   */                                                                 
  if ( status != -1 )                                                 
  10c879:	83 c4 10             	add    $0x10,%esp                     
  10c87c:	46                   	inc    %esi                           
  10c87d:	74 0b                	je     10c88a <sigsuspend+0x4e>       <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINTR );                    
  10c87f:	e8 d0 74 00 00       	call   113d54 <__errno>               
  10c884:	c7 00 04 00 00 00    	movl   $0x4,(%eax)                    
                                                                      
  return status;                                                      
}                                                                     
  10c88a:	83 c8 ff             	or     $0xffffffff,%eax               
  10c88d:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c890:	5b                   	pop    %ebx                           
  10c891:	5e                   	pop    %esi                           
  10c892:	c9                   	leave                                 
  10c893:	c3                   	ret                                   
                                                                      

0010ac13 <sigtimedwait>: int sigtimedwait( const sigset_t *set, siginfo_t *info, const struct timespec *timeout ) {
  10ac13:	55                   	push   %ebp                           
  10ac14:	89 e5                	mov    %esp,%ebp                      
  10ac16:	57                   	push   %edi                           
  10ac17:	56                   	push   %esi                           
  10ac18:	53                   	push   %ebx                           
  10ac19:	83 ec 2c             	sub    $0x2c,%esp                     
  10ac1c:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10ac1f:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  ISR_Level          level;                                           
                                                                      
  /*                                                                  
   *  Error check parameters before disabling interrupts.             
   */                                                                 
  if ( !set )                                                         
  10ac22:	85 ff                	test   %edi,%edi                      
  10ac24:	74 24                	je     10ac4a <sigtimedwait+0x37>     
  /*  NOTE: This is very specifically a RELATIVE not ABSOLUTE time    
   *        in the Open Group specification.                          
   */                                                                 
                                                                      
  interval = 0;                                                       
  if ( timeout ) {                                                    
  10ac26:	85 db                	test   %ebx,%ebx                      
  10ac28:	74 33                	je     10ac5d <sigtimedwait+0x4a>     
                                                                      
    if ( !_Timespec_Is_valid( timeout ) )                             
  10ac2a:	83 ec 0c             	sub    $0xc,%esp                      
  10ac2d:	53                   	push   %ebx                           
  10ac2e:	e8 31 30 00 00       	call   10dc64 <_Timespec_Is_valid>    
  10ac33:	83 c4 10             	add    $0x10,%esp                     
  10ac36:	84 c0                	test   %al,%al                        
  10ac38:	74 10                	je     10ac4a <sigtimedwait+0x37>     
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    interval = _Timespec_To_ticks( timeout );                         
  10ac3a:	83 ec 0c             	sub    $0xc,%esp                      
  10ac3d:	53                   	push   %ebx                           
  10ac3e:	e8 79 30 00 00       	call   10dcbc <_Timespec_To_ticks>    
                                                                      
    if ( !interval )                                                  
  10ac43:	83 c4 10             	add    $0x10,%esp                     
  10ac46:	85 c0                	test   %eax,%eax                      
  10ac48:	75 15                	jne    10ac5f <sigtimedwait+0x4c>     <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  10ac4a:	e8 f9 78 00 00       	call   112548 <__errno>               
  10ac4f:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10ac55:	83 cf ff             	or     $0xffffffff,%edi               
  10ac58:	e9 13 01 00 00       	jmp    10ad70 <sigtimedwait+0x15d>    
                                                                      
  /*  NOTE: This is very specifically a RELATIVE not ABSOLUTE time    
   *        in the Open Group specification.                          
   */                                                                 
                                                                      
  interval = 0;                                                       
  10ac5d:	31 c0                	xor    %eax,%eax                      
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
  10ac5f:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10ac62:	85 db                	test   %ebx,%ebx                      
  10ac64:	75 03                	jne    10ac69 <sigtimedwait+0x56>     
  10ac66:	8d 5d dc             	lea    -0x24(%ebp),%ebx               
                                                                      
  the_thread = _Thread_Executing;                                     
  10ac69:	8b 15 54 78 12 00    	mov    0x127854,%edx                  
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  10ac6f:	8b b2 f8 00 00 00    	mov    0xf8(%edx),%esi                
   *  What if they are already pending?                               
   */                                                                 
                                                                      
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
  10ac75:	9c                   	pushf                                 
  10ac76:	fa                   	cli                                   
  10ac77:	8f 45 d4             	popl   -0x2c(%ebp)                    
  if ( *set & api->signals_pending ) {                                
  10ac7a:	8b 0f                	mov    (%edi),%ecx                    
  10ac7c:	89 4d d0             	mov    %ecx,-0x30(%ebp)               
  10ac7f:	8b 8e d0 00 00 00    	mov    0xd0(%esi),%ecx                
  10ac85:	85 4d d0             	test   %ecx,-0x30(%ebp)               
  10ac88:	74 32                	je     10acbc <sigtimedwait+0xa9>     
    /* XXX real info later */                                         
    the_info->si_signo = _POSIX_signals_Get_highest( api->signals_pending );
  10ac8a:	83 ec 0c             	sub    $0xc,%esp                      
  10ac8d:	51                   	push   %ecx                           
  10ac8e:	e8 41 ff ff ff       	call   10abd4 <_POSIX_signals_Get_highest>
  10ac93:	89 03                	mov    %eax,(%ebx)                    
    _POSIX_signals_Clear_signals(                                     
  10ac95:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  10ac9c:	6a 00                	push   $0x0                           
  10ac9e:	53                   	push   %ebx                           
  10ac9f:	50                   	push   %eax                           
  10aca0:	56                   	push   %esi                           
  10aca1:	e8 0e 4f 00 00       	call   10fbb4 <_POSIX_signals_Clear_signals>
      the_info->si_signo,                                             
      the_info,                                                       
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
  10aca6:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10aca9:	9d                   	popf                                  
                                                                      
    the_info->si_code = SI_USER;                                      
  10acaa:	c7 43 04 01 00 00 00 	movl   $0x1,0x4(%ebx)                 
    the_info->si_value.sival_int = 0;                                 
  10acb1:	c7 43 08 00 00 00 00 	movl   $0x0,0x8(%ebx)                 
    return the_info->si_signo;                                        
  10acb8:	8b 3b                	mov    (%ebx),%edi                    
  10acba:	eb 3b                	jmp    10acf7 <sigtimedwait+0xe4>     
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
  10acbc:	8b 0d 58 7a 12 00    	mov    0x127a58,%ecx                  
  10acc2:	85 4d d0             	test   %ecx,-0x30(%ebp)               
  10acc5:	74 35                	je     10acfc <sigtimedwait+0xe9>     
    signo = _POSIX_signals_Get_highest( _POSIX_signals_Pending );     
  10acc7:	83 ec 0c             	sub    $0xc,%esp                      
  10acca:	51                   	push   %ecx                           
  10accb:	e8 04 ff ff ff       	call   10abd4 <_POSIX_signals_Get_highest>
  10acd0:	89 c7                	mov    %eax,%edi                      
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
  10acd2:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  10acd9:	6a 01                	push   $0x1                           
  10acdb:	53                   	push   %ebx                           
  10acdc:	50                   	push   %eax                           
  10acdd:	56                   	push   %esi                           
  10acde:	e8 d1 4e 00 00       	call   10fbb4 <_POSIX_signals_Clear_signals>
    _ISR_Enable( level );                                             
  10ace3:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10ace6:	9d                   	popf                                  
                                                                      
    the_info->si_signo = signo;                                       
  10ace7:	89 3b                	mov    %edi,(%ebx)                    
    the_info->si_code = SI_USER;                                      
  10ace9:	c7 43 04 01 00 00 00 	movl   $0x1,0x4(%ebx)                 
    the_info->si_value.sival_int = 0;                                 
  10acf0:	c7 43 08 00 00 00 00 	movl   $0x0,0x8(%ebx)                 
    return signo;                                                     
  10acf7:	83 c4 20             	add    $0x20,%esp                     
  10acfa:	eb 74                	jmp    10ad70 <sigtimedwait+0x15d>    
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
  10acfc:	c7 03 ff ff ff ff    	movl   $0xffffffff,(%ebx)             
  10ad02:	8b 0d 04 73 12 00    	mov    0x127304,%ecx                  
  10ad08:	41                   	inc    %ecx                           
  10ad09:	89 0d 04 73 12 00    	mov    %ecx,0x127304                  
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
  10ad0f:	c7 42 44 f0 79 12 00 	movl   $0x1279f0,0x44(%edx)           
    the_thread->Wait.return_code     = EINTR;                         
  10ad16:	c7 42 34 04 00 00 00 	movl   $0x4,0x34(%edx)                
    the_thread->Wait.option          = *set;                          
  10ad1d:	8b 0f                	mov    (%edi),%ecx                    
  10ad1f:	89 4a 30             	mov    %ecx,0x30(%edx)                
    the_thread->Wait.return_argument = the_info;                      
  10ad22:	89 5a 28             	mov    %ebx,0x28(%edx)                
                                                                      
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;
  10ad25:	c7 05 20 7a 12 00 01 	movl   $0x1,0x127a20                  
  10ad2c:	00 00 00                                                    
    _Thread_queue_Enter_critical_section( &_POSIX_signals_Wait_queue );
    _ISR_Enable( level );                                             
  10ad2f:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10ad32:	9d                   	popf                                  
    _Thread_queue_Enqueue( &_POSIX_signals_Wait_queue, interval );    
  10ad33:	52                   	push   %edx                           
  10ad34:	68 5c d8 10 00       	push   $0x10d85c                      
  10ad39:	50                   	push   %eax                           
  10ad3a:	68 f0 79 12 00       	push   $0x1279f0                      
  10ad3f:	e8 40 28 00 00       	call   10d584 <_Thread_queue_Enqueue_with_handler>
  _Thread_Enable_dispatch();                                          
  10ad44:	e8 b1 23 00 00       	call   10d0fa <_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 );
  10ad49:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  10ad50:	6a 00                	push   $0x0                           
  10ad52:	53                   	push   %ebx                           
  10ad53:	ff 33                	pushl  (%ebx)                         
  10ad55:	56                   	push   %esi                           
  10ad56:	e8 59 4e 00 00       	call   10fbb4 <_POSIX_signals_Clear_signals>
  errno = _Thread_Executing->Wait.return_code;                        
  10ad5b:	83 c4 20             	add    $0x20,%esp                     
  10ad5e:	e8 e5 77 00 00       	call   112548 <__errno>               
  10ad63:	8b 15 54 78 12 00    	mov    0x127854,%edx                  
  10ad69:	8b 52 34             	mov    0x34(%edx),%edx                
  10ad6c:	89 10                	mov    %edx,(%eax)                    
  return the_info->si_signo;                                          
  10ad6e:	8b 3b                	mov    (%ebx),%edi                    
}                                                                     
  10ad70:	89 f8                	mov    %edi,%eax                      
  10ad72:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ad75:	5b                   	pop    %ebx                           
  10ad76:	5e                   	pop    %esi                           
  10ad77:	5f                   	pop    %edi                           
  10ad78:	c9                   	leave                                 
  10ad79:	c3                   	ret                                   
                                                                      

0010ca54 <sigwait>: int sigwait( const sigset_t *set, int *sig ) {
  10ca54:	55                   	push   %ebp                           
  10ca55:	89 e5                	mov    %esp,%ebp                      
  10ca57:	53                   	push   %ebx                           
  10ca58:	83 ec 08             	sub    $0x8,%esp                      
  10ca5b:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
  10ca5e:	6a 00                	push   $0x0                           
  10ca60:	6a 00                	push   $0x0                           
  10ca62:	ff 75 08             	pushl  0x8(%ebp)                      
  10ca65:	e8 69 fe ff ff       	call   10c8d3 <sigtimedwait>          
  10ca6a:	89 c2                	mov    %eax,%edx                      
                                                                      
  if ( status != -1 ) {                                               
  10ca6c:	83 c4 10             	add    $0x10,%esp                     
  10ca6f:	83 f8 ff             	cmp    $0xffffffff,%eax               
  10ca72:	74 0a                	je     10ca7e <sigwait+0x2a>          
    if ( sig )                                                        
      *sig = status;                                                  
    return 0;                                                         
  10ca74:	31 c0                	xor    %eax,%eax                      
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
                                                                      
  if ( status != -1 ) {                                               
    if ( sig )                                                        
  10ca76:	85 db                	test   %ebx,%ebx                      
  10ca78:	74 0b                	je     10ca85 <sigwait+0x31>          <== NEVER TAKEN
      *sig = status;                                                  
  10ca7a:	89 13                	mov    %edx,(%ebx)                    
  10ca7c:	eb 07                	jmp    10ca85 <sigwait+0x31>          
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
  10ca7e:	e8 d1 72 00 00       	call   113d54 <__errno>               
  10ca83:	8b 00                	mov    (%eax),%eax                    
}                                                                     
  10ca85:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ca88:	c9                   	leave                                 
  10ca89:	c3                   	ret                                   
                                                                      

00108fb1 <siproc>: /* * Process input character, with semaphore. */ static int siproc (unsigned char c, struct rtems_termios_tty *tty) {
  108fb1:	55                   	push   %ebp                           
  108fb2:	89 e5                	mov    %esp,%ebp                      
  108fb4:	56                   	push   %esi                           
  108fb5:	53                   	push   %ebx                           
  108fb6:	89 d3                	mov    %edx,%ebx                      
  108fb8:	89 c6                	mov    %eax,%esi                      
  int i;                                                              
                                                                      
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
  108fba:	f7 42 3c 78 0e 00 00 	testl  $0xe78,0x3c(%edx)              
  108fc1:	74 30                	je     108ff3 <siproc+0x42>           <== NEVER TAKEN
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
  108fc3:	52                   	push   %edx                           
  108fc4:	6a 00                	push   $0x0                           
  108fc6:	6a 00                	push   $0x0                           
  108fc8:	ff 73 18             	pushl  0x18(%ebx)                     
  108fcb:	e8 14 12 00 00       	call   10a1e4 <rtems_semaphore_obtain>
    i = iproc (c, tty);                                               
  108fd0:	89 f2                	mov    %esi,%edx                      
  108fd2:	0f b6 c2             	movzbl %dl,%eax                       
  108fd5:	89 da                	mov    %ebx,%edx                      
  108fd7:	e8 b5 fe ff ff       	call   108e91 <iproc>                 
  108fdc:	89 c6                	mov    %eax,%esi                      
    rtems_semaphore_release (tty->osem);                              
  108fde:	58                   	pop    %eax                           
  108fdf:	ff 73 18             	pushl  0x18(%ebx)                     
  108fe2:	e8 e9 12 00 00       	call   10a2d0 <rtems_semaphore_release>
  108fe7:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
  108fea:	89 f0                	mov    %esi,%eax                      
  108fec:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  108fef:	5b                   	pop    %ebx                           
  108ff0:	5e                   	pop    %esi                           
  108ff1:	c9                   	leave                                 
  108ff2:	c3                   	ret                                   
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
    i = iproc (c, tty);                                               
    rtems_semaphore_release (tty->osem);                              
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  108ff3:	0f b6 c0             	movzbl %al,%eax                       <== NOT EXECUTED
  108ff6:	89 da                	mov    %ebx,%edx                      <== NOT EXECUTED
  }                                                                   
  return i;                                                           
}                                                                     
  108ff8:	8d 65 f8             	lea    -0x8(%ebp),%esp                <== NOT EXECUTED
  108ffb:	5b                   	pop    %ebx                           <== NOT EXECUTED
  108ffc:	5e                   	pop    %esi                           <== NOT EXECUTED
  108ffd:	c9                   	leave                                 <== 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);                                               
  108ffe:	e9 8e fe ff ff       	jmp    108e91 <iproc>                 <== NOT EXECUTED
                                                                      

00108fb0 <sync_per_thread>: fdatasync(fn); } /* iterate over all FILE *'s for this thread */ static void sync_per_thread(Thread_Control *t) {
  108fb0:	55                   	push   %ebp                           
  108fb1:	89 e5                	mov    %esp,%ebp                      
  108fb3:	53                   	push   %ebx                           
  108fb4:	83 ec 04             	sub    $0x4,%esp                      
  108fb7:	8b 45 08             	mov    0x8(%ebp),%eax                 
                                                                      
   /*                                                                 
    *  The sync_wrapper() function will operate on the current thread's
    *  reent structure so we will temporarily use that.               
    */                                                                
   this_reent = t->libc_reent;                                        
  108fba:	8b 88 f0 00 00 00    	mov    0xf0(%eax),%ecx                
   if ( this_reent ) {                                                
  108fc0:	85 c9                	test   %ecx,%ecx                      
  108fc2:	74 32                	je     108ff6 <sync_per_thread+0x46>  <== NEVER TAKEN
     current_reent = _Thread_Executing->libc_reent;                   
  108fc4:	8b 15 34 67 12 00    	mov    0x126734,%edx                  
  108fca:	8b 9a f0 00 00 00    	mov    0xf0(%edx),%ebx                
     _Thread_Executing->libc_reent = this_reent;                      
  108fd0:	89 8a f0 00 00 00    	mov    %ecx,0xf0(%edx)                
     _fwalk (t->libc_reent, sync_wrapper);                            
  108fd6:	52                   	push   %edx                           
  108fd7:	52                   	push   %edx                           
  108fd8:	68 fb 8f 10 00       	push   $0x108ffb                      
  108fdd:	ff b0 f0 00 00 00    	pushl  0xf0(%eax)                     
  108fe3:	e8 20 a3 00 00       	call   113308 <_fwalk>                
     _Thread_Executing->libc_reent = current_reent;                   
  108fe8:	a1 34 67 12 00       	mov    0x126734,%eax                  
  108fed:	89 98 f0 00 00 00    	mov    %ebx,0xf0(%eax)                
  108ff3:	83 c4 10             	add    $0x10,%esp                     
   }                                                                  
}                                                                     
  108ff6:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108ff9:	c9                   	leave                                 
  108ffa:	c3                   	ret                                   
                                                                      

001094d8 <tcsetattr>: int tcsetattr( int fd, int opt, struct termios *tp ) {
  1094d8:	55                   	push   %ebp                           
  1094d9:	89 e5                	mov    %esp,%ebp                      
  1094db:	56                   	push   %esi                           
  1094dc:	53                   	push   %ebx                           
  1094dd:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1094e0:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  1094e3:	8b 75 10             	mov    0x10(%ebp),%esi                
  switch (opt) {                                                      
  1094e6:	85 c0                	test   %eax,%eax                      
  1094e8:	74 22                	je     10950c <tcsetattr+0x34>        <== ALWAYS TAKEN
  1094ea:	48                   	dec    %eax                           <== NOT EXECUTED
  1094eb:	74 0d                	je     1094fa <tcsetattr+0x22>        <== NOT EXECUTED
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  1094ed:	e8 42 93 00 00       	call   112834 <__errno>               <== NOT EXECUTED
  1094f2:	c7 00 86 00 00 00    	movl   $0x86,(%eax)                   <== NOT EXECUTED
  1094f8:	eb 2a                	jmp    109524 <tcsetattr+0x4c>        <== NOT EXECUTED
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
  1094fa:	50                   	push   %eax                           <== NOT EXECUTED
  1094fb:	6a 00                	push   $0x0                           <== NOT EXECUTED
  1094fd:	6a 03                	push   $0x3                           <== NOT EXECUTED
  1094ff:	53                   	push   %ebx                           <== NOT EXECUTED
  109500:	e8 0f 64 00 00       	call   10f914 <ioctl>                 <== NOT EXECUTED
  109505:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  109508:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  10950a:	78 18                	js     109524 <tcsetattr+0x4c>        <== NOT EXECUTED
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
  10950c:	89 75 10             	mov    %esi,0x10(%ebp)                
  10950f:	c7 45 0c 02 00 00 00 	movl   $0x2,0xc(%ebp)                 
  109516:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
}                                                                     
  109519:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10951c:	5b                   	pop    %ebx                           
  10951d:	5e                   	pop    %esi                           
  10951e:	c9                   	leave                                 
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
  10951f:	e9 f0 63 00 00       	jmp    10f914 <ioctl>                 
  }                                                                   
}                                                                     
  109524:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  109527:	8d 65 f8             	lea    -0x8(%ebp),%esp                <== NOT EXECUTED
  10952a:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10952b:	5e                   	pop    %esi                           <== NOT EXECUTED
  10952c:	c9                   	leave                                 <== NOT EXECUTED
  10952d:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010a0b0 <timer_create>: int timer_create( clockid_t clock_id, struct sigevent *evp, timer_t *timerid ) {
  10a0b0:	55                   	push   %ebp                           
  10a0b1:	89 e5                	mov    %esp,%ebp                      
  10a0b3:	56                   	push   %esi                           
  10a0b4:	53                   	push   %ebx                           
  10a0b5:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10a0b8:	8b 75 10             	mov    0x10(%ebp),%esi                
  POSIX_Timer_Control *ptimer;                                        
                                                                      
  if ( clock_id != CLOCK_REALTIME )                                   
  10a0bb:	83 7d 08 01          	cmpl   $0x1,0x8(%ebp)                 
  10a0bf:	75 1d                	jne    10a0de <timer_create+0x2e>     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !timerid )                                                     
  10a0c1:	85 f6                	test   %esi,%esi                      
  10a0c3:	74 19                	je     10a0de <timer_create+0x2e>     
 /*                                                                   
  *  The data of the structure evp are checked in order to verify if they
  *  are coherent.                                                    
  */                                                                  
                                                                      
  if (evp != NULL) {                                                  
  10a0c5:	85 db                	test   %ebx,%ebx                      
  10a0c7:	74 22                	je     10a0eb <timer_create+0x3b>     
    /* The structure has data */                                      
    if ( ( evp->sigev_notify != SIGEV_NONE ) &&                       
  10a0c9:	8b 03                	mov    (%ebx),%eax                    
  10a0cb:	48                   	dec    %eax                           
  10a0cc:	83 f8 01             	cmp    $0x1,%eax                      
  10a0cf:	77 0d                	ja     10a0de <timer_create+0x2e>     <== 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 )                                         
  10a0d1:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10a0d4:	85 c0                	test   %eax,%eax                      
  10a0d6:	74 06                	je     10a0de <timer_create+0x2e>     <== NEVER TAKEN
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
  10a0d8:	48                   	dec    %eax                           
       rtems_set_errno_and_return_minus_one( EINVAL );                
                                                                      
     if ( !is_valid_signo(evp->sigev_signo) )                         
  10a0d9:	83 f8 1f             	cmp    $0x1f,%eax                     
  10a0dc:	76 0d                	jbe    10a0eb <timer_create+0x3b>     <== ALWAYS TAKEN
       rtems_set_errno_and_return_minus_one( EINVAL );                
  10a0de:	e8 6d 7c 00 00       	call   111d50 <__errno>               
  10a0e3:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a0e9:	eb 2f                	jmp    10a11a <timer_create+0x6a>     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10a0eb:	a1 38 62 12 00       	mov    0x126238,%eax                  
  10a0f0:	40                   	inc    %eax                           
  10a0f1:	a3 38 62 12 00       	mov    %eax,0x126238                  
 *  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 );
  10a0f6:	83 ec 0c             	sub    $0xc,%esp                      
  10a0f9:	68 44 65 12 00       	push   $0x126544                      
  10a0fe:	e8 79 1b 00 00       	call   10bc7c <_Objects_Allocate>     
                                                                      
  /*                                                                  
   *  Allocate a timer                                                
   */                                                                 
  ptimer = _POSIX_Timer_Allocate();                                   
  if ( !ptimer ) {                                                    
  10a103:	83 c4 10             	add    $0x10,%esp                     
  10a106:	85 c0                	test   %eax,%eax                      
  10a108:	75 18                	jne    10a122 <timer_create+0x72>     
    _Thread_Enable_dispatch();                                        
  10a10a:	e8 73 27 00 00       	call   10c882 <_Thread_Enable_dispatch>
    rtems_set_errno_and_return_minus_one( EAGAIN );                   
  10a10f:	e8 3c 7c 00 00       	call   111d50 <__errno>               
  10a114:	c7 00 0b 00 00 00    	movl   $0xb,(%eax)                    
  10a11a:	83 c8 ff             	or     $0xffffffff,%eax               
  10a11d:	e9 83 00 00 00       	jmp    10a1a5 <timer_create+0xf5>     
  }                                                                   
                                                                      
  /* The data of the created timer are stored to use them later */    
                                                                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
  10a122:	c6 40 3c 02          	movb   $0x2,0x3c(%eax)                
  ptimer->thread_id = _Thread_Executing->Object.id;                   
  10a126:	8b 15 88 67 12 00    	mov    0x126788,%edx                  
  10a12c:	8b 52 08             	mov    0x8(%edx),%edx                 
  10a12f:	89 50 38             	mov    %edx,0x38(%eax)                
                                                                      
  if ( evp != NULL ) {                                                
  10a132:	85 db                	test   %ebx,%ebx                      
  10a134:	74 11                	je     10a147 <timer_create+0x97>     
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
  10a136:	8b 13                	mov    (%ebx),%edx                    
  10a138:	89 50 40             	mov    %edx,0x40(%eax)                
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
  10a13b:	8b 53 04             	mov    0x4(%ebx),%edx                 
  10a13e:	89 50 44             	mov    %edx,0x44(%eax)                
    ptimer->inf.sigev_value  = evp->sigev_value;                      
  10a141:	8b 53 08             	mov    0x8(%ebx),%edx                 
  10a144:	89 50 48             	mov    %edx,0x48(%eax)                
  }                                                                   
                                                                      
  ptimer->overrun  = 0;                                               
  10a147:	c7 40 68 00 00 00 00 	movl   $0x0,0x68(%eax)                
  ptimer->timer_data.it_value.tv_sec     = 0;                         
  10a14e:	c7 40 5c 00 00 00 00 	movl   $0x0,0x5c(%eax)                
  ptimer->timer_data.it_value.tv_nsec    = 0;                         
  10a155:	c7 40 60 00 00 00 00 	movl   $0x0,0x60(%eax)                
  ptimer->timer_data.it_interval.tv_sec  = 0;                         
  10a15c:	c7 40 54 00 00 00 00 	movl   $0x0,0x54(%eax)                
  ptimer->timer_data.it_interval.tv_nsec = 0;                         
  10a163:	c7 40 58 00 00 00 00 	movl   $0x0,0x58(%eax)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10a16a:	c7 40 18 00 00 00 00 	movl   $0x0,0x18(%eax)                
  the_watchdog->routine   = routine;                                  
  10a171:	c7 40 2c 00 00 00 00 	movl   $0x0,0x2c(%eax)                
  the_watchdog->id        = id;                                       
  10a178:	c7 40 30 00 00 00 00 	movl   $0x0,0x30(%eax)                
  the_watchdog->user_data = user_data;                                
  10a17f:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  10a186:	8b 50 08             	mov    0x8(%eax),%edx                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10a189:	0f b7 da             	movzwl %dx,%ebx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10a18c:	8b 0d 60 65 12 00    	mov    0x126560,%ecx                  
  10a192:	89 04 99             	mov    %eax,(%ecx,%ebx,4)             
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
  10a195:	c7 40 0c 00 00 00 00 	movl   $0x0,0xc(%eax)                 
                                                                      
  _Watchdog_Initialize( &ptimer->Timer, NULL, 0, NULL );              
  _Objects_Open_u32(&_POSIX_Timer_Information, &ptimer->Object, 0);   
                                                                      
  *timerid  = ptimer->Object.id;                                      
  10a19c:	89 16                	mov    %edx,(%esi)                    
  _Thread_Enable_dispatch();                                          
  10a19e:	e8 df 26 00 00       	call   10c882 <_Thread_Enable_dispatch>
  return 0;                                                           
  10a1a3:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10a1a5:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10a1a8:	5b                   	pop    %ebx                           
  10a1a9:	5e                   	pop    %esi                           
  10a1aa:	c9                   	leave                                 
  10a1ab:	c3                   	ret                                   
                                                                      

0010a1ac <timer_settime>: timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue ) {
  10a1ac:	55                   	push   %ebp                           
  10a1ad:	89 e5                	mov    %esp,%ebp                      
  10a1af:	57                   	push   %edi                           
  10a1b0:	56                   	push   %esi                           
  10a1b1:	53                   	push   %ebx                           
  10a1b2:	83 ec 2c             	sub    $0x2c,%esp                     
  10a1b5:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Locations    location;                                      
  bool                 activated;                                     
  uint32_t             initial_period;                                
  struct itimerspec    normalize;                                     
                                                                      
  if ( !value )                                                       
  10a1b8:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  10a1bc:	0f 84 58 01 00 00    	je     10a31a <timer_settime+0x16e>   <== NEVER TAKEN
                                                                      
  /*                                                                  
   * First, it verifies if the structure "value" is correct           
   * if the number of nanoseconds is not correct return EINVAL        
   */                                                                 
  if ( !_Timespec_Is_valid( &(value->it_value) ) ) {                  
  10a1c2:	83 ec 0c             	sub    $0xc,%esp                      
  10a1c5:	8b 45 10             	mov    0x10(%ebp),%eax                
  10a1c8:	83 c0 08             	add    $0x8,%eax                      
  10a1cb:	50                   	push   %eax                           
  10a1cc:	e8 3f 32 00 00       	call   10d410 <_Timespec_Is_valid>    
  10a1d1:	83 c4 10             	add    $0x10,%esp                     
  10a1d4:	84 c0                	test   %al,%al                        
  10a1d6:	0f 84 3e 01 00 00    	je     10a31a <timer_settime+0x16e>   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
  if ( !_Timespec_Is_valid( &(value->it_interval) ) ) {               
  10a1dc:	83 ec 0c             	sub    $0xc,%esp                      
  10a1df:	ff 75 10             	pushl  0x10(%ebp)                     
  10a1e2:	e8 29 32 00 00       	call   10d410 <_Timespec_Is_valid>    
  10a1e7:	83 c4 10             	add    $0x10,%esp                     
  10a1ea:	84 c0                	test   %al,%al                        
  10a1ec:	0f 84 28 01 00 00    	je     10a31a <timer_settime+0x16e>   <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  if ( flags != TIMER_ABSTIME && flags != POSIX_TIMER_RELATIVE ) {    
  10a1f2:	85 db                	test   %ebx,%ebx                      
  10a1f4:	74 09                	je     10a1ff <timer_settime+0x53>    
  10a1f6:	83 fb 04             	cmp    $0x4,%ebx                      
  10a1f9:	0f 85 1b 01 00 00    	jne    10a31a <timer_settime+0x16e>   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  normalize = *value;                                                 
  10a1ff:	8d 7d cc             	lea    -0x34(%ebp),%edi               
  10a202:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10a207:	8b 75 10             	mov    0x10(%ebp),%esi                
  10a20a:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  /* Convert absolute to relative time */                             
  if (flags == TIMER_ABSTIME) {                                       
  10a20c:	83 fb 04             	cmp    $0x4,%ebx                      
  10a20f:	75 2f                	jne    10a240 <timer_settime+0x94>    
    struct timespec now;                                              
    _TOD_Get( &now );                                                 
  10a211:	83 ec 0c             	sub    $0xc,%esp                      
  10a214:	8d 5d dc             	lea    -0x24(%ebp),%ebx               
  10a217:	53                   	push   %ebx                           
  10a218:	e8 a3 15 00 00       	call   10b7c0 <_TOD_Get>              
    /* Check for seconds in the past */                               
    if ( _Timespec_Greater_than( &now, &normalize.it_value ) )        
  10a21d:	59                   	pop    %ecx                           
  10a21e:	5e                   	pop    %esi                           
  10a21f:	8d 75 d4             	lea    -0x2c(%ebp),%esi               
  10a222:	56                   	push   %esi                           
  10a223:	53                   	push   %ebx                           
  10a224:	e8 c3 31 00 00       	call   10d3ec <_Timespec_Greater_than>
  10a229:	83 c4 10             	add    $0x10,%esp                     
  10a22c:	84 c0                	test   %al,%al                        
  10a22e:	0f 85 e6 00 00 00    	jne    10a31a <timer_settime+0x16e>   
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    _Timespec_Subtract( &now, &normalize.it_value, &normalize.it_value );
  10a234:	52                   	push   %edx                           
  10a235:	56                   	push   %esi                           
  10a236:	56                   	push   %esi                           
  10a237:	53                   	push   %ebx                           
  10a238:	e8 f7 31 00 00       	call   10d434 <_Timespec_Subtract>    
  10a23d:	83 c4 10             	add    $0x10,%esp                     
  timer_t            id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Timer_Control *)                                      
    _Objects_Get( &_POSIX_Timer_Information, (Objects_Id) id, location );
  10a240:	50                   	push   %eax                           
  /* If the function reaches this point, then it will be necessary to do
   * something with the structure of times of the timer: to stop, start
   * or start it again                                                
   */                                                                 
                                                                      
  ptimer = _POSIX_Timer_Get( timerid, &location );                    
  10a241:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10a244:	50                   	push   %eax                           
  10a245:	ff 75 08             	pushl  0x8(%ebp)                      
  10a248:	68 44 65 12 00       	push   $0x126544                      
  10a24d:	e8 56 1e 00 00       	call   10c0a8 <_Objects_Get>          
  10a252:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  10a254:	83 c4 10             	add    $0x10,%esp                     
  10a257:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)               
  10a25b:	0f 85 b9 00 00 00    	jne    10a31a <timer_settime+0x16e>   
                                                                      
    case OBJECTS_LOCAL:                                               
      /* First, it verifies if the timer must be stopped */           
      if ( normalize.it_value.tv_sec == 0 && normalize.it_value.tv_nsec == 0 ) {
  10a261:	83 7d d4 00          	cmpl   $0x0,-0x2c(%ebp)               
  10a265:	75 3b                	jne    10a2a2 <timer_settime+0xf6>    
  10a267:	83 7d d8 00          	cmpl   $0x0,-0x28(%ebp)               
  10a26b:	75 35                	jne    10a2a2 <timer_settime+0xf6>    
         /* Stop the timer */                                         
         (void) _Watchdog_Remove( &ptimer->Timer );                   
  10a26d:	83 ec 0c             	sub    $0xc,%esp                      
  10a270:	8d 40 10             	lea    0x10(%eax),%eax                
  10a273:	50                   	push   %eax                           
  10a274:	e8 7f 35 00 00       	call   10d7f8 <_Watchdog_Remove>      
         /* The old data of the timer are returned */                 
         if ( ovalue )                                                
  10a279:	83 c4 10             	add    $0x10,%esp                     
  10a27c:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  10a280:	74 0d                	je     10a28f <timer_settime+0xe3>    
           *ovalue = ptimer->timer_data;                              
  10a282:	8d 73 54             	lea    0x54(%ebx),%esi                
  10a285:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10a28a:	8b 7d 14             	mov    0x14(%ebp),%edi                
  10a28d:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
         /* The new data are set */                                   
         ptimer->timer_data = normalize;                              
  10a28f:	8d 7b 54             	lea    0x54(%ebx),%edi                
  10a292:	8d 75 cc             	lea    -0x34(%ebp),%esi               
  10a295:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10a29a:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
         /* Indicates that the timer is created and stopped */        
         ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;               
  10a29c:	c6 43 3c 04          	movb   $0x4,0x3c(%ebx)                
  10a2a0:	eb 35                	jmp    10a2d7 <timer_settime+0x12b>   
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
       }                                                              
                                                                      
       /* Convert from seconds and nanoseconds to ticks */            
       ptimer->ticks  = _Timespec_To_ticks( &value->it_interval );    
  10a2a2:	83 ec 0c             	sub    $0xc,%esp                      
  10a2a5:	ff 75 10             	pushl  0x10(%ebp)                     
  10a2a8:	e8 bb 31 00 00       	call   10d468 <_Timespec_To_ticks>    
  10a2ad:	89 43 64             	mov    %eax,0x64(%ebx)                
       initial_period = _Timespec_To_ticks( &normalize.it_value );    
  10a2b0:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  10a2b3:	89 04 24             	mov    %eax,(%esp)                    
  10a2b6:	e8 ad 31 00 00       	call   10d468 <_Timespec_To_ticks>    
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
  10a2bb:	89 1c 24             	mov    %ebx,(%esp)                    
  10a2be:	68 30 a3 10 00       	push   $0x10a330                      
  10a2c3:	ff 73 08             	pushl  0x8(%ebx)                      
  10a2c6:	50                   	push   %eax                           
  10a2c7:	8d 43 10             	lea    0x10(%ebx),%eax                
  10a2ca:	50                   	push   %eax                           
  10a2cb:	e8 54 55 00 00       	call   10f824 <_POSIX_Timer_Insert_helper>
         initial_period,                                              
         ptimer->Object.id,                                           
         _POSIX_Timer_TSR,                                            
         ptimer                                                       
       );                                                             
       if ( !activated ) {                                            
  10a2d0:	83 c4 20             	add    $0x20,%esp                     
  10a2d3:	84 c0                	test   %al,%al                        
  10a2d5:	75 07                	jne    10a2de <timer_settime+0x132>   
         _Thread_Enable_dispatch();                                   
  10a2d7:	e8 a6 25 00 00       	call   10c882 <_Thread_Enable_dispatch>
  10a2dc:	eb 38                	jmp    10a316 <timer_settime+0x16a>   
                                                                      
       /*                                                             
        * The timer has been started and is running.  So we return the
        * old ones in "ovalue"                                        
        */                                                            
       if ( ovalue )                                                  
  10a2de:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)                
  10a2e2:	74 0d                	je     10a2f1 <timer_settime+0x145>   
         *ovalue = ptimer->timer_data;                                
  10a2e4:	8d 73 54             	lea    0x54(%ebx),%esi                
  10a2e7:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10a2ec:	8b 7d 14             	mov    0x14(%ebp),%edi                
  10a2ef:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
       ptimer->timer_data = normalize;                                
  10a2f1:	8d 7b 54             	lea    0x54(%ebx),%edi                
  10a2f4:	8d 75 cc             	lea    -0x34(%ebp),%esi               
  10a2f7:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10a2fc:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
       /* Indicate that the time is running */                        
       ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                  
  10a2fe:	c6 43 3c 03          	movb   $0x3,0x3c(%ebx)                
       _TOD_Get( &ptimer->time );                                     
  10a302:	83 ec 0c             	sub    $0xc,%esp                      
  10a305:	83 c3 6c             	add    $0x6c,%ebx                     
  10a308:	53                   	push   %ebx                           
  10a309:	e8 b2 14 00 00       	call   10b7c0 <_TOD_Get>              
       _Thread_Enable_dispatch();                                     
  10a30e:	e8 6f 25 00 00       	call   10c882 <_Thread_Enable_dispatch>
       return 0;                                                      
  10a313:	83 c4 10             	add    $0x10,%esp                     
  10a316:	31 c0                	xor    %eax,%eax                      
  10a318:	eb 0e                	jmp    10a328 <timer_settime+0x17c>   
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  10a31a:	e8 31 7a 00 00       	call   111d50 <__errno>               
  10a31f:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10a325:	83 c8 ff             	or     $0xffffffff,%eax               
}                                                                     
  10a328:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a32b:	5b                   	pop    %ebx                           
  10a32c:	5e                   	pop    %esi                           
  10a32d:	5f                   	pop    %edi                           
  10a32e:	c9                   	leave                                 
  10a32f:	c3                   	ret                                   
                                                                      

00109fe8 <ualarm>: useconds_t ualarm( useconds_t useconds, useconds_t interval ) {
  109fe8:	55                   	push   %ebp                           
  109fe9:	89 e5                	mov    %esp,%ebp                      
  109feb:	57                   	push   %edi                           
  109fec:	56                   	push   %esi                           
  109fed:	53                   	push   %ebx                           
  109fee:	83 ec 1c             	sub    $0x1c,%esp                     
  109ff1:	8b 75 08             	mov    0x8(%ebp),%esi                 
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
  109ff4:	83 3d 28 6b 12 00 00 	cmpl   $0x0,0x126b28                  
  109ffb:	75 2c                	jne    10a029 <ualarm+0x41>           <== NEVER TAKEN
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  109ffd:	c7 05 14 6b 12 00 00 	movl   $0x0,0x126b14                  
  10a004:	00 00 00                                                    
  the_watchdog->routine   = routine;                                  
  10a007:	c7 05 28 6b 12 00 b0 	movl   $0x109fb0,0x126b28             
  10a00e:	9f 10 00                                                    
  the_watchdog->id        = id;                                       
  10a011:	c7 05 2c 6b 12 00 00 	movl   $0x0,0x126b2c                  
  10a018:	00 00 00                                                    
  the_watchdog->user_data = user_data;                                
  10a01b:	c7 05 30 6b 12 00 00 	movl   $0x0,0x126b30                  
  10a022:	00 00 00                                                    
useconds_t ualarm(                                                    
  useconds_t useconds,                                                
  useconds_t interval                                                 
)                                                                     
{                                                                     
  useconds_t        remaining = 0;                                    
  10a025:	31 db                	xor    %ebx,%ebx                      
  10a027:	eb 4f                	jmp    10a078 <ualarm+0x90>           
  if ( !the_timer->routine ) {                                        
    _Watchdog_Initialize( the_timer, _POSIX_signals_Ualarm_TSR, 0, NULL );
  } else {                                                            
    Watchdog_States state;                                            
                                                                      
    state = _Watchdog_Remove( the_timer );                            
  10a029:	83 ec 0c             	sub    $0xc,%esp                      
  10a02c:	68 0c 6b 12 00       	push   $0x126b0c                      
  10a031:	e8 b2 33 00 00       	call   10d3e8 <_Watchdog_Remove>      
    if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) {
  10a036:	83 e8 02             	sub    $0x2,%eax                      
  10a039:	83 c4 10             	add    $0x10,%esp                     
useconds_t ualarm(                                                    
  useconds_t useconds,                                                
  useconds_t interval                                                 
)                                                                     
{                                                                     
  useconds_t        remaining = 0;                                    
  10a03c:	31 db                	xor    %ebx,%ebx                      
    _Watchdog_Initialize( the_timer, _POSIX_signals_Ualarm_TSR, 0, NULL );
  } else {                                                            
    Watchdog_States state;                                            
                                                                      
    state = _Watchdog_Remove( the_timer );                            
    if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) {
  10a03e:	83 f8 01             	cmp    $0x1,%eax                      
  10a041:	77 35                	ja     10a078 <ualarm+0x90>           <== NEVER TAKEN
       *  boot.  Since alarm() is dealing in seconds, we must account for
       *  this.                                                       
       */                                                             
                                                                      
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
  10a043:	a1 20 6b 12 00       	mov    0x126b20,%eax                  
  10a048:	03 05 18 6b 12 00    	add    0x126b18,%eax                  
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
  10a04e:	57                   	push   %edi                           
  10a04f:	57                   	push   %edi                           
  10a050:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  10a053:	52                   	push   %edx                           
       *  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);        
  10a054:	2b 05 24 6b 12 00    	sub    0x126b24,%eax                  
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
  10a05a:	50                   	push   %eax                           
  10a05b:	e8 30 2f 00 00       	call   10cf90 <_Timespec_From_ticks>  
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
  10a060:	69 4d e0 40 42 0f 00 	imul   $0xf4240,-0x20(%ebp),%ecx      
      remaining += tp.tv_nsec / 1000;                                 
  10a067:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10a06a:	bf e8 03 00 00       	mov    $0x3e8,%edi                    
  10a06f:	99                   	cltd                                  
  10a070:	f7 ff                	idiv   %edi                           
  10a072:	8d 1c 08             	lea    (%eax,%ecx,1),%ebx             
  10a075:	83 c4 10             	add    $0x10,%esp                     
  /*                                                                  
   *  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 ) {                                                   
  10a078:	85 f6                	test   %esi,%esi                      
  10a07a:	74 44                	je     10a0c0 <ualarm+0xd8>           
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
  10a07c:	b9 40 42 0f 00       	mov    $0xf4240,%ecx                  
  10a081:	89 f0                	mov    %esi,%eax                      
  10a083:	31 d2                	xor    %edx,%edx                      
  10a085:	f7 f1                	div    %ecx                           
  10a087:	89 45 e0             	mov    %eax,-0x20(%ebp)               
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
  10a08a:	69 d2 e8 03 00 00    	imul   $0x3e8,%edx,%edx               
  10a090:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
    ticks = _Timespec_To_ticks( &tp );                                
  10a093:	83 ec 0c             	sub    $0xc,%esp                      
  10a096:	8d 75 e0             	lea    -0x20(%ebp),%esi               
  10a099:	56                   	push   %esi                           
  10a09a:	e8 4d 2f 00 00       	call   10cfec <_Timespec_To_ticks>    
    if ( ticks == 0 )                                                 
      ticks = 1;                                                      
                                                                      
    _Watchdog_Insert_ticks( the_timer, _Timespec_To_ticks( &tp ) );   
  10a09f:	89 34 24             	mov    %esi,(%esp)                    
  10a0a2:	e8 45 2f 00 00       	call   10cfec <_Timespec_To_ticks>    
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10a0a7:	a3 18 6b 12 00       	mov    %eax,0x126b18                  
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10a0ac:	59                   	pop    %ecx                           
  10a0ad:	5e                   	pop    %esi                           
  10a0ae:	68 0c 6b 12 00       	push   $0x126b0c                      
  10a0b3:	68 fc 62 12 00       	push   $0x1262fc                      
  10a0b8:	e8 13 32 00 00       	call   10d2d0 <_Watchdog_Insert>      
  10a0bd:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  return remaining;                                                   
}                                                                     
  10a0c0:	89 d8                	mov    %ebx,%eax                      
  10a0c2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a0c5:	5b                   	pop    %ebx                           
  10a0c6:	5e                   	pop    %esi                           
  10a0c7:	5f                   	pop    %edi                           
  10a0c8:	c9                   	leave                                 
  10a0c9:	c3                   	ret                                   
                                                                      

0010a744 <unlink>: #include <rtems/seterr.h> int unlink( const char *path ) {
  10a744:	55                   	push   %ebp                           
  10a745:	89 e5                	mov    %esp,%ebp                      
  10a747:	57                   	push   %edi                           
  10a748:	56                   	push   %esi                           
  10a749:	53                   	push   %ebx                           
  10a74a:	83 ec 58             	sub    $0x58,%esp                     
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
  10a74d:	ff 75 08             	pushl  0x8(%ebp)                      
  10a750:	e8 5d d8 ff ff       	call   107fb2 <rtems_filesystem_dirname>
  10a755:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
                                                                      
  if ( parentpathlen == 0 )                                           
  10a758:	83 c4 10             	add    $0x10,%esp                     
  10a75b:	85 c0                	test   %eax,%eax                      
  10a75d:	8d 45 d0             	lea    -0x30(%ebp),%eax               
  10a760:	75 15                	jne    10a777 <unlink+0x33>           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
  10a762:	51                   	push   %ecx                           
  10a763:	50                   	push   %eax                           
  10a764:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10a767:	50                   	push   %eax                           
  10a768:	ff 75 08             	pushl  0x8(%ebp)                      
  10a76b:	e8 24 e6 ff ff       	call   108d94 <rtems_filesystem_get_start_loc>
  10a770:	83 c4 10             	add    $0x10,%esp                     
  const char                       *name;                             
  rtems_filesystem_location_info_t  parentloc;                        
  rtems_filesystem_location_info_t  loc;                              
  int                               i;                                
  int                               result;                           
  bool                              free_parentloc = false;           
  10a773:	31 db                	xor    %ebx,%ebx                      
  10a775:	eb 25                	jmp    10a79c <unlink+0x58>           
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
  10a777:	83 ec 0c             	sub    $0xc,%esp                      
  10a77a:	6a 00                	push   $0x0                           
  10a77c:	50                   	push   %eax                           
  10a77d:	6a 02                	push   $0x2                           
  10a77f:	ff 75 b4             	pushl  -0x4c(%ebp)                    
  10a782:	ff 75 08             	pushl  0x8(%ebp)                      
  10a785:	e8 bf d7 ff ff       	call   107f49 <rtems_filesystem_evaluate_path>
  10a78a:	89 c2                	mov    %eax,%edx                      
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
  10a78c:	83 c4 20             	add    $0x20,%esp                     
      return -1;                                                      
  10a78f:	83 c8 ff             	or     $0xffffffff,%eax               
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
  10a792:	85 d2                	test   %edx,%edx                      
  10a794:	0f 85 d6 00 00 00    	jne    10a870 <unlink+0x12c>          <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
  10a79a:	b3 01                	mov    $0x1,%bl                       
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
  10a79c:	8d 7d bc             	lea    -0x44(%ebp),%edi               
  10a79f:	8d 75 d0             	lea    -0x30(%ebp),%esi               
  10a7a2:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  10a7a7:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  name = path + parentpathlen;                                        
  10a7a9:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10a7ac:	03 75 b4             	add    -0x4c(%ebp),%esi               
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
  10a7af:	83 c9 ff             	or     $0xffffffff,%ecx               
  10a7b2:	89 f7                	mov    %esi,%edi                      
  10a7b4:	31 c0                	xor    %eax,%eax                      
  10a7b6:	f2 ae                	repnz scas %es:(%edi),%al             
  10a7b8:	f7 d1                	not    %ecx                           
  10a7ba:	49                   	dec    %ecx                           
  10a7bb:	52                   	push   %edx                           
  10a7bc:	52                   	push   %edx                           
  10a7bd:	51                   	push   %ecx                           
  10a7be:	56                   	push   %esi                           
  10a7bf:	e8 2d d8 ff ff       	call   107ff1 <rtems_filesystem_prefix_separators>
  10a7c4:	01 c6                	add    %eax,%esi                      
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
  10a7c6:	83 c9 ff             	or     $0xffffffff,%ecx               
  10a7c9:	89 f7                	mov    %esi,%edi                      
  10a7cb:	31 c0                	xor    %eax,%eax                      
  10a7cd:	f2 ae                	repnz scas %es:(%edi),%al             
  10a7cf:	f7 d1                	not    %ecx                           
  10a7d1:	49                   	dec    %ecx                           
  10a7d2:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  10a7d9:	8d 7d bc             	lea    -0x44(%ebp),%edi               
  10a7dc:	57                   	push   %edi                           
  10a7dd:	6a 00                	push   $0x0                           
  10a7df:	51                   	push   %ecx                           
  10a7e0:	56                   	push   %esi                           
  10a7e1:	e8 de d6 ff ff       	call   107ec4 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
  10a7e6:	83 c4 20             	add    $0x20,%esp                     
  10a7e9:	85 c0                	test   %eax,%eax                      
  10a7eb:	74 13                	je     10a800 <unlink+0xbc>           
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  10a7ed:	83 c8 ff             	or     $0xffffffff,%eax               
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
  10a7f0:	84 db                	test   %bl,%bl                        
  10a7f2:	74 7c                	je     10a870 <unlink+0x12c>          <== NEVER TAKEN
      rtems_filesystem_freenode( &parentloc );                        
  10a7f4:	83 ec 0c             	sub    $0xc,%esp                      
  10a7f7:	8d 55 d0             	lea    -0x30(%ebp),%edx               
  10a7fa:	52                   	push   %edx                           
  10a7fb:	89 45 b0             	mov    %eax,-0x50(%ebp)               
  10a7fe:	eb 65                	jmp    10a865 <unlink+0x121>          
    return -1;                                                        
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
  10a800:	83 ec 0c             	sub    $0xc,%esp                      
  10a803:	57                   	push   %edi                           
  10a804:	8b 45 c8             	mov    -0x38(%ebp),%eax               
  10a807:	ff 50 10             	call   *0x10(%eax)                    
  10a80a:	83 c4 10             	add    $0x10,%esp                     
  10a80d:	48                   	dec    %eax                           
  10a80e:	75 2f                	jne    10a83f <unlink+0xfb>           
    rtems_filesystem_freenode( &loc );                                
  10a810:	83 ec 0c             	sub    $0xc,%esp                      
  10a813:	57                   	push   %edi                           
  10a814:	e8 17 d8 ff ff       	call   108030 <rtems_filesystem_freenode>
    if ( free_parentloc )                                             
  10a819:	83 c4 10             	add    $0x10,%esp                     
  10a81c:	84 db                	test   %bl,%bl                        
  10a81e:	74 0f                	je     10a82f <unlink+0xeb>           <== ALWAYS TAKEN
      rtems_filesystem_freenode( &parentloc );                        
  10a820:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10a823:	8d 45 d0             	lea    -0x30(%ebp),%eax               <== NOT EXECUTED
  10a826:	50                   	push   %eax                           <== NOT EXECUTED
  10a827:	e8 04 d8 ff ff       	call   108030 <rtems_filesystem_freenode><== NOT EXECUTED
  10a82c:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  10a82f:	e8 14 a0 00 00       	call   114848 <__errno>               
  10a834:	c7 00 15 00 00 00    	movl   $0x15,(%eax)                   
  10a83a:	83 c8 ff             	or     $0xffffffff,%eax               
  10a83d:	eb 31                	jmp    10a870 <unlink+0x12c>          
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
  10a83f:	50                   	push   %eax                           
  10a840:	50                   	push   %eax                           
  10a841:	57                   	push   %edi                           
  10a842:	8d 75 d0             	lea    -0x30(%ebp),%esi               
  10a845:	56                   	push   %esi                           
  10a846:	8b 45 c8             	mov    -0x38(%ebp),%eax               
  10a849:	ff 50 0c             	call   *0xc(%eax)                     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  10a84c:	89 3c 24             	mov    %edi,(%esp)                    
  10a84f:	89 45 b0             	mov    %eax,-0x50(%ebp)               
  10a852:	e8 d9 d7 ff ff       	call   108030 <rtems_filesystem_freenode>
  if ( free_parentloc )                                               
  10a857:	83 c4 10             	add    $0x10,%esp                     
  10a85a:	84 db                	test   %bl,%bl                        
  10a85c:	8b 45 b0             	mov    -0x50(%ebp),%eax               
  10a85f:	74 0f                	je     10a870 <unlink+0x12c>          
    rtems_filesystem_freenode( &parentloc );                          
  10a861:	83 ec 0c             	sub    $0xc,%esp                      
  10a864:	56                   	push   %esi                           
  10a865:	e8 c6 d7 ff ff       	call   108030 <rtems_filesystem_freenode>
  10a86a:	83 c4 10             	add    $0x10,%esp                     
  10a86d:	8b 45 b0             	mov    -0x50(%ebp),%eax               
                                                                      
  return result;                                                      
}                                                                     
  10a870:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a873:	5b                   	pop    %ebx                           
  10a874:	5e                   	pop    %esi                           
  10a875:	5f                   	pop    %edi                           
  10a876:	c9                   	leave                                 
  10a877:	c3                   	ret                                   
                                                                      

0010a9bd <unmount>: */ int unmount( const char *path ) {
  10a9bd:	55                   	push   %ebp                           
  10a9be:	89 e5                	mov    %esp,%ebp                      
  10a9c0:	57                   	push   %edi                           
  10a9c1:	56                   	push   %esi                           
  10a9c2:	53                   	push   %ebx                           
  10a9c3:	83 ec 38             	sub    $0x38,%esp                     
  10a9c6:	8b 55 08             	mov    0x8(%ebp),%edx                 
   *    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 ) )
  10a9c9:	83 cb ff             	or     $0xffffffff,%ebx               
  10a9cc:	31 c0                	xor    %eax,%eax                      
  10a9ce:	89 d9                	mov    %ebx,%ecx                      
  10a9d0:	89 d7                	mov    %edx,%edi                      
  10a9d2:	f2 ae                	repnz scas %es:(%edi),%al             
  10a9d4:	f7 d1                	not    %ecx                           
  10a9d6:	49                   	dec    %ecx                           
  10a9d7:	6a 01                	push   $0x1                           
  10a9d9:	8d 7d d4             	lea    -0x2c(%ebp),%edi               
  10a9dc:	57                   	push   %edi                           
  10a9dd:	6a 00                	push   $0x0                           
  10a9df:	51                   	push   %ecx                           
  10a9e0:	52                   	push   %edx                           
  10a9e1:	e8 fb d4 ff ff       	call   107ee1 <rtems_filesystem_evaluate_path>
  10a9e6:	83 c4 20             	add    $0x20,%esp                     
  10a9e9:	85 c0                	test   %eax,%eax                      
  10a9eb:	0f 85 f2 00 00 00    	jne    10aae3 <unmount+0x126>         
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
  10a9f1:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
                                                                      
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( fs_root_loc->node_access != loc.node_access ){                 
  10a9f4:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10a9f7:	39 46 1c             	cmp    %eax,0x1c(%esi)                
  10a9fa:	74 1c                	je     10aa18 <unmount+0x5b>          
    rtems_filesystem_freenode( &loc );                                
  10a9fc:	83 ec 0c             	sub    $0xc,%esp                      
  10a9ff:	57                   	push   %edi                           
  10aa00:	e8 c3 d5 ff ff       	call   107fc8 <rtems_filesystem_freenode>
    rtems_set_errno_and_return_minus_one( EACCES );                   
  10aa05:	e8 c2 76 00 00       	call   1120cc <__errno>               
  10aa0a:	c7 00 0d 00 00 00    	movl   $0xd,(%eax)                    
  10aa10:	83 c4 10             	add    $0x10,%esp                     
  10aa13:	e9 cb 00 00 00       	jmp    10aae3 <unmount+0x126>         
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  10aa18:	83 ec 0c             	sub    $0xc,%esp                      
  10aa1b:	57                   	push   %edi                           
  10aa1c:	e8 a7 d5 ff ff       	call   107fc8 <rtems_filesystem_freenode>
   *        that made the current node thread based instead           
   *        of system based?  I thought it was but it doesn't         
   *        look like it in this version.                             
   */                                                                 
                                                                      
  if ( rtems_filesystem_current.mt_entry == mt_entry )                
  10aa21:	83 c4 10             	add    $0x10,%esp                     
  10aa24:	a1 e0 4f 12 00       	mov    0x124fe0,%eax                  
  10aa29:	39 70 14             	cmp    %esi,0x14(%eax)                
  10aa2c:	74 25                	je     10aa53 <unmount+0x96>          
                                                                      
  /*                                                                  
   *  Verify there are no file systems below the path specified       
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_iterate( is_fs_below_mount_point,       
  10aa2e:	51                   	push   %ecx                           
  10aa2f:	51                   	push   %ecx                           
  10aa30:	ff 76 2c             	pushl  0x2c(%esi)                     
  10aa33:	68 ac a9 10 00       	push   $0x10a9ac                      
  10aa38:	e8 8c dc ff ff       	call   1086c9 <rtems_filesystem_mount_iterate>
  10aa3d:	83 c4 10             	add    $0x10,%esp                     
  10aa40:	84 c0                	test   %al,%al                        
  10aa42:	75 0f                	jne    10aa53 <unmount+0x96>          
   *  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 )             
  10aa44:	83 ec 0c             	sub    $0xc,%esp                      
  10aa47:	56                   	push   %esi                           
  10aa48:	e8 5d d8 ff ff       	call   1082aa <rtems_libio_is_open_files_in_fs>
  10aa4d:	83 c4 10             	add    $0x10,%esp                     
  10aa50:	48                   	dec    %eax                           
  10aa51:	75 10                	jne    10aa63 <unmount+0xa6>          
    rtems_set_errno_and_return_minus_one( EBUSY );                    
  10aa53:	e8 74 76 00 00       	call   1120cc <__errno>               
  10aa58:	c7 00 10 00 00 00    	movl   $0x10,(%eax)                   
  10aa5e:	e9 80 00 00 00       	jmp    10aae3 <unmount+0x126>         
   * 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 )             
  10aa63:	83 ec 0c             	sub    $0xc,%esp                      
  10aa66:	8b 46 14             	mov    0x14(%esi),%eax                
  10aa69:	56                   	push   %esi                           
  10aa6a:	ff 50 28             	call   *0x28(%eax)                    
  10aa6d:	83 c4 10             	add    $0x10,%esp                     
    return -1;                                                        
  10aa70:	83 ca ff             	or     $0xffffffff,%edx               
   * 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 )             
  10aa73:	85 c0                	test   %eax,%eax                      
  10aa75:	75 6f                	jne    10aae6 <unmount+0x129>         <== 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){          
  10aa77:	83 ec 0c             	sub    $0xc,%esp                      
  10aa7a:	8b 46 28             	mov    0x28(%esi),%eax                
  10aa7d:	56                   	push   %esi                           
  10aa7e:	ff 50 2c             	call   *0x2c(%eax)                    
  10aa81:	83 c4 10             	add    $0x10,%esp                     
  10aa84:	85 c0                	test   %eax,%eax                      
  10aa86:	74 1d                	je     10aaa5 <unmount+0xe8>          <== ALWAYS TAKEN
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
  10aa88:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10aa8b:	8b 46 14             	mov    0x14(%esi),%eax                <== NOT EXECUTED
  10aa8e:	56                   	push   %esi                           <== NOT EXECUTED
  10aa8f:	ff 50 20             	call   *0x20(%eax)                    <== NOT EXECUTED
  10aa92:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
    return -1;                                                        
  10aa95:	89 da                	mov    %ebx,%edx                      <== NOT EXECUTED
   *         This was response was questionable but the best we could 
   *         come up with.                                            
   */                                                                 
                                                                      
  if ((fs_root_loc->ops->fsunmount_me_h )( mt_entry ) != 0){          
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
  10aa97:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  10aa99:	74 4b                	je     10aae6 <unmount+0x129>         <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
  10aa9b:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10aa9e:	6a 00                	push   $0x0                           <== NOT EXECUTED
  10aaa0:	e8 8b 0e 00 00       	call   10b930 <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 );
  10aaa5:	52                   	push   %edx                           
  10aaa6:	6a 00                	push   $0x0                           
  10aaa8:	6a 00                	push   $0x0                           
  10aaaa:	ff 35 c8 71 12 00    	pushl  0x1271c8                       
  10aab0:	e8 f7 08 00 00       	call   10b3ac <rtems_semaphore_obtain>
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
  10aab5:	89 34 24             	mov    %esi,(%esp)                    
  10aab8:	e8 3b 11 00 00       	call   10bbf8 <_Chain_Extract>        
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
  10aabd:	58                   	pop    %eax                           
  10aabe:	ff 35 c8 71 12 00    	pushl  0x1271c8                       
  10aac4:	e8 cf 09 00 00       	call   10b498 <rtems_semaphore_release>
                                                                      
  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;                            
  10aac9:	8d 46 08             	lea    0x8(%esi),%eax                 
  /*                                                                  
   *  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 );                          
  10aacc:	89 04 24             	mov    %eax,(%esp)                    
  10aacf:	e8 f4 d4 ff ff       	call   107fc8 <rtems_filesystem_freenode>
  free( mt_entry );                                                   
  10aad4:	89 34 24             	mov    %esi,(%esp)                    
  10aad7:	e8 00 d5 ff ff       	call   107fdc <free>                  
                                                                      
  return 0;                                                           
  10aadc:	83 c4 10             	add    $0x10,%esp                     
  10aadf:	31 d2                	xor    %edx,%edx                      
  10aae1:	eb 03                	jmp    10aae6 <unmount+0x129>         
   *    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 ) )
    return -1;                                                        
  10aae3:	83 ca ff             	or     $0xffffffff,%edx               
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
  10aae6:	89 d0                	mov    %edx,%eax                      
  10aae8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10aaeb:	5b                   	pop    %ebx                           
  10aaec:	5e                   	pop    %esi                           
  10aaed:	5f                   	pop    %edi                           
  10aaee:	c9                   	leave                                 
  10aaef:	c3                   	ret                                   
                                                                      

0010a998 <utime>: int utime( const char *path, const struct utimbuf *times ) {
  10a998:	55                   	push   %ebp                           
  10a999:	89 e5                	mov    %esp,%ebp                      
  10a99b:	57                   	push   %edi                           
  10a99c:	53                   	push   %ebx                           
  10a99d:	83 ec 3c             	sub    $0x3c,%esp                     
  10a9a0:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10a9a3:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  rtems_filesystem_location_info_t   temp_loc;                        
  int                                result;                          
  struct utimbuf                     now;                             
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
  10a9a6:	31 c0                	xor    %eax,%eax                      
  10a9a8:	83 c9 ff             	or     $0xffffffff,%ecx               
  10a9ab:	89 d7                	mov    %edx,%edi                      
  10a9ad:	f2 ae                	repnz scas %es:(%edi),%al             
  10a9af:	f7 d1                	not    %ecx                           
  10a9b1:	49                   	dec    %ecx                           
  10a9b2:	6a 01                	push   $0x1                           
  10a9b4:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  10a9b7:	50                   	push   %eax                           
  10a9b8:	6a 00                	push   $0x0                           
  10a9ba:	51                   	push   %ecx                           
  10a9bb:	52                   	push   %edx                           
  10a9bc:	e8 44 d1 ff ff       	call   107b05 <rtems_filesystem_evaluate_path>
  10a9c1:	89 c2                	mov    %eax,%edx                      
  10a9c3:	83 c4 20             	add    $0x20,%esp                     
    return -1;                                                        
  10a9c6:	83 c8 ff             	or     $0xffffffff,%eax               
{                                                                     
  rtems_filesystem_location_info_t   temp_loc;                        
  int                                result;                          
  struct utimbuf                     now;                             
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
  10a9c9:	85 d2                	test   %edx,%edx                      
  10a9cb:	75 3b                	jne    10aa08 <utime+0x70>            
    return -1;                                                        
                                                                      
  if ( times == NULL ) {                                              
  10a9cd:	85 db                	test   %ebx,%ebx                      
  10a9cf:	75 16                	jne    10a9e7 <utime+0x4f>            <== ALWAYS TAKEN
    now.actime = now.modtime = time( NULL );                          
  10a9d1:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10a9d4:	6a 00                	push   $0x0                           <== NOT EXECUTED
  10a9d6:	e8 71 be 00 00       	call   11684c <time>                  <== NOT EXECUTED
  10a9db:	89 45 f4             	mov    %eax,-0xc(%ebp)                <== NOT EXECUTED
  10a9de:	89 45 f0             	mov    %eax,-0x10(%ebp)               <== NOT EXECUTED
  10a9e1:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    times = &now;                                                     
  10a9e4:	8d 5d f0             	lea    -0x10(%ebp),%ebx               <== NOT EXECUTED
  }                                                                   
                                                                      
  result = (*temp_loc.ops->utime_h)( &temp_loc, times->actime, times->modtime );
  10a9e7:	50                   	push   %eax                           
  10a9e8:	ff 73 04             	pushl  0x4(%ebx)                      
  10a9eb:	ff 33                	pushl  (%ebx)                         
  10a9ed:	8d 5d dc             	lea    -0x24(%ebp),%ebx               
  10a9f0:	53                   	push   %ebx                           
  10a9f1:	8b 45 e8             	mov    -0x18(%ebp),%eax               
  10a9f4:	ff 50 30             	call   *0x30(%eax)                    
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
  10a9f7:	89 1c 24             	mov    %ebx,(%esp)                    
  10a9fa:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10a9fd:	e8 2a d4 ff ff       	call   107e2c <rtems_filesystem_freenode>
                                                                      
  return result;                                                      
  10aa02:	83 c4 10             	add    $0x10,%esp                     
  10aa05:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
}                                                                     
  10aa08:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10aa0b:	5b                   	pop    %ebx                           
  10aa0c:	5f                   	pop    %edi                           
  10aa0d:	c9                   	leave                                 
  10aa0e:	c3                   	ret                                   
                                                                      

00109928 <vprintk>: */ void vprintk( const char *fmt, va_list ap ) {
  109928:	55                   	push   %ebp                           
  109929:	89 e5                	mov    %esp,%ebp                      
  10992b:	57                   	push   %edi                           
  10992c:	56                   	push   %esi                           
  10992d:	53                   	push   %ebx                           
  10992e:	83 ec 4c             	sub    $0x4c,%esp                     
  109931:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  109934:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  109937:	89 f8                	mov    %edi,%eax                      
  for (; *fmt != '\0'; fmt++) {                                       
  109939:	e9 51 02 00 00       	jmp    109b8f <vprintk+0x267>         
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
  10993e:	80 fa 25             	cmp    $0x25,%dl                      
  109941:	74 0b                	je     10994e <vprintk+0x26>          
      BSP_output_char(*fmt);                                          
  109943:	83 ec 0c             	sub    $0xc,%esp                      
  109946:	0f be d2             	movsbl %dl,%edx                       
  109949:	e9 5b 01 00 00       	jmp    109aa9 <vprintk+0x181>         
      continue;                                                       
    }                                                                 
    fmt++;                                                            
  10994e:	43                   	inc    %ebx                           
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
  10994f:	c6 45 c0 20          	movb   $0x20,-0x40(%ebp)              
    if (*fmt != '%') {                                                
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
  109953:	80 3b 30             	cmpb   $0x30,(%ebx)                   
  109956:	75 05                	jne    10995d <vprintk+0x35>          
      lead = '0';                                                     
      fmt++;                                                          
  109958:	43                   	inc    %ebx                           
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
  109959:	c6 45 c0 30          	movb   $0x30,-0x40(%ebp)              
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
  10995d:	31 d2                	xor    %edx,%edx                      
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
  10995f:	80 3b 2d             	cmpb   $0x2d,(%ebx)                   
  109962:	75 03                	jne    109967 <vprintk+0x3f>          
      minus = true;                                                   
      fmt++;                                                          
  109964:	43                   	inc    %ebx                           
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
  109965:	b2 01                	mov    $0x1,%dl                       
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
  109967:	31 ff                	xor    %edi,%edi                      
  109969:	eb 0c                	jmp    109977 <vprintk+0x4f>          
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
      width *= 10;                                                    
  10996b:	6b ff 0a             	imul   $0xa,%edi,%edi                 
      width += ((unsigned) *fmt - '0');                               
  10996e:	0f be 4d c4          	movsbl -0x3c(%ebp),%ecx               
  109972:	8d 7c 0f d0          	lea    -0x30(%edi,%ecx,1),%edi        
      fmt++;                                                          
  109976:	43                   	inc    %ebx                           
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
  109977:	8a 0b                	mov    (%ebx),%cl                     
  109979:	88 4d c4             	mov    %cl,-0x3c(%ebp)                
  10997c:	83 e9 30             	sub    $0x30,%ecx                     
  10997f:	80 f9 09             	cmp    $0x9,%cl                       
  109982:	76 e7                	jbe    10996b <vprintk+0x43>          
  109984:	89 7d bc             	mov    %edi,-0x44(%ebp)               
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
  109987:	c6 45 b8 00          	movb   $0x0,-0x48(%ebp)               
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
  10998b:	80 7d c4 6c          	cmpb   $0x6c,-0x3c(%ebp)              
  10998f:	75 0a                	jne    10999b <vprintk+0x73>          
      lflag = true;                                                   
      c = *++fmt;                                                     
  109991:	43                   	inc    %ebx                           
  109992:	8a 0b                	mov    (%ebx),%cl                     
  109994:	88 4d c4             	mov    %cl,-0x3c(%ebp)                
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
      lflag = true;                                                   
  109997:	c6 45 b8 01          	movb   $0x1,-0x48(%ebp)               
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
  10999b:	80 7d c4 63          	cmpb   $0x63,-0x3c(%ebp)              
  10999f:	75 1b                	jne    1099bc <vprintk+0x94>          
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
  1099a1:	8d 50 04             	lea    0x4(%eax),%edx                 
  1099a4:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
      BSP_output_char(chr);                                           
  1099a7:	83 ec 0c             	sub    $0xc,%esp                      
  1099aa:	0f be 00             	movsbl (%eax),%eax                    
  1099ad:	50                   	push   %eax                           
  1099ae:	ff 15 5c 02 12 00    	call   *0x12025c                      
      continue;                                                       
  1099b4:	83 c4 10             	add    $0x10,%esp                     
  1099b7:	e9 cf 01 00 00       	jmp    109b8b <vprintk+0x263>         
    }                                                                 
    if ( c == 's' ) {                                                 
  1099bc:	80 7d c4 73          	cmpb   $0x73,-0x3c(%ebp)              
  1099c0:	0f 85 9a 00 00 00    	jne    109a60 <vprintk+0x138>         
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
  1099c6:	8d 48 04             	lea    0x4(%eax),%ecx                 
  1099c9:	89 4d c4             	mov    %ecx,-0x3c(%ebp)               
  1099cc:	8b 00                	mov    (%eax),%eax                    
                                                                      
      if ( str == NULL ) {                                            
  1099ce:	85 c0                	test   %eax,%eax                      
  1099d0:	75 05                	jne    1099d7 <vprintk+0xaf>          
        str = "";                                                     
  1099d2:	b8 1d e9 11 00       	mov    $0x11e91d,%eax                 
      }                                                               
                                                                      
      /* calculate length of string */                                
      for ( len=0, s=str ; *s ; len++, s++ )                          
  1099d7:	31 f6                	xor    %esi,%esi                      
  1099d9:	eb 01                	jmp    1099dc <vprintk+0xb4>          
  1099db:	46                   	inc    %esi                           
  1099dc:	80 3c 30 00          	cmpb   $0x0,(%eax,%esi,1)             
  1099e0:	75 f9                	jne    1099db <vprintk+0xb3>          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
  1099e2:	89 f1                	mov    %esi,%ecx                      
  1099e4:	84 d2                	test   %dl,%dl                        
  1099e6:	74 23                	je     109a0b <vprintk+0xe3>          
  1099e8:	eb 25                	jmp    109a0f <vprintk+0xe7>          
        for ( i=len ; i<width ; i++ )                                 
          BSP_output_char(' ');                                       
  1099ea:	83 ec 0c             	sub    $0xc,%esp                      
  1099ed:	6a 20                	push   $0x20                          
  1099ef:	89 45 b0             	mov    %eax,-0x50(%ebp)               
  1099f2:	88 55 a8             	mov    %dl,-0x58(%ebp)                
  1099f5:	89 4d ac             	mov    %ecx,-0x54(%ebp)               
  1099f8:	ff 15 5c 02 12 00    	call   *0x12025c                      
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
  1099fe:	8b 4d ac             	mov    -0x54(%ebp),%ecx               
  109a01:	41                   	inc    %ecx                           
  109a02:	83 c4 10             	add    $0x10,%esp                     
  109a05:	8a 55 a8             	mov    -0x58(%ebp),%dl                
  109a08:	8b 45 b0             	mov    -0x50(%ebp),%eax               
  109a0b:	39 f9                	cmp    %edi,%ecx                      
  109a0d:	72 db                	jb     1099ea <vprintk+0xc2>          
          BSP_output_char(' ');                                       
                                                                      
      /* no width option */                                           
      if (width == 0) {                                               
  109a0f:	85 ff                	test   %edi,%edi                      
  109a11:	75 25                	jne    109a38 <vprintk+0x110>         
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
  109a13:	85 f6                	test   %esi,%esi                      
  109a15:	74 27                	je     109a3e <vprintk+0x116>         
  109a17:	89 f7                	mov    %esi,%edi                      
  109a19:	eb 1d                	jmp    109a38 <vprintk+0x110>         
        BSP_output_char(*str);                                        
  109a1b:	83 ec 0c             	sub    $0xc,%esp                      
  109a1e:	0f be c9             	movsbl %cl,%ecx                       
  109a21:	51                   	push   %ecx                           
  109a22:	89 45 b0             	mov    %eax,-0x50(%ebp)               
  109a25:	88 55 a8             	mov    %dl,-0x58(%ebp)                
  109a28:	ff 15 5c 02 12 00    	call   *0x12025c                      
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
  109a2e:	8b 45 b0             	mov    -0x50(%ebp),%eax               
  109a31:	40                   	inc    %eax                           
  109a32:	83 c4 10             	add    $0x10,%esp                     
  109a35:	8a 55 a8             	mov    -0x58(%ebp),%dl                
  109a38:	8a 08                	mov    (%eax),%cl                     
  109a3a:	84 c9                	test   %cl,%cl                        
  109a3c:	75 dd                	jne    109a1b <vprintk+0xf3>          
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
  109a3e:	84 d2                	test   %dl,%dl                        
  109a40:	0f 84 45 01 00 00    	je     109b8b <vprintk+0x263>         
  109a46:	eb 0f                	jmp    109a57 <vprintk+0x12f>         
        for ( i=len ; i<width ; i++ )                                 
          BSP_output_char(' ');                                       
  109a48:	83 ec 0c             	sub    $0xc,%esp                      
  109a4b:	6a 20                	push   $0x20                          
  109a4d:	ff 15 5c 02 12 00    	call   *0x12025c                      
      for ( i=0 ; i<width && *str ; str++ )                           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
  109a53:	46                   	inc    %esi                           
  109a54:	83 c4 10             	add    $0x10,%esp                     
  109a57:	39 fe                	cmp    %edi,%esi                      
  109a59:	72 ed                	jb     109a48 <vprintk+0x120>         
  109a5b:	e9 2b 01 00 00       	jmp    109b8b <vprintk+0x263>         
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
  109a60:	80 7d c4 4f          	cmpb   $0x4f,-0x3c(%ebp)              
  109a64:	74 5b                	je     109ac1 <vprintk+0x199>         
  109a66:	80 7d c4 6f          	cmpb   $0x6f,-0x3c(%ebp)              
  109a6a:	74 55                	je     109ac1 <vprintk+0x199>         <== NEVER TAKEN
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
  109a6c:	80 7d c4 49          	cmpb   $0x49,-0x3c(%ebp)              
  109a70:	74 58                	je     109aca <vprintk+0x1a2>         
  109a72:	80 7d c4 69          	cmpb   $0x69,-0x3c(%ebp)              
  109a76:	74 52                	je     109aca <vprintk+0x1a2>         
                c == 'd' || c == 'D' ) {                              
  109a78:	80 7d c4 44          	cmpb   $0x44,-0x3c(%ebp)              
  109a7c:	74 4c                	je     109aca <vprintk+0x1a2>         
  109a7e:	80 7d c4 64          	cmpb   $0x64,-0x3c(%ebp)              
  109a82:	74 46                	je     109aca <vprintk+0x1a2>         
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
  109a84:	80 7d c4 55          	cmpb   $0x55,-0x3c(%ebp)              
  109a88:	74 44                	je     109ace <vprintk+0x1a6>         
  109a8a:	80 7d c4 75          	cmpb   $0x75,-0x3c(%ebp)              
  109a8e:	74 3e                	je     109ace <vprintk+0x1a6>         
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
  109a90:	80 7d c4 58          	cmpb   $0x58,-0x3c(%ebp)              
  109a94:	74 41                	je     109ad7 <vprintk+0x1af>         
  109a96:	80 7d c4 78          	cmpb   $0x78,-0x3c(%ebp)              
  109a9a:	74 3b                	je     109ad7 <vprintk+0x1af>         
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
  109a9c:	80 7d c4 70          	cmpb   $0x70,-0x3c(%ebp)              
  109aa0:	74 39                	je     109adb <vprintk+0x1b3>         
      base = 16; sign = false; lflag = true;                          
    } else {                                                          
      BSP_output_char(c);                                             
  109aa2:	83 ec 0c             	sub    $0xc,%esp                      
  109aa5:	0f be 55 c4          	movsbl -0x3c(%ebp),%edx               
  109aa9:	52                   	push   %edx                           
  109aaa:	89 45 b0             	mov    %eax,-0x50(%ebp)               
  109aad:	ff 15 5c 02 12 00    	call   *0x12025c                      
      continue;                                                       
  109ab3:	83 c4 10             	add    $0x10,%esp                     
  109ab6:	8b 45 b0             	mov    -0x50(%ebp),%eax               
  109ab9:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  109abc:	e9 ca 00 00 00       	jmp    109b8b <vprintk+0x263>         
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
  109ac1:	31 d2                	xor    %edx,%edx                      
  109ac3:	be 08 00 00 00       	mov    $0x8,%esi                      
  109ac8:	eb 1c                	jmp    109ae6 <vprintk+0x1be>         
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
  109aca:	b2 01                	mov    $0x1,%dl                       
  109acc:	eb 02                	jmp    109ad0 <vprintk+0x1a8>         
    } else if ( c == 'u' || c == 'U' ) {                              
      base = 10; sign = false;                                        
  109ace:	31 d2                	xor    %edx,%edx                      
  109ad0:	be 0a 00 00 00       	mov    $0xa,%esi                      
  109ad5:	eb 0f                	jmp    109ae6 <vprintk+0x1be>         
    } else if ( c == 'x' || c == 'X' ) {                              
      base = 16; sign = false;                                        
  109ad7:	31 d2                	xor    %edx,%edx                      
  109ad9:	eb 06                	jmp    109ae1 <vprintk+0x1b9>         
    } else if ( c == 'p' ) {                                          
      base = 16; sign = false; lflag = true;                          
  109adb:	31 d2                	xor    %edx,%edx                      
  109add:	c6 45 b8 01          	movb   $0x1,-0x48(%ebp)               
  109ae1:	be 10 00 00 00       	mov    $0x10,%esi                     
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
  109ae6:	0f be 4d c0          	movsbl -0x40(%ebp),%ecx               
  109aea:	89 4d b4             	mov    %ecx,-0x4c(%ebp)               
  109aed:	8d 48 04             	lea    0x4(%eax),%ecx                 
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
  109af0:	89 4d c4             	mov    %ecx,-0x3c(%ebp)               
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
  109af3:	8b 08                	mov    (%eax),%ecx                    
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
  109af5:	84 d2                	test   %dl,%dl                        
  109af7:	74 1f                	je     109b18 <vprintk+0x1f0>         
  109af9:	85 c9                	test   %ecx,%ecx                      
  109afb:	79 1b                	jns    109b18 <vprintk+0x1f0>         
    BSP_output_char('-');                                             
  109afd:	83 ec 0c             	sub    $0xc,%esp                      
  109b00:	6a 2d                	push   $0x2d                          
  109b02:	89 4d ac             	mov    %ecx,-0x54(%ebp)               
  109b05:	ff 15 5c 02 12 00    	call   *0x12025c                      
    unsigned_num = (unsigned long) -num;                              
  109b0b:	8b 4d ac             	mov    -0x54(%ebp),%ecx               
  109b0e:	f7 d9                	neg    %ecx                           
    if (maxwidth) maxwidth--;                                         
  109b10:	83 c4 10             	add    $0x10,%esp                     
  109b13:	85 ff                	test   %edi,%edi                      
  109b15:	74 04                	je     109b1b <vprintk+0x1f3>         
  109b17:	4f                   	dec    %edi                           
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  109b18:	89 7d bc             	mov    %edi,-0x44(%ebp)               
  }                                                                   
                                                                      
  count = 0;                                                          
  109b1b:	31 ff                	xor    %edi,%edi                      
  109b1d:	eb 11                	jmp    109b30 <vprintk+0x208>         
  while ((n = unsigned_num / base) > 0) {                             
    toPrint[count++] = (char) (unsigned_num - (n * base));            
  109b1f:	89 f0                	mov    %esi,%eax                      
  109b21:	f6 65 c0             	mulb   -0x40(%ebp)                    
  109b24:	28 c1                	sub    %al,%cl                        
  109b26:	88 4c 3d d4          	mov    %cl,-0x2c(%ebp,%edi,1)         
  109b2a:	8b 7d b8             	mov    -0x48(%ebp),%edi               
  109b2d:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
  109b30:	89 c8                	mov    %ecx,%eax                      
  109b32:	31 d2                	xor    %edx,%edx                      
  109b34:	f7 f6                	div    %esi                           
  109b36:	89 45 c0             	mov    %eax,-0x40(%ebp)               
  109b39:	85 c0                	test   %eax,%eax                      
  109b3b:	8d 57 01             	lea    0x1(%edi),%edx                 
  109b3e:	89 55 b8             	mov    %edx,-0x48(%ebp)               
  109b41:	75 dc                	jne    109b1f <vprintk+0x1f7>         
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
  109b43:	88 4c 3d d4          	mov    %cl,-0x2c(%ebp,%edi,1)         
  109b47:	eb 12                	jmp    109b5b <vprintk+0x233>         
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
  109b49:	83 ec 0c             	sub    $0xc,%esp                      
  109b4c:	ff 75 b4             	pushl  -0x4c(%ebp)                    
  109b4f:	ff 15 5c 02 12 00    	call   *0x12025c                      
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
  109b55:	ff 4d bc             	decl   -0x44(%ebp)                    
  109b58:	83 c4 10             	add    $0x10,%esp                     
  109b5b:	8b 4d b8             	mov    -0x48(%ebp),%ecx               
  109b5e:	39 4d bc             	cmp    %ecx,-0x44(%ebp)               
  109b61:	77 e6                	ja     109b49 <vprintk+0x221>         
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
  109b63:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  109b66:	8d 3c 38             	lea    (%eax,%edi,1),%edi             
  109b69:	31 f6                	xor    %esi,%esi                      
  109b6b:	eb 19                	jmp    109b86 <vprintk+0x25e>         
                                                                      
  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)])]); 
  109b6d:	83 ec 0c             	sub    $0xc,%esp                      
  109b70:	0f be 07             	movsbl (%edi),%eax                    
  109b73:	0f be 80 1e e9 11 00 	movsbl 0x11e91e(%eax),%eax            
  109b7a:	50                   	push   %eax                           
  109b7b:	ff 15 5c 02 12 00    	call   *0x12025c                      
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
  109b81:	46                   	inc    %esi                           
  109b82:	4f                   	dec    %edi                           
  109b83:	83 c4 10             	add    $0x10,%esp                     
  109b86:	3b 75 b8             	cmp    -0x48(%ebp),%esi               
  109b89:	72 e2                	jb     109b6d <vprintk+0x245>         
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
  109b8b:	43                   	inc    %ebx                           
  109b8c:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  109b8f:	8a 13                	mov    (%ebx),%dl                     
  109b91:	84 d2                	test   %dl,%dl                        
  109b93:	0f 85 a5 fd ff ff    	jne    10993e <vprintk+0x16>          
      sign,                                                           
      width,                                                          
      lead                                                            
    );                                                                
  }                                                                   
}                                                                     
  109b99:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109b9c:	5b                   	pop    %ebx                           
  109b9d:	5e                   	pop    %esi                           
  109b9e:	5f                   	pop    %edi                           
  109b9f:	c9                   	leave                                 
  109ba0:	c3                   	ret                                   
                                                                      

0011cc48 <write>: ssize_t write( int fd, const void *buffer, size_t count ) {
  11cc48:	55                   	push   %ebp                           
  11cc49:	89 e5                	mov    %esp,%ebp                      
  11cc4b:	56                   	push   %esi                           
  11cc4c:	53                   	push   %ebx                           
  11cc4d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11cc50:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  11cc53:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  11cc56:	3b 1d 44 01 12 00    	cmp    0x120144,%ebx                  
  11cc5c:	73 14                	jae    11cc72 <write+0x2a>            
  iop = rtems_libio_iop( fd );                                        
  11cc5e:	c1 e3 06             	shl    $0x6,%ebx                      
  11cc61:	03 1d 98 40 12 00    	add    0x124098,%ebx                  
  rtems_libio_check_is_open( iop );                                   
  11cc67:	8b 73 14             	mov    0x14(%ebx),%esi                
  11cc6a:	f7 c6 00 01 00 00    	test   $0x100,%esi                    
  11cc70:	75 0d                	jne    11cc7f <write+0x37>            
  11cc72:	e8 c5 44 ff ff       	call   11113c <__errno>               
  11cc77:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  11cc7d:	eb 1a                	jmp    11cc99 <write+0x51>            
  rtems_libio_check_buffer( buffer );                                 
  11cc7f:	85 d2                	test   %edx,%edx                      
  11cc81:	74 0b                	je     11cc8e <write+0x46>            <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
  11cc83:	31 c0                	xor    %eax,%eax                      
  11cc85:	85 c9                	test   %ecx,%ecx                      
  11cc87:	74 31                	je     11ccba <write+0x72>            
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
  11cc89:	83 e6 04             	and    $0x4,%esi                      
  11cc8c:	75 10                	jne    11cc9e <write+0x56>            <== ALWAYS TAKEN
  11cc8e:	e8 a9 44 ff ff       	call   11113c <__errno>               <== NOT EXECUTED
  11cc93:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
  11cc99:	83 c8 ff             	or     $0xffffffff,%eax               
  11cc9c:	eb 1c                	jmp    11ccba <write+0x72>            
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
  rc = (*iop->handlers->write_h)( iop, buffer, count );               
  11cc9e:	50                   	push   %eax                           
  11cc9f:	8b 43 3c             	mov    0x3c(%ebx),%eax                
  11cca2:	51                   	push   %ecx                           
  11cca3:	52                   	push   %edx                           
  11cca4:	53                   	push   %ebx                           
  11cca5:	ff 50 0c             	call   *0xc(%eax)                     
                                                                      
  if ( rc > 0 )                                                       
  11cca8:	83 c4 10             	add    $0x10,%esp                     
  11ccab:	85 c0                	test   %eax,%eax                      
  11ccad:	7e 0b                	jle    11ccba <write+0x72>            
    iop->offset += rc;                                                
  11ccaf:	89 c1                	mov    %eax,%ecx                      
  11ccb1:	c1 f9 1f             	sar    $0x1f,%ecx                     
  11ccb4:	01 43 0c             	add    %eax,0xc(%ebx)                 
  11ccb7:	11 4b 10             	adc    %ecx,0x10(%ebx)                
                                                                      
  return rc;                                                          
}                                                                     
  11ccba:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  11ccbd:	5b                   	pop    %ebx                           
  11ccbe:	5e                   	pop    %esi                           
  11ccbf:	c9                   	leave                                 
  11ccc0:	c3                   	ret                                   
                                                                      

0010a9b8 <writev>: ssize_t writev( int fd, const struct iovec *iov, int iovcnt ) {
  10a9b8:	55                   	push   %ebp                           
  10a9b9:	89 e5                	mov    %esp,%ebp                      
  10a9bb:	57                   	push   %edi                           
  10a9bc:	56                   	push   %esi                           
  10a9bd:	53                   	push   %ebx                           
  10a9be:	83 ec 1c             	sub    $0x1c,%esp                     
  10a9c1:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10a9c4:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  10a9c7:	3b 35 a4 22 12 00    	cmp    0x1222a4,%esi                  
  10a9cd:	73 11                	jae    10a9e0 <writev+0x28>           
  iop = rtems_libio_iop( fd );                                        
  10a9cf:	c1 e6 06             	shl    $0x6,%esi                      
  10a9d2:	03 35 f8 61 12 00    	add    0x1261f8,%esi                  
  rtems_libio_check_is_open( iop );                                   
  10a9d8:	8b 46 14             	mov    0x14(%esi),%eax                
  10a9db:	f6 c4 01             	test   $0x1,%ah                       
  10a9de:	75 10                	jne    10a9f0 <writev+0x38>           
  10a9e0:	e8 2f 73 00 00       	call   111d14 <__errno>               
  10a9e5:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  10a9eb:	e9 ad 00 00 00       	jmp    10aa9d <writev+0xe5>           
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
  10a9f0:	a8 04                	test   $0x4,%al                       
  10a9f2:	74 42                	je     10aa36 <writev+0x7e>           <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
  10a9f4:	85 ff                	test   %edi,%edi                      
  10a9f6:	74 3e                	je     10aa36 <writev+0x7e>           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
  10a9f8:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)                
  10a9fc:	7e 38                	jle    10aa36 <writev+0x7e>           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
  10a9fe:	81 7d 10 00 04 00 00 	cmpl   $0x400,0x10(%ebp)              
  10aa05:	7f 2f                	jg     10aa36 <writev+0x7e>           <== NEVER TAKEN
  10aa07:	b2 01                	mov    $0x1,%dl                       
  10aa09:	31 c0                	xor    %eax,%eax                      
  10aa0b:	31 c9                	xor    %ecx,%ecx                      
  10aa0d:	eb 02                	jmp    10aa11 <writev+0x59>           
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
  10aa0f:	89 d9                	mov    %ebx,%ecx                      
   *  entering the write loop.                                        
   */                                                                 
  all_zeros = true;                                                   
  for ( old=0, total=0, v=0 ; v < iovcnt ; v++ ) {                    
                                                                      
    if ( !iov[v].iov_base )                                           
  10aa11:	83 3c c7 00          	cmpl   $0x0,(%edi,%eax,8)             
  10aa15:	74 1f                	je     10aa36 <writev+0x7e>           
                                                                      
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
  10aa17:	83 7c c7 04 00       	cmpl   $0x0,0x4(%edi,%eax,8)          
  10aa1c:	0f 94 c3             	sete   %bl                            
  10aa1f:	f7 db                	neg    %ebx                           
  10aa21:	21 da                	and    %ebx,%edx                      
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
  10aa23:	8b 5c c7 04          	mov    0x4(%edi,%eax,8),%ebx          
  10aa27:	8d 1c 19             	lea    (%ecx,%ebx,1),%ebx             
    if ( total < old || total > SSIZE_MAX )                           
  10aa2a:	81 fb ff 7f 00 00    	cmp    $0x7fff,%ebx                   
  10aa30:	7f 04                	jg     10aa36 <writev+0x7e>           <== NEVER TAKEN
  10aa32:	39 cb                	cmp    %ecx,%ebx                      
  10aa34:	7d 0d                	jge    10aa43 <writev+0x8b>           
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  10aa36:	e8 d9 72 00 00       	call   111d14 <__errno>               
  10aa3b:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10aa41:	eb 5a                	jmp    10aa9d <writev+0xe5>           
   *  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++ ) {                    
  10aa43:	40                   	inc    %eax                           
  10aa44:	3b 45 10             	cmp    0x10(%ebp),%eax                
  10aa47:	7c c6                	jl     10aa0f <writev+0x57>           
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
    return 0;                                                         
  10aa49:	31 db                	xor    %ebx,%ebx                      
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
  10aa4b:	84 d2                	test   %dl,%dl                        
  10aa4d:	75 51                	jne    10aaa0 <writev+0xe8>           
  10aa4f:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
  10aa56:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10aa59:	8b 44 d7 04          	mov    0x4(%edi,%edx,8),%eax          
  10aa5d:	85 c0                	test   %eax,%eax                      
  10aa5f:	74 2f                	je     10aa90 <writev+0xd8>           <== NEVER TAKEN
      continue;                                                       
                                                                      
    bytes = (*iop->handlers->write_h)( iop, iov[v].iov_base, iov[v].iov_len );
  10aa61:	52                   	push   %edx                           
  10aa62:	8b 56 3c             	mov    0x3c(%esi),%edx                
  10aa65:	50                   	push   %eax                           
  10aa66:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10aa69:	ff 34 c7             	pushl  (%edi,%eax,8)                  
  10aa6c:	56                   	push   %esi                           
  10aa6d:	ff 52 0c             	call   *0xc(%edx)                     
                                                                      
    if ( bytes < 0 )                                                  
  10aa70:	83 c4 10             	add    $0x10,%esp                     
  10aa73:	83 f8 00             	cmp    $0x0,%eax                      
  10aa76:	7c 25                	jl     10aa9d <writev+0xe5>           <== NEVER TAKEN
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
  10aa78:	74 0d                	je     10aa87 <writev+0xcf>           <== NEVER TAKEN
      iop->offset += bytes;                                           
  10aa7a:	89 c1                	mov    %eax,%ecx                      
  10aa7c:	c1 f9 1f             	sar    $0x1f,%ecx                     
  10aa7f:	01 46 0c             	add    %eax,0xc(%esi)                 
  10aa82:	11 4e 10             	adc    %ecx,0x10(%esi)                
      total       += bytes;                                           
  10aa85:	01 c3                	add    %eax,%ebx                      
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
  10aa87:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10aa8a:	3b 44 d7 04          	cmp    0x4(%edi,%edx,8),%eax          
  10aa8e:	75 10                	jne    10aaa0 <writev+0xe8>           <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
  10aa90:	ff 45 e4             	incl   -0x1c(%ebp)                    
  10aa93:	8b 45 10             	mov    0x10(%ebp),%eax                
  10aa96:	39 45 e4             	cmp    %eax,-0x1c(%ebp)               
  10aa99:	7c bb                	jl     10aa56 <writev+0x9e>           
  10aa9b:	eb 03                	jmp    10aaa0 <writev+0xe8>           
      continue;                                                       
                                                                      
    bytes = (*iop->handlers->write_h)( iop, iov[v].iov_base, iov[v].iov_len );
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
  10aa9d:	83 cb ff             	or     $0xffffffff,%ebx               
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
  10aaa0:	89 d8                	mov    %ebx,%eax                      
  10aaa2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10aaa5:	5b                   	pop    %ebx                           
  10aaa6:	5e                   	pop    %esi                           
  10aaa7:	5f                   	pop    %edi                           
  10aaa8:	c9                   	leave                                 
  10aaa9:	c3                   	ret