RTEMS 4.11
Annotated Report
Sun Jan 9 16:50:38 2011

0010ef34 <IMFS_Set_handlers>:                                         
#define MAXSYMLINK 5                                                  
                                                                      
int IMFS_Set_handlers(                                                
  rtems_filesystem_location_info_t   *loc                             
)                                                                     
{                                                                     
  10ef34:	55                   	push   %ebp                           
  10ef35:	89 e5                	mov    %esp,%ebp                      
  10ef37:	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;                                   
  10ef3a:	8b 50 10             	mov    0x10(%eax),%edx                
  10ef3d:	8b 4a 34             	mov    0x34(%edx),%ecx                
  switch( node->type ) {                                              
  10ef40:	8b 10                	mov    (%eax),%edx                    
  10ef42:	83 7a 4c 07          	cmpl   $0x7,0x4c(%edx)                
  10ef46:	77 12                	ja     10ef5a <IMFS_Set_handlers+0x26><== NEVER TAKEN
  10ef48:	8b 52 4c             	mov    0x4c(%edx),%edx                
  10ef4b:	ff 24 95 f0 ff 11 00 	jmp    *0x11fff0(,%edx,4)             
  10ef52:	66 90                	xchg   %ax,%ax                        
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
  10ef54:	8b 51 0c             	mov    0xc(%ecx),%edx                 
  10ef57:	89 50 08             	mov    %edx,0x8(%eax)                 
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
  10ef5a:	31 c0                	xor    %eax,%eax                      
  10ef5c:	c9                   	leave                                 
  10ef5d:	c3                   	ret                                   
  10ef5e:	66 90                	xchg   %ax,%ax                        
      break;                                                          
    case IMFS_LINEAR_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
  10ef60:	8b 51 08             	mov    0x8(%ecx),%edx                 
  10ef63:	89 50 08             	mov    %edx,0x8(%eax)                 
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
  10ef66:	31 c0                	xor    %eax,%eax                      
  10ef68:	c9                   	leave                                 
  10ef69:	c3                   	ret                                   
  10ef6a:	66 90                	xchg   %ax,%ax                        
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
      break;                                                          
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
  10ef6c:	c7 40 08 a0 00 12 00 	movl   $0x1200a0,0x8(%eax)            
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
  10ef73:	31 c0                	xor    %eax,%eax                      
  10ef75:	c9                   	leave                                 
  10ef76:	c3                   	ret                                   
  10ef77:	90                   	nop                                   
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_FIFO:                                                   
      loc->handlers = fs_info->fifo_handlers;                         
  10ef78:	8b 51 10             	mov    0x10(%ecx),%edx                
  10ef7b:	89 50 08             	mov    %edx,0x8(%eax)                 
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
  10ef7e:	31 c0                	xor    %eax,%eax                      
  10ef80:	c9                   	leave                                 
  10ef81:	c3                   	ret                                   
  10ef82:	66 90                	xchg   %ax,%ax                        
  switch( node->type ) {                                              
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
  10ef84:	c7 40 08 20 00 12 00 	movl   $0x120020,0x8(%eax)            
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
  10ef8b:	31 c0                	xor    %eax,%eax                      
  10ef8d:	c9                   	leave                                 
  10ef8e:	c3                   	ret                                   
                                                                      

0010f87c <IMFS_check_node_remove>: void IMFS_check_node_remove( IMFS_jnode_t *jnode ) {
  10f87c:	55                   	push   %ebp                           
  10f87d:	89 e5                	mov    %esp,%ebp                      
  10f87f:	53                   	push   %ebx                           
  10f880:	83 ec 10             	sub    $0x10,%esp                     
  10f883:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  if ( !rtems_libio_is_file_open( jnode ) && jnode->st_nlink < 1 ) {  
  10f886:	53                   	push   %ebx                           
  10f887:	e8 d8 04 00 00       	call   10fd64 <rtems_libio_is_file_open>
  10f88c:	83 c4 10             	add    $0x10,%esp                     
  10f88f:	85 c0                	test   %eax,%eax                      
  10f891:	75 2d                	jne    10f8c0 <IMFS_check_node_remove+0x44>
  10f893:	66 83 7b 34 00       	cmpw   $0x0,0x34(%ebx)                
  10f898:	75 26                	jne    10f8c0 <IMFS_check_node_remove+0x44>
    if ( rtems_filesystem_current.node_access == jnode )              
  10f89a:	a1 50 31 12 00       	mov    0x123150,%eax                  
  10f89f:	39 58 04             	cmp    %ebx,0x4(%eax)                 
  10f8a2:	74 58                	je     10f8fc <IMFS_check_node_remove+0x80>
       rtems_filesystem_current.node_access = NULL;                   
                                                                      
    switch ( jnode->type ) {                                          
  10f8a4:	8b 43 4c             	mov    0x4c(%ebx),%eax                
  10f8a7:	83 f8 04             	cmp    $0x4,%eax                      
  10f8aa:	74 34                	je     10f8e0 <IMFS_check_node_remove+0x64>
  10f8ac:	83 f8 05             	cmp    $0x5,%eax                      
  10f8af:	74 17                	je     10f8c8 <IMFS_check_node_remove+0x4c>
        break;                                                        
      default:                                                        
        break;                                                        
    }                                                                 
                                                                      
    free( jnode );                                                    
  10f8b1:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
}                                                                     
  10f8b4:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10f8b7:	c9                   	leave                                 
        break;                                                        
      default:                                                        
        break;                                                        
    }                                                                 
                                                                      
    free( jnode );                                                    
  10f8b8:	e9 f7 87 ff ff       	jmp    1080b4 <free>                  
  10f8bd:	8d 76 00             	lea    0x0(%esi),%esi                 
  }                                                                   
}                                                                     
  10f8c0:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10f8c3:	c9                   	leave                                 
  10f8c4:	c3                   	ret                                   
  10f8c5:	8d 76 00             	lea    0x0(%esi),%esi                 
    if ( rtems_filesystem_current.node_access == jnode )              
       rtems_filesystem_current.node_access = NULL;                   
                                                                      
    switch ( jnode->type ) {                                          
      case IMFS_MEMORY_FILE:                                          
        IMFS_memfile_remove( jnode );                                 
  10f8c8:	83 ec 0c             	sub    $0xc,%esp                      
  10f8cb:	53                   	push   %ebx                           
  10f8cc:	e8 53 1a 00 00       	call   111324 <IMFS_memfile_remove>   
        break;                                                        
  10f8d1:	83 c4 10             	add    $0x10,%esp                     
        break;                                                        
      default:                                                        
        break;                                                        
    }                                                                 
                                                                      
    free( jnode );                                                    
  10f8d4:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
}                                                                     
  10f8d7:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10f8da:	c9                   	leave                                 
        break;                                                        
      default:                                                        
        break;                                                        
    }                                                                 
                                                                      
    free( jnode );                                                    
  10f8db:	e9 d4 87 ff ff       	jmp    1080b4 <free>                  
    switch ( jnode->type ) {                                          
      case IMFS_MEMORY_FILE:                                          
        IMFS_memfile_remove( jnode );                                 
        break;                                                        
      case IMFS_SYM_LINK:                                             
        free( jnode->info.sym_link.name );                            
  10f8e0:	83 ec 0c             	sub    $0xc,%esp                      
  10f8e3:	ff 73 50             	pushl  0x50(%ebx)                     
  10f8e6:	e8 c9 87 ff ff       	call   1080b4 <free>                  
        break;                                                        
  10f8eb:	83 c4 10             	add    $0x10,%esp                     
      default:                                                        
        break;                                                        
    }                                                                 
                                                                      
    free( jnode );                                                    
  10f8ee:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
}                                                                     
  10f8f1:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10f8f4:	c9                   	leave                                 
        break;                                                        
      default:                                                        
        break;                                                        
    }                                                                 
                                                                      
    free( jnode );                                                    
  10f8f5:	e9 ba 87 ff ff       	jmp    1080b4 <free>                  
  10f8fa:	66 90                	xchg   %ax,%ax                        
                                                                      
void IMFS_check_node_remove( IMFS_jnode_t *jnode )                    
{                                                                     
  if ( !rtems_libio_is_file_open( jnode ) && jnode->st_nlink < 1 ) {  
    if ( rtems_filesystem_current.node_access == jnode )              
       rtems_filesystem_current.node_access = NULL;                   
  10f8fc:	c7 40 04 00 00 00 00 	movl   $0x0,0x4(%eax)                 
  10f903:	eb 9f                	jmp    10f8a4 <IMFS_check_node_remove+0x28>
                                                                      

0010edc8 <IMFS_create_node>: IMFS_jnode_types_t type, const char *name, mode_t mode, const IMFS_types_union *info ) {
  10edc8:	55                   	push   %ebp                           
  10edc9:	89 e5                	mov    %esp,%ebp                      
  10edcb:	57                   	push   %edi                           
  10edcc:	56                   	push   %esi                           
  10edcd:	53                   	push   %ebx                           
  10edce:	83 ec 1c             	sub    $0x1c,%esp                     
  10edd1:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10edd4:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
  10edd7:	85 c0                	test   %eax,%eax                      
  10edd9:	0f 84 ba 00 00 00    	je     10ee99 <IMFS_create_node+0xd1> <== NEVER TAKEN
    return NULL;                                                      
                                                                      
  parent = parent_loc->node_access;                                   
  10eddf:	8b 38                	mov    (%eax),%edi                    
  fs_info = parent_loc->mt_entry->fs_info;                            
  10ede1:	8b 40 10             	mov    0x10(%eax),%eax                
  10ede4:	8b 70 34             	mov    0x34(%eax),%esi                
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
  10ede7:	83 fb 07             	cmp    $0x7,%ebx                      
  10edea:	0f 84 9c 00 00 00    	je     10ee8c <IMFS_create_node+0xc4> 
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node  = IMFS_allocate_node( type, name, mode & ~rtems_filesystem_umask );
  10edf0:	50                   	push   %eax                           
  10edf1:	a1 50 31 12 00       	mov    0x123150,%eax                  
  10edf6:	8b 40 2c             	mov    0x2c(%eax),%eax                
  10edf9:	f7 d0                	not    %eax                           
  10edfb:	23 45 14             	and    0x14(%ebp),%eax                
  10edfe:	50                   	push   %eax                           
  10edff:	ff 75 10             	pushl  0x10(%ebp)                     
  10ee02:	53                   	push   %ebx                           
  10ee03:	e8 54 ff ff ff       	call   10ed5c <IMFS_allocate_node>    
  if ( !node )                                                        
  10ee08:	83 c4 10             	add    $0x10,%esp                     
  10ee0b:	85 c0                	test   %eax,%eax                      
  10ee0d:	74 73                	je     10ee82 <IMFS_create_node+0xba> 
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
  if ( type == IMFS_DIRECTORY ) {                                     
  10ee0f:	83 fb 01             	cmp    $0x1,%ebx                      
  10ee12:	74 38                	je     10ee4c <IMFS_create_node+0x84> 
    rtems_chain_initialize_empty(&node->info.directory.Entries);      
  } else if ( type == IMFS_HARD_LINK ) {                              
  10ee14:	83 fb 03             	cmp    $0x3,%ebx                      
  10ee17:	0f 84 97 00 00 00    	je     10eeb4 <IMFS_create_node+0xec> 
    node->info.hard_link.link_node = info->hard_link.link_node;       
  } else if ( type == IMFS_SYM_LINK ) {                               
  10ee1d:	83 fb 04             	cmp    $0x4,%ebx                      
  10ee20:	0f 84 8e 00 00 00    	je     10eeb4 <IMFS_create_node+0xec> 
    node->info.sym_link.name = info->sym_link.name;                   
  } else if ( type == IMFS_DEVICE ) {                                 
  10ee26:	83 fb 02             	cmp    $0x2,%ebx                      
  10ee29:	74 79                	je     10eea4 <IMFS_create_node+0xdc> 
    node->info.device.major = info->device.major;                     
    node->info.device.minor = info->device.minor;                     
  } else if ( type == IMFS_LINEAR_FILE ) {                            
  10ee2b:	83 fb 06             	cmp    $0x6,%ebx                      
  10ee2e:	0f 84 8c 00 00 00    	je     10eec0 <IMFS_create_node+0xf8> 
    node->info.linearfile.size      = 0;                              
    node->info.linearfile.direct    = 0;                              
  } else if ( type == IMFS_MEMORY_FILE ) {                            
  10ee34:	83 fb 05             	cmp    $0x5,%ebx                      
  10ee37:	0f 84 9b 00 00 00    	je     10eed8 <IMFS_create_node+0x110>
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
      node->info.file.triply_indirect = 0;                            
  } else if ( type == IMFS_FIFO ) {                                   
  10ee3d:	83 fb 07             	cmp    $0x7,%ebx                      
  10ee40:	75 1d                	jne    10ee5f <IMFS_create_node+0x97> <== NEVER TAKEN
    node->info.fifo.pipe = NULL;                                      
  10ee42:	c7 40 50 00 00 00 00 	movl   $0x0,0x50(%eax)                
  10ee49:	eb 14                	jmp    10ee5f <IMFS_create_node+0x97> 
  10ee4b:	90                   	nop                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  10ee4c:	8d 50 54             	lea    0x54(%eax),%edx                
  10ee4f:	89 50 50             	mov    %edx,0x50(%eax)                
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  10ee52:	c7 40 54 00 00 00 00 	movl   $0x0,0x54(%eax)                
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  10ee59:	8d 50 50             	lea    0x50(%eax),%edx                
  10ee5c:	89 50 58             	mov    %edx,0x58(%eax)                
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
  10ee5f:	89 78 08             	mov    %edi,0x8(%eax)                 
  node->st_ino = ++fs_info->ino_count;                                
  10ee62:	8b 56 04             	mov    0x4(%esi),%edx                 
  10ee65:	42                   	inc    %edx                           
  10ee66:	89 56 04             	mov    %edx,0x4(%esi)                 
  10ee69:	89 50 38             	mov    %edx,0x38(%eax)                
  10ee6c:	83 ec 08             	sub    $0x8,%esp                      
  10ee6f:	50                   	push   %eax                           
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
  10ee70:	83 c7 50             	add    $0x50,%edi                     
  10ee73:	57                   	push   %edi                           
  10ee74:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  10ee77:	e8 14 d1 ff ff       	call   10bf90 <_Chain_Append>         
                                                                      
  return node;                                                        
  10ee7c:	83 c4 10             	add    $0x10,%esp                     
  10ee7f:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
}                                                                     
  10ee82:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ee85:	5b                   	pop    %ebx                           
  10ee86:	5e                   	pop    %esi                           
  10ee87:	5f                   	pop    %edi                           
  10ee88:	c9                   	leave                                 
  10ee89:	c3                   	ret                                   
  10ee8a:	66 90                	xchg   %ax,%ax                        
  fs_info = parent_loc->mt_entry->fs_info;                            
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
  10ee8c:	81 7e 10 80 ff 11 00 	cmpl   $0x11ff80,0x10(%esi)           
  10ee93:	0f 85 57 ff ff ff    	jne    10edf0 <IMFS_create_node+0x28> 
       fs_info->fifo_handlers == &rtems_filesystem_handlers_default ) 
    return NULL;                                                      
  10ee99:	31 c0                	xor    %eax,%eax                      
  node->st_ino = ++fs_info->ino_count;                                
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
  10ee9b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ee9e:	5b                   	pop    %ebx                           
  10ee9f:	5e                   	pop    %esi                           
  10eea0:	5f                   	pop    %edi                           
  10eea1:	c9                   	leave                                 
  10eea2:	c3                   	ret                                   
  10eea3:	90                   	nop                                   
  } else if ( type == IMFS_HARD_LINK ) {                              
    node->info.hard_link.link_node = info->hard_link.link_node;       
  } else if ( type == IMFS_SYM_LINK ) {                               
    node->info.sym_link.name = info->sym_link.name;                   
  } else if ( type == IMFS_DEVICE ) {                                 
    node->info.device.major = info->device.major;                     
  10eea4:	8b 4d 18             	mov    0x18(%ebp),%ecx                
  10eea7:	8b 11                	mov    (%ecx),%edx                    
  10eea9:	89 50 50             	mov    %edx,0x50(%eax)                
    node->info.device.minor = info->device.minor;                     
  10eeac:	8b 51 04             	mov    0x4(%ecx),%edx                 
  10eeaf:	89 50 54             	mov    %edx,0x54(%eax)                
  10eeb2:	eb ab                	jmp    10ee5f <IMFS_create_node+0x97> 
  if ( type == IMFS_DIRECTORY ) {                                     
    rtems_chain_initialize_empty(&node->info.directory.Entries);      
  } else if ( type == IMFS_HARD_LINK ) {                              
    node->info.hard_link.link_node = info->hard_link.link_node;       
  } else if ( type == IMFS_SYM_LINK ) {                               
    node->info.sym_link.name = info->sym_link.name;                   
  10eeb4:	8b 4d 18             	mov    0x18(%ebp),%ecx                
  10eeb7:	8b 11                	mov    (%ecx),%edx                    
  10eeb9:	89 50 50             	mov    %edx,0x50(%eax)                
  10eebc:	eb a1                	jmp    10ee5f <IMFS_create_node+0x97> 
  10eebe:	66 90                	xchg   %ax,%ax                        
  } else if ( type == IMFS_DEVICE ) {                                 
    node->info.device.major = info->device.major;                     
    node->info.device.minor = info->device.minor;                     
  } else if ( type == IMFS_LINEAR_FILE ) {                            
    node->info.linearfile.size      = 0;                              
  10eec0:	c7 40 50 00 00 00 00 	movl   $0x0,0x50(%eax)                
  10eec7:	c7 40 54 00 00 00 00 	movl   $0x0,0x54(%eax)                
    node->info.linearfile.direct    = 0;                              
  10eece:	c7 40 58 00 00 00 00 	movl   $0x0,0x58(%eax)                
  10eed5:	eb 88                	jmp    10ee5f <IMFS_create_node+0x97> 
  10eed7:	90                   	nop                                   
  } else if ( type == IMFS_MEMORY_FILE ) {                            
      node->info.file.size            = 0;                            
  10eed8:	c7 40 50 00 00 00 00 	movl   $0x0,0x50(%eax)                
  10eedf:	c7 40 54 00 00 00 00 	movl   $0x0,0x54(%eax)                
      node->info.file.indirect        = 0;                            
  10eee6:	c7 40 58 00 00 00 00 	movl   $0x0,0x58(%eax)                
      node->info.file.doubly_indirect = 0;                            
  10eeed:	c7 40 5c 00 00 00 00 	movl   $0x0,0x5c(%eax)                
      node->info.file.triply_indirect = 0;                            
  10eef4:	c7 40 60 00 00 00 00 	movl   $0x0,0x60(%eax)                
  10eefb:	e9 5f ff ff ff       	jmp    10ee5f <IMFS_create_node+0x97> 
                                                                      

0010a4e8 <IMFS_dump_directory>: */ void IMFS_dump_directory( IMFS_jnode_t *the_directory, int level ) {
  10a4e8:	55                   	push   %ebp                           
  10a4e9:	89 e5                	mov    %esp,%ebp                      
  10a4eb:	57                   	push   %edi                           
  10a4ec:	56                   	push   %esi                           
  10a4ed:	53                   	push   %ebx                           
  10a4ee:	83 ec 1c             	sub    $0x1c,%esp                     
  10a4f1:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10a4f4:	8b 75 0c             	mov    0xc(%ebp),%esi                 
 *                                                                    
 */                                                                   
int IMFS_memfile_maximum_size( void )                                 
{                                                                     
  return IMFS_MEMFILE_MAXIMUM_SIZE;                                   
}                                                                     
  10a4f7:	8b 78 50             	mov    0x50(%eax),%edi                
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
  10a4fa:	83 c0 54             	add    $0x54,%eax                     
  10a4fd:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  IMFS_assert( level >= 0 );                                          
  IMFS_assert( the_directory->type == IMFS_DIRECTORY );               
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
  10a500:	39 c7                	cmp    %eax,%edi                      
  10a502:	74 47                	je     10a54b <IMFS_dump_directory+0x63>
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
  10a504:	8d 46 01             	lea    0x1(%esi),%eax                 
  10a507:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  10a50a:	66 90                	xchg   %ax,%ax                        
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
  10a50c:	85 f6                	test   %esi,%esi                      
  10a50e:	78 22                	js     10a532 <IMFS_dump_directory+0x4a><== NEVER TAKEN
  10a510:	31 db                	xor    %ebx,%ebx                      
  10a512:	66 90                	xchg   %ax,%ax                        
      fprintf(stdout, "...." );                                       
  10a514:	a1 20 aa 12 00       	mov    0x12aa20,%eax                  
  10a519:	ff 70 08             	pushl  0x8(%eax)                      
  10a51c:	6a 04                	push   $0x4                           
  10a51e:	6a 01                	push   $0x1                           
  10a520:	68 b2 59 12 00       	push   $0x1259b2                      
  10a525:	e8 62 d1 00 00       	call   11768c <fwrite>                
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
  10a52a:	43                   	inc    %ebx                           
  10a52b:	83 c4 10             	add    $0x10,%esp                     
  10a52e:	39 de                	cmp    %ebx,%esi                      
  10a530:	7d e2                	jge    10a514 <IMFS_dump_directory+0x2c>
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
  10a532:	83 ec 0c             	sub    $0xc,%esp                      
  10a535:	57                   	push   %edi                           
  10a536:	e8 75 fe ff ff       	call   10a3b0 <IMFS_print_jnode>      
    if ( the_jnode->type == IMFS_DIRECTORY )                          
  10a53b:	83 c4 10             	add    $0x10,%esp                     
  10a53e:	83 7f 4c 01          	cmpl   $0x1,0x4c(%edi)                
  10a542:	74 10                	je     10a554 <IMFS_dump_directory+0x6c>
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
  10a544:	8b 3f                	mov    (%edi),%edi                    
  IMFS_assert( level >= 0 );                                          
  IMFS_assert( the_directory->type == IMFS_DIRECTORY );               
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
  10a546:	3b 7d e4             	cmp    -0x1c(%ebp),%edi               
  10a549:	75 c1                	jne    10a50c <IMFS_dump_directory+0x24>
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
  }                                                                   
}                                                                     
  10a54b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a54e:	5b                   	pop    %ebx                           
  10a54f:	5e                   	pop    %esi                           
  10a550:	5f                   	pop    %edi                           
  10a551:	c9                   	leave                                 
  10a552:	c3                   	ret                                   
  10a553:	90                   	nop                                   
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
  10a554:	83 ec 08             	sub    $0x8,%esp                      
  10a557:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10a55a:	57                   	push   %edi                           
  10a55b:	e8 88 ff ff ff       	call   10a4e8 <IMFS_dump_directory>   
  10a560:	83 c4 10             	add    $0x10,%esp                     
  10a563:	eb df                	jmp    10a544 <IMFS_dump_directory+0x5c>
                                                                      

0010f010 <IMFS_eval_path>: const char *pathname, /* IN */ size_t pathnamelen, /* IN */ int flags, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
  10f010:	55                   	push   %ebp                           
  10f011:	89 e5                	mov    %esp,%ebp                      
  10f013:	57                   	push   %edi                           
  10f014:	56                   	push   %esi                           
  10f015:	53                   	push   %ebx                           
  10f016:	83 ec 5c             	sub    $0x5c,%esp                     
  char                                token[ IMFS_NAME_MAX + 1 ];     
  rtems_filesystem_location_info_t    newloc;                         
  IMFS_jnode_t                       *node;                           
  int                                 result;                         
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
  10f019:	f7 45 10 f8 ff ff ff 	testl  $0xfffffff8,0x10(%ebp)         
  10f020:	0f 85 ee 01 00 00    	jne    10f214 <IMFS_eval_path+0x204>  <== NEVER TAKEN
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
  10f026:	8b 45 14             	mov    0x14(%ebp),%eax                
  10f029:	8b 38                	mov    (%eax),%edi                    
  size_t                             pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
  int                                 i = 0;                          
  10f02b:	c7 45 a4 00 00 00 00 	movl   $0x0,-0x5c(%ebp)               
  10f032:	8d 75 af             	lea    -0x51(%ebp),%esi               
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
  10f035:	8d 55 e4             	lea    -0x1c(%ebp),%edx               
  10f038:	52                   	push   %edx                           
  10f039:	56                   	push   %esi                           
  10f03a:	ff 75 0c             	pushl  0xc(%ebp)                      
  10f03d:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10f040:	03 45 a4             	add    -0x5c(%ebp),%eax               
  10f043:	50                   	push   %eax                           
  10f044:	e8 17 07 00 00       	call   10f760 <IMFS_get_token>        
  10f049:	89 c3                	mov    %eax,%ebx                      
    pathnamelen -= len;                                               
  10f04b:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
  10f04e:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  10f051:	8b 01                	mov    (%ecx),%eax                    
  10f053:	83 c4 10             	add    $0x10,%esp                     
  10f056:	85 c0                	test   %eax,%eax                      
  10f058:	0f 84 e6 00 00 00    	je     10f144 <IMFS_eval_path+0x134>  <== NEVER TAKEN
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
  10f05e:	29 55 0c             	sub    %edx,0xc(%ebp)                 
    i += len;                                                         
  10f061:	01 55 a4             	add    %edx,-0x5c(%ebp)               
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
  10f064:	85 db                	test   %ebx,%ebx                      
  10f066:	75 44                	jne    10f0ac <IMFS_eval_path+0x9c>   
   *  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 ) {                               
  10f068:	83 78 4c 01          	cmpl   $0x1,0x4c(%eax)                
  10f06c:	0f 84 26 01 00 00    	je     10f198 <IMFS_eval_path+0x188>  
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
  10f072:	83 ec 0c             	sub    $0xc,%esp                      
  10f075:	ff 75 14             	pushl  0x14(%ebp)                     
  10f078:	e8 b7 fe ff ff       	call   10ef34 <IMFS_Set_handlers>     
  10f07d:	89 c3                	mov    %eax,%ebx                      
  10f07f:	5a                   	pop    %edx                           
  10f080:	59                   	pop    %ecx                           
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
  10f081:	ff 75 10             	pushl  0x10(%ebp)                     
  10f084:	ff 75 14             	pushl  0x14(%ebp)                     
  10f087:	e8 04 ff ff ff       	call   10ef90 <IMFS_evaluate_permission>
  10f08c:	83 c4 10             	add    $0x10,%esp                     
  10f08f:	85 c0                	test   %eax,%eax                      
  10f091:	0f 85 d1 00 00 00    	jne    10f168 <IMFS_eval_path+0x158>  
    rtems_set_errno_and_return_minus_one( EACCES );                   
  10f097:	e8 a0 32 00 00       	call   11233c <__errno>               
  10f09c:	c7 00 0d 00 00 00    	movl   $0xd,(%eax)                    
  10f0a2:	bb ff ff ff ff       	mov    $0xffffffff,%ebx               
  10f0a7:	e9 bc 00 00 00       	jmp    10f168 <IMFS_eval_path+0x158>  
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
  10f0ac:	83 7f 4c 01          	cmpl   $0x1,0x4c(%edi)                
  10f0b0:	0f 84 be 00 00 00    	je     10f174 <IMFS_eval_path+0x164>  
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
  10f0b6:	89 c7                	mov    %eax,%edi                      
                                                                      
    switch( type ) {                                                  
  10f0b8:	83 fb 03             	cmp    $0x3,%ebx                      
  10f0bb:	74 1b                	je     10f0d8 <IMFS_eval_path+0xc8>   
  10f0bd:	83 fb 04             	cmp    $0x4,%ebx                      
  10f0c0:	0f 84 92 00 00 00    	je     10f158 <IMFS_eval_path+0x148>  
  10f0c6:	83 fb 02             	cmp    $0x2,%ebx                      
  10f0c9:	74 51                	je     10f11c <IMFS_eval_path+0x10c>  
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
  10f0cb:	83 fb 04             	cmp    $0x4,%ebx                      
  10f0ce:	0f 85 61 ff ff ff    	jne    10f035 <IMFS_eval_path+0x25>   <== ALWAYS TAKEN
  10f0d4:	eb 92                	jmp    10f068 <IMFS_eval_path+0x58>   <== NOT EXECUTED
  10f0d6:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
                                                                      
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
        if ( node->type == IMFS_HARD_LINK ) {                         
  10f0d8:	8b 40 4c             	mov    0x4c(%eax),%eax                
  10f0db:	83 f8 03             	cmp    $0x3,%eax                      
  10f0de:	0f 84 08 01 00 00    	je     10f1ec <IMFS_eval_path+0x1dc>  
	   * It would be a design error if we evaluated the link and         
	   * was broken.                                                     
	   */                                                                
          IMFS_assert( node );                                        
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
  10f0e4:	83 f8 04             	cmp    $0x4,%eax                      
  10f0e7:	0f 84 51 01 00 00    	je     10f23e <IMFS_eval_path+0x22e>  
        }                                                             
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
        if ( node->type != IMFS_DIRECTORY )                           
  10f0ed:	48                   	dec    %eax                           
  10f0ee:	0f 85 35 01 00 00    	jne    10f229 <IMFS_eval_path+0x219>  
                                                                      
        /*                                                            
         *  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 ) {                   
  10f0f4:	8b 47 5c             	mov    0x5c(%edi),%eax                
  10f0f7:	85 c0                	test   %eax,%eax                      
  10f0f9:	0f 85 a4 00 00 00    	jne    10f1a3 <IMFS_eval_path+0x193>  
        }                                                             
                                                                      
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
        node = IMFS_find_match_in_dir( node, token );                 
  10f0ff:	83 ec 08             	sub    $0x8,%esp                      
  10f102:	56                   	push   %esi                           
  10f103:	57                   	push   %edi                           
  10f104:	e8 eb 05 00 00       	call   10f6f4 <IMFS_find_match_in_dir>
  10f109:	89 c7                	mov    %eax,%edi                      
        if ( !node )                                                  
  10f10b:	83 c4 10             	add    $0x10,%esp                     
  10f10e:	85 c0                	test   %eax,%eax                      
  10f110:	74 32                	je     10f144 <IMFS_eval_path+0x134>  
                                                                      
        /*                                                            
         *  Set the node access to the point we have found.           
         */                                                           
                                                                      
        pathloc->node_access = node;                                  
  10f112:	8b 45 14             	mov    0x14(%ebp),%eax                
  10f115:	89 38                	mov    %edi,(%eax)                    
  10f117:	e9 19 ff ff ff       	jmp    10f035 <IMFS_eval_path+0x25>   
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
  10f11c:	8b 15 50 31 12 00    	mov    0x123150,%edx                  
  10f122:	39 42 18             	cmp    %eax,0x18(%edx)                
  10f125:	0f 84 0a ff ff ff    	je     10f035 <IMFS_eval_path+0x25>   
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
            pathloc->mt_entry->mt_fs_root.node_access) {              
  10f12b:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  10f12e:	8b 51 10             	mov    0x10(%ecx),%edx                
                                                                      
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
  10f131:	39 42 1c             	cmp    %eax,0x1c(%edx)                
  10f134:	0f 84 d2 00 00 00    	je     10f20c <IMFS_eval_path+0x1fc>  
                                               pathnamelen+len,       
                                               flags,pathloc);        
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
  10f13a:	8b 78 08             	mov    0x8(%eax),%edi                 
  10f13d:	85 ff                	test   %edi,%edi                      
  10f13f:	75 d1                	jne    10f112 <IMFS_eval_path+0x102>  
  10f141:	8d 76 00             	lea    0x0(%esi),%esi                 
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
        node = IMFS_find_match_in_dir( node, token );                 
        if ( !node )                                                  
          rtems_set_errno_and_return_minus_one( ENOENT );             
  10f144:	e8 f3 31 00 00       	call   11233c <__errno>               
  10f149:	c7 00 02 00 00 00    	movl   $0x2,(%eax)                    
  10f14f:	bb ff ff ff ff       	mov    $0xffffffff,%ebx               
  10f154:	eb 12                	jmp    10f168 <IMFS_eval_path+0x158>  
  10f156:	66 90                	xchg   %ax,%ax                        
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
  10f158:	e8 df 31 00 00       	call   11233c <__errno>               
  10f15d:	c7 00 5b 00 00 00    	movl   $0x5b,(%eax)                   
  10f163:	bb ff ff ff ff       	mov    $0xffffffff,%ebx               
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
  10f168:	89 d8                	mov    %ebx,%eax                      
  10f16a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f16d:	5b                   	pop    %ebx                           
  10f16e:	5e                   	pop    %esi                           
  10f16f:	5f                   	pop    %edi                           
  10f170:	c9                   	leave                                 
  10f171:	c3                   	ret                                   
  10f172:	66 90                	xchg   %ax,%ax                        
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
  10f174:	83 ec 08             	sub    $0x8,%esp                      
  10f177:	6a 01                	push   $0x1                           
  10f179:	ff 75 14             	pushl  0x14(%ebp)                     
  10f17c:	e8 0f fe ff ff       	call   10ef90 <IMFS_evaluate_permission>
  10f181:	83 c4 10             	add    $0x10,%esp                     
  10f184:	85 c0                	test   %eax,%eax                      
  10f186:	0f 84 0b ff ff ff    	je     10f097 <IMFS_eval_path+0x87>   
  10f18c:	8b 55 14             	mov    0x14(%ebp),%edx                
  10f18f:	8b 02                	mov    (%edx),%eax                    
  10f191:	e9 20 ff ff ff       	jmp    10f0b6 <IMFS_eval_path+0xa6>   
  10f196:	66 90                	xchg   %ax,%ax                        
   *                                                                  
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
  10f198:	8b 40 5c             	mov    0x5c(%eax),%eax                
  10f19b:	85 c0                	test   %eax,%eax                      
  10f19d:	0f 84 cf fe ff ff    	je     10f072 <IMFS_eval_path+0x62>   
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
  10f1a3:	8d 7d d0             	lea    -0x30(%ebp),%edi               
  10f1a6:	8d 70 1c             	lea    0x1c(%eax),%esi                
  10f1a9:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  10f1ae:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
      *pathloc = newloc;                                              
  10f1b0:	8d 75 d0             	lea    -0x30(%ebp),%esi               
  10f1b3:	b1 05                	mov    $0x5,%cl                       
  10f1b5:	8b 7d 14             	mov    0x14(%ebp),%edi                
  10f1b8:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
  10f1ba:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10f1bd:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  10f1c0:	8b 41 0c             	mov    0xc(%ecx),%eax                 
  10f1c3:	51                   	push   %ecx                           
  10f1c4:	ff 75 10             	pushl  0x10(%ebp)                     
  10f1c7:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10f1ca:	01 d1                	add    %edx,%ecx                      
  10f1cc:	51                   	push   %ecx                           
  10f1cd:	8b 4d a4             	mov    -0x5c(%ebp),%ecx               
  10f1d0:	29 d1                	sub    %edx,%ecx                      
  10f1d2:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10f1d5:	01 ca                	add    %ecx,%edx                      
  10f1d7:	52                   	push   %edx                           
  10f1d8:	ff 10                	call   *(%eax)                        
  10f1da:	89 c3                	mov    %eax,%ebx                      
  10f1dc:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
  10f1df:	89 d8                	mov    %ebx,%eax                      
  10f1e1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f1e4:	5b                   	pop    %ebx                           
  10f1e5:	5e                   	pop    %esi                           
  10f1e6:	5f                   	pop    %edi                           
  10f1e7:	c9                   	leave                                 
  10f1e8:	c3                   	ret                                   
  10f1e9:	8d 76 00             	lea    0x0(%esi),%esi                 
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
        if ( node->type == IMFS_HARD_LINK ) {                         
          IMFS_evaluate_hard_link( pathloc, 0 );                      
  10f1ec:	83 ec 08             	sub    $0x8,%esp                      
  10f1ef:	6a 00                	push   $0x0                           
  10f1f1:	ff 75 14             	pushl  0x14(%ebp)                     
  10f1f4:	e8 d3 fd ff ff       	call   10efcc <IMFS_evaluate_hard_link>
          node = pathloc->node_access;                                
  10f1f9:	8b 55 14             	mov    0x14(%ebp),%edx                
  10f1fc:	8b 3a                	mov    (%edx),%edi                    
  10f1fe:	8b 47 4c             	mov    0x4c(%edi),%eax                
  10f201:	83 c4 10             	add    $0x10,%esp                     
  10f204:	e9 e4 fe ff ff       	jmp    10f0ed <IMFS_eval_path+0xdd>   
  10f209:	8d 76 00             	lea    0x0(%esi),%esi                 
           */                                                         
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            newloc = pathloc->mt_entry->mt_point_node;                
  10f20c:	8d 7d d0             	lea    -0x30(%ebp),%edi               
  10f20f:	8d 72 08             	lea    0x8(%edx),%esi                 
  10f212:	eb 95                	jmp    10f1a9 <IMFS_eval_path+0x199>  
  rtems_filesystem_location_info_t    newloc;                         
  IMFS_jnode_t                       *node;                           
  int                                 result;                         
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    rtems_set_errno_and_return_minus_one( EIO );                      
  10f214:	e8 23 31 00 00       	call   11233c <__errno>               <== NOT EXECUTED
  10f219:	c7 00 05 00 00 00    	movl   $0x5,(%eax)                    <== NOT EXECUTED
  10f21f:	bb ff ff ff ff       	mov    $0xffffffff,%ebx               <== NOT EXECUTED
  10f224:	e9 3f ff ff ff       	jmp    10f168 <IMFS_eval_path+0x158>  <== NOT EXECUTED
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
        if ( node->type != IMFS_DIRECTORY )                           
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
  10f229:	e8 0e 31 00 00       	call   11233c <__errno>               
  10f22e:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   
  10f234:	bb ff ff ff ff       	mov    $0xffffffff,%ebx               
  10f239:	e9 2a ff ff ff       	jmp    10f168 <IMFS_eval_path+0x158>  
	   * was broken.                                                     
	   */                                                                
          IMFS_assert( node );                                        
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
  10f23e:	83 ec 08             	sub    $0x8,%esp                      
  10f241:	6a 00                	push   $0x0                           
  10f243:	ff 75 14             	pushl  0x14(%ebp)                     
  10f246:	e8 1d 00 00 00       	call   10f268 <IMFS_evaluate_sym_link>
  10f24b:	89 c3                	mov    %eax,%ebx                      
                                                                      
          /*                                                          
           *  In contrast to a hard link, it is possible to have a broken
           *  symbolic link.                                          
           */                                                         
          node = pathloc->node_access;                                
  10f24d:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  10f250:	8b 39                	mov    (%ecx),%edi                    
          if ( result == -1 )                                         
  10f252:	83 c4 10             	add    $0x10,%esp                     
  10f255:	83 f8 ff             	cmp    $0xffffffff,%eax               
  10f258:	0f 84 0a ff ff ff    	je     10f168 <IMFS_eval_path+0x158>  <== NEVER TAKEN
                                                                      
          /*                                                          
           *  In contrast to a hard link, it is possible to have a broken
           *  symbolic link.                                          
           */                                                         
          node = pathloc->node_access;                                
  10f25e:	8b 47 4c             	mov    0x4c(%edi),%eax                
  10f261:	e9 87 fe ff ff       	jmp    10f0ed <IMFS_eval_path+0xdd>   
                                                                      

0010f390 <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 */ ) {
  10f390:	55                   	push   %ebp                           
  10f391:	89 e5                	mov    %esp,%ebp                      
  10f393:	57                   	push   %edi                           
  10f394:	56                   	push   %esi                           
  10f395:	53                   	push   %ebx                           
  10f396:	83 ec 5c             	sub    $0x5c,%esp                     
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
  10f399:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10f39c:	8b 18                	mov    (%eax),%ebx                    
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
  10f39e:	31 c0                	xor    %eax,%eax                      
  10f3a0:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  10f3a5:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10f3a8:	f2 ae                	repnz scas %es:(%edi),%al             
  10f3aa:	f7 d1                	not    %ecx                           
  10f3ac:	8d 71 ff             	lea    -0x1(%ecx),%esi                
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
  int                                 i = 0;                          
  10f3af:	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 );          
  10f3b6:	8d 55 e4             	lea    -0x1c(%ebp),%edx               
  10f3b9:	52                   	push   %edx                           
  10f3ba:	8d 4d af             	lea    -0x51(%ebp),%ecx               
  10f3bd:	51                   	push   %ecx                           
  10f3be:	56                   	push   %esi                           
  10f3bf:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10f3c2:	03 45 a4             	add    -0x5c(%ebp),%eax               
  10f3c5:	50                   	push   %eax                           
  10f3c6:	e8 95 03 00 00       	call   10f760 <IMFS_get_token>        
  10f3cb:	89 c7                	mov    %eax,%edi                      
    pathlen -= len;                                                   
  10f3cd:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10f3d0:	29 d6                	sub    %edx,%esi                      
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
  10f3d2:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10f3d5:	8b 01                	mov    (%ecx),%eax                    
  10f3d7:	83 c4 10             	add    $0x10,%esp                     
  10f3da:	85 c0                	test   %eax,%eax                      
  10f3dc:	0f 84 55 01 00 00    	je     10f537 <IMFS_evaluate_for_make+0x1a7><== NEVER TAKEN
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
  10f3e2:	85 ff                	test   %edi,%edi                      
  10f3e4:	75 1a                	jne    10f400 <IMFS_evaluate_for_make+0x70>
          pathloc->node_access = node;                                
                                                                      
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
  10f3e6:	e8 51 2f 00 00       	call   11233c <__errno>               
  10f3eb:	c7 00 11 00 00 00    	movl   $0x11,(%eax)                   
  10f3f1:	bb ff ff ff ff       	mov    $0xffffffff,%ebx               
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
  10f3f6:	89 d8                	mov    %ebx,%eax                      
  10f3f8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f3fb:	5b                   	pop    %ebx                           
  10f3fc:	5e                   	pop    %esi                           
  10f3fd:	5f                   	pop    %edi                           
  10f3fe:	c9                   	leave                                 
  10f3ff:	c3                   	ret                                   
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
  10f400:	83 7b 4c 01          	cmpl   $0x1,0x4c(%ebx)                
  10f404:	0f 84 c6 00 00 00    	je     10f4d0 <IMFS_evaluate_for_make+0x140>
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
    i +=  len;                                                        
  10f40a:	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;                                      
  10f40d:	89 c3                	mov    %eax,%ebx                      
                                                                      
    switch( type ) {                                                  
  10f40f:	83 ff 02             	cmp    $0x2,%edi                      
  10f412:	0f 84 88 00 00 00    	je     10f4a0 <IMFS_evaluate_for_make+0x110>
  10f418:	76 26                	jbe    10f440 <IMFS_evaluate_for_make+0xb0>
  10f41a:	83 ff 03             	cmp    $0x3,%edi                      
  10f41d:	74 2d                	je     10f44c <IMFS_evaluate_for_make+0xbc>
  10f41f:	83 ff 04             	cmp    $0x4,%edi                      
  10f422:	75 92                	jne    10f3b6 <IMFS_evaluate_for_make+0x26><== NEVER TAKEN
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
  10f424:	e8 13 2f 00 00       	call   11233c <__errno>               
  10f429:	c7 00 5b 00 00 00    	movl   $0x5b,(%eax)                   
  10f42f:	bb ff ff ff ff       	mov    $0xffffffff,%ebx               
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
  10f434:	89 d8                	mov    %ebx,%eax                      
  10f436:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f439:	5b                   	pop    %ebx                           
  10f43a:	5e                   	pop    %esi                           
  10f43b:	5f                   	pop    %edi                           
  10f43c:	c9                   	leave                                 
  10f43d:	c3                   	ret                                   
  10f43e:	66 90                	xchg   %ax,%ax                        
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
  10f440:	85 ff                	test   %edi,%edi                      
  10f442:	74 a2                	je     10f3e6 <IMFS_evaluate_for_make+0x56><== NEVER TAKEN
  10f444:	e9 6d ff ff ff       	jmp    10f3b6 <IMFS_evaluate_for_make+0x26>
  10f449:	8d 76 00             	lea    0x0(%esi),%esi                 
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
  10f44c:	8b 40 4c             	mov    0x4c(%eax),%eax                
  10f44f:	83 f8 03             	cmp    $0x3,%eax                      
  10f452:	0f 84 b4 01 00 00    	je     10f60c <IMFS_evaluate_for_make+0x27c><== NEVER TAKEN
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
  10f458:	83 f8 04             	cmp    $0x4,%eax                      
  10f45b:	0f 84 ca 01 00 00    	je     10f62b <IMFS_evaluate_for_make+0x29b><== NEVER TAKEN
          if ( result == -1 )                                         
            return -1;                                                
	}                                                                    
                                                                      
        node = pathloc->node_access;                                  
        if ( !node )                                                  
  10f461:	85 db                	test   %ebx,%ebx                      
  10f463:	0f 84 67 01 00 00    	je     10f5d0 <IMFS_evaluate_for_make+0x240><== NEVER TAKEN
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
	 */                                                                  
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
  10f469:	83 7b 4c 01          	cmpl   $0x1,0x4c(%ebx)                
  10f46d:	0f 85 5d 01 00 00    	jne    10f5d0 <IMFS_evaluate_for_make+0x240>
	/*                                                                   
	 * 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 ) {                   
  10f473:	8b 43 5c             	mov    0x5c(%ebx),%eax                
  10f476:	85 c0                	test   %eax,%eax                      
  10f478:	0f 85 67 01 00 00    	jne    10f5e5 <IMFS_evaluate_for_make+0x255>
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
  10f47e:	83 ec 08             	sub    $0x8,%esp                      
  10f481:	8d 45 af             	lea    -0x51(%ebp),%eax               
  10f484:	50                   	push   %eax                           
  10f485:	53                   	push   %ebx                           
  10f486:	e8 69 02 00 00       	call   10f6f4 <IMFS_find_match_in_dir>
  10f48b:	89 c3                	mov    %eax,%ebx                      
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
  10f48d:	83 c4 10             	add    $0x10,%esp                     
  10f490:	85 c0                	test   %eax,%eax                      
  10f492:	74 64                	je     10f4f8 <IMFS_evaluate_for_make+0x168>
          done = true;                                                
        else                                                          
          pathloc->node_access = node;                                
  10f494:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10f497:	89 02                	mov    %eax,(%edx)                    
  10f499:	e9 18 ff ff ff       	jmp    10f3b6 <IMFS_evaluate_for_make+0x26>
  10f49e:	66 90                	xchg   %ax,%ax                        
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
  10f4a0:	8b 15 50 31 12 00    	mov    0x123150,%edx                  
  10f4a6:	3b 42 18             	cmp    0x18(%edx),%eax                
  10f4a9:	0f 84 07 ff ff ff    	je     10f3b6 <IMFS_evaluate_for_make+0x26>
                                                                      
	/*                                                                   
	 * Am I at the root of this mounted filesystem?                      
	 */                                                                  
                                                                      
        if (pathloc->node_access == pathloc->mt_entry->mt_fs_root.node_access){
  10f4af:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10f4b2:	8b 51 10             	mov    0x10(%ecx),%edx                
  10f4b5:	3b 42 1c             	cmp    0x1c(%edx),%eax                
  10f4b8:	0f 84 8e 00 00 00    	je     10f54c <IMFS_evaluate_for_make+0x1bc>
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
  10f4be:	8b 58 08             	mov    0x8(%eax),%ebx                 
  10f4c1:	85 db                	test   %ebx,%ebx                      
  10f4c3:	74 72                	je     10f537 <IMFS_evaluate_for_make+0x1a7><== NEVER TAKEN
            rtems_set_errno_and_return_minus_one( ENOENT );           
                                                                      
          node = node->Parent;                                        
	}                                                                    
                                                                      
        pathloc->node_access = node;                                  
  10f4c5:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10f4c8:	89 19                	mov    %ebx,(%ecx)                    
        break;                                                        
  10f4ca:	e9 e7 fe ff ff       	jmp    10f3b6 <IMFS_evaluate_for_make+0x26>
  10f4cf:	90                   	nop                                   
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
  10f4d0:	83 ec 08             	sub    $0x8,%esp                      
  10f4d3:	6a 01                	push   $0x1                           
  10f4d5:	ff 75 0c             	pushl  0xc(%ebp)                      
  10f4d8:	89 55 a0             	mov    %edx,-0x60(%ebp)               
  10f4db:	e8 b0 fa ff ff       	call   10ef90 <IMFS_evaluate_permission>
  10f4e0:	83 c4 10             	add    $0x10,%esp                     
  10f4e3:	85 c0                	test   %eax,%eax                      
  10f4e5:	8b 55 a0             	mov    -0x60(%ebp),%edx               
  10f4e8:	0f 84 cd 00 00 00    	je     10f5bb <IMFS_evaluate_for_make+0x22b>
  10f4ee:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10f4f1:	8b 01                	mov    (%ecx),%eax                    
  10f4f3:	e9 12 ff ff ff       	jmp    10f40a <IMFS_evaluate_for_make+0x7a>
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
  10f4f8:	8b 45 a4             	mov    -0x5c(%ebp),%eax               
  10f4fb:	2b 45 e4             	sub    -0x1c(%ebp),%eax               
  10f4fe:	03 45 08             	add    0x8(%ebp),%eax                 
  10f501:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10f504:	89 01                	mov    %eax,(%ecx)                    
  /*                                                                  
   * 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++) {                                      
  10f506:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10f509:	8b 55 a4             	mov    -0x5c(%ebp),%edx               
  10f50c:	8a 04 11             	mov    (%ecx,%edx,1),%al              
  10f50f:	84 c0                	test   %al,%al                        
  10f511:	74 75                	je     10f588 <IMFS_evaluate_for_make+0x1f8>
  10f513:	89 d3                	mov    %edx,%ebx                      
  10f515:	89 ce                	mov    %ecx,%esi                      
  10f517:	eb 0b                	jmp    10f524 <IMFS_evaluate_for_make+0x194>
  10f519:	8d 76 00             	lea    0x0(%esi),%esi                 
  10f51c:	43                   	inc    %ebx                           
  10f51d:	8a 04 1e             	mov    (%esi,%ebx,1),%al              
  10f520:	84 c0                	test   %al,%al                        
  10f522:	74 64                	je     10f588 <IMFS_evaluate_for_make+0x1f8>
    if ( !IMFS_is_separator( path[ i ] ) )                            
  10f524:	83 ec 0c             	sub    $0xc,%esp                      
  10f527:	0f be c0             	movsbl %al,%eax                       
  10f52a:	50                   	push   %eax                           
  10f52b:	e8 e8 99 ff ff       	call   108f18 <rtems_filesystem_is_separator>
  10f530:	83 c4 10             	add    $0x10,%esp                     
  10f533:	85 c0                	test   %eax,%eax                      
  10f535:	75 e5                	jne    10f51c <IMFS_evaluate_for_make+0x18c>
      rtems_set_errno_and_return_minus_one( ENOENT );                 
  10f537:	e8 00 2e 00 00       	call   11233c <__errno>               
  10f53c:	c7 00 02 00 00 00    	movl   $0x2,(%eax)                    
  10f542:	bb ff ff ff ff       	mov    $0xffffffff,%ebx               
  10f547:	e9 aa fe ff ff       	jmp    10f3f6 <IMFS_evaluate_for_make+0x66>
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
  10f54c:	8d 7d d0             	lea    -0x30(%ebp),%edi               
  10f54f:	8d 72 08             	lea    0x8(%edx),%esi                 
  10f552:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  10f557:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
            *pathloc = newloc;                                        
  10f559:	8d 75 d0             	lea    -0x30(%ebp),%esi               
  10f55c:	b1 05                	mov    $0x5,%cl                       
  10f55e:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10f561:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
  10f563:	53                   	push   %ebx                           
  10f564:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10f567:	8b 42 0c             	mov    0xc(%edx),%eax                 
  10f56a:	ff 75 10             	pushl  0x10(%ebp)                     
  10f56d:	52                   	push   %edx                           
	 */                                                                  
                                                                      
        if ( node->info.directory.mt_fs != NULL ) {                   
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
  10f56e:	8b 55 a4             	mov    -0x5c(%ebp),%edx               
  10f571:	2b 55 e4             	sub    -0x1c(%ebp),%edx               
  10f574:	03 55 08             	add    0x8(%ebp),%edx                 
  10f577:	52                   	push   %edx                           
  10f578:	ff 50 04             	call   *0x4(%eax)                     
  10f57b:	89 c3                	mov    %eax,%ebx                      
  10f57d:	83 c4 10             	add    $0x10,%esp                     
  10f580:	e9 71 fe ff ff       	jmp    10f3f6 <IMFS_evaluate_for_make+0x66>
  10f585:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
  10f588:	83 ec 0c             	sub    $0xc,%esp                      
  10f58b:	ff 75 0c             	pushl  0xc(%ebp)                      
  10f58e:	e8 a1 f9 ff ff       	call   10ef34 <IMFS_Set_handlers>     
  10f593:	89 c3                	mov    %eax,%ebx                      
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
  10f595:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10f598:	8b 02                	mov    (%edx),%eax                    
  10f59a:	83 c4 10             	add    $0x10,%esp                     
  10f59d:	83 78 4c 01          	cmpl   $0x1,0x4c(%eax)                
  10f5a1:	75 2d                	jne    10f5d0 <IMFS_evaluate_for_make+0x240><== NEVER TAKEN
                                                                      
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
  10f5a3:	83 ec 08             	sub    $0x8,%esp                      
  10f5a6:	6a 03                	push   $0x3                           
  10f5a8:	ff 75 0c             	pushl  0xc(%ebp)                      
  10f5ab:	e8 e0 f9 ff ff       	call   10ef90 <IMFS_evaluate_permission>
  10f5b0:	83 c4 10             	add    $0x10,%esp                     
  10f5b3:	85 c0                	test   %eax,%eax                      
  10f5b5:	0f 85 3b fe ff ff    	jne    10f3f6 <IMFS_evaluate_for_make+0x66>
    rtems_set_errno_and_return_minus_one( EACCES );                   
  10f5bb:	e8 7c 2d 00 00       	call   11233c <__errno>               
  10f5c0:	c7 00 0d 00 00 00    	movl   $0xd,(%eax)                    
  10f5c6:	bb ff ff ff ff       	mov    $0xffffffff,%ebx               
  10f5cb:	e9 26 fe ff ff       	jmp    10f3f6 <IMFS_evaluate_for_make+0x66>
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  10f5d0:	e8 67 2d 00 00       	call   11233c <__errno>               
  10f5d5:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   
  10f5db:	bb ff ff ff ff       	mov    $0xffffffff,%ebx               
  10f5e0:	e9 11 fe ff ff       	jmp    10f3f6 <IMFS_evaluate_for_make+0x66>
	 * 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 ) {                   
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
  10f5e5:	8d 7d d0             	lea    -0x30(%ebp),%edi               
  10f5e8:	8d 70 1c             	lea    0x1c(%eax),%esi                
  10f5eb:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  10f5f0:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
          *pathloc = newloc;                                          
  10f5f2:	8d 75 d0             	lea    -0x30(%ebp),%esi               
  10f5f5:	b1 05                	mov    $0x5,%cl                       
  10f5f7:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10f5fa:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
  10f5fc:	51                   	push   %ecx                           
  10f5fd:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10f600:	8b 41 0c             	mov    0xc(%ecx),%eax                 
  10f603:	ff 75 10             	pushl  0x10(%ebp)                     
  10f606:	51                   	push   %ecx                           
  10f607:	e9 62 ff ff ff       	jmp    10f56e <IMFS_evaluate_for_make+0x1de>
                                                                      
      case IMFS_NAME:                                                 
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
  10f60c:	83 ec 08             	sub    $0x8,%esp                      
  10f60f:	6a 00                	push   $0x0                           
  10f611:	ff 75 0c             	pushl  0xc(%ebp)                      
  10f614:	e8 cb fc ff ff       	call   10f2e4 <IMFS_evaluate_link>    
          if ( result == -1 )                                         
  10f619:	83 c4 10             	add    $0x10,%esp                     
  10f61c:	83 f8 ff             	cmp    $0xffffffff,%eax               
  10f61f:	74 29                	je     10f64a <IMFS_evaluate_for_make+0x2ba><== NEVER TAKEN
  10f621:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10f624:	8b 18                	mov    (%eax),%ebx                    
  10f626:	e9 36 fe ff ff       	jmp    10f461 <IMFS_evaluate_for_make+0xd1>
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
  10f62b:	83 ec 08             	sub    $0x8,%esp                      
  10f62e:	6a 00                	push   $0x0                           
  10f630:	ff 75 0c             	pushl  0xc(%ebp)                      
  10f633:	e8 ac fc ff ff       	call   10f2e4 <IMFS_evaluate_link>    
                                                                      
          if ( result == -1 )                                         
  10f638:	83 c4 10             	add    $0x10,%esp                     
  10f63b:	83 f8 ff             	cmp    $0xffffffff,%eax               
  10f63e:	74 0a                	je     10f64a <IMFS_evaluate_for_make+0x2ba><== NEVER TAKEN
  10f640:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10f643:	8b 1a                	mov    (%edx),%ebx                    
  10f645:	e9 17 fe ff ff       	jmp    10f461 <IMFS_evaluate_for_make+0xd1>
  10f64a:	89 c3                	mov    %eax,%ebx                      <== NOT EXECUTED
  10f64c:	e9 a5 fd ff ff       	jmp    10f3f6 <IMFS_evaluate_for_make+0x66><== NOT EXECUTED
                                                                      

0010f2e4 <IMFS_evaluate_link>: */ int IMFS_evaluate_link( rtems_filesystem_location_info_t *node, /* IN/OUT */ int flags /* IN */ ) {
  10f2e4:	55                   	push   %ebp                           
  10f2e5:	89 e5                	mov    %esp,%ebp                      
  10f2e7:	57                   	push   %edi                           
  10f2e8:	56                   	push   %esi                           
  10f2e9:	53                   	push   %ebx                           
  10f2ea:	83 ec 0c             	sub    $0xc,%esp                      
  10f2ed:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10f2f0:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
      rtems_filesystem_link_counts = 0;                               
      rtems_set_errno_and_return_minus_one( ELOOP );                  
  10f2f3:	8b 15 50 31 12 00    	mov    0x123150,%edx                  
  10f2f9:	eb 0e                	jmp    10f309 <IMFS_evaluate_link+0x25>
  10f2fb:	90                   	nop                                   
     */                                                               
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
  10f2fc:	83 f8 04             	cmp    $0x4,%eax                      
  10f2ff:	74 53                	je     10f354 <IMFS_evaluate_link+0x70>
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
  10f301:	83 e8 03             	sub    $0x3,%eax                      
  10f304:	83 f8 01             	cmp    $0x1,%eax                      
  10f307:	77 3a                	ja     10f343 <IMFS_evaluate_link+0x5f><== ALWAYS TAKEN
{                                                                     
  IMFS_jnode_t                     *jnode;                            
  int                               result = 0;                       
                                                                      
  do {                                                                
    jnode  = node->node_access;                                       
  10f309:	8b 1e                	mov    (%esi),%ebx                    
                                                                      
    /*                                                                
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
  10f30b:	8b 42 30             	mov    0x30(%edx),%eax                
  10f30e:	40                   	inc    %eax                           
  10f30f:	66 89 42 30          	mov    %ax,0x30(%edx)                 
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
  10f313:	66 83 f8 05          	cmp    $0x5,%ax                       
  10f317:	77 57                	ja     10f370 <IMFS_evaluate_link+0x8c>
                                                                      
    /*                                                                
     *  Follow the Link node.                                         
     */                                                               
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
  10f319:	8b 43 4c             	mov    0x4c(%ebx),%eax                
  10f31c:	83 f8 03             	cmp    $0x3,%eax                      
  10f31f:	75 db                	jne    10f2fc <IMFS_evaluate_link+0x18>
      result = IMFS_evaluate_hard_link( node, flags );                
  10f321:	83 ec 08             	sub    $0x8,%esp                      
  10f324:	57                   	push   %edi                           
  10f325:	56                   	push   %esi                           
  10f326:	e8 a1 fc ff ff       	call   10efcc <IMFS_evaluate_hard_link>
  10f32b:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
                                 ( jnode->type == IMFS_HARD_LINK ) ) );
  10f32e:	85 c0                	test   %eax,%eax                      
  10f330:	75 33                	jne    10f365 <IMFS_evaluate_link+0x81>
  10f332:	8b 43 4c             	mov    0x4c(%ebx),%eax                
  10f335:	8b 15 50 31 12 00    	mov    0x123150,%edx                  
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
  10f33b:	83 e8 03             	sub    $0x3,%eax                      
  10f33e:	83 f8 01             	cmp    $0x1,%eax                      
  10f341:	76 c6                	jbe    10f309 <IMFS_evaluate_link+0x25><== ALWAYS TAKEN
  10f343:	31 c0                	xor    %eax,%eax                      
                                                                      
  /*                                                                  
   * Clear link counter.                                              
   */                                                                 
                                                                      
  rtems_filesystem_link_counts = 0;                                   
  10f345:	66 c7 42 30 00 00    	movw   $0x0,0x30(%edx)                
                                                                      
  return result;                                                      
}                                                                     
  10f34b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f34e:	5b                   	pop    %ebx                           
  10f34f:	5e                   	pop    %esi                           
  10f350:	5f                   	pop    %edi                           
  10f351:	c9                   	leave                                 
  10f352:	c3                   	ret                                   
  10f353:	90                   	nop                                   
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
  10f354:	83 ec 08             	sub    $0x8,%esp                      
  10f357:	57                   	push   %edi                           
  10f358:	56                   	push   %esi                           
  10f359:	e8 0a ff ff ff       	call   10f268 <IMFS_evaluate_sym_link>
  10f35e:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
                                 ( jnode->type == IMFS_HARD_LINK ) ) );
  10f361:	85 c0                	test   %eax,%eax                      
  10f363:	74 cd                	je     10f332 <IMFS_evaluate_link+0x4e>
  10f365:	8b 15 50 31 12 00    	mov    0x123150,%edx                  
  10f36b:	eb d8                	jmp    10f345 <IMFS_evaluate_link+0x61>
  10f36d:	8d 76 00             	lea    0x0(%esi),%esi                 
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
      rtems_filesystem_link_counts = 0;                               
  10f370:	66 c7 42 30 00 00    	movw   $0x0,0x30(%edx)                
      rtems_set_errno_and_return_minus_one( ELOOP );                  
  10f376:	e8 c1 2f 00 00       	call   11233c <__errno>               
  10f37b:	c7 00 5c 00 00 00    	movl   $0x5c,(%eax)                   
  10f381:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
   */                                                                 
                                                                      
  rtems_filesystem_link_counts = 0;                                   
                                                                      
  return result;                                                      
}                                                                     
  10f386:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f389:	5b                   	pop    %ebx                           
  10f38a:	5e                   	pop    %esi                           
  10f38b:	5f                   	pop    %edi                           
  10f38c:	c9                   	leave                                 
  10f38d:	c3                   	ret                                   
                                                                      

0010ef90 <IMFS_evaluate_permission>: */ int IMFS_evaluate_permission( rtems_filesystem_location_info_t *node, int flags ) {
  10ef90:	55                   	push   %ebp                           
  10ef91:	89 e5                	mov    %esp,%ebp                      
  10ef93:	83 ec 08             	sub    $0x8,%esp                      
  10ef96:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  uid_t         st_uid;                                               
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
  10ef99:	a9 f8 ff ff ff       	test   $0xfffffff8,%eax               
  10ef9e:	75 18                	jne    10efb8 <IMFS_evaluate_permission+0x28><== NEVER TAKEN
   */                                                                 
                                                                      
  flags_to_test = flags;                                              
                                                                      
  if ( st_uid == jnode->st_uid )                                      
    flags_to_test <<= 6;                                              
  10efa0:	c1 e0 06             	shl    $0x6,%eax                      
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
  10efa3:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10efa6:	8b 12                	mov    (%edx),%edx                    
  10efa8:	8b 52 30             	mov    0x30(%edx),%edx                
  10efab:	21 c2                	and    %eax,%edx                      
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
  10efad:	39 d0                	cmp    %edx,%eax                      
  10efaf:	0f 94 c0             	sete   %al                            
  10efb2:	0f b6 c0             	movzbl %al,%eax                       
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
    return 1;                                                         
                                                                      
  return 0;                                                           
}                                                                     
  10efb5:	c9                   	leave                                 
  10efb6:	c3                   	ret                                   
  10efb7:	90                   	nop                                   
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
  10efb8:	e8 7f 33 00 00       	call   11233c <__errno>               <== NOT EXECUTED
  10efbd:	c7 00 01 00 00 00    	movl   $0x1,(%eax)                    <== NOT EXECUTED
  10efc3:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
    return 1;                                                         
                                                                      
  return 0;                                                           
}                                                                     
  10efc8:	c9                   	leave                                 <== NOT EXECUTED
  10efc9:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010f268 <IMFS_evaluate_sym_link>: int IMFS_evaluate_sym_link( rtems_filesystem_location_info_t *node, /* IN/OUT */ int flags /* IN */ ) {
  10f268:	55                   	push   %ebp                           
  10f269:	89 e5                	mov    %esp,%ebp                      
  10f26b:	57                   	push   %edi                           
  10f26c:	56                   	push   %esi                           
  10f26d:	53                   	push   %ebx                           
  10f26e:	83 ec 20             	sub    $0x20,%esp                     
  10f271:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10f274:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  IMFS_jnode_t                     *jnode  = node->node_access;       
  10f277:	8b 3b                	mov    (%ebx),%edi                    
                                                                      
  /*                                                                  
   * Move the node_access to either the symbolic links parent or      
   * root depending on the symbolic links path.                       
   */                                                                 
  node->node_access = jnode->Parent;                                  
  10f279:	8b 47 08             	mov    0x8(%edi),%eax                 
  10f27c:	89 03                	mov    %eax,(%ebx)                    
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
  10f27e:	53                   	push   %ebx                           
  10f27f:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10f282:	50                   	push   %eax                           
  10f283:	ff 77 50             	pushl  0x50(%edi)                     
  10f286:	e8 d9 0d 00 00       	call   110064 <rtems_filesystem_get_sym_start_loc>
  );                                                                  
                                                                      
  /*                                                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
  result = IMFS_eval_path(                                            
  10f28b:	8b 57 50             	mov    0x50(%edi),%edx                
  10f28e:	03 55 e4             	add    -0x1c(%ebp),%edx               
  10f291:	31 c0                	xor    %eax,%eax                      
  10f293:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  10f298:	89 d7                	mov    %edx,%edi                      
  10f29a:	f2 ae                	repnz scas %es:(%edi),%al             
  10f29c:	f7 d1                	not    %ecx                           
  10f29e:	49                   	dec    %ecx                           
  10f29f:	53                   	push   %ebx                           
  10f2a0:	56                   	push   %esi                           
  10f2a1:	51                   	push   %ecx                           
  10f2a2:	52                   	push   %edx                           
  10f2a3:	e8 68 fd ff ff       	call   10f010 <IMFS_eval_path>        
  10f2a8:	89 c7                	mov    %eax,%edi                      
    strlen( &jnode->info.sym_link.name[i] ),                          
    flags,                                                            
    node                                                              
  );                                                                  
                                                                      
  IMFS_Set_handlers( node );                                          
  10f2aa:	83 c4 14             	add    $0x14,%esp                     
  10f2ad:	53                   	push   %ebx                           
  10f2ae:	e8 81 fc ff ff       	call   10ef34 <IMFS_Set_handlers>     
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
  if ( !IMFS_evaluate_permission( node, flags ) )                     
  10f2b3:	58                   	pop    %eax                           
  10f2b4:	5a                   	pop    %edx                           
  10f2b5:	56                   	push   %esi                           
  10f2b6:	53                   	push   %ebx                           
  10f2b7:	e8 d4 fc ff ff       	call   10ef90 <IMFS_evaluate_permission>
  10f2bc:	83 c4 10             	add    $0x10,%esp                     
  10f2bf:	85 c0                	test   %eax,%eax                      
  10f2c1:	74 0d                	je     10f2d0 <IMFS_evaluate_sym_link+0x68>
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
  10f2c3:	89 f8                	mov    %edi,%eax                      
  10f2c5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f2c8:	5b                   	pop    %ebx                           
  10f2c9:	5e                   	pop    %esi                           
  10f2ca:	5f                   	pop    %edi                           
  10f2cb:	c9                   	leave                                 
  10f2cc:	c3                   	ret                                   
  10f2cd:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
  if ( !IMFS_evaluate_permission( node, flags ) )                     
    rtems_set_errno_and_return_minus_one( EACCES );                   
  10f2d0:	e8 67 30 00 00       	call   11233c <__errno>               
  10f2d5:	c7 00 0d 00 00 00    	movl   $0xd,(%eax)                    
  10f2db:	bf ff ff ff ff       	mov    $0xffffffff,%edi               
  10f2e0:	eb e1                	jmp    10f2c3 <IMFS_evaluate_sym_link+0x5b>
                                                                      

00108a24 <IMFS_fifo_ioctl>: int IMFS_fifo_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
  108a24:	55                   	push   %ebp                           
  108a25:	89 e5                	mov    %esp,%ebp                      
  108a27:	53                   	push   %ebx                           
  108a28:	83 ec 04             	sub    $0x4,%esp                      
  108a2b:	8b 45 08             	mov    0x8(%ebp),%eax                 
  108a2e:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  108a31:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
  108a34:	81 fa 7e 66 04 80    	cmp    $0x8004667e,%edx               
  108a3a:	74 1c                	je     108a58 <IMFS_fifo_ioctl+0x34>  
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
      return 0;                                                       
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
  108a3c:	50                   	push   %eax                           
  108a3d:	51                   	push   %ecx                           
  108a3e:	52                   	push   %edx                           
  108a3f:	8b 40 18             	mov    0x18(%eax),%eax                
  108a42:	ff 70 50             	pushl  0x50(%eax)                     
  108a45:	e8 2a 96 00 00       	call   112074 <pipe_ioctl>            
                                                                      
  IMFS_FIFO_RETURN(err);                                              
  108a4a:	83 c4 10             	add    $0x10,%esp                     
  108a4d:	85 c0                	test   %eax,%eax                      
  108a4f:	78 3e                	js     108a8f <IMFS_fifo_ioctl+0x6b>  
}                                                                     
  108a51:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108a54:	c9                   	leave                                 
  108a55:	c3                   	ret                                   
  108a56:	66 90                	xchg   %ax,%ax                        
)                                                                     
{                                                                     
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
    if (buffer == NULL)                                               
  108a58:	85 c9                	test   %ecx,%ecx                      
  108a5a:	74 20                	je     108a7c <IMFS_fifo_ioctl+0x58>  
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
  108a5c:	8b 11                	mov    (%ecx),%edx                    
  108a5e:	85 d2                	test   %edx,%edx                      
  108a60:	74 0e                	je     108a70 <IMFS_fifo_ioctl+0x4c>  
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
  108a62:	83 48 14 01          	orl    $0x1,0x14(%eax)                
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
      return 0;                                                       
  108a66:	31 c0                	xor    %eax,%eax                      
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
  108a68:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108a6b:	c9                   	leave                                 
  108a6c:	c3                   	ret                                   
  108a6d:	8d 76 00             	lea    0x0(%esi),%esi                 
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
  108a70:	83 60 14 fe          	andl   $0xfffffffe,0x14(%eax)         
      return 0;                                                       
  108a74:	31 c0                	xor    %eax,%eax                      
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
  108a76:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108a79:	c9                   	leave                                 
  108a7a:	c3                   	ret                                   
  108a7b:	90                   	nop                                   
)                                                                     
{                                                                     
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
    if (buffer == NULL)                                               
  108a7c:	bb 0e 00 00 00       	mov    $0xe,%ebx                      
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
                                                                      
  IMFS_FIFO_RETURN(err);                                              
  108a81:	e8 7e b5 00 00       	call   114004 <__errno>               
  108a86:	89 18                	mov    %ebx,(%eax)                    
  108a88:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  108a8d:	eb c2                	jmp    108a51 <IMFS_fifo_ioctl+0x2d>  
  108a8f:	89 c3                	mov    %eax,%ebx                      
  108a91:	f7 db                	neg    %ebx                           
  108a93:	eb ec                	jmp    108a81 <IMFS_fifo_ioctl+0x5d>  
                                                                      

001089e0 <IMFS_fifo_lseek>: rtems_off64_t IMFS_fifo_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
  1089e0:	55                   	push   %ebp                           
  1089e1:	89 e5                	mov    %esp,%ebp                      
  1089e3:	53                   	push   %ebx                           
  1089e4:	83 ec 10             	sub    $0x10,%esp                     
  1089e7:	8b 45 08             	mov    0x8(%ebp),%eax                 
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
  1089ea:	50                   	push   %eax                           
  1089eb:	ff 75 14             	pushl  0x14(%ebp)                     
  1089ee:	ff 75 10             	pushl  0x10(%ebp)                     
  1089f1:	ff 75 0c             	pushl  0xc(%ebp)                      
  1089f4:	8b 40 18             	mov    0x18(%eax),%eax                
  1089f7:	ff 70 50             	pushl  0x50(%eax)                     
  1089fa:	e8 d5 96 00 00       	call   1120d4 <pipe_lseek>            
  1089ff:	89 c3                	mov    %eax,%ebx                      
  108a01:	99                   	cltd                                  
  IMFS_FIFO_RETURN(err);                                              
  108a02:	83 c4 20             	add    $0x20,%esp                     
  108a05:	85 d2                	test   %edx,%edx                      
  108a07:	78 05                	js     108a0e <IMFS_fifo_lseek+0x2e>  <== ALWAYS TAKEN
}                                                                     
  108a09:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108a0c:	c9                   	leave                                 
  108a0d:	c3                   	ret                                   
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
  IMFS_FIFO_RETURN(err);                                              
  108a0e:	e8 f1 b5 00 00       	call   114004 <__errno>               
  108a13:	f7 db                	neg    %ebx                           
  108a15:	89 18                	mov    %ebx,(%eax)                    
  108a17:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  108a1c:	ba ff ff ff ff       	mov    $0xffffffff,%edx               
  108a21:	eb e6                	jmp    108a09 <IMFS_fifo_lseek+0x29>  
                                                                      

00108a98 <IMFS_fifo_write>: ssize_t IMFS_fifo_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
  108a98:	55                   	push   %ebp                           
  108a99:	89 e5                	mov    %esp,%ebp                      
  108a9b:	56                   	push   %esi                           
  108a9c:	53                   	push   %ebx                           
  108a9d:	83 ec 10             	sub    $0x10,%esp                     
  108aa0:	8b 45 08             	mov    0x8(%ebp),%eax                 
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
  108aa3:	8b 58 18             	mov    0x18(%eax),%ebx                
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
  108aa6:	50                   	push   %eax                           
  108aa7:	ff 75 10             	pushl  0x10(%ebp)                     
  108aaa:	ff 75 0c             	pushl  0xc(%ebp)                      
  108aad:	ff 73 50             	pushl  0x50(%ebx)                     
  108ab0:	e8 db 93 00 00       	call   111e90 <pipe_write>            
  108ab5:	89 c6                	mov    %eax,%esi                      
  if (err > 0) {                                                      
  108ab7:	83 c4 10             	add    $0x10,%esp                     
  108aba:	83 f8 00             	cmp    $0x0,%eax                      
  108abd:	7e 25                	jle    108ae4 <IMFS_fifo_write+0x4c>  
    IMFS_mtime_ctime_update(jnode);                                   
  108abf:	83 ec 08             	sub    $0x8,%esp                      
  108ac2:	6a 00                	push   $0x0                           
  108ac4:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  108ac7:	50                   	push   %eax                           
  108ac8:	e8 1f 0f 00 00       	call   1099ec <gettimeofday>          
  108acd:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  108ad0:	89 43 44             	mov    %eax,0x44(%ebx)                
  108ad3:	89 43 48             	mov    %eax,0x48(%ebx)                
  108ad6:	83 c4 10             	add    $0x10,%esp                     
  108ad9:	89 f0                	mov    %esi,%eax                      
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
  108adb:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  108ade:	5b                   	pop    %ebx                           
  108adf:	5e                   	pop    %esi                           
  108ae0:	c9                   	leave                                 
  108ae1:	c3                   	ret                                   
  108ae2:	66 90                	xchg   %ax,%ax                        
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
  if (err > 0) {                                                      
    IMFS_mtime_ctime_update(jnode);                                   
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
  108ae4:	75 09                	jne    108aef <IMFS_fifo_write+0x57>  <== ALWAYS TAKEN
  108ae6:	31 c0                	xor    %eax,%eax                      
}                                                                     
  108ae8:	8d 65 f8             	lea    -0x8(%ebp),%esp                <== NOT EXECUTED
  108aeb:	5b                   	pop    %ebx                           <== NOT EXECUTED
  108aec:	5e                   	pop    %esi                           <== NOT EXECUTED
  108aed:	c9                   	leave                                 <== NOT EXECUTED
  108aee:	c3                   	ret                                   <== NOT EXECUTED
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
  if (err > 0) {                                                      
    IMFS_mtime_ctime_update(jnode);                                   
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
  108aef:	e8 10 b5 00 00       	call   114004 <__errno>               
  108af4:	f7 de                	neg    %esi                           
  108af6:	89 30                	mov    %esi,(%eax)                    
  108af8:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  108afd:	eb dc                	jmp    108adb <IMFS_fifo_write+0x43>  
                                                                      

0010f6f4 <IMFS_find_match_in_dir>: IMFS_jnode_t *IMFS_find_match_in_dir( IMFS_jnode_t *directory, char *name ) {
  10f6f4:	55                   	push   %ebp                           
  10f6f5:	89 e5                	mov    %esp,%ebp                      
  10f6f7:	57                   	push   %edi                           
  10f6f8:	56                   	push   %esi                           
  10f6f9:	53                   	push   %ebx                           
  10f6fa:	83 ec 0c             	sub    $0xc,%esp                      
  10f6fd:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10f700:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
  10f703:	bf 10 00 12 00       	mov    $0x120010,%edi                 
  10f708:	b9 02 00 00 00       	mov    $0x2,%ecx                      
  10f70d:	89 de                	mov    %ebx,%esi                      
  10f70f:	f3 a6                	repz cmpsb %es:(%edi),%ds:(%esi)      
  10f711:	74 13                	je     10f726 <IMFS_find_match_in_dir+0x32><== NEVER TAKEN
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
  10f713:	bf 12 00 12 00       	mov    $0x120012,%edi                 
  10f718:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  10f71d:	89 de                	mov    %ebx,%esi                      
  10f71f:	f3 a6                	repz cmpsb %es:(%edi),%ds:(%esi)      
  10f721:	75 0d                	jne    10f730 <IMFS_find_match_in_dir+0x3c><== ALWAYS TAKEN
    return directory->Parent;                                         
  10f723:	8b 40 08             	mov    0x8(%eax),%eax                 
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
  10f726:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f729:	5b                   	pop    %ebx                           
  10f72a:	5e                   	pop    %esi                           
  10f72b:	5f                   	pop    %edi                           
  10f72c:	c9                   	leave                                 
  10f72d:	c3                   	ret                                   
  10f72e:	66 90                	xchg   %ax,%ax                        
  10f730:	8b 70 50             	mov    0x50(%eax),%esi                
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
  10f733:	8d 78 54             	lea    0x54(%eax),%edi                
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
  10f736:	39 fe                	cmp    %edi,%esi                      
  10f738:	75 08                	jne    10f742 <IMFS_find_match_in_dir+0x4e>
  10f73a:	eb 20                	jmp    10f75c <IMFS_find_match_in_dir+0x68>
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
  10f73c:	8b 36                	mov    (%esi),%esi                    
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
  10f73e:	39 fe                	cmp    %edi,%esi                      
  10f740:	74 1a                	je     10f75c <IMFS_find_match_in_dir+0x68>
        !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 ) )                           
  10f742:	8d 46 0c             	lea    0xc(%esi),%eax                 
  10f745:	83 ec 08             	sub    $0x8,%esp                      
  10f748:	50                   	push   %eax                           
  10f749:	53                   	push   %ebx                           
  10f74a:	e8 5d 38 00 00       	call   112fac <strcmp>                
  10f74f:	83 c4 10             	add    $0x10,%esp                     
  10f752:	85 c0                	test   %eax,%eax                      
  10f754:	75 e6                	jne    10f73c <IMFS_find_match_in_dir+0x48>
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
  10f756:	89 f0                	mov    %esi,%eax                      
  10f758:	eb cc                	jmp    10f726 <IMFS_find_match_in_dir+0x32>
  10f75a:	66 90                	xchg   %ax,%ax                        
                                                                      
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
  10f75c:	31 c0                	xor    %eax,%eax                      
  10f75e:	eb c6                	jmp    10f726 <IMFS_find_match_in_dir+0x32>
                                                                      

0010f654 <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 ) {
  10f654:	55                   	push   %ebp                           
  10f655:	89 e5                	mov    %esp,%ebp                      
  10f657:	57                   	push   %edi                           
  10f658:	56                   	push   %esi                           
  10f659:	53                   	push   %ebx                           
  10f65a:	83 ec 3c             	sub    $0x3c,%esp                     
  10f65d:	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;     
  10f660:	8b 58 1c             	mov    0x1c(%eax),%ebx                
   loc = temp_mt_entry->mt_fs_root;                                   
  10f663:	8d 55 d4             	lea    -0x2c(%ebp),%edx               
  10f666:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  10f669:	8d 70 1c             	lea    0x1c(%eax),%esi                
  10f66c:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  10f671:	89 d7                	mov    %edx,%edi                      
  10f673:	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;                      
  10f675:	c7 40 1c 00 00 00 00 	movl   $0x0,0x1c(%eax)                
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
  10f67c:	8b 73 08             	mov    0x8(%ebx),%esi                 
     loc.node_access = (void *)jnode;                                 
  10f67f:	89 5d d4             	mov    %ebx,-0x2c(%ebp)               
     IMFS_Set_handlers( &loc );                                       
  10f682:	83 ec 0c             	sub    $0xc,%esp                      
  10f685:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  10f688:	50                   	push   %eax                           
  10f689:	e8 a6 f8 ff ff       	call   10ef34 <IMFS_Set_handlers>     
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
  10f68e:	83 c4 10             	add    $0x10,%esp                     
  10f691:	83 7b 4c 01          	cmpl   $0x1,0x4c(%ebx)                
  10f695:	75 31                	jne    10f6c8 <IMFS_fsunmount+0x74>   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  10f697:	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 ) ) {                   
  10f69a:	39 43 50             	cmp    %eax,0x50(%ebx)                
  10f69d:	74 42                	je     10f6e1 <IMFS_fsunmount+0x8d>   
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
  10f69f:	85 db                	test   %ebx,%ebx                      
  10f6a1:	74 19                	je     10f6bc <IMFS_fsunmount+0x68>   
       if ( jnode->type == IMFS_DIRECTORY ) {                         
  10f6a3:	83 7b 4c 01          	cmpl   $0x1,0x4c(%ebx)                
  10f6a7:	75 d3                	jne    10f67c <IMFS_fsunmount+0x28>   <== NEVER TAKEN
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
                                                                      
   return 0;                                                          
}                                                                     
  10f6a9:	8b 43 50             	mov    0x50(%ebx),%eax                
  10f6ac:	8d 53 54             	lea    0x54(%ebx),%edx                
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
       if ( jnode->type == IMFS_DIRECTORY ) {                         
         if ( jnode_has_children( jnode ) )                           
  10f6af:	39 d0                	cmp    %edx,%eax                      
  10f6b1:	74 c9                	je     10f67c <IMFS_fsunmount+0x28>   
           jnode = jnode_get_first_child( jnode );                    
  10f6b3:	89 c3                	mov    %eax,%ebx                      
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
  10f6b5:	85 c0                	test   %eax,%eax                      
  10f6b7:	75 c3                	jne    10f67c <IMFS_fsunmount+0x28>   <== ALWAYS TAKEN
  10f6b9:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
   return 0;                                                          
  10f6bc:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10f6be:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f6c1:	5b                   	pop    %ebx                           
  10f6c2:	5e                   	pop    %esi                           
  10f6c3:	5f                   	pop    %edi                           
  10f6c4:	c9                   	leave                                 
  10f6c5:	c3                   	ret                                   
  10f6c6:	66 90                	xchg   %ax,%ax                        
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
        result = IMFS_unlink( NULL, &loc );                           
  10f6c8:	83 ec 08             	sub    $0x8,%esp                      
  10f6cb:	8d 55 d4             	lea    -0x2c(%ebp),%edx               
  10f6ce:	52                   	push   %edx                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
  10f6cf:	6a 00                	push   $0x0                           
  10f6d1:	e8 26 85 ff ff       	call   107bfc <IMFS_unlink>           
        if (result != 0)                                              
  10f6d6:	83 c4 10             	add    $0x10,%esp                     
  10f6d9:	85 c0                	test   %eax,%eax                      
  10f6db:	75 0d                	jne    10f6ea <IMFS_fsunmount+0x96>   <== NEVER TAKEN
          return -1;                                                  
        jnode = next;                                                 
  10f6dd:	89 f3                	mov    %esi,%ebx                      
  10f6df:	eb be                	jmp    10f69f <IMFS_fsunmount+0x4b>   
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
  10f6e1:	83 ec 08             	sub    $0x8,%esp                      
  10f6e4:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  10f6e7:	50                   	push   %eax                           
  10f6e8:	eb e5                	jmp    10f6cf <IMFS_fsunmount+0x7b>   
        if (result != 0)                                              
          return -1;                                                  
  10f6ea:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
  10f6ef:	eb cd                	jmp    10f6be <IMFS_fsunmount+0x6a>   <== NOT EXECUTED
                                                                      

0010f760 <IMFS_get_token>: const char *path, int pathlen, char *token, int *token_len ) {
  10f760:	55                   	push   %ebp                           
  10f761:	89 e5                	mov    %esp,%ebp                      
  10f763:	57                   	push   %edi                           
  10f764:	56                   	push   %esi                           
  10f765:	53                   	push   %ebx                           
  10f766:	83 ec 1c             	sub    $0x1c,%esp                     
  10f769:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10f76c:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  10f76f:	8a 17                	mov    (%edi),%dl                     
  int               pathlen,                                          
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
  register int i = 0;                                                 
  10f771:	31 f6                	xor    %esi,%esi                      
  10f773:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
  10f776:	89 df                	mov    %ebx,%edi                      
  10f778:	88 d3                	mov    %dl,%bl                        
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
  10f77a:	eb 07                	jmp    10f783 <IMFS_get_token+0x23>   
       return IMFS_INVALID_TOKEN;                                     
                                                                      
     if ( !IMFS_is_valid_name_char(c) )                               
       type = IMFS_INVALID_TOKEN;                                     
                                                                      
     c = path [++i];                                                  
  10f77c:	46                   	inc    %esi                           
  10f77d:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10f780:	8a 1c 30             	mov    (%eax,%esi,1),%bl              
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
  10f783:	83 ec 0c             	sub    $0xc,%esp                      
  10f786:	0f be c3             	movsbl %bl,%eax                       
  10f789:	50                   	push   %eax                           
  10f78a:	e8 89 97 ff ff       	call   108f18 <rtems_filesystem_is_separator>
  10f78f:	83 c4 10             	add    $0x10,%esp                     
  10f792:	85 c0                	test   %eax,%eax                      
  10f794:	75 1a                	jne    10f7b0 <IMFS_get_token+0x50>   
  10f796:	3b 75 0c             	cmp    0xc(%ebp),%esi                 
  10f799:	7d 15                	jge    10f7b0 <IMFS_get_token+0x50>   
                                                                      
     token[i] = c;                                                    
  10f79b:	88 1c 37             	mov    %bl,(%edi,%esi,1)              
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
  10f79e:	83 fe 20             	cmp    $0x20,%esi                     
  10f7a1:	75 d9                	jne    10f77c <IMFS_get_token+0x1c>   
       return IMFS_INVALID_TOKEN;                                     
  10f7a3:	b8 04 00 00 00       	mov    $0x4,%eax                      
    else if ( strcmp( token, "." ) == 0 )                             
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
  10f7a8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f7ab:	5b                   	pop    %ebx                           
  10f7ac:	5e                   	pop    %esi                           
  10f7ad:	5f                   	pop    %edi                           
  10f7ae:	c9                   	leave                                 
  10f7af:	c3                   	ret                                   
  10f7b0:	88 da                	mov    %bl,%dl                        
  10f7b2:	89 fb                	mov    %edi,%ebx                      
                                                                      
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
  10f7b4:	85 f6                	test   %esi,%esi                      
  10f7b6:	75 25                	jne    10f7dd <IMFS_get_token+0x7d>   
    token[i] = c;                                                     
  10f7b8:	88 17                	mov    %dl,(%edi)                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
  10f7ba:	84 d2                	test   %dl,%dl                        
  10f7bc:	74 16                	je     10f7d4 <IMFS_get_token+0x74>   
  10f7be:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10f7c1:	85 c0                	test   %eax,%eax                      
  10f7c3:	74 0f                	je     10f7d4 <IMFS_get_token+0x74>   
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
  10f7c5:	b8 01 00 00 00       	mov    $0x1,%eax                      
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
  10f7ca:	be 01 00 00 00       	mov    $0x1,%esi                      
  10f7cf:	eb 05                	jmp    10f7d6 <IMFS_get_token+0x76>   
  10f7d1:	8d 76 00             	lea    0x0(%esi),%esi                 
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
  10f7d4:	31 c0                	xor    %eax,%eax                      
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
  10f7d6:	8b 55 14             	mov    0x14(%ebp),%edx                
  10f7d9:	89 32                	mov    %esi,(%edx)                    
  10f7db:	eb cb                	jmp    10f7a8 <IMFS_get_token+0x48>   
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
    }                                                                 
  } else if (token[ i-1 ] != '\0') {                                  
  10f7dd:	80 7c 37 ff 00       	cmpb   $0x0,-0x1(%edi,%esi,1)         
  10f7e2:	74 04                	je     10f7e8 <IMFS_get_token+0x88>   <== NEVER TAKEN
    token[i] = '\0';                                                  
  10f7e4:	c6 04 37 00          	movb   $0x0,(%edi,%esi,1)             
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
  10f7e8:	8b 45 14             	mov    0x14(%ebp),%eax                
  10f7eb:	89 30                	mov    %esi,(%eax)                    
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
  10f7ed:	bf 15 00 12 00       	mov    $0x120015,%edi                 
  10f7f2:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  10f7f7:	89 de                	mov    %ebx,%esi                      
  10f7f9:	f3 a6                	repz cmpsb %es:(%edi),%ds:(%esi)      
  10f7fb:	75 0f                	jne    10f80c <IMFS_get_token+0xac>   
      type = IMFS_UP_DIR;                                             
  10f7fd:	b8 02 00 00 00       	mov    $0x2,%eax                      
    else if ( strcmp( token, "." ) == 0 )                             
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
  10f802:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f805:	5b                   	pop    %ebx                           
  10f806:	5e                   	pop    %esi                           
  10f807:	5f                   	pop    %edi                           
  10f808:	c9                   	leave                                 
  10f809:	c3                   	ret                                   
  10f80a:	66 90                	xchg   %ax,%ax                        
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
  10f80c:	bf 16 00 12 00       	mov    $0x120016,%edi                 
  10f811:	b9 02 00 00 00       	mov    $0x2,%ecx                      
  10f816:	89 de                	mov    %ebx,%esi                      
  10f818:	f3 a6                	repz cmpsb %es:(%edi),%ds:(%esi)      
  10f81a:	0f 97 c0             	seta   %al                            
  10f81d:	0f 92 c2             	setb   %dl                            
  10f820:	28 d0                	sub    %dl,%al                        
  10f822:	0f be c0             	movsbl %al,%eax                       
  10f825:	83 f8 01             	cmp    $0x1,%eax                      
  10f828:	19 c0                	sbb    %eax,%eax                      
  10f82a:	83 e0 fe             	and    $0xfffffffe,%eax               
  10f82d:	83 c0 03             	add    $0x3,%eax                      
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
  10f830:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10f833:	5b                   	pop    %ebx                           
  10f834:	5e                   	pop    %esi                           
  10f835:	5f                   	pop    %edi                           
  10f836:	c9                   	leave                                 
  10f837:	c3                   	ret                                   
                                                                      

00107844 <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 ) {
  107844:	55                   	push   %ebp                           
  107845:	89 e5                	mov    %esp,%ebp                      
  107847:	57                   	push   %edi                           
  107848:	56                   	push   %esi                           
  107849:	53                   	push   %ebx                           
  10784a:	83 ec 1c             	sub    $0x1c,%esp                     
  10784d:	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,       
  107850:	8b 0d 50 11 12 00    	mov    0x121150,%ecx                  
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
    if (bit_mask == requested_bytes_per_block) {                      
  107856:	83 f9 10             	cmp    $0x10,%ecx                     
  107859:	74 1f                	je     10787a <IMFS_initialize_support+0x36>
      is_valid = true;                                                
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
  10785b:	83 f9 0f             	cmp    $0xf,%ecx                      
  10785e:	7e 15                	jle    107875 <IMFS_initialize_support+0x31>
  107860:	ba 05 00 00 00       	mov    $0x5,%edx                      
  107865:	b8 20 00 00 00       	mov    $0x20,%eax                     
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
    if (bit_mask == requested_bytes_per_block) {                      
  10786a:	39 c1                	cmp    %eax,%ecx                      
  10786c:	74 0c                	je     10787a <IMFS_initialize_support+0x36>
      is_valid = true;                                                
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
  10786e:	7c 05                	jl     107875 <IMFS_initialize_support+0x31><== NEVER TAKEN
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
  107870:	d1 e0                	shl    %eax                           
  107872:	4a                   	dec    %edx                           
  107873:	75 f5                	jne    10786a <IMFS_initialize_support+0x26><== ALWAYS TAKEN
    if(bit_mask > requested_bytes_per_block)                          
      break;                                                          
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
			   ? requested_bytes_per_block                                     
			   : default_bytes_per_block);                                     
  107875:	b9 80 00 00 00       	mov    $0x80,%ecx                     
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
      break;                                                          
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
  10787a:	89 0d c0 4f 12 00    	mov    %ecx,0x124fc0                  
  /*                                                                  
   *  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();
  107880:	e8 7b 76 00 00       	call   10ef00 <IMFS_create_root_node> 
  107885:	89 c2                	mov    %eax,%edx                      
  107887:	89 43 1c             	mov    %eax,0x1c(%ebx)                
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  10788a:	8b 45 14             	mov    0x14(%ebp),%eax                
  10788d:	89 43 24             	mov    %eax,0x24(%ebx)                
  temp_mt_entry->mt_fs_root.ops              = op_table;              
  107890:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  107893:	89 43 28             	mov    %eax,0x28(%ebx)                
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
  107896:	8d 7b 38             	lea    0x38(%ebx),%edi                
  107899:	be c0 ff 11 00       	mov    $0x11ffc0,%esi                 
  10789e:	b9 0c 00 00 00       	mov    $0xc,%ecx                      
  1078a3:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
  1078a5:	83 ec 08             	sub    $0x8,%esp                      
  1078a8:	6a 14                	push   $0x14                          
  1078aa:	6a 01                	push   $0x1                           
  1078ac:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  1078af:	e8 70 06 00 00       	call   107f24 <calloc>                
  if ( !fs_info ) {                                                   
  1078b4:	83 c4 10             	add    $0x10,%esp                     
  1078b7:	85 c0                	test   %eax,%eax                      
  1078b9:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  1078bc:	74 3c                	je     1078fa <IMFS_initialize_support+0xb6>
    free(temp_mt_entry->mt_fs_root.node_access);                      
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
  temp_mt_entry->fs_info = fs_info;                                   
  1078be:	89 43 34             	mov    %eax,0x34(%ebx)                
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  1078c1:	8b 0d c4 4f 12 00    	mov    0x124fc4,%ecx                  
  1078c7:	89 08                	mov    %ecx,(%eax)                    
  1078c9:	41                   	inc    %ecx                           
  1078ca:	89 0d c4 4f 12 00    	mov    %ecx,0x124fc4                  
  fs_info->ino_count             = 1;                                 
  1078d0:	c7 40 04 01 00 00 00 	movl   $0x1,0x4(%eax)                 
  fs_info->memfile_handlers      = memfile_handlers;                  
  1078d7:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  1078da:	89 48 08             	mov    %ecx,0x8(%eax)                 
  fs_info->directory_handlers    = directory_handlers;                
  1078dd:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  1078e0:	89 48 0c             	mov    %ecx,0xc(%eax)                 
  fs_info->fifo_handlers         = fifo_handlers;                     
  1078e3:	8b 4d 18             	mov    0x18(%ebp),%ecx                
  1078e6:	89 48 10             	mov    %ecx,0x10(%eax)                
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
  1078e9:	c7 42 38 01 00 00 00 	movl   $0x1,0x38(%edx)                
                                                                      
  return 0;                                                           
  1078f0:	31 c0                	xor    %eax,%eax                      
}                                                                     
  1078f2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1078f5:	5b                   	pop    %ebx                           
  1078f6:	5e                   	pop    %esi                           
  1078f7:	5f                   	pop    %edi                           
  1078f8:	c9                   	leave                                 
  1078f9:	c3                   	ret                                   
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
  if ( !fs_info ) {                                                   
    free(temp_mt_entry->mt_fs_root.node_access);                      
  1078fa:	83 ec 0c             	sub    $0xc,%esp                      
  1078fd:	52                   	push   %edx                           
  1078fe:	e8 b1 07 00 00       	call   1080b4 <free>                  
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  107903:	e8 34 aa 00 00       	call   11233c <__errno>               
  107908:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    
  10790e:	83 c4 10             	add    $0x10,%esp                     
  107911:	83 c8 ff             	or     $0xffffffff,%eax               
  107914:	eb dc                	jmp    1078f2 <IMFS_initialize_support+0xae>
                                                                      

00107918 <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 */ ) {
  107918:	55                   	push   %ebp                           
  107919:	89 e5                	mov    %esp,%ebp                      
  10791b:	57                   	push   %edi                           
  10791c:	53                   	push   %ebx                           
  10791d:	83 ec 50             	sub    $0x50,%esp                     
  107920:	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;                     
  107923:	8b 45 08             	mov    0x8(%ebp),%eax                 
  107926:	8b 00                	mov    (%eax),%eax                    
  107928:	89 45 d8             	mov    %eax,-0x28(%ebp)               
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
  10792b:	66 83 78 34 07       	cmpw   $0x7,0x34(%eax)                
  107930:	77 66                	ja     107998 <IMFS_link+0x80>        
    rtems_set_errno_and_return_minus_one( EMLINK );                   
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( token, strlen( token ), new_name, &i );             
  107932:	31 c0                	xor    %eax,%eax                      
  107934:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  107939:	89 d7                	mov    %edx,%edi                      
  10793b:	f2 ae                	repnz scas %es:(%edi),%al             
  10793d:	f7 d1                	not    %ecx                           
  10793f:	49                   	dec    %ecx                           
  107940:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  107943:	50                   	push   %eax                           
  107944:	8d 5d b7             	lea    -0x49(%ebp),%ebx               
  107947:	53                   	push   %ebx                           
  107948:	51                   	push   %ecx                           
  107949:	52                   	push   %edx                           
  10794a:	e8 11 7e 00 00       	call   10f760 <IMFS_get_token>        
  new_node = IMFS_create_node(                                        
    parent_loc,                                                       
    IMFS_HARD_LINK,                                                   
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  10794f:	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(                                        
  107952:	89 04 24             	mov    %eax,(%esp)                    
  107955:	68 ff a1 00 00       	push   $0xa1ff                        
  10795a:	53                   	push   %ebx                           
  10795b:	6a 03                	push   $0x3                           
  10795d:	ff 75 0c             	pushl  0xc(%ebp)                      
  107960:	e8 63 74 00 00       	call   10edc8 <IMFS_create_node>      
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
  107965:	83 c4 20             	add    $0x20,%esp                     
  107968:	85 c0                	test   %eax,%eax                      
  10796a:	74 3e                	je     1079aa <IMFS_link+0x92>        
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  /*                                                                  
   * Increment the link count of the node being pointed to.           
   */                                                                 
  info.hard_link.link_node->st_nlink++;                               
  10796c:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  10796f:	66 ff 40 34          	incw   0x34(%eax)                     
  IMFS_update_ctime( info.hard_link.link_node );                      
  107973:	83 ec 08             	sub    $0x8,%esp                      
  107976:	6a 00                	push   $0x0                           
  107978:	8d 45 ec             	lea    -0x14(%ebp),%eax               
  10797b:	50                   	push   %eax                           
  10797c:	e8 af 07 00 00       	call   108130 <gettimeofday>          
  107981:	8b 55 ec             	mov    -0x14(%ebp),%edx               
  107984:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  107987:	89 50 48             	mov    %edx,0x48(%eax)                
                                                                      
  return 0;                                                           
  10798a:	83 c4 10             	add    $0x10,%esp                     
  10798d:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10798f:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  107992:	5b                   	pop    %ebx                           
  107993:	5f                   	pop    %edi                           
  107994:	c9                   	leave                                 
  107995:	c3                   	ret                                   
  107996:	66 90                	xchg   %ax,%ax                        
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
    rtems_set_errno_and_return_minus_one( EMLINK );                   
  107998:	e8 9f a9 00 00       	call   11233c <__errno>               
  10799d:	c7 00 1f 00 00 00    	movl   $0x1f,(%eax)                   
  1079a3:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  1079a8:	eb e5                	jmp    10798f <IMFS_link+0x77>        
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
  1079aa:	e8 8d a9 00 00       	call   11233c <__errno>               
  1079af:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    
  1079b5:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  1079ba:	eb d3                	jmp    10798f <IMFS_link+0x77>        
                                                                      

0011126c <IMFS_memfile_addblock>: */ MEMFILE_STATIC int IMFS_memfile_addblock( IMFS_jnode_t *the_jnode, unsigned int block ) {
  11126c:	55                   	push   %ebp                           
  11126d:	89 e5                	mov    %esp,%ebp                      
  11126f:	53                   	push   %ebx                           
  111270:	83 ec 08             	sub    $0x8,%esp                      
  IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );                 
                                                                      
  /*                                                                  
   * Obtain the pointer for the specified block number                
   */                                                                 
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
  111273:	6a 01                	push   $0x1                           
  111275:	ff 75 0c             	pushl  0xc(%ebp)                      
  111278:	ff 75 08             	pushl  0x8(%ebp)                      
  11127b:	e8 28 fc ff ff       	call   110ea8 <IMFS_memfile_get_block_pointer>
  111280:	89 c3                	mov    %eax,%ebx                      
  if ( *block_entry_ptr )                                             
  111282:	83 c4 10             	add    $0x10,%esp                     
  111285:	8b 00                	mov    (%eax),%eax                    
  111287:	85 c0                	test   %eax,%eax                      
  111289:	74 09                	je     111294 <IMFS_memfile_addblock+0x28>
    return 0;                                                         
  11128b:	31 c0                	xor    %eax,%eax                      
  if ( !memory )                                                      
    return 1;                                                         
                                                                      
  *block_entry_ptr = memory;                                          
  return 0;                                                           
}                                                                     
  11128d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  111290:	c9                   	leave                                 
  111291:	c3                   	ret                                   
  111292:	66 90                	xchg   %ax,%ax                        
    return 0;                                                         
                                                                      
  /*                                                                  
   *  There is no memory for this block number so allocate it.        
   */                                                                 
  memory = memfile_alloc_block();                                     
  111294:	e8 eb fb ff ff       	call   110e84 <memfile_alloc_block>   
  if ( !memory )                                                      
  111299:	85 c0                	test   %eax,%eax                      
  11129b:	74 07                	je     1112a4 <IMFS_memfile_addblock+0x38>
    return 1;                                                         
                                                                      
  *block_entry_ptr = memory;                                          
  11129d:	89 03                	mov    %eax,(%ebx)                    
  return 0;                                                           
  11129f:	31 c0                	xor    %eax,%eax                      
  1112a1:	eb ea                	jmp    11128d <IMFS_memfile_addblock+0x21>
  1112a3:	90                   	nop                                   
  /*                                                                  
   *  There is no memory for this block number so allocate it.        
   */                                                                 
  memory = memfile_alloc_block();                                     
  if ( !memory )                                                      
    return 1;                                                         
  1112a4:	b8 01 00 00 00       	mov    $0x1,%eax                      
  1112a9:	eb e2                	jmp    11128d <IMFS_memfile_addblock+0x21>
                                                                      

001114ac <IMFS_memfile_extend>: */ MEMFILE_STATIC int IMFS_memfile_extend( IMFS_jnode_t *the_jnode, off_t new_length ) {
  1114ac:	55                   	push   %ebp                           
  1114ad:	89 e5                	mov    %esp,%ebp                      
  1114af:	57                   	push   %edi                           
  1114b0:	56                   	push   %esi                           
  1114b1:	53                   	push   %ebx                           
  1114b2:	83 ec 2c             	sub    $0x2c,%esp                     
  1114b5:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1114b8:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  1114bb:	8b 55 10             	mov    0x10(%ebp),%edx                
  1114be:	89 45 d8             	mov    %eax,-0x28(%ebp)               
  1114c1:	89 55 dc             	mov    %edx,-0x24(%ebp)               
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
  1114c4:	a1 c0 4f 12 00       	mov    0x124fc0,%eax                  
  1114c9:	89 c1                	mov    %eax,%ecx                      
  1114cb:	c1 e9 02             	shr    $0x2,%ecx                      
  1114ce:	8d 51 01             	lea    0x1(%ecx),%edx                 
  1114d1:	0f af d1             	imul   %ecx,%edx                      
  1114d4:	42                   	inc    %edx                           
  1114d5:	0f af d1             	imul   %ecx,%edx                      
  1114d8:	4a                   	dec    %edx                           
  1114d9:	0f af d0             	imul   %eax,%edx                      
  1114dc:	31 c9                	xor    %ecx,%ecx                      
  1114de:	3b 4d dc             	cmp    -0x24(%ebp),%ecx               
  1114e1:	7f 1a                	jg     1114fd <IMFS_memfile_extend+0x51><== NEVER TAKEN
  1114e3:	7d 13                	jge    1114f8 <IMFS_memfile_extend+0x4c><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  1114e5:	e8 52 0e 00 00       	call   11233c <__errno>               
  1114ea:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  1114f0:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  1114f5:	eb 19                	jmp    111510 <IMFS_memfile_extend+0x64>
  1114f7:	90                   	nop                                   
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
  1114f8:	3b 55 d8             	cmp    -0x28(%ebp),%edx               
  1114fb:	76 e8                	jbe    1114e5 <IMFS_memfile_extend+0x39>
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
  1114fd:	8b 53 50             	mov    0x50(%ebx),%edx                
  111500:	8b 4b 54             	mov    0x54(%ebx),%ecx                
  111503:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  111506:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  111509:	39 4d dc             	cmp    %ecx,-0x24(%ebp)               
  11150c:	7d 0a                	jge    111518 <IMFS_memfile_extend+0x6c><== ALWAYS TAKEN
    return 0;                                                         
  11150e:	31 c0                	xor    %eax,%eax                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
  return 0;                                                           
}                                                                     
  111510:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  111513:	5b                   	pop    %ebx                           
  111514:	5e                   	pop    %esi                           
  111515:	5f                   	pop    %edi                           
  111516:	c9                   	leave                                 
  111517:	c3                   	ret                                   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
  111518:	7f 05                	jg     11151f <IMFS_memfile_extend+0x73><== NEVER TAKEN
  11151a:	39 55 d8             	cmp    %edx,-0x28(%ebp)               
  11151d:	76 ef                	jbe    11150e <IMFS_memfile_extend+0x62>
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
  11151f:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  111522:	89 c1                	mov    %eax,%ecx                      
  111524:	c1 f9 1f             	sar    $0x1f,%ecx                     
  111527:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  11152a:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  11152d:	ff 75 d0             	pushl  -0x30(%ebp)                    
  111530:	ff 75 dc             	pushl  -0x24(%ebp)                    
  111533:	ff 75 d8             	pushl  -0x28(%ebp)                    
  111536:	e8 49 bd 00 00       	call   11d284 <__divdi3>              
  11153b:	83 c4 10             	add    $0x10,%esp                     
  11153e:	89 c6                	mov    %eax,%esi                      
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
  111540:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  111543:	ff 75 d0             	pushl  -0x30(%ebp)                    
  111546:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  111549:	ff 75 e0             	pushl  -0x20(%ebp)                    
  11154c:	e8 33 bd 00 00       	call   11d284 <__divdi3>              
  111551:	83 c4 10             	add    $0x10,%esp                     
  111554:	89 45 e0             	mov    %eax,-0x20(%ebp)               
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
  111557:	39 c6                	cmp    %eax,%esi                      
  111559:	72 51                	jb     1115ac <IMFS_memfile_extend+0x100><== NEVER TAKEN
  11155b:	89 c7                	mov    %eax,%edi                      
  11155d:	eb 06                	jmp    111565 <IMFS_memfile_extend+0xb9>
  11155f:	90                   	nop                                   
  111560:	47                   	inc    %edi                           
  111561:	39 fe                	cmp    %edi,%esi                      
  111563:	72 47                	jb     1115ac <IMFS_memfile_extend+0x100>
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
  111565:	83 ec 08             	sub    $0x8,%esp                      
  111568:	57                   	push   %edi                           
  111569:	53                   	push   %ebx                           
  11156a:	e8 fd fc ff ff       	call   11126c <IMFS_memfile_addblock> 
  11156f:	83 c4 10             	add    $0x10,%esp                     
  111572:	85 c0                	test   %eax,%eax                      
  111574:	74 ea                	je     111560 <IMFS_memfile_extend+0xb4>
       for ( ; block>=old_blocks ; block-- ) {                        
  111576:	39 7d e0             	cmp    %edi,-0x20(%ebp)               
  111579:	77 17                	ja     111592 <IMFS_memfile_extend+0xe6><== NEVER TAKEN
  11157b:	8b 75 e0             	mov    -0x20(%ebp),%esi               
  11157e:	66 90                	xchg   %ax,%ax                        
         IMFS_memfile_remove_block( the_jnode, block );               
  111580:	83 ec 08             	sub    $0x8,%esp                      
  111583:	57                   	push   %edi                           
  111584:	53                   	push   %ebx                           
  111585:	e8 f6 fe ff ff       	call   111480 <IMFS_memfile_remove_block>
  /*                                                                  
   *  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-- ) {                        
  11158a:	4f                   	dec    %edi                           
  11158b:	83 c4 10             	add    $0x10,%esp                     
  11158e:	39 fe                	cmp    %edi,%esi                      
  111590:	76 ee                	jbe    111580 <IMFS_memfile_extend+0xd4>
         IMFS_memfile_remove_block( the_jnode, block );               
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
  111592:	e8 a5 0d 00 00       	call   11233c <__errno>               
  111597:	c7 00 1c 00 00 00    	movl   $0x1c,(%eax)                   
  11159d:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
  return 0;                                                           
}                                                                     
  1115a2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1115a5:	5b                   	pop    %ebx                           
  1115a6:	5e                   	pop    %esi                           
  1115a7:	5f                   	pop    %edi                           
  1115a8:	c9                   	leave                                 
  1115a9:	c3                   	ret                                   
  1115aa:	66 90                	xchg   %ax,%ax                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
  1115ac:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  1115af:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  1115b2:	89 43 50             	mov    %eax,0x50(%ebx)                
  1115b5:	89 53 54             	mov    %edx,0x54(%ebx)                
  return 0;                                                           
  1115b8:	31 c0                	xor    %eax,%eax                      
}                                                                     
  1115ba:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1115bd:	5b                   	pop    %ebx                           
  1115be:	5e                   	pop    %esi                           
  1115bf:	5f                   	pop    %edi                           
  1115c0:	c9                   	leave                                 
  1115c1:	c3                   	ret                                   
                                                                      

00110ea8 <IMFS_memfile_get_block_pointer>: #endif IMFS_jnode_t *the_jnode, unsigned int block, int malloc_it ) {
  110ea8:	55                   	push   %ebp                           
  110ea9:	89 e5                	mov    %esp,%ebp                      
  110eab:	57                   	push   %edi                           
  110eac:	56                   	push   %esi                           
  110ead:	53                   	push   %ebx                           
  110eae:	83 ec 1c             	sub    $0x1c,%esp                     
  110eb1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  110eb4:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  110eb7:	8b 7d 10             	mov    0x10(%ebp),%edi                
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
  110eba:	8b 0d c0 4f 12 00    	mov    0x124fc0,%ecx                  
  110ec0:	c1 e9 02             	shr    $0x2,%ecx                      
  110ec3:	8d 41 ff             	lea    -0x1(%ecx),%eax                
  110ec6:	39 c6                	cmp    %eax,%esi                      
  110ec8:	77 1a                	ja     110ee4 <IMFS_memfile_get_block_pointer+0x3c>
    p = info->indirect;                                               
  110eca:	8b 43 58             	mov    0x58(%ebx),%eax                
                                                                      
    if ( malloc_it ) {                                                
  110ecd:	85 ff                	test   %edi,%edi                      
  110ecf:	74 53                	je     110f24 <IMFS_memfile_get_block_pointer+0x7c>
                                                                      
      if ( !p ) {                                                     
  110ed1:	85 c0                	test   %eax,%eax                      
  110ed3:	0f 84 b6 00 00 00    	je     110f8f <IMFS_memfile_get_block_pointer+0xe7>
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
  110ed9:	8d 04 b0             	lea    (%eax,%esi,4),%eax             
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
  110edc:	83 c4 1c             	add    $0x1c,%esp                     
  110edf:	5b                   	pop    %ebx                           
  110ee0:	5e                   	pop    %esi                           
  110ee1:	5f                   	pop    %edi                           
  110ee2:	c9                   	leave                                 
  110ee3:	c3                   	ret                                   
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
  110ee4:	8d 41 01             	lea    0x1(%ecx),%eax                 
  110ee7:	0f af c1             	imul   %ecx,%eax                      
  110eea:	8d 50 ff             	lea    -0x1(%eax),%edx                
  110eed:	39 d6                	cmp    %edx,%esi                      
  110eef:	77 3b                	ja     110f2c <IMFS_memfile_get_block_pointer+0x84>
    my_block -= FIRST_DOUBLY_INDIRECT;                                
  110ef1:	29 ce                	sub    %ecx,%esi                      
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
  110ef3:	89 f0                	mov    %esi,%eax                      
  110ef5:	31 d2                	xor    %edx,%edx                      
  110ef7:	f7 f1                	div    %ecx                           
  110ef9:	89 c6                	mov    %eax,%esi                      
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
  110efb:	8b 43 5c             	mov    0x5c(%ebx),%eax                
    if ( malloc_it ) {                                                
  110efe:	85 ff                	test   %edi,%edi                      
  110f00:	74 7e                	je     110f80 <IMFS_memfile_get_block_pointer+0xd8>
                                                                      
      if ( !p ) {                                                     
  110f02:	85 c0                	test   %eax,%eax                      
  110f04:	0f 84 96 00 00 00    	je     110fa0 <IMFS_memfile_get_block_pointer+0xf8>
        if ( !p )                                                     
           return 0;                                                  
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
  110f0a:	8d 1c b0             	lea    (%eax,%esi,4),%ebx             
  110f0d:	8b 03                	mov    (%ebx),%eax                    
      if ( !p1 ) {                                                    
  110f0f:	85 c0                	test   %eax,%eax                      
  110f11:	0f 84 a4 00 00 00    	je     110fbb <IMFS_memfile_get_block_pointer+0x113>
                                                                      
    p = (block_p *)p[ doubly ];                                       
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p[ singly ];                                   
  110f17:	8d 04 90             	lea    (%eax,%edx,4),%eax             
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
  110f1a:	83 c4 1c             	add    $0x1c,%esp                     
  110f1d:	5b                   	pop    %ebx                           
  110f1e:	5e                   	pop    %esi                           
  110f1f:	5f                   	pop    %edi                           
  110f20:	c9                   	leave                                 
  110f21:	c3                   	ret                                   
  110f22:	66 90                	xchg   %ax,%ax                        
        info->indirect = p;                                           
      }                                                               
      return &info->indirect[ my_block ];                             
    }                                                                 
                                                                      
    if ( !p )                                                         
  110f24:	85 c0                	test   %eax,%eax                      
  110f26:	75 b1                	jne    110ed9 <IMFS_memfile_get_block_pointer+0x31><== ALWAYS TAKEN
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    p1 = (block_p *) p[ triply ];                                     
    if ( !p1 )                                                        
      return 0;                                                       
  110f28:	31 c0                	xor    %eax,%eax                      
  110f2a:	eb ee                	jmp    110f1a <IMFS_memfile_get_block_pointer+0x72><== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
  110f2c:	8d 50 01             	lea    0x1(%eax),%edx                 
  110f2f:	0f af d1             	imul   %ecx,%edx                      
  110f32:	4a                   	dec    %edx                           
  110f33:	39 d6                	cmp    %edx,%esi                      
  110f35:	77 f1                	ja     110f28 <IMFS_memfile_get_block_pointer+0x80><== NEVER TAKEN
    my_block -= FIRST_TRIPLY_INDIRECT;                                
  110f37:	29 c6                	sub    %eax,%esi                      
  110f39:	89 f0                	mov    %esi,%eax                      
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
  110f3b:	31 d2                	xor    %edx,%edx                      
  110f3d:	f7 f1                	div    %ecx                           
  110f3f:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
  110f42:	31 d2                	xor    %edx,%edx                      
  110f44:	f7 f1                	div    %ecx                           
  110f46:	89 c6                	mov    %eax,%esi                      
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
                                                                      
    p = info->triply_indirect;                                        
  110f48:	8b 4b 60             	mov    0x60(%ebx),%ecx                
                                                                      
    if ( malloc_it ) {                                                
  110f4b:	85 ff                	test   %edi,%edi                      
  110f4d:	0f 84 82 00 00 00    	je     110fd5 <IMFS_memfile_get_block_pointer+0x12d>
      if ( !p ) {                                                     
  110f53:	85 c9                	test   %ecx,%ecx                      
  110f55:	0f 84 9b 00 00 00    	je     110ff6 <IMFS_memfile_get_block_pointer+0x14e>
        if ( !p )                                                     
           return 0;                                                  
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
  110f5b:	8d 1c b1             	lea    (%ecx,%esi,4),%ebx             
  110f5e:	8b 0b                	mov    (%ebx),%ecx                    
      if ( !p1 ) {                                                    
  110f60:	85 c9                	test   %ecx,%ecx                      
  110f62:	0f 84 c5 00 00 00    	je     11102d <IMFS_memfile_get_block_pointer+0x185>
        if ( !p1 )                                                    
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
  110f68:	8d 1c 91             	lea    (%ecx,%edx,4),%ebx             
  110f6b:	8b 13                	mov    (%ebx),%edx                    
      if ( !p2 ) {                                                    
  110f6d:	85 d2                	test   %edx,%edx                      
  110f6f:	0f 84 a0 00 00 00    	je     111015 <IMFS_memfile_get_block_pointer+0x16d>
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p2 )                                                        
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
  110f75:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  110f78:	8d 04 8a             	lea    (%edx,%ecx,4),%eax             
  110f7b:	eb 9d                	jmp    110f1a <IMFS_memfile_get_block_pointer+0x72>
  110f7d:	8d 76 00             	lea    0x0(%esi),%esi                 
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
  110f80:	85 c0                	test   %eax,%eax                      
  110f82:	74 a4                	je     110f28 <IMFS_memfile_get_block_pointer+0x80><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
  110f84:	8b 04 b0             	mov    (%eax,%esi,4),%eax             
    if ( !p )                                                         
  110f87:	85 c0                	test   %eax,%eax                      
  110f89:	75 8c                	jne    110f17 <IMFS_memfile_get_block_pointer+0x6f><== ALWAYS TAKEN
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    p1 = (block_p *) p[ triply ];                                     
    if ( !p1 )                                                        
      return 0;                                                       
  110f8b:	31 c0                	xor    %eax,%eax                      
  110f8d:	eb 8b                	jmp    110f1a <IMFS_memfile_get_block_pointer+0x72><== NOT EXECUTED
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
  110f8f:	e8 f0 fe ff ff       	call   110e84 <memfile_alloc_block>   
        if ( !p )                                                     
  110f94:	85 c0                	test   %eax,%eax                      
  110f96:	74 90                	je     110f28 <IMFS_memfile_get_block_pointer+0x80><== NEVER TAKEN
           return 0;                                                  
        info->indirect = p;                                           
  110f98:	89 43 58             	mov    %eax,0x58(%ebx)                
  110f9b:	e9 39 ff ff ff       	jmp    110ed9 <IMFS_memfile_get_block_pointer+0x31>
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
  110fa0:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  110fa3:	e8 dc fe ff ff       	call   110e84 <memfile_alloc_block>   
        if ( !p )                                                     
  110fa8:	85 c0                	test   %eax,%eax                      
  110faa:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  110fad:	0f 84 75 ff ff ff    	je     110f28 <IMFS_memfile_get_block_pointer+0x80><== NEVER TAKEN
           return 0;                                                  
        info->doubly_indirect = p;                                    
  110fb3:	89 43 5c             	mov    %eax,0x5c(%ebx)                
  110fb6:	e9 4f ff ff ff       	jmp    110f0a <IMFS_memfile_get_block_pointer+0x62>
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
  110fbb:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  110fbe:	e8 c1 fe ff ff       	call   110e84 <memfile_alloc_block>   
        if ( !p1 )                                                    
  110fc3:	85 c0                	test   %eax,%eax                      
  110fc5:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  110fc8:	0f 84 5a ff ff ff    	je     110f28 <IMFS_memfile_get_block_pointer+0x80><== NEVER TAKEN
           return 0;                                                  
        p[ doubly ] = (block_p) p1;                                   
  110fce:	89 03                	mov    %eax,(%ebx)                    
  110fd0:	e9 42 ff ff ff       	jmp    110f17 <IMFS_memfile_get_block_pointer+0x6f>
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
  110fd5:	85 c9                	test   %ecx,%ecx                      
  110fd7:	0f 84 4b ff ff ff    	je     110f28 <IMFS_memfile_get_block_pointer+0x80><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p1 = (block_p *) p[ triply ];                                     
  110fdd:	8b 04 81             	mov    (%ecx,%eax,4),%eax             
    if ( !p1 )                                                        
  110fe0:	85 c0                	test   %eax,%eax                      
  110fe2:	0f 84 40 ff ff ff    	je     110f28 <IMFS_memfile_get_block_pointer+0x80><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
  110fe8:	8b 14 90             	mov    (%eax,%edx,4),%edx             
    if ( !p2 )                                                        
      return 0;                                                       
  110feb:	31 c0                	xor    %eax,%eax                      
    p1 = (block_p *) p[ triply ];                                     
    if ( !p1 )                                                        
      return 0;                                                       
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p2 )                                                        
  110fed:	85 d2                	test   %edx,%edx                      
  110fef:	75 84                	jne    110f75 <IMFS_memfile_get_block_pointer+0xcd><== ALWAYS TAKEN
  110ff1:	e9 24 ff ff ff       	jmp    110f1a <IMFS_memfile_get_block_pointer+0x72><== NOT EXECUTED
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
  110ff6:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  110ff9:	e8 86 fe ff ff       	call   110e84 <memfile_alloc_block>   
  110ffe:	89 c1                	mov    %eax,%ecx                      
        if ( !p )                                                     
           return 0;                                                  
  111000:	31 c0                	xor    %eax,%eax                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
  111002:	85 c9                	test   %ecx,%ecx                      
  111004:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  111007:	0f 84 0d ff ff ff    	je     110f1a <IMFS_memfile_get_block_pointer+0x72><== NEVER TAKEN
           return 0;                                                  
        info->triply_indirect = p;                                    
  11100d:	89 4b 60             	mov    %ecx,0x60(%ebx)                
  111010:	e9 46 ff ff ff       	jmp    110f5b <IMFS_memfile_get_block_pointer+0xb3>
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
  111015:	e8 6a fe ff ff       	call   110e84 <memfile_alloc_block>   
  11101a:	89 c2                	mov    %eax,%edx                      
        if ( !p2 )                                                    
           return 0;                                                  
  11101c:	31 c0                	xor    %eax,%eax                      
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
  11101e:	85 d2                	test   %edx,%edx                      
  111020:	0f 84 f4 fe ff ff    	je     110f1a <IMFS_memfile_get_block_pointer+0x72><== NEVER TAKEN
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
  111026:	89 13                	mov    %edx,(%ebx)                    
  111028:	e9 48 ff ff ff       	jmp    110f75 <IMFS_memfile_get_block_pointer+0xcd>
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
  11102d:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  111030:	e8 4f fe ff ff       	call   110e84 <memfile_alloc_block>   
  111035:	89 c1                	mov    %eax,%ecx                      
        if ( !p1 )                                                    
           return 0;                                                  
  111037:	31 c0                	xor    %eax,%eax                      
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
        if ( !p1 )                                                    
  111039:	85 c9                	test   %ecx,%ecx                      
  11103b:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  11103e:	0f 84 d6 fe ff ff    	je     110f1a <IMFS_memfile_get_block_pointer+0x72><== NEVER TAKEN
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
  111044:	89 0b                	mov    %ecx,(%ebx)                    
  111046:	e9 1d ff ff ff       	jmp    110f68 <IMFS_memfile_get_block_pointer+0xc0>
                                                                      

0011104c <IMFS_memfile_read>: IMFS_jnode_t *the_jnode, off_t start, unsigned char *destination, unsigned int length ) {
  11104c:	55                   	push   %ebp                           
  11104d:	89 e5                	mov    %esp,%ebp                      
  11104f:	57                   	push   %edi                           
  111050:	56                   	push   %esi                           
  111051:	53                   	push   %ebx                           
  111052:	83 ec 3c             	sub    $0x3c,%esp                     
  111055:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  111058:	8b 7d 10             	mov    0x10(%ebp),%edi                
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
  11105b:	8b 45 08             	mov    0x8(%ebp),%eax                 
  11105e:	83 78 4c 06          	cmpl   $0x6,0x4c(%eax)                
  111062:	0f 84 60 01 00 00    	je     1111c8 <IMFS_memfile_read+0x17c>
                                                                      
  /*                                                                  
   *  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;                                         
  111068:	89 f0                	mov    %esi,%eax                      
  if ( last_byte > the_jnode->info.file.size )                        
  11106a:	8b 55 08             	mov    0x8(%ebp),%edx                 
  11106d:	8b 4a 50             	mov    0x50(%edx),%ecx                
                                                                      
  /*                                                                  
   *  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;                                         
  111070:	8b 5d 18             	mov    0x18(%ebp),%ebx                
  111073:	01 f3                	add    %esi,%ebx                      
  111075:	89 5d d0             	mov    %ebx,-0x30(%ebp)               
  if ( last_byte > the_jnode->info.file.size )                        
  111078:	31 d2                	xor    %edx,%edx                      
  11107a:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11107d:	3b 53 54             	cmp    0x54(%ebx),%edx                
  111080:	0f 8d d2 00 00 00    	jge    111158 <IMFS_memfile_read+0x10c><== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
  111086:	8b 45 18             	mov    0x18(%ebp),%eax                
  111089:	89 45 cc             	mov    %eax,-0x34(%ebp)               
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  11108c:	8b 15 c0 4f 12 00    	mov    0x124fc0,%edx                  
  111092:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  111095:	89 d0                	mov    %edx,%eax                      
  111097:	99                   	cltd                                  
  111098:	89 d3                	mov    %edx,%ebx                      
  11109a:	52                   	push   %edx                           
  11109b:	50                   	push   %eax                           
  11109c:	57                   	push   %edi                           
  11109d:	56                   	push   %esi                           
  11109e:	89 45 c0             	mov    %eax,-0x40(%ebp)               
  1110a1:	e8 2a c3 00 00       	call   11d3d0 <__moddi3>              
  1110a6:	83 c4 10             	add    $0x10,%esp                     
  1110a9:	89 45 c8             	mov    %eax,-0x38(%ebp)               
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  1110ac:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  1110af:	53                   	push   %ebx                           
  1110b0:	51                   	push   %ecx                           
  1110b1:	57                   	push   %edi                           
  1110b2:	56                   	push   %esi                           
  1110b3:	e8 cc c1 00 00       	call   11d284 <__divdi3>              
  1110b8:	83 c4 10             	add    $0x10,%esp                     
  1110bb:	89 c3                	mov    %eax,%ebx                      
  if ( start_offset )  {                                              
  1110bd:	8b 7d c8             	mov    -0x38(%ebp),%edi               
  1110c0:	85 ff                	test   %edi,%edi                      
  1110c2:	0f 84 a0 00 00 00    	je     111168 <IMFS_memfile_read+0x11c>
    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 );
  1110c8:	56                   	push   %esi                           
  1110c9:	6a 00                	push   $0x0                           
  1110cb:	50                   	push   %eax                           
  1110cc:	ff 75 08             	pushl  0x8(%ebp)                      
  1110cf:	e8 d4 fd ff ff       	call   110ea8 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
  1110d4:	83 c4 10             	add    $0x10,%esp                     
  1110d7:	85 c0                	test   %eax,%eax                      
  1110d9:	0f 84 65 01 00 00    	je     111244 <IMFS_memfile_read+0x1f8><== NEVER TAKEN
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
  1110df:	8b 4d d0             	mov    -0x30(%ebp),%ecx               
  1110e2:	2b 4d c8             	sub    -0x38(%ebp),%ecx               
  1110e5:	8b 55 cc             	mov    -0x34(%ebp),%edx               
  1110e8:	39 ca                	cmp    %ecx,%edx                      
  1110ea:	0f 87 3c 01 00 00    	ja     11122c <IMFS_memfile_read+0x1e0>
    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 );           
  1110f0:	8b 75 c8             	mov    -0x38(%ebp),%esi               
  1110f3:	03 30                	add    (%eax),%esi                    
    dest += to_copy;                                                  
  1110f5:	8b 7d 14             	mov    0x14(%ebp),%edi                
  1110f8:	89 d1                	mov    %edx,%ecx                      
  1110fa:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
  1110fc:	89 7d c8             	mov    %edi,-0x38(%ebp)               
    block++;                                                          
  1110ff:	43                   	inc    %ebx                           
    my_length -= to_copy;                                             
  111100:	29 55 cc             	sub    %edx,-0x34(%ebp)               
  111103:	a1 c0 4f 12 00       	mov    0x124fc0,%eax                  
  111108:	89 45 d0             	mov    %eax,-0x30(%ebp)               
    copied += to_copy;                                                
  11110b:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
  11110e:	8b 4d d0             	mov    -0x30(%ebp),%ecx               
  111111:	39 4d cc             	cmp    %ecx,-0x34(%ebp)               
  111114:	73 24                	jae    11113a <IMFS_memfile_read+0xee>
  111116:	eb 60                	jmp    111178 <IMFS_memfile_read+0x12c>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
  111118:	8b 30                	mov    (%eax),%esi                    
  11111a:	8b 7d c8             	mov    -0x38(%ebp),%edi               
  11111d:	8b 4d d0             	mov    -0x30(%ebp),%ecx               
  111120:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
    dest += to_copy;                                                  
  111122:	89 7d c8             	mov    %edi,-0x38(%ebp)               
    block++;                                                          
  111125:	43                   	inc    %ebx                           
    my_length -= to_copy;                                             
  111126:	8b 7d d0             	mov    -0x30(%ebp),%edi               
  111129:	29 7d cc             	sub    %edi,-0x34(%ebp)               
    copied += to_copy;                                                
  11112c:	01 7d c4             	add    %edi,-0x3c(%ebp)               
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
  11112f:	8b 45 cc             	mov    -0x34(%ebp),%eax               
  111132:	39 05 c0 4f 12 00    	cmp    %eax,0x124fc0                  
  111138:	77 3e                	ja     111178 <IMFS_memfile_read+0x12c>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
  11113a:	51                   	push   %ecx                           
  11113b:	6a 00                	push   $0x0                           
  11113d:	53                   	push   %ebx                           
  11113e:	ff 75 08             	pushl  0x8(%ebp)                      
  111141:	e8 62 fd ff ff       	call   110ea8 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
  111146:	83 c4 10             	add    $0x10,%esp                     
  111149:	85 c0                	test   %eax,%eax                      
  11114b:	75 cb                	jne    111118 <IMFS_memfile_read+0xcc><== ALWAYS TAKEN
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  if ( my_length ) {                                                  
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
  11114d:	8b 45 c4             	mov    -0x3c(%ebp),%eax               <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return copied;                                                      
}                                                                     
  111150:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  111153:	5b                   	pop    %ebx                           <== NOT EXECUTED
  111154:	5e                   	pop    %esi                           <== NOT EXECUTED
  111155:	5f                   	pop    %edi                           <== NOT EXECUTED
  111156:	c9                   	leave                                 <== NOT EXECUTED
  111157:	c3                   	ret                                   <== NOT EXECUTED
  /*                                                                  
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
  111158:	0f 8e be 00 00 00    	jle    11121c <IMFS_memfile_read+0x1d0><== ALWAYS TAKEN
    my_length = the_jnode->info.file.size - start;                    
  11115e:	29 c1                	sub    %eax,%ecx                      
  111160:	89 4d cc             	mov    %ecx,-0x34(%ebp)               
  111163:	e9 24 ff ff ff       	jmp    11108c <IMFS_memfile_read+0x40>
  unsigned int         last_byte;                                     
  unsigned int         copied;                                        
  unsigned int         start_offset;                                  
  unsigned char       *dest;                                          
                                                                      
  dest = destination;                                                 
  111168:	8b 55 14             	mov    0x14(%ebp),%edx                
  11116b:	89 55 c8             	mov    %edx,-0x38(%ebp)               
   */                                                                 
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
    my_length = the_jnode->info.file.size - start;                    
                                                                      
  copied = 0;                                                         
  11116e:	c7 45 c4 00 00 00 00 	movl   $0x0,-0x3c(%ebp)               
  111175:	eb 97                	jmp    11110e <IMFS_memfile_read+0xc2>
  111177:	90                   	nop                                   
  /*                                                                  
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  if ( my_length ) {                                                  
  111178:	8b 55 cc             	mov    -0x34(%ebp),%edx               
  11117b:	85 d2                	test   %edx,%edx                      
  11117d:	74 23                	je     1111a2 <IMFS_memfile_read+0x156>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
  11117f:	50                   	push   %eax                           
  111180:	6a 00                	push   $0x0                           
  111182:	53                   	push   %ebx                           
  111183:	ff 75 08             	pushl  0x8(%ebp)                      
  111186:	e8 1d fd ff ff       	call   110ea8 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
  11118b:	83 c4 10             	add    $0x10,%esp                     
  11118e:	85 c0                	test   %eax,%eax                      
  111190:	74 bb                	je     11114d <IMFS_memfile_read+0x101><== NEVER TAKEN
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
  111192:	8b 30                	mov    (%eax),%esi                    
  111194:	8b 7d c8             	mov    -0x38(%ebp),%edi               
  111197:	8b 4d cc             	mov    -0x34(%ebp),%ecx               
  11119a:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
    copied += my_length;                                              
  11119c:	8b 55 cc             	mov    -0x34(%ebp),%edx               
  11119f:	01 55 c4             	add    %edx,-0x3c(%ebp)               
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
  1111a2:	83 ec 08             	sub    $0x8,%esp                      
  1111a5:	6a 00                	push   $0x0                           
  1111a7:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  1111aa:	50                   	push   %eax                           
  1111ab:	e8 80 6f ff ff       	call   108130 <gettimeofday>          
  1111b0:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  1111b3:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  1111b6:	89 41 40             	mov    %eax,0x40(%ecx)                
                                                                      
  return copied;                                                      
  1111b9:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  1111bc:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  1111bf:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1111c2:	5b                   	pop    %ebx                           
  1111c3:	5e                   	pop    %esi                           
  1111c4:	5f                   	pop    %edi                           
  1111c5:	c9                   	leave                                 
  1111c6:	c3                   	ret                                   
  1111c7:	90                   	nop                                   
  my_length = length;                                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
  1111c8:	8b 50 58             	mov    0x58(%eax),%edx                
  1111cb:	89 55 cc             	mov    %edx,-0x34(%ebp)               
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
  1111ce:	89 c1                	mov    %eax,%ecx                      
  1111d0:	8b 40 50             	mov    0x50(%eax),%eax                
  1111d3:	8b 51 54             	mov    0x54(%ecx),%edx                
  1111d6:	89 c1                	mov    %eax,%ecx                      
  1111d8:	89 d3                	mov    %edx,%ebx                      
  1111da:	29 f1                	sub    %esi,%ecx                      
  1111dc:	19 fb                	sbb    %edi,%ebx                      
  1111de:	89 4d d0             	mov    %ecx,-0x30(%ebp)               
  1111e1:	89 5d d4             	mov    %ebx,-0x2c(%ebp)               
  1111e4:	31 c9                	xor    %ecx,%ecx                      
  1111e6:	39 d9                	cmp    %ebx,%ecx                      
  1111e8:	7d 4a                	jge    111234 <IMFS_memfile_read+0x1e8><== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
  1111ea:	8b 5d 18             	mov    0x18(%ebp),%ebx                <== NOT EXECUTED
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
      my_length = the_jnode->info.linearfile.size - start;            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
  1111ed:	03 75 cc             	add    -0x34(%ebp),%esi               
  1111f0:	8b 7d 14             	mov    0x14(%ebp),%edi                
  1111f3:	89 d9                	mov    %ebx,%ecx                      
  1111f5:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
                                                                      
    IMFS_update_atime( the_jnode );                                   
  1111f7:	83 ec 08             	sub    $0x8,%esp                      
  1111fa:	6a 00                	push   $0x0                           
  1111fc:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  1111ff:	50                   	push   %eax                           
  111200:	e8 2b 6f ff ff       	call   108130 <gettimeofday>          
  111205:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  111208:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  11120b:	89 47 40             	mov    %eax,0x40(%edi)                
                                                                      
    return my_length;                                                 
  11120e:	89 d8                	mov    %ebx,%eax                      
  111210:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return copied;                                                      
}                                                                     
  111213:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  111216:	5b                   	pop    %ebx                           
  111217:	5e                   	pop    %esi                           
  111218:	5f                   	pop    %edi                           
  111219:	c9                   	leave                                 
  11121a:	c3                   	ret                                   
  11121b:	90                   	nop                                   
  /*                                                                  
   *  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 )                        
  11121c:	39 4d d0             	cmp    %ecx,-0x30(%ebp)               
  11121f:	0f 86 61 fe ff ff    	jbe    111086 <IMFS_memfile_read+0x3a>
  111225:	e9 34 ff ff ff       	jmp    11115e <IMFS_memfile_read+0x112>
  11122a:	66 90                	xchg   %ax,%ax                        
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
  11122c:	89 ca                	mov    %ecx,%edx                      
  11122e:	e9 bd fe ff ff       	jmp    1110f0 <IMFS_memfile_read+0xa4>
  111233:	90                   	nop                                   
  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))        
  111234:	7f 08                	jg     11123e <IMFS_memfile_read+0x1f2><== NEVER TAKEN
  111236:	8b 5d d0             	mov    -0x30(%ebp),%ebx               
  111239:	39 5d 18             	cmp    %ebx,0x18(%ebp)                
  11123c:	76 ac                	jbe    1111ea <IMFS_memfile_read+0x19e><== NEVER TAKEN
      my_length = the_jnode->info.linearfile.size - start;            
  11123e:	89 c3                	mov    %eax,%ebx                      
  111240:	29 f3                	sub    %esi,%ebx                      
  111242:	eb a9                	jmp    1111ed <IMFS_memfile_read+0x1a1>
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
  111244:	31 c0                	xor    %eax,%eax                      
  111246:	e9 05 ff ff ff       	jmp    111150 <IMFS_memfile_read+0x104><== NOT EXECUTED
                                                                      

00111324 <IMFS_memfile_remove>: * is better to stick to simple, easy to understand algorithms. */ int IMFS_memfile_remove( IMFS_jnode_t *the_jnode ) {
  111324:	55                   	push   %ebp                           
  111325:	89 e5                	mov    %esp,%ebp                      
  111327:	57                   	push   %edi                           
  111328:	56                   	push   %esi                           
  111329:	53                   	push   %ebx                           
  11132a:	83 ec 1c             	sub    $0x1c,%esp                     
                                                                      
  /*                                                                  
   *  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;                                 
  11132d:	8b 3d c0 4f 12 00    	mov    0x124fc0,%edi                  
  111333:	c1 ef 02             	shr    $0x2,%edi                      
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
  111336:	8b 45 08             	mov    0x8(%ebp),%eax                 
  111339:	8b 50 58             	mov    0x58(%eax),%edx                
  11133c:	85 d2                	test   %edx,%edx                      
  11133e:	74 10                	je     111350 <IMFS_memfile_remove+0x2c>
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  111340:	83 ec 08             	sub    $0x8,%esp                      
  111343:	57                   	push   %edi                           
  111344:	83 c0 58             	add    $0x58,%eax                     
  111347:	50                   	push   %eax                           
  111348:	e8 7b ff ff ff       	call   1112c8 <memfile_free_blocks_in_table>
  11134d:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
  111350:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  111353:	8b 51 5c             	mov    0x5c(%ecx),%edx                
  111356:	85 d2                	test   %edx,%edx                      
  111358:	74 55                	je     1113af <IMFS_memfile_remove+0x8b>
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
  11135a:	a1 c0 4f 12 00       	mov    0x124fc0,%eax                  
  11135f:	89 c1                	mov    %eax,%ecx                      
  111361:	c1 e9 02             	shr    $0x2,%ecx                      
  111364:	74 36                	je     11139c <IMFS_memfile_remove+0x78><== NEVER TAKEN
  111366:	31 c9                	xor    %ecx,%ecx                      
  111368:	31 db                	xor    %ebx,%ebx                      
  11136a:	8b 75 08             	mov    0x8(%ebp),%esi                 
  11136d:	eb 04                	jmp    111373 <IMFS_memfile_remove+0x4f>
  11136f:	90                   	nop                                   
  111370:	8b 56 5c             	mov    0x5c(%esi),%edx                
      if ( info->doubly_indirect[i] ) {                               
  111373:	c1 e1 02             	shl    $0x2,%ecx                      
  111376:	83 3c 0a 00          	cmpl   $0x0,(%edx,%ecx,1)             
  11137a:	74 14                	je     111390 <IMFS_memfile_remove+0x6c><== NEVER TAKEN
        memfile_free_blocks_in_table(                                 
  11137c:	83 ec 08             	sub    $0x8,%esp                      
  11137f:	57                   	push   %edi                           
  111380:	01 ca                	add    %ecx,%edx                      
  111382:	52                   	push   %edx                           
  111383:	e8 40 ff ff ff       	call   1112c8 <memfile_free_blocks_in_table>
  111388:	83 c4 10             	add    $0x10,%esp                     
  11138b:	a1 c0 4f 12 00       	mov    0x124fc0,%eax                  
  if ( info->indirect ) {                                             
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
  111390:	43                   	inc    %ebx                           
  111391:	89 d9                	mov    %ebx,%ecx                      
  111393:	89 c2                	mov    %eax,%edx                      
  111395:	c1 ea 02             	shr    $0x2,%edx                      
  111398:	39 da                	cmp    %ebx,%edx                      
  11139a:	77 d4                	ja     111370 <IMFS_memfile_remove+0x4c>
      if ( info->doubly_indirect[i] ) {                               
        memfile_free_blocks_in_table(                                 
         (block_p **)&info->doubly_indirect[i], to_free );            
      }                                                               
    }                                                                 
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
  11139c:	83 ec 08             	sub    $0x8,%esp                      
  11139f:	57                   	push   %edi                           
  1113a0:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1113a3:	83 c0 5c             	add    $0x5c,%eax                     
  1113a6:	50                   	push   %eax                           
  1113a7:	e8 1c ff ff ff       	call   1112c8 <memfile_free_blocks_in_table>
  1113ac:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
  1113af:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1113b2:	8b 50 60             	mov    0x60(%eax),%edx                
  1113b5:	85 d2                	test   %edx,%edx                      
  1113b7:	0f 84 b6 00 00 00    	je     111473 <IMFS_memfile_remove+0x14f>
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
  1113bd:	a1 c0 4f 12 00       	mov    0x124fc0,%eax                  
  1113c2:	89 c1                	mov    %eax,%ecx                      
  1113c4:	c1 e9 02             	shr    $0x2,%ecx                      
  1113c7:	0f 84 93 00 00 00    	je     111460 <IMFS_memfile_remove+0x13c><== NEVER TAKEN
      p = (block_p *) info->triply_indirect[i];                       
  1113cd:	8b 32                	mov    (%edx),%esi                    
      if ( !p )  /* ensure we have a valid pointer */                 
  1113cf:	85 f6                	test   %esi,%esi                      
  1113d1:	0f 84 89 00 00 00    	je     111460 <IMFS_memfile_remove+0x13c><== NEVER TAKEN
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
  1113d7:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
      if ( !p )  /* ensure we have a valid pointer */                 
  1113de:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  1113e5:	8d 76 00             	lea    0x0(%esi),%esi                 
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
  1113e8:	89 c2                	mov    %eax,%edx                      
  1113ea:	c1 ea 02             	shr    $0x2,%edx                      
  1113ed:	74 30                	je     11141f <IMFS_memfile_remove+0xfb><== NEVER TAKEN
  1113ef:	31 d2                	xor    %edx,%edx                      
  1113f1:	31 db                	xor    %ebx,%ebx                      
  1113f3:	90                   	nop                                   
        if ( p[j] ) {                                                 
  1113f4:	c1 e2 02             	shl    $0x2,%edx                      
  1113f7:	8b 0c 16             	mov    (%esi,%edx,1),%ecx             
  1113fa:	85 c9                	test   %ecx,%ecx                      
  1113fc:	74 15                	je     111413 <IMFS_memfile_remove+0xef><== NEVER TAKEN
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
  1113fe:	83 ec 08             	sub    $0x8,%esp                      
  111401:	57                   	push   %edi                           
  111402:	8d 14 16             	lea    (%esi,%edx,1),%edx             
  111405:	52                   	push   %edx                           
  111406:	e8 bd fe ff ff       	call   1112c8 <memfile_free_blocks_in_table>
  11140b:	83 c4 10             	add    $0x10,%esp                     
  11140e:	a1 c0 4f 12 00       	mov    0x124fc0,%eax                  
  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++ ) {                
  111413:	43                   	inc    %ebx                           
  111414:	89 da                	mov    %ebx,%edx                      
  111416:	89 c1                	mov    %eax,%ecx                      
  111418:	c1 e9 02             	shr    $0x2,%ecx                      
  11141b:	39 cb                	cmp    %ecx,%ebx                      
  11141d:	72 d5                	jb     1113f4 <IMFS_memfile_remove+0xd0>
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
  11141f:	83 ec 08             	sub    $0x8,%esp                      
  111422:	57                   	push   %edi                           
  111423:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  111426:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  111429:	03 41 60             	add    0x60(%ecx),%eax                
  11142c:	50                   	push   %eax                           
  11142d:	e8 96 fe ff ff       	call   1112c8 <memfile_free_blocks_in_table>
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
  111432:	ff 45 e4             	incl   -0x1c(%ebp)                    
  111435:	a1 c0 4f 12 00       	mov    0x124fc0,%eax                  
  11143a:	89 c2                	mov    %eax,%edx                      
  11143c:	c1 ea 02             	shr    $0x2,%edx                      
  11143f:	83 c4 10             	add    $0x10,%esp                     
  111442:	3b 55 e4             	cmp    -0x1c(%ebp),%edx               
  111445:	76 19                	jbe    111460 <IMFS_memfile_remove+0x13c>
      p = (block_p *) info->triply_indirect[i];                       
      if ( !p )  /* ensure we have a valid pointer */                 
  111447:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  11144a:	c1 e2 02             	shl    $0x2,%edx                      
  11144d:	89 55 e0             	mov    %edx,-0x20(%ebp)               
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
  111450:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  111453:	8b 51 60             	mov    0x60(%ecx),%edx                
  111456:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  111459:	8b 34 0a             	mov    (%edx,%ecx,1),%esi             
      if ( !p )  /* ensure we have a valid pointer */                 
  11145c:	85 f6                	test   %esi,%esi                      
  11145e:	75 88                	jne    1113e8 <IMFS_memfile_remove+0xc4><== ALWAYS TAKEN
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
  111460:	83 ec 08             	sub    $0x8,%esp                      
  111463:	57                   	push   %edi                           
        (block_p **)&info->triply_indirect, to_free );                
  111464:	8b 45 08             	mov    0x8(%ebp),%eax                 
  111467:	83 c0 60             	add    $0x60,%eax                     
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
  11146a:	50                   	push   %eax                           
  11146b:	e8 58 fe ff ff       	call   1112c8 <memfile_free_blocks_in_table>
  111470:	83 c4 10             	add    $0x10,%esp                     
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
  111473:	31 c0                	xor    %eax,%eax                      
  111475:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  111478:	5b                   	pop    %ebx                           
  111479:	5e                   	pop    %esi                           
  11147a:	5f                   	pop    %edi                           
  11147b:	c9                   	leave                                 
  11147c:	c3                   	ret                                   
                                                                      

001115c4 <IMFS_memfile_write>: IMFS_jnode_t *the_jnode, off_t start, const unsigned char *source, unsigned int length ) {
  1115c4:	55                   	push   %ebp                           
  1115c5:	89 e5                	mov    %esp,%ebp                      
  1115c7:	57                   	push   %edi                           
  1115c8:	56                   	push   %esi                           
  1115c9:	53                   	push   %ebx                           
  1115ca:	83 ec 3c             	sub    $0x3c,%esp                     
  1115cd:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  1115d0:	8b 75 10             	mov    0x10(%ebp),%esi                
  /*                                                                  
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + my_length;                                      
  1115d3:	8b 4d 18             	mov    0x18(%ebp),%ecx                
  1115d6:	01 d9                	add    %ebx,%ecx                      
  if ( last_byte > the_jnode->info.file.size ) {                      
  1115d8:	89 c8                	mov    %ecx,%eax                      
  1115da:	31 d2                	xor    %edx,%edx                      
  1115dc:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  1115df:	3b 57 54             	cmp    0x54(%edi),%edx                
  1115e2:	7c 1c                	jl     111600 <IMFS_memfile_write+0x3c><== NEVER TAKEN
  1115e4:	0f 8e f2 00 00 00    	jle    1116dc <IMFS_memfile_write+0x118><== ALWAYS TAKEN
    status = IMFS_memfile_extend( the_jnode, last_byte );             
  1115ea:	51                   	push   %ecx                           
  1115eb:	52                   	push   %edx                           
  1115ec:	50                   	push   %eax                           
  1115ed:	ff 75 08             	pushl  0x8(%ebp)                      
  1115f0:	e8 b7 fe ff ff       	call   1114ac <IMFS_memfile_extend>   
    if ( status )                                                     
  1115f5:	83 c4 10             	add    $0x10,%esp                     
  1115f8:	85 c0                	test   %eax,%eax                      
  1115fa:	0f 85 52 01 00 00    	jne    111752 <IMFS_memfile_write+0x18e>
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  111600:	a1 c0 4f 12 00       	mov    0x124fc0,%eax                  
  111605:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  111608:	99                   	cltd                                  
  111609:	89 45 c8             	mov    %eax,-0x38(%ebp)               
  11160c:	89 55 cc             	mov    %edx,-0x34(%ebp)               
  11160f:	52                   	push   %edx                           
  111610:	50                   	push   %eax                           
  111611:	56                   	push   %esi                           
  111612:	53                   	push   %ebx                           
  111613:	e8 b8 bd 00 00       	call   11d3d0 <__moddi3>              
  111618:	83 c4 10             	add    $0x10,%esp                     
  11161b:	89 c7                	mov    %eax,%edi                      
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  11161d:	ff 75 cc             	pushl  -0x34(%ebp)                    
  111620:	ff 75 c8             	pushl  -0x38(%ebp)                    
  111623:	56                   	push   %esi                           
  111624:	53                   	push   %ebx                           
  111625:	e8 5a bc 00 00       	call   11d284 <__divdi3>              
  11162a:	83 c4 10             	add    $0x10,%esp                     
  11162d:	89 c3                	mov    %eax,%ebx                      
  if ( start_offset )  {                                              
  11162f:	85 ff                	test   %edi,%edi                      
  111631:	75 5d                	jne    111690 <IMFS_memfile_write+0xcc>
  unsigned int         last_byte;                                     
  unsigned int         start_offset;                                  
  int                  copied;                                        
  const unsigned char *src;                                           
                                                                      
  src = source;                                                       
  111633:	8b 75 14             	mov    0x14(%ebp),%esi                
  /*                                                                  
   *  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 )  {                                              
  111636:	8b 55 18             	mov    0x18(%ebp),%edx                
    status = IMFS_memfile_extend( the_jnode, last_byte );             
    if ( status )                                                     
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
  }                                                                   
                                                                      
  copied = 0;                                                         
  111639:	c7 45 c8 00 00 00 00 	movl   $0x0,-0x38(%ebp)               
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
  111640:	3b 55 d4             	cmp    -0x2c(%ebp),%edx               
  111643:	73 26                	jae    11166b <IMFS_memfile_write+0xa7>
  111645:	e9 a2 00 00 00       	jmp    1116ec <IMFS_memfile_write+0x128>
  11164a:	66 90                	xchg   %ax,%ax                        
    if ( !block_ptr )                                                 
      return copied;                                                  
    #if 0                                                             
      fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
    #endif                                                            
    memcpy( &(*block_ptr)[ 0 ], src, to_copy );                       
  11164c:	8b 00                	mov    (%eax),%eax                    
    src += to_copy;                                                   
  11164e:	89 c7                	mov    %eax,%edi                      
  111650:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  111653:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
    block++;                                                          
  111655:	43                   	inc    %ebx                           
    my_length -= to_copy;                                             
  111656:	2b 55 d4             	sub    -0x2c(%ebp),%edx               
 *  IMFS_memfile_write                                                
 *                                                                    
 *  This routine writes the specified data buffer into the in memory  
 *  file pointed to by the_jnode.  The file is extended as needed.    
 */                                                                   
MEMFILE_STATIC ssize_t IMFS_memfile_write(                            
  111659:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  11165c:	01 45 c8             	add    %eax,-0x38(%ebp)               
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
  11165f:	39 15 c0 4f 12 00    	cmp    %edx,0x124fc0                  
  111665:	0f 87 81 00 00 00    	ja     1116ec <IMFS_memfile_write+0x128>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
  11166b:	57                   	push   %edi                           
  11166c:	6a 00                	push   $0x0                           
  11166e:	53                   	push   %ebx                           
  11166f:	ff 75 08             	pushl  0x8(%ebp)                      
  111672:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  111675:	e8 2e f8 ff ff       	call   110ea8 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
  11167a:	83 c4 10             	add    $0x10,%esp                     
  11167d:	85 c0                	test   %eax,%eax                      
  11167f:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  111682:	75 c8                	jne    11164c <IMFS_memfile_write+0x88><== ALWAYS TAKEN
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
  111684:	8b 45 c8             	mov    -0x38(%ebp),%eax               <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
                                                                      
  return copied;                                                      
}                                                                     
  111687:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11168a:	5b                   	pop    %ebx                           
  11168b:	5e                   	pop    %esi                           
  11168c:	5f                   	pop    %edi                           
  11168d:	c9                   	leave                                 
  11168e:	c3                   	ret                                   
  11168f:	90                   	nop                                   
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  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 );
  111690:	50                   	push   %eax                           
  111691:	6a 00                	push   $0x0                           
  111693:	53                   	push   %ebx                           
  111694:	ff 75 08             	pushl  0x8(%ebp)                      
  111697:	e8 0c f8 ff ff       	call   110ea8 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
  11169c:	83 c4 10             	add    $0x10,%esp                     
  11169f:	85 c0                	test   %eax,%eax                      
  1116a1:	0f 84 a1 00 00 00    	je     111748 <IMFS_memfile_write+0x184><== NEVER TAKEN
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
  1116a7:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  1116aa:	29 fa                	sub    %edi,%edx                      
  1116ac:	89 55 c8             	mov    %edx,-0x38(%ebp)               
  1116af:	8b 55 18             	mov    0x18(%ebp),%edx                
  1116b2:	39 55 c8             	cmp    %edx,-0x38(%ebp)               
  1116b5:	0f 87 85 00 00 00    	ja     111740 <IMFS_memfile_write+0x17c>
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
  1116bb:	03 38                	add    (%eax),%edi                    
    src += to_copy;                                                   
  1116bd:	8b 75 14             	mov    0x14(%ebp),%esi                
  1116c0:	8b 4d c8             	mov    -0x38(%ebp),%ecx               
  1116c3:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
    block++;                                                          
  1116c5:	43                   	inc    %ebx                           
    my_length -= to_copy;                                             
  1116c6:	8b 55 18             	mov    0x18(%ebp),%edx                
  1116c9:	2b 55 c8             	sub    -0x38(%ebp),%edx               
    copied += to_copy;                                                
  1116cc:	8b 3d c0 4f 12 00    	mov    0x124fc0,%edi                  
  1116d2:	89 7d d4             	mov    %edi,-0x2c(%ebp)               
  1116d5:	e9 66 ff ff ff       	jmp    111640 <IMFS_memfile_write+0x7c>
  1116da:	66 90                	xchg   %ax,%ax                        
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + my_length;                                      
  if ( last_byte > the_jnode->info.file.size ) {                      
  1116dc:	3b 4f 50             	cmp    0x50(%edi),%ecx                
  1116df:	0f 86 1b ff ff ff    	jbe    111600 <IMFS_memfile_write+0x3c><== NEVER TAKEN
  1116e5:	e9 00 ff ff ff       	jmp    1115ea <IMFS_memfile_write+0x26>
  1116ea:	66 90                	xchg   %ax,%ax                        
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
  1116ec:	85 d2                	test   %edx,%edx                      
  1116ee:	74 28                	je     111718 <IMFS_memfile_write+0x154>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
  1116f0:	51                   	push   %ecx                           
  1116f1:	6a 00                	push   $0x0                           
  1116f3:	53                   	push   %ebx                           
  1116f4:	ff 75 08             	pushl  0x8(%ebp)                      
  1116f7:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  1116fa:	e8 a9 f7 ff ff       	call   110ea8 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
  1116ff:	83 c4 10             	add    $0x10,%esp                     
  111702:	85 c0                	test   %eax,%eax                      
  111704:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  111707:	0f 84 77 ff ff ff    	je     111684 <IMFS_memfile_write+0xc0><== 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 );                     
  11170d:	8b 00                	mov    (%eax),%eax                    
  11170f:	89 c7                	mov    %eax,%edi                      
  111711:	89 d1                	mov    %edx,%ecx                      
  111713:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
    my_length = 0;                                                    
    copied += to_copy;                                                
  111715:	01 55 c8             	add    %edx,-0x38(%ebp)               
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
  111718:	83 ec 08             	sub    $0x8,%esp                      
  11171b:	6a 00                	push   $0x0                           
  11171d:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  111720:	50                   	push   %eax                           
  111721:	e8 0a 6a ff ff       	call   108130 <gettimeofday>          
  111726:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  111729:	8b 55 08             	mov    0x8(%ebp),%edx                 
  11172c:	89 42 44             	mov    %eax,0x44(%edx)                
  11172f:	89 42 48             	mov    %eax,0x48(%edx)                
                                                                      
  return copied;                                                      
  111732:	83 c4 10             	add    $0x10,%esp                     
  111735:	8b 45 c8             	mov    -0x38(%ebp),%eax               
}                                                                     
  111738:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11173b:	5b                   	pop    %ebx                           
  11173c:	5e                   	pop    %esi                           
  11173d:	5f                   	pop    %edi                           
  11173e:	c9                   	leave                                 
  11173f:	c3                   	ret                                   
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
  111740:	89 55 c8             	mov    %edx,-0x38(%ebp)               
  111743:	e9 73 ff ff ff       	jmp    1116bb <IMFS_memfile_write+0xf7>
    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;                                                  
  111748:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
                                                                      
  return copied;                                                      
}                                                                     
  11174a:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  11174d:	5b                   	pop    %ebx                           <== NOT EXECUTED
  11174e:	5e                   	pop    %esi                           <== NOT EXECUTED
  11174f:	5f                   	pop    %edi                           <== NOT EXECUTED
  111750:	c9                   	leave                                 <== NOT EXECUTED
  111751:	c3                   	ret                                   <== NOT EXECUTED
                                                                      
  last_byte = start + my_length;                                      
  if ( last_byte > the_jnode->info.file.size ) {                      
    status = IMFS_memfile_extend( the_jnode, last_byte );             
    if ( status )                                                     
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
  111752:	e8 e5 0b 00 00       	call   11233c <__errno>               
  111757:	c7 00 1c 00 00 00    	movl   $0x1c,(%eax)                   
  11175d:	83 c8 ff             	or     $0xffffffff,%eax               
  111760:	e9 22 ff ff ff       	jmp    111687 <IMFS_memfile_write+0xc3>
                                                                      

001079bc <IMFS_mknod>: const char *token, /* IN */ mode_t mode, /* IN */ dev_t dev, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
  1079bc:	55                   	push   %ebp                           
  1079bd:	89 e5                	mov    %esp,%ebp                      
  1079bf:	57                   	push   %edi                           
  1079c0:	56                   	push   %esi                           
  1079c1:	53                   	push   %ebx                           
  1079c2:	83 ec 5c             	sub    $0x5c,%esp                     
  1079c5:	8b 55 08             	mov    0x8(%ebp),%edx                 
  1079c8:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  1079cb:	8b 75 10             	mov    0x10(%ebp),%esi                
  1079ce:	8b 45 14             	mov    0x14(%ebp),%eax                
  1079d1:	89 45 a4             	mov    %eax,-0x5c(%ebp)               
  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 );        
  1079d4:	31 c0                	xor    %eax,%eax                      
  1079d6:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  1079db:	89 d7                	mov    %edx,%edi                      
  1079dd:	f2 ae                	repnz scas %es:(%edi),%al             
  1079df:	f7 d1                	not    %ecx                           
  1079e1:	49                   	dec    %ecx                           
  1079e2:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  1079e5:	50                   	push   %eax                           
  1079e6:	8d 7d af             	lea    -0x51(%ebp),%edi               
  1079e9:	57                   	push   %edi                           
  1079ea:	51                   	push   %ecx                           
  1079eb:	52                   	push   %edx                           
  1079ec:	e8 6f 7d 00 00       	call   10f760 <IMFS_get_token>        
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
  1079f1:	89 d8                	mov    %ebx,%eax                      
  1079f3:	25 00 f0 00 00       	and    $0xf000,%eax                   
  1079f8:	83 c4 10             	add    $0x10,%esp                     
  1079fb:	3d 00 40 00 00       	cmp    $0x4000,%eax                   
  107a00:	74 56                	je     107a58 <IMFS_mknod+0x9c>       
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
  107a02:	3d 00 80 00 00       	cmp    $0x8000,%eax                   
  107a07:	74 57                	je     107a60 <IMFS_mknod+0xa4>       
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
  107a09:	3d 00 60 00 00       	cmp    $0x6000,%eax                   
  107a0e:	74 14                	je     107a24 <IMFS_mknod+0x68>       
  107a10:	3d 00 20 00 00       	cmp    $0x2000,%eax                   
  107a15:	74 0d                	je     107a24 <IMFS_mknod+0x68>       
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
  } else if (S_ISFIFO(mode))                                          
  107a17:	3d 00 10 00 00       	cmp    $0x1000,%eax                   
  107a1c:	74 4a                	je     107a68 <IMFS_mknod+0xac>       <== ALWAYS TAKEN
  mode_t                             mode,       /* IN */             
  dev_t                              dev,        /* IN */             
  rtems_filesystem_location_info_t  *pathloc     /* IN/OUT */         
)                                                                     
{                                                                     
  IMFS_token_types   type = 0;                                        
  107a1e:	31 d2                	xor    %edx,%edx                      <== NOT EXECUTED
  107a20:	eb 10                	jmp    107a32 <IMFS_mknod+0x76>       <== NOT EXECUTED
  107a22:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
  107a24:	89 75 d0             	mov    %esi,-0x30(%ebp)               
  dev_t device                                                        
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.device = device;                                               
  107a27:	8b 45 a4             	mov    -0x5c(%ebp),%eax               
  107a2a:	89 45 d4             	mov    %eax,-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;                                               
  107a2d:	ba 02 00 00 00       	mov    $0x2,%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( pathloc, type, new_name, mode, &info );
  107a32:	83 ec 0c             	sub    $0xc,%esp                      
  107a35:	8d 45 d0             	lea    -0x30(%ebp),%eax               
  107a38:	50                   	push   %eax                           
  107a39:	53                   	push   %ebx                           
  107a3a:	57                   	push   %edi                           
  107a3b:	52                   	push   %edx                           
  107a3c:	ff 75 18             	pushl  0x18(%ebp)                     
  107a3f:	e8 84 73 00 00       	call   10edc8 <IMFS_create_node>      
  if ( !new_node )                                                    
  107a44:	83 c4 20             	add    $0x20,%esp                     
  107a47:	85 c0                	test   %eax,%eax                      
  107a49:	74 24                	je     107a6f <IMFS_mknod+0xb3>       
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  return 0;                                                           
  107a4b:	31 c0                	xor    %eax,%eax                      
}                                                                     
  107a4d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107a50:	5b                   	pop    %ebx                           
  107a51:	5e                   	pop    %esi                           
  107a52:	5f                   	pop    %edi                           
  107a53:	c9                   	leave                                 
  107a54:	c3                   	ret                                   
  107a55:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
    type = IMFS_DIRECTORY;                                            
  107a58:	ba 01 00 00 00       	mov    $0x1,%edx                      
  107a5d:	eb d3                	jmp    107a32 <IMFS_mknod+0x76>       
  107a5f:	90                   	nop                                   
  else if ( S_ISREG(mode) )                                           
    type = IMFS_MEMORY_FILE;                                          
  107a60:	ba 05 00 00 00       	mov    $0x5,%edx                      
  107a65:	eb cb                	jmp    107a32 <IMFS_mknod+0x76>       
  107a67:	90                   	nop                                   
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
  } else if (S_ISFIFO(mode))                                          
    type = IMFS_FIFO;                                                 
  107a68:	ba 07 00 00 00       	mov    $0x7,%edx                      
  107a6d:	eb c3                	jmp    107a32 <IMFS_mknod+0x76>       
   *        existed.  The result was simpler code which should not have
   *        this path.                                                
   */                                                                 
  new_node = IMFS_create_node( pathloc, type, new_name, mode, &info );
  if ( !new_node )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
  107a6f:	e8 c8 a8 00 00       	call   11233c <__errno>               
  107a74:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    
  107a7a:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  107a7f:	eb cc                	jmp    107a4d <IMFS_mknod+0x91>       
                                                                      

00107a84 <IMFS_mount>: #include <rtems/seterr.h> int IMFS_mount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
  107a84:	55                   	push   %ebp                           
  107a85:	89 e5                	mov    %esp,%ebp                      
  107a87:	83 ec 08             	sub    $0x8,%esp                      
  107a8a:	8b 55 08             	mov    0x8(%ebp),%edx                 
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
  107a8d:	8b 42 08             	mov    0x8(%edx),%eax                 
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
  107a90:	83 78 4c 01          	cmpl   $0x1,0x4c(%eax)                
  107a94:	75 0a                	jne    107aa0 <IMFS_mount+0x1c>       <== NEVER TAKEN
  /*                                                                  
   *  Set mt_fs pointer to point to the mount table entry for         
   *  the mounted file system.                                        
   */                                                                 
                                                                      
  node->info.directory.mt_fs = mt_entry;                              
  107a96:	89 50 5c             	mov    %edx,0x5c(%eax)                
  return 0;                                                           
  107a99:	31 c0                	xor    %eax,%eax                      
}                                                                     
  107a9b:	c9                   	leave                                 
  107a9c:	c3                   	ret                                   
  107a9d:	8d 76 00             	lea    0x0(%esi),%esi                 
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  107aa0:	e8 97 a8 00 00       	call   11233c <__errno>               <== NOT EXECUTED
  107aa5:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   <== NOT EXECUTED
  107aab:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
   *  the mounted file system.                                        
   */                                                                 
                                                                      
  node->info.directory.mt_fs = mt_entry;                              
  return 0;                                                           
}                                                                     
  107ab0:	c9                   	leave                                 <== NOT EXECUTED
  107ab1:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010a3b0 <IMFS_print_jnode>: * This routine prints the contents of the specified jnode. */ void IMFS_print_jnode( IMFS_jnode_t *the_jnode ) {
  10a3b0:	55                   	push   %ebp                           
  10a3b1:	89 e5                	mov    %esp,%ebp                      
  10a3b3:	53                   	push   %ebx                           
  10a3b4:	83 ec 0c             	sub    $0xc,%esp                      
  10a3b7:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  10a3ba:	a1 20 aa 12 00       	mov    0x12aa20,%eax                  
  10a3bf:	ff 70 08             	pushl  0x8(%eax)                      
  10a3c2:	8d 43 0c             	lea    0xc(%ebx),%eax                 
  10a3c5:	50                   	push   %eax                           
  10a3c6:	e8 9d c6 00 00       	call   116a68 <fputs>                 
  switch( the_jnode->type ) {                                         
  10a3cb:	8b 43 4c             	mov    0x4c(%ebx),%eax                
  10a3ce:	83 c4 10             	add    $0x10,%esp                     
  10a3d1:	83 f8 07             	cmp    $0x7,%eax                      
  10a3d4:	76 1e                	jbe    10a3f4 <IMFS_print_jnode+0x44> <== ALWAYS TAKEN
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
      return;                                                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
  10a3d6:	52                   	push   %edx                           <== NOT EXECUTED
  10a3d7:	50                   	push   %eax                           <== NOT EXECUTED
  10a3d8:	68 a4 59 12 00       	push   $0x1259a4                      <== NOT EXECUTED
  10a3dd:	a1 20 aa 12 00       	mov    0x12aa20,%eax                  <== NOT EXECUTED
  10a3e2:	ff 70 08             	pushl  0x8(%eax)                      <== NOT EXECUTED
  10a3e5:	e8 72 c5 00 00       	call   11695c <fprintf>               <== NOT EXECUTED
      return;                                                         
  10a3ea:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  }                                                                   
  puts("");                                                           
}                                                                     
  10a3ed:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  10a3f0:	c9                   	leave                                 <== NOT EXECUTED
  10a3f1:	c3                   	ret                                   <== NOT EXECUTED
  10a3f2:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
)                                                                     
{                                                                     
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( the_jnode->type ) {                                         
  10a3f4:	ff 24 85 bc 59 12 00 	jmp    *0x1259bc(,%eax,4)             
  10a3fb:	90                   	nop                                   
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
  10a3fc:	a1 20 aa 12 00       	mov    0x12aa20,%eax                  <== NOT EXECUTED
  10a401:	ff 70 08             	pushl  0x8(%eax)                      <== NOT EXECUTED
  10a404:	6a 13                	push   $0x13                          <== NOT EXECUTED
  10a406:	6a 01                	push   $0x1                           <== NOT EXECUTED
  10a408:	68 7d 59 12 00       	push   $0x12597d                      <== NOT EXECUTED
  10a40d:	e8 7a d2 00 00       	call   11768c <fwrite>                <== NOT EXECUTED
      return;                                                         
  10a412:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
  10a415:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  10a418:	c9                   	leave                                 <== NOT EXECUTED
  10a419:	c3                   	ret                                   <== NOT EXECUTED
  10a41a:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
  10a41c:	a1 20 aa 12 00       	mov    0x12aa20,%eax                  <== NOT EXECUTED
  10a421:	ff 70 08             	pushl  0x8(%eax)                      <== NOT EXECUTED
  10a424:	6a 12                	push   $0x12                          <== NOT EXECUTED
  10a426:	6a 01                	push   $0x1                           <== NOT EXECUTED
  10a428:	68 91 59 12 00       	push   $0x125991                      <== NOT EXECUTED
  10a42d:	e8 5a d2 00 00       	call   11768c <fwrite>                <== NOT EXECUTED
      return;                                                         
  10a432:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
  10a435:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  10a438:	c9                   	leave                                 <== NOT EXECUTED
  10a439:	c3                   	ret                                   <== NOT EXECUTED
  10a43a:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
  10a43c:	51                   	push   %ecx                           
  10a43d:	ff 73 50             	pushl  0x50(%ebx)                     
  10a440:	68 71 59 12 00       	push   $0x125971                      
  10a445:	a1 20 aa 12 00       	mov    0x12aa20,%eax                  
  10a44a:	ff 70 08             	pushl  0x8(%eax)                      
  10a44d:	e8 0a c5 00 00       	call   11695c <fprintf>               
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
  10a452:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
  10a455:	c7 45 08 a9 5c 12 00 	movl   $0x125ca9,0x8(%ebp)            
}                                                                     
  10a45c:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10a45f:	c9                   	leave                                 
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
  10a460:	e9 23 de 00 00       	jmp    118288 <puts>                  
  10a465:	8d 76 00             	lea    0x0(%esi),%esi                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      fprintf(stdout, " (file %" PRId32 " %p)",                       
  10a468:	ff 73 58             	pushl  0x58(%ebx)                     
  10a46b:	ff 73 50             	pushl  0x50(%ebx)                     
  10a46e:	68 62 59 12 00       	push   $0x125962                      
  10a473:	a1 20 aa 12 00       	mov    0x12aa20,%eax                  
  10a478:	ff 70 08             	pushl  0x8(%eax)                      
  10a47b:	e8 dc c4 00 00       	call   11695c <fprintf>               
        (uint32_t)the_jnode->info.linearfile.size,                    
        the_jnode->info.linearfile.direct                             
      );                                                              
      break;                                                          
  10a480:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
  10a483:	c7 45 08 a9 5c 12 00 	movl   $0x125ca9,0x8(%ebp)            
}                                                                     
  10a48a:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10a48d:	c9                   	leave                                 
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
  10a48e:	e9 f5 dd 00 00       	jmp    118288 <puts>                  
  10a493:	90                   	nop                                   
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( the_jnode->type ) {                                         
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
  10a494:	83 ec 08             	sub    $0x8,%esp                      
  10a497:	a1 20 aa 12 00       	mov    0x12aa20,%eax                  
  10a49c:	ff 70 08             	pushl  0x8(%eax)                      
  10a49f:	6a 2f                	push   $0x2f                          
  10a4a1:	e8 16 c5 00 00       	call   1169bc <fputc>                 
      break;                                                          
  10a4a6:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
  10a4a9:	c7 45 08 a9 5c 12 00 	movl   $0x125ca9,0x8(%ebp)            
}                                                                     
  10a4b0:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10a4b3:	c9                   	leave                                 
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
  10a4b4:	e9 cf dd 00 00       	jmp    118288 <puts>                  
  10a4b9:	8d 76 00             	lea    0x0(%esi),%esi                 
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
  10a4bc:	ff 73 54             	pushl  0x54(%ebx)                     
  10a4bf:	ff 73 50             	pushl  0x50(%ebx)                     
  10a4c2:	68 4f 59 12 00       	push   $0x12594f                      
  10a4c7:	a1 20 aa 12 00       	mov    0x12aa20,%eax                  
  10a4cc:	ff 70 08             	pushl  0x8(%eax)                      
  10a4cf:	e8 88 c4 00 00       	call   11695c <fprintf>               
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
  10a4d4:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
  10a4d7:	c7 45 08 a9 5c 12 00 	movl   $0x125ca9,0x8(%ebp)            
}                                                                     
  10a4de:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10a4e1:	c9                   	leave                                 
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
  10a4e2:	e9 a1 dd 00 00       	jmp    118288 <puts>                  
                                                                      

00107ac4 <IMFS_readlink>: ssize_t IMFS_readlink( rtems_filesystem_location_info_t *loc, char *buf, /* OUT */ size_t bufsize ) {
  107ac4:	55                   	push   %ebp                           
  107ac5:	89 e5                	mov    %esp,%ebp                      
  107ac7:	57                   	push   %edi                           
  107ac8:	56                   	push   %esi                           
  107ac9:	53                   	push   %ebx                           
  107aca:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  107acd:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  IMFS_jnode_t      *node;                                            
  ssize_t            i;                                               
                                                                      
  node = loc->node_access;                                            
  107ad0:	8b 45 08             	mov    0x8(%ebp),%eax                 
  107ad3:	8b 30                	mov    (%eax),%esi                    
                                                                      
  IMFS_assert( node->type == IMFS_SYM_LINK );                         
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
  107ad5:	85 db                	test   %ebx,%ebx                      
  107ad7:	74 28                	je     107b01 <IMFS_readlink+0x3d>    <== NEVER TAKEN
  107ad9:	8b 46 50             	mov    0x50(%esi),%eax                
  107adc:	8a 10                	mov    (%eax),%dl                     
  107ade:	84 d2                	test   %dl,%dl                        
  107ae0:	74 1f                	je     107b01 <IMFS_readlink+0x3d>    <== NEVER TAKEN
  107ae2:	31 c9                	xor    %ecx,%ecx                      
  107ae4:	31 c0                	xor    %eax,%eax                      
  107ae6:	eb 0a                	jmp    107af2 <IMFS_readlink+0x2e>    
  107ae8:	8b 56 50             	mov    0x50(%esi),%edx                
  107aeb:	8a 14 02             	mov    (%edx,%eax,1),%dl              
  107aee:	84 d2                	test   %dl,%dl                        
  107af0:	74 0a                	je     107afc <IMFS_readlink+0x38>    
    buf[i] = node->info.sym_link.name[i];                             
  107af2:	88 14 0f             	mov    %dl,(%edi,%ecx,1)              
                                                                      
  node = loc->node_access;                                            
                                                                      
  IMFS_assert( node->type == IMFS_SYM_LINK );                         
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
  107af5:	40                   	inc    %eax                           
  107af6:	89 c1                	mov    %eax,%ecx                      
  107af8:	39 d8                	cmp    %ebx,%eax                      
  107afa:	72 ec                	jb     107ae8 <IMFS_readlink+0x24>    
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
  107afc:	5b                   	pop    %ebx                           
  107afd:	5e                   	pop    %esi                           
  107afe:	5f                   	pop    %edi                           
  107aff:	c9                   	leave                                 
  107b00:	c3                   	ret                                   
                                                                      
  node = loc->node_access;                                            
                                                                      
  IMFS_assert( node->type == IMFS_SYM_LINK );                         
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
  107b01:	31 c0                	xor    %eax,%eax                      
  107b03:	eb f7                	jmp    107afc <IMFS_readlink+0x38>    <== NOT EXECUTED
                                                                      

00107b08 <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 */ ) {
  107b08:	55                   	push   %ebp                           
  107b09:	89 e5                	mov    %esp,%ebp                      
  107b0b:	53                   	push   %ebx                           
  107b0c:	83 ec 18             	sub    $0x18,%esp                     
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
  107b0f:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  107b12:	8b 18                	mov    (%eax),%ebx                    
                                                                      
  strncpy( the_jnode->name, new_name, IMFS_NAME_MAX );                
  107b14:	6a 20                	push   $0x20                          
  107b16:	ff 75 14             	pushl  0x14(%ebp)                     
  107b19:	8d 43 0c             	lea    0xc(%ebx),%eax                 
  107b1c:	50                   	push   %eax                           
  107b1d:	e8 0a b6 00 00       	call   11312c <strncpy>               
                                                                      
  if ( the_jnode->Parent != NULL )                                    
  107b22:	83 c4 10             	add    $0x10,%esp                     
  107b25:	8b 4b 08             	mov    0x8(%ebx),%ecx                 
  107b28:	85 c9                	test   %ecx,%ecx                      
  107b2a:	74 0c                	je     107b38 <IMFS_rename+0x30>      <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
  107b2c:	83 ec 0c             	sub    $0xc,%esp                      
  107b2f:	53                   	push   %ebx                           
  107b30:	e8 7f 44 00 00       	call   10bfb4 <_Chain_Extract>        
  107b35:	83 c4 10             	add    $0x10,%esp                     
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
                                                                      
  new_parent = new_parent_loc->node_access;                           
  107b38:	8b 45 10             	mov    0x10(%ebp),%eax                
  107b3b:	8b 00                	mov    (%eax),%eax                    
  the_jnode->Parent = new_parent;                                     
  107b3d:	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 );                               
  107b40:	83 ec 08             	sub    $0x8,%esp                      
  107b43:	53                   	push   %ebx                           
                                                                      
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
  107b44:	83 c0 50             	add    $0x50,%eax                     
  107b47:	50                   	push   %eax                           
  107b48:	e8 43 44 00 00       	call   10bf90 <_Chain_Append>         
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
  107b4d:	58                   	pop    %eax                           
  107b4e:	5a                   	pop    %edx                           
  107b4f:	6a 00                	push   $0x0                           
  107b51:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  107b54:	50                   	push   %eax                           
  107b55:	e8 d6 05 00 00       	call   108130 <gettimeofday>          
  107b5a:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  107b5d:	89 43 48             	mov    %eax,0x48(%ebx)                
                                                                      
  return 0;                                                           
}                                                                     
  107b60:	31 c0                	xor    %eax,%eax                      
  107b62:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  107b65:	c9                   	leave                                 
  107b66:	c3                   	ret                                   
                                                                      

0010f92c <IMFS_stat>: int IMFS_stat( rtems_filesystem_location_info_t *loc, struct stat *buf ) {
  10f92c:	55                   	push   %ebp                           
  10f92d:	89 e5                	mov    %esp,%ebp                      
  10f92f:	56                   	push   %esi                           
  10f930:	53                   	push   %ebx                           
  10f931:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10f934:	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;                                       
  10f937:	8b 11                	mov    (%ecx),%edx                    
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
  10f939:	83 7a 4c 07          	cmpl   $0x7,0x4c(%edx)                
  10f93d:	76 15                	jbe    10f954 <IMFS_stat+0x28>        <== ALWAYS TAKEN
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
  10f93f:	e8 f8 29 00 00       	call   11233c <__errno>               
  10f944:	c7 00 86 00 00 00    	movl   $0x86,(%eax)                   
  10f94a:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  return 0;                                                           
}                                                                     
  10f94f:	5b                   	pop    %ebx                           
  10f950:	5e                   	pop    %esi                           
  10f951:	c9                   	leave                                 
  10f952:	c3                   	ret                                   
  10f953:	90                   	nop                                   
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
  10f954:	8b 5a 4c             	mov    0x4c(%edx),%ebx                
  10f957:	ff 24 9d 18 01 12 00 	jmp    *0x120118(,%ebx,4)             
  10f95e:	66 90                	xchg   %ax,%ax                        
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
  10f960:	c7 40 20 00 00 00 00 	movl   $0x0,0x20(%eax)                
  10f967:	c7 40 24 00 00 00 00 	movl   $0x0,0x24(%eax)                
                                                                      
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  10f96e:	8b 49 10             	mov    0x10(%ecx),%ecx                
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
  10f971:	8b 49 34             	mov    0x34(%ecx),%ecx                
  10f974:	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 =                                                       
  10f976:	c7 00 fe ff 00 00    	movl   $0xfffe,(%eax)                 
  10f97c:	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;                                 
  10f97f:	8b 4a 30             	mov    0x30(%edx),%ecx                
  10f982:	89 48 0c             	mov    %ecx,0xc(%eax)                 
  buf->st_nlink = the_jnode->st_nlink;                                
  10f985:	8b 4a 34             	mov    0x34(%edx),%ecx                
  10f988:	66 89 48 10          	mov    %cx,0x10(%eax)                 
  buf->st_ino   = the_jnode->st_ino;                                  
  10f98c:	8b 4a 38             	mov    0x38(%edx),%ecx                
  10f98f:	89 48 08             	mov    %ecx,0x8(%eax)                 
  buf->st_uid   = the_jnode->st_uid;                                  
  10f992:	8b 4a 3c             	mov    0x3c(%edx),%ecx                
  10f995:	66 89 48 12          	mov    %cx,0x12(%eax)                 
  buf->st_gid   = the_jnode->st_gid;                                  
  10f999:	66 8b 4a 3e          	mov    0x3e(%edx),%cx                 
  10f99d:	66 89 48 14          	mov    %cx,0x14(%eax)                 
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  10f9a1:	8b 4a 40             	mov    0x40(%edx),%ecx                
  10f9a4:	89 48 28             	mov    %ecx,0x28(%eax)                
  buf->st_mtime = the_jnode->stat_mtime;                              
  10f9a7:	8b 4a 44             	mov    0x44(%edx),%ecx                
  10f9aa:	89 48 30             	mov    %ecx,0x30(%eax)                
  buf->st_ctime = the_jnode->stat_ctime;                              
  10f9ad:	8b 52 48             	mov    0x48(%edx),%edx                
  10f9b0:	89 50 38             	mov    %edx,0x38(%eax)                
                                                                      
  return 0;                                                           
  10f9b3:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10f9b5:	5b                   	pop    %ebx                           
  10f9b6:	5e                   	pop    %esi                           
  10f9b7:	c9                   	leave                                 
  10f9b8:	c3                   	ret                                   
  10f9b9:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  switch ( the_jnode->type ) {                                        
                                                                      
    case IMFS_DEVICE:                                                 
      io           = &the_jnode->info.device;                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
  10f9bc:	8b 5a 54             	mov    0x54(%edx),%ebx                
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
  10f9bf:	8b 72 50             	mov    0x50(%edx),%esi                
  10f9c2:	89 70 18             	mov    %esi,0x18(%eax)                
  10f9c5:	89 58 1c             	mov    %ebx,0x1c(%eax)                
      break;                                                          
  10f9c8:	eb a4                	jmp    10f96e <IMFS_stat+0x42>        
  10f9ca:	66 90                	xchg   %ax,%ax                        
                                                                      
    case IMFS_LINEAR_FILE:                                            
    case IMFS_MEMORY_FILE:                                            
      buf->st_size = the_jnode->info.file.size;                       
  10f9cc:	8b 5a 50             	mov    0x50(%edx),%ebx                
  10f9cf:	8b 72 54             	mov    0x54(%edx),%esi                
  10f9d2:	89 58 20             	mov    %ebx,0x20(%eax)                
  10f9d5:	89 70 24             	mov    %esi,0x24(%eax)                
      break;                                                          
  10f9d8:	eb 94                	jmp    10f96e <IMFS_stat+0x42>        
                                                                      

00107bfc <IMFS_unlink>: int IMFS_unlink( rtems_filesystem_location_info_t *parentloc, /* IN */ rtems_filesystem_location_info_t *loc /* IN */ ) {
  107bfc:	55                   	push   %ebp                           
  107bfd:	89 e5                	mov    %esp,%ebp                      
  107bff:	57                   	push   %edi                           
  107c00:	56                   	push   %esi                           
  107c01:	53                   	push   %ebx                           
  107c02:	83 ec 3c             	sub    $0x3c,%esp                     
  107c05:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  IMFS_jnode_t                      *node;                            
  rtems_filesystem_location_info_t   the_link;                        
  int                                result = 0;                      
                                                                      
  node = loc->node_access;                                            
  107c08:	8b 13                	mov    (%ebx),%edx                    
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
  107c0a:	83 7a 4c 03          	cmpl   $0x3,0x4c(%edx)                
  107c0e:	74 18                	je     107c28 <IMFS_unlink+0x2c>      
                                                                      
  /*                                                                  
   *  Now actually free the node we were asked to free.               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
  107c10:	83 ec 08             	sub    $0x8,%esp                      
  107c13:	8b 43 08             	mov    0x8(%ebx),%eax                 
  107c16:	53                   	push   %ebx                           
  107c17:	ff 75 08             	pushl  0x8(%ebp)                      
  107c1a:	ff 50 34             	call   *0x34(%eax)                    
                                                                      
  return result;                                                      
  107c1d:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  107c20:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107c23:	5b                   	pop    %ebx                           
  107c24:	5e                   	pop    %esi                           
  107c25:	5f                   	pop    %edi                           
  107c26:	c9                   	leave                                 
  107c27:	c3                   	ret                                   
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
  107c28:	8b 42 50             	mov    0x50(%edx),%eax                
  107c2b:	85 c0                	test   %eax,%eax                      
  107c2d:	74 79                	je     107ca8 <IMFS_unlink+0xac>      <== NEVER TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
  107c2f:	8d 7d cc             	lea    -0x34(%ebp),%edi               
  107c32:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  107c37:	89 de                	mov    %ebx,%esi                      
  107c39:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
    the_link.node_access = node->info.hard_link.link_node;            
  107c3b:	89 45 cc             	mov    %eax,-0x34(%ebp)               
    IMFS_Set_handlers( &the_link );                                   
  107c3e:	83 ec 0c             	sub    $0xc,%esp                      
  107c41:	8d 75 cc             	lea    -0x34(%ebp),%esi               
  107c44:	56                   	push   %esi                           
  107c45:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  107c48:	e8 e7 72 00 00       	call   10ef34 <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)               
  107c4d:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  107c50:	8b 42 50             	mov    0x50(%edx),%eax                
  107c53:	8b 48 34             	mov    0x34(%eax),%ecx                
  107c56:	83 c4 10             	add    $0x10,%esp                     
  107c59:	66 83 f9 01          	cmp    $0x1,%cx                       
  107c5d:	74 27                	je     107c86 <IMFS_unlink+0x8a>      
        if ( result != 0 )                                            
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
  107c5f:	49                   	dec    %ecx                           
  107c60:	66 89 48 34          	mov    %cx,0x34(%eax)                 
        IMFS_update_ctime( node->info.hard_link.link_node );          
  107c64:	83 ec 08             	sub    $0x8,%esp                      
  107c67:	6a 00                	push   $0x0                           
  107c69:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  107c6c:	50                   	push   %eax                           
  107c6d:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  107c70:	e8 bb 04 00 00       	call   108130 <gettimeofday>          
  107c75:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  107c78:	8b 42 50             	mov    0x50(%edx),%eax                
  107c7b:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  107c7e:	89 50 48             	mov    %edx,0x48(%eax)                
  107c81:	83 c4 10             	add    $0x10,%esp                     
  107c84:	eb 8a                	jmp    107c10 <IMFS_unlink+0x14>      
     *  to remove the node that is a link and the node itself.        
     */                                                               
                                                                      
    if ( node->info.hard_link.link_node->st_nlink == 1)               
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
  107c86:	83 ec 08             	sub    $0x8,%esp                      
  107c89:	56                   	push   %esi                           
  107c8a:	ff 75 08             	pushl  0x8(%ebp)                      
  107c8d:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  107c90:	ff 50 34             	call   *0x34(%eax)                    
        if ( result != 0 )                                            
  107c93:	83 c4 10             	add    $0x10,%esp                     
  107c96:	85 c0                	test   %eax,%eax                      
  107c98:	0f 84 72 ff ff ff    	je     107c10 <IMFS_unlink+0x14>      
            return -1;                                                
  107c9e:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  107ca3:	e9 78 ff ff ff       	jmp    107c20 <IMFS_unlink+0x24>      
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  107ca8:	e8 8f a6 00 00       	call   11233c <__errno>               <== NOT EXECUTED
  107cad:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
  107cb3:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
  107cb8:	e9 63 ff ff ff       	jmp    107c20 <IMFS_unlink+0x24>      <== NOT EXECUTED
                                                                      

00107cc0 <IMFS_unmount>: #include <rtems/seterr.h> int IMFS_unmount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
  107cc0:	55                   	push   %ebp                           
  107cc1:	89 e5                	mov    %esp,%ebp                      
  107cc3:	83 ec 08             	sub    $0x8,%esp                      
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
  107cc6:	8b 45 08             	mov    0x8(%ebp),%eax                 
  107cc9:	8b 40 08             	mov    0x8(%eax),%eax                 
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
  107ccc:	83 78 4c 01          	cmpl   $0x1,0x4c(%eax)                
  107cd0:	75 12                	jne    107ce4 <IMFS_unmount+0x24>     <== NEVER TAKEN
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
  107cd2:	8b 50 5c             	mov    0x5c(%eax),%edx                
  107cd5:	85 d2                	test   %edx,%edx                      
  107cd7:	74 1d                	je     107cf6 <IMFS_unmount+0x36>     <== NEVER TAKEN
  /*                                                                  
   * Set the mt_fs pointer to indicate that there is no longer        
   * a file system mounted to this point.                             
   */                                                                 
                                                                      
  node->info.directory.mt_fs = NULL;                                  
  107cd9:	c7 40 5c 00 00 00 00 	movl   $0x0,0x5c(%eax)                
                                                                      
  return 0;                                                           
  107ce0:	31 c0                	xor    %eax,%eax                      
}                                                                     
  107ce2:	c9                   	leave                                 
  107ce3:	c3                   	ret                                   
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  107ce4:	e8 53 a6 00 00       	call   11233c <__errno>               <== NOT EXECUTED
  107ce9:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   <== NOT EXECUTED
  107cef:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
   */                                                                 
                                                                      
  node->info.directory.mt_fs = NULL;                                  
                                                                      
  return 0;                                                           
}                                                                     
  107cf4:	c9                   	leave                                 <== NOT EXECUTED
  107cf5:	c3                   	ret                                   <== NOT EXECUTED
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
    rtems_set_errno_and_return_minus_one( EINVAL );  /* XXX */        
  107cf6:	e8 41 a6 00 00       	call   11233c <__errno>               <== NOT EXECUTED
  107cfb:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
  107d01:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
   */                                                                 
                                                                      
  node->info.directory.mt_fs = NULL;                                  
                                                                      
  return 0;                                                           
}                                                                     
  107d06:	c9                   	leave                                 <== NOT EXECUTED
  107d07:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

001082dc <RTEMS_Malloc_Initialize>: void RTEMS_Malloc_Initialize( void *heap_begin, uintptr_t heap_size, size_t sbrk_amount ) {
  1082dc:	55                   	push   %ebp                           
  1082dd:	89 e5                	mov    %esp,%ebp                      
  1082df:	57                   	push   %edi                           
  1082e0:	56                   	push   %esi                           
  1082e1:	53                   	push   %ebx                           
  1082e2:	83 ec 0c             	sub    $0xc,%esp                      
  1082e5:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1082e8:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  1082eb:	8b 7d 10             	mov    0x10(%ebp),%edi                
  /*                                                                  
   *  If configured, initialize the statistics support                
  */                                                                  
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
  1082ee:	a1 08 37 12 00       	mov    0x123708,%eax                  
  1082f3:	85 c0                	test   %eax,%eax                      
  1082f5:	74 02                	je     1082f9 <RTEMS_Malloc_Initialize+0x1d>
    (*rtems_malloc_statistics_helpers->initialize)();                 
  1082f7:	ff 10                	call   *(%eax)                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize the garbage collection list to start with nothing on it.
   */                                                                 
  malloc_deferred_frees_initialize();                                 
  1082f9:	e8 76 ff ff ff       	call   108274 <malloc_deferred_frees_initialize>
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
  1082fe:	a1 0c 37 12 00       	mov    0x12370c,%eax                  
  108303:	85 c0                	test   %eax,%eax                      
  108305:	74 0e                	je     108315 <RTEMS_Malloc_Initialize+0x39>
    heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(            
  108307:	83 ec 08             	sub    $0x8,%esp                      
  10830a:	57                   	push   %edi                           
  10830b:	53                   	push   %ebx                           
  10830c:	ff 10                	call   *(%eax)                        
  10830e:	89 c3                	mov    %eax,%ebx                      
  108310:	83 c4 10             	add    $0x10,%esp                     
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
    heap_size  = (uintptr_t) sbrk_amount;                             
  108313:	89 fe                	mov    %edi,%esi                      
   *  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 (                                                                
  108315:	80 3d 04 37 12 00 00 	cmpb   $0x0,0x123704                  
  10831c:	75 1f                	jne    10833d <RTEMS_Malloc_Initialize+0x61>
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
  10831e:	80 3d 4c 12 12 00 00 	cmpb   $0x0,0x12124c                  
  108325:	75 41                	jne    108368 <RTEMS_Malloc_Initialize+0x8c>
  void *area_begin,                                                   
  uintptr_t area_size,                                                
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return _Heap_Initialize( heap, area_begin, area_size, page_size );  
  108327:	6a 04                	push   $0x4                           
  108329:	56                   	push   %esi                           
  10832a:	53                   	push   %ebx                           
  10832b:	ff 35 58 11 12 00    	pushl  0x121158                       
  108331:	e8 e6 42 00 00       	call   10c61c <_Heap_Initialize>      
      RTEMS_Malloc_Heap,                                              
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
  108336:	83 c4 10             	add    $0x10,%esp                     
  108339:	85 c0                	test   %eax,%eax                      
  10833b:	74 3e                	je     10837b <RTEMS_Malloc_Initialize+0x9f>
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
  10833d:	8b 1d 20 53 12 00    	mov    0x125320,%ebx                  
  108343:	83 ec 0c             	sub    $0xc,%esp                      
  108346:	ff 35 58 11 12 00    	pushl  0x121158                       
  10834c:	e8 23 4d 00 00       	call   10d074 <_Protected_heap_Get_size>
  108351:	8d 1c 18             	lea    (%eax,%ebx,1),%ebx             
  108354:	89 1d 20 53 12 00    	mov    %ebx,0x125320                  
  10835a:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10835d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108360:	5b                   	pop    %ebx                           
  108361:	5e                   	pop    %esi                           
  108362:	5f                   	pop    %edi                           
  108363:	c9                   	leave                                 
  108364:	c3                   	ret                                   
  108365:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if (                                                                
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
  ) {                                                                 
     memset( heap_begin, 0, heap_size );                              
  108368:	31 c0                	xor    %eax,%eax                      
  10836a:	89 df                	mov    %ebx,%edi                      
  10836c:	89 f1                	mov    %esi,%ecx                      
  10836e:	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 ) {                                   
  108370:	80 3d 04 37 12 00 00 	cmpb   $0x0,0x123704                  
  108377:	74 ae                	je     108327 <RTEMS_Malloc_Initialize+0x4b><== ALWAYS TAKEN
  108379:	eb c2                	jmp    10833d <RTEMS_Malloc_Initialize+0x61><== NOT EXECUTED
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
  10837b:	83 ec 0c             	sub    $0xc,%esp                      
  10837e:	6a 1a                	push   $0x1a                          
  108380:	e8 77 39 00 00       	call   10bcfc <rtems_fatal_error_occurred>
                                                                      

00107810 <Stack_check_Dump_threads_usage>: static rtems_printk_plugin_t print_handler; void Stack_check_Dump_threads_usage( Thread_Control *the_thread ) {
  107810:	55                   	push   %ebp                           <== NOT EXECUTED
  107811:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  107813:	57                   	push   %edi                           <== NOT EXECUTED
  107814:	56                   	push   %esi                           <== NOT EXECUTED
  107815:	53                   	push   %ebx                           <== NOT EXECUTED
  107816:	83 ec 2c             	sub    $0x2c,%esp                     <== NOT EXECUTED
  107819:	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) {                        
  10781c:	83 fb ff             	cmp    $0xffffffff,%ebx               <== NOT EXECUTED
  10781f:	0f 84 37 01 00 00    	je     10795c <Stack_check_Dump_threads_usage+0x14c><== NOT EXECUTED
      the_thread = 0;                                                 
      current = 0;                                                    
    } else                                                            
  #endif                                                              
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
  107825:	8d b3 b4 00 00 00    	lea    0xb4(%ebx),%esi                <== NOT EXECUTED
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
  10782b:	8b 83 c8 00 00 00    	mov    0xc8(%ebx),%eax                <== NOT EXECUTED
  107831:	89 45 d0             	mov    %eax,-0x30(%ebp)               <== NOT EXECUTED
  107834:	8b 8b b8 00 00 00    	mov    0xb8(%ebx),%ecx                <== NOT EXECUTED
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
  10783a:	8d 51 10             	lea    0x10(%ecx),%edx                <== NOT EXECUTED
  10783d:	89 55 d4             	mov    %edx,-0x2c(%ebp)               <== NOT EXECUTED
  size = Stack_check_usable_stack_size(stack);                        
  107840:	8b 3e                	mov    (%esi),%edi                    <== NOT EXECUTED
  107842:	83 ef 10             	sub    $0x10,%edi                     <== NOT EXECUTED
    /*                                                                
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
  107845:	8d 41 20             	lea    0x20(%ecx),%eax                <== NOT EXECUTED
    for (ebase = base + length; base < ebase; base++)                 
  107848:	89 fa                	mov    %edi,%edx                      <== NOT EXECUTED
  10784a:	83 e2 fc             	and    $0xfffffffc,%edx               <== NOT EXECUTED
  10784d:	8d 14 10             	lea    (%eax,%edx,1),%edx             <== NOT EXECUTED
  107850:	39 d0                	cmp    %edx,%eax                      <== NOT EXECUTED
  107852:	73 23                	jae    107877 <Stack_check_Dump_threads_usage+0x67><== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
  107854:	81 79 20 a5 a5 a5 a5 	cmpl   $0xa5a5a5a5,0x20(%ecx)         <== NOT EXECUTED
  10785b:	74 13                	je     107870 <Stack_check_Dump_threads_usage+0x60><== NOT EXECUTED
  10785d:	e9 a2 00 00 00       	jmp    107904 <Stack_check_Dump_threads_usage+0xf4><== NOT EXECUTED
  107862:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
  107864:	81 38 a5 a5 a5 a5    	cmpl   $0xa5a5a5a5,(%eax)             <== NOT EXECUTED
  10786a:	0f 85 94 00 00 00    	jne    107904 <Stack_check_Dump_threads_usage+0xf4><== NOT EXECUTED
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
  107870:	83 c0 04             	add    $0x4,%eax                      <== NOT EXECUTED
  107873:	39 c2                	cmp    %eax,%edx                      <== NOT EXECUTED
  107875:	77 ed                	ja     107864 <Stack_check_Dump_threads_usage+0x54><== NOT EXECUTED
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
                                                                      
  if ( high_water_mark )                                              
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
  else                                                                
    used = 0;                                                         
  107877:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               <== NOT EXECUTED
                                                                      
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if ( the_thread )                                                 
  10787e:	85 db                	test   %ebx,%ebx                      <== NOT EXECUTED
  107880:	0f 84 98 00 00 00    	je     10791e <Stack_check_Dump_threads_usage+0x10e><== NOT EXECUTED
  #endif                                                              
    {                                                                 
      (*print_handler)(                                               
  107886:	a1 6c 64 12 00       	mov    0x12646c,%eax                  <== NOT EXECUTED
  10788b:	89 45 cc             	mov    %eax,-0x34(%ebp)               <== NOT EXECUTED
  10788e:	50                   	push   %eax                           <== NOT EXECUTED
  10788f:	8d 45 e3             	lea    -0x1d(%ebp),%eax               <== NOT EXECUTED
  107892:	50                   	push   %eax                           <== NOT EXECUTED
  107893:	6a 05                	push   $0x5                           <== NOT EXECUTED
  107895:	ff 73 08             	pushl  0x8(%ebx)                      <== NOT EXECUTED
  107898:	e8 cf 3f 00 00       	call   10b86c <rtems_object_get_name> <== NOT EXECUTED
  10789d:	50                   	push   %eax                           <== NOT EXECUTED
  10789e:	ff 73 08             	pushl  0x8(%ebx)                      <== NOT EXECUTED
  1078a1:	68 17 ff 11 00       	push   $0x11ff17                      <== NOT EXECUTED
  1078a6:	ff 35 68 64 12 00    	pushl  0x126468                       <== NOT EXECUTED
  1078ac:	ff 55 cc             	call   *-0x34(%ebp)                   <== NOT EXECUTED
  1078af:	83 c4 20             	add    $0x20,%esp                     <== NOT EXECUTED
                                                                      
  (*print_handler)(                                                   
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
  1078b2:	8b 46 04             	mov    0x4(%esi),%eax                 <== NOT EXECUTED
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
  1078b5:	83 ec 08             	sub    $0x8,%esp                      <== NOT EXECUTED
  1078b8:	57                   	push   %edi                           <== NOT EXECUTED
  1078b9:	ff 75 d0             	pushl  -0x30(%ebp)                    <== NOT EXECUTED
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
  1078bc:	8b 16                	mov    (%esi),%edx                    <== NOT EXECUTED
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
  1078be:	8d 54 10 ff          	lea    -0x1(%eax,%edx,1),%edx         <== NOT EXECUTED
  1078c2:	52                   	push   %edx                           <== NOT EXECUTED
  1078c3:	50                   	push   %eax                           <== NOT EXECUTED
  1078c4:	68 32 ff 11 00       	push   $0x11ff32                      <== NOT EXECUTED
  1078c9:	ff 35 68 64 12 00    	pushl  0x126468                       <== NOT EXECUTED
  1078cf:	ff 15 6c 64 12 00    	call   *0x12646c                      <== NOT EXECUTED
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
  1078d5:	83 c4 20             	add    $0x20,%esp                     <== NOT EXECUTED
  1078d8:	8b 15 70 64 12 00    	mov    0x126470,%edx                  <== NOT EXECUTED
  1078de:	85 d2                	test   %edx,%edx                      <== NOT EXECUTED
  1078e0:	74 5a                	je     10793c <Stack_check_Dump_threads_usage+0x12c><== NOT EXECUTED
    (*print_handler)( print_context, "Unavailable\n" );               
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
  1078e2:	50                   	push   %eax                           <== NOT EXECUTED
  1078e3:	ff 75 d4             	pushl  -0x2c(%ebp)                    <== NOT EXECUTED
  1078e6:	68 5d ff 11 00       	push   $0x11ff5d                      <== NOT EXECUTED
  1078eb:	ff 35 68 64 12 00    	pushl  0x126468                       <== NOT EXECUTED
  1078f1:	ff 15 6c 64 12 00    	call   *0x12646c                      <== NOT EXECUTED
  1078f7:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  }                                                                   
                                                                      
                                                                      
}                                                                     
  1078fa:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  1078fd:	5b                   	pop    %ebx                           <== NOT EXECUTED
  1078fe:	5e                   	pop    %esi                           <== NOT EXECUTED
  1078ff:	5f                   	pop    %edi                           <== NOT EXECUTED
  107900:	c9                   	leave                                 <== NOT EXECUTED
  107901:	c3                   	ret                                   <== NOT EXECUTED
  107902:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
                                                                      
  if ( high_water_mark )                                              
  107904:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  107906:	0f 84 6b ff ff ff    	je     107877 <Stack_check_Dump_threads_usage+0x67><== NOT EXECUTED
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
  10790c:	8b 55 d4             	mov    -0x2c(%ebp),%edx               <== NOT EXECUTED
  10790f:	01 fa                	add    %edi,%edx                      <== NOT EXECUTED
  107911:	29 c2                	sub    %eax,%edx                      <== NOT EXECUTED
  107913:	89 55 d4             	mov    %edx,-0x2c(%ebp)               <== NOT EXECUTED
  else                                                                
    used = 0;                                                         
                                                                      
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if ( the_thread )                                                 
  107916:	85 db                	test   %ebx,%ebx                      <== NOT EXECUTED
  107918:	0f 85 68 ff ff ff    	jne    107886 <Stack_check_Dump_threads_usage+0x76><== NOT EXECUTED
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name )
      );                                                              
    }                                                                 
    #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                        
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
  10791e:	51                   	push   %ecx                           <== NOT EXECUTED
  10791f:	6a ff                	push   $0xffffffff                    <== NOT EXECUTED
  107921:	68 24 ff 11 00       	push   $0x11ff24                      <== NOT EXECUTED
  107926:	ff 35 68 64 12 00    	pushl  0x126468                       <== NOT EXECUTED
  10792c:	ff 15 6c 64 12 00    	call   *0x12646c                      <== NOT EXECUTED
  107932:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  107935:	e9 78 ff ff ff       	jmp    1078b2 <Stack_check_Dump_threads_usage+0xa2><== NOT EXECUTED
  10793a:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
    (*print_handler)( print_context, "Unavailable\n" );               
  10793c:	83 ec 08             	sub    $0x8,%esp                      <== NOT EXECUTED
  10793f:	68 50 ff 11 00       	push   $0x11ff50                      <== NOT EXECUTED
  107944:	ff 35 68 64 12 00    	pushl  0x126468                       <== NOT EXECUTED
  10794a:	ff 15 6c 64 12 00    	call   *0x12646c                      <== NOT EXECUTED
  107950:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
  }                                                                   
                                                                      
                                                                      
}                                                                     
  107953:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  107956:	5b                   	pop    %ebx                           <== NOT EXECUTED
  107957:	5e                   	pop    %esi                           <== NOT EXECUTED
  107958:	5f                   	pop    %edi                           <== NOT EXECUTED
  107959:	c9                   	leave                                 <== NOT EXECUTED
  10795a:	c3                   	ret                                   <== NOT EXECUTED
  10795b:	90                   	nop                                   <== NOT EXECUTED
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (the_thread == (Thread_Control *) -1) {                        
      if (!Stack_check_Interrupt_stack.area)                          
  10795c:	8b 0d b4 67 12 00    	mov    0x1267b4,%ecx                  <== NOT EXECUTED
  107962:	85 c9                	test   %ecx,%ecx                      <== NOT EXECUTED
  107964:	74 94                	je     1078fa <Stack_check_Dump_threads_usage+0xea><== NOT EXECUTED
        return;                                                       
      stack = &Stack_check_Interrupt_stack;                           
  107966:	be b0 67 12 00       	mov    $0x1267b0,%esi                 <== NOT EXECUTED
      the_thread = 0;                                                 
      current = 0;                                                    
  10796b:	c7 45 d0 00 00 00 00 	movl   $0x0,-0x30(%ebp)               <== NOT EXECUTED
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (the_thread == (Thread_Control *) -1) {                        
      if (!Stack_check_Interrupt_stack.area)                          
        return;                                                       
      stack = &Stack_check_Interrupt_stack;                           
      the_thread = 0;                                                 
  107972:	31 db                	xor    %ebx,%ebx                      <== NOT EXECUTED
  107974:	e9 c1 fe ff ff       	jmp    10783a <Stack_check_Dump_threads_usage+0x2a><== NOT EXECUTED
                                                                      

0010797c <Stack_check_Initialize>: /* * Stack_check_Initialize */ void Stack_check_Initialize( void ) {
  10797c:	55                   	push   %ebp                           
  10797d:	89 e5                	mov    %esp,%ebp                      
  10797f:	57                   	push   %edi                           
  static    uint32_t pattern[ 4 ] = {                                 
    0xFEEDF00D, 0x0BAD0D06,  /* FEED FOOD to  BAD DOG */              
    0xDEADF00D, 0x600D0D06   /* DEAD FOOD but GOOD DOG */             
  };                                                                  
                                                                      
  if ( Stack_check_Initialized )                                      
  107980:	8b 15 70 64 12 00    	mov    0x126470,%edx                  
  107986:	85 d2                	test   %edx,%edx                      
  107988:	75 5a                	jne    1079e4 <Stack_check_Initialize+0x68>
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
      p[i] = pattern[ i%4 ];                                          
  10798a:	c7 05 a0 67 12 00 0d 	movl   $0xfeedf00d,0x1267a0           
  107991:	f0 ed fe                                                    
  107994:	c7 05 a4 67 12 00 06 	movl   $0xbad0d06,0x1267a4            
  10799b:	0d ad 0b                                                    
  10799e:	c7 05 a8 67 12 00 0d 	movl   $0xdeadf00d,0x1267a8           
  1079a5:	f0 ad de                                                    
  1079a8:	c7 05 ac 67 12 00 06 	movl   $0x600d0d06,0x1267ac           
  1079af:	0d 0d 60                                                    
  /*                                                                  
   * If appropriate, setup the interrupt stack for high water testing 
   * also.                                                            
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (_CPU_Interrupt_stack_low && _CPU_Interrupt_stack_high) {      
  1079b2:	8b 15 ec 6b 12 00    	mov    0x126bec,%edx                  
  1079b8:	85 d2                	test   %edx,%edx                      
  1079ba:	74 1e                	je     1079da <Stack_check_Initialize+0x5e><== NEVER TAKEN
  1079bc:	8b 0d f0 6b 12 00    	mov    0x126bf0,%ecx                  
  1079c2:	85 c9                	test   %ecx,%ecx                      
  1079c4:	74 14                	je     1079da <Stack_check_Initialize+0x5e><== NEVER TAKEN
      Stack_check_Interrupt_stack.area = _CPU_Interrupt_stack_low;    
  1079c6:	89 15 b4 67 12 00    	mov    %edx,0x1267b4                  
      Stack_check_Interrupt_stack.size = (char *) _CPU_Interrupt_stack_high -
  1079cc:	29 d1                	sub    %edx,%ecx                      
  1079ce:	89 0d b0 67 12 00    	mov    %ecx,0x1267b0                  
                                  (char *) _CPU_Interrupt_stack_low;  
      Stack_check_Dope_stack(&Stack_check_Interrupt_stack);           
  1079d4:	b0 a5                	mov    $0xa5,%al                      
  1079d6:	89 d7                	mov    %edx,%edi                      
  1079d8:	f3 aa                	rep stos %al,%es:(%edi)               
   }                                                                  
  #endif                                                              
                                                                      
  Stack_check_Initialized = 1;                                        
  1079da:	c7 05 70 64 12 00 01 	movl   $0x1,0x126470                  
  1079e1:	00 00 00                                                    
}                                                                     
  1079e4:	5f                   	pop    %edi                           
  1079e5:	c9                   	leave                                 
  1079e6:	c3                   	ret                                   
                                                                      

00107a38 <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) {
  107a38:	55                   	push   %ebp                           <== NOT EXECUTED
  107a39:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  107a3b:	56                   	push   %esi                           <== NOT EXECUTED
  107a3c:	53                   	push   %ebx                           <== NOT EXECUTED
  107a3d:	83 ec 3c             	sub    $0x3c,%esp                     <== NOT EXECUTED
  107a40:	8b 5d 08             	mov    0x8(%ebp),%ebx                 <== NOT EXECUTED
  107a43:	8a 55 0c             	mov    0xc(%ebp),%dl                  <== NOT EXECUTED
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
  107a46:	8b b3 b8 00 00 00    	mov    0xb8(%ebx),%esi                <== NOT EXECUTED
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
  107a4c:	68 63 ff 11 00       	push   $0x11ff63                      <== NOT EXECUTED
  107a51:	88 55 d4             	mov    %dl,-0x2c(%ebp)                <== NOT EXECUTED
  107a54:	e8 63 18 00 00       	call   1092bc <printk>                <== NOT EXECUTED
  printk("task control block: 0x%08" PRIxPTR "\n", running);          
  107a59:	5a                   	pop    %edx                           <== NOT EXECUTED
  107a5a:	59                   	pop    %ecx                           <== NOT EXECUTED
  107a5b:	53                   	push   %ebx                           <== NOT EXECUTED
  107a5c:	68 73 ff 11 00       	push   $0x11ff73                      <== NOT EXECUTED
  107a61:	e8 56 18 00 00       	call   1092bc <printk>                <== NOT EXECUTED
  printk("task ID: 0x%08lx\n", (unsigned long) running->Object.id);   
  107a66:	59                   	pop    %ecx                           <== NOT EXECUTED
  107a67:	58                   	pop    %eax                           <== NOT EXECUTED
  107a68:	ff 73 08             	pushl  0x8(%ebx)                      <== NOT EXECUTED
  107a6b:	68 90 ff 11 00       	push   $0x11ff90                      <== NOT EXECUTED
  107a70:	e8 47 18 00 00       	call   1092bc <printk>                <== NOT EXECUTED
  printk(                                                             
  107a75:	58                   	pop    %eax                           <== NOT EXECUTED
  107a76:	5a                   	pop    %edx                           <== NOT EXECUTED
  107a77:	ff 73 0c             	pushl  0xc(%ebx)                      <== NOT EXECUTED
  107a7a:	68 a2 ff 11 00       	push   $0x11ffa2                      <== NOT EXECUTED
  107a7f:	e8 38 18 00 00       	call   1092bc <printk>                <== NOT EXECUTED
    "task name: 0x%08" PRIx32 "\n",                                   
    running->Object.name.name_u32                                     
  );                                                                  
  printk(                                                             
  107a84:	83 c4 0c             	add    $0xc,%esp                      <== NOT EXECUTED
  107a87:	8d 45 d8             	lea    -0x28(%ebp),%eax               <== NOT EXECUTED
  107a8a:	50                   	push   %eax                           <== NOT EXECUTED
  107a8b:	6a 20                	push   $0x20                          <== NOT EXECUTED
  107a8d:	ff 73 08             	pushl  0x8(%ebx)                      <== NOT EXECUTED
  107a90:	e8 d7 3d 00 00       	call   10b86c <rtems_object_get_name> <== NOT EXECUTED
  107a95:	5a                   	pop    %edx                           <== NOT EXECUTED
  107a96:	59                   	pop    %ecx                           <== NOT EXECUTED
  107a97:	50                   	push   %eax                           <== NOT EXECUTED
  107a98:	68 b6 ff 11 00       	push   $0x11ffb6                      <== NOT EXECUTED
  107a9d:	e8 1a 18 00 00       	call   1092bc <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)                              
  107aa2:	8b 8b b8 00 00 00    	mov    0xb8(%ebx),%ecx                <== NOT EXECUTED
  107aa8:	8b 83 b4 00 00 00    	mov    0xb4(%ebx),%eax                <== NOT EXECUTED
  );                                                                  
  printk(                                                             
    "task name string: %s\n",                                         
    rtems_object_get_name(running->Object.id, sizeof(name), name)     
  );                                                                  
  printk(                                                             
  107aae:	8d 1c 01             	lea    (%ecx,%eax,1),%ebx             <== NOT EXECUTED
  107ab1:	53                   	push   %ebx                           <== NOT EXECUTED
  107ab2:	51                   	push   %ecx                           <== NOT EXECUTED
  107ab3:	50                   	push   %eax                           <== NOT EXECUTED
  107ab4:	68 e4 ff 11 00       	push   $0x11ffe4                      <== NOT EXECUTED
  107ab9:	e8 fe 17 00 00       	call   1092bc <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) {                                                  
  107abe:	83 c4 20             	add    $0x20,%esp                     <== NOT EXECUTED
  107ac1:	8a 55 d4             	mov    -0x2c(%ebp),%dl                <== NOT EXECUTED
  107ac4:	84 d2                	test   %dl,%dl                        <== NOT EXECUTED
  107ac6:	74 10                	je     107ad8 <Stack_check_report_blown_task+0xa0><== NOT EXECUTED
          rtems_configuration_get_user_multiprocessing_table()->node  
      );                                                              
    }                                                                 
  #endif                                                              
                                                                      
  rtems_fatal_error_occurred(0x81);                                   
  107ac8:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  107acb:	68 81 00 00 00       	push   $0x81                          <== NOT EXECUTED
  107ad0:	e8 23 46 00 00       	call   10c0f8 <rtems_fatal_error_occurred><== NOT EXECUTED
  107ad5:	8d 76 00             	lea    0x0(%esi),%esi                 <== 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(stack);       
  107ad8:	8d 46 08             	lea    0x8(%esi),%eax                 <== NOT EXECUTED
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
  );                                                                  
  if (!pattern_ok) {                                                  
    printk(                                                           
  107adb:	83 c6 18             	add    $0x18,%esi                     <== NOT EXECUTED
  107ade:	56                   	push   %esi                           <== NOT EXECUTED
  107adf:	50                   	push   %eax                           <== NOT EXECUTED
  107ae0:	6a 10                	push   $0x10                          <== NOT EXECUTED
  107ae2:	68 18 00 12 00       	push   $0x120018                      <== NOT EXECUTED
  107ae7:	e8 d0 17 00 00       	call   1092bc <printk>                <== NOT EXECUTED
  107aec:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  107aef:	eb d7                	jmp    107ac8 <Stack_check_report_blown_task+0x90><== NOT EXECUTED
                                                                      

0010be5c <_API_extensions_Run_postdriver>: * * _API_extensions_Run_postdriver */ void _API_extensions_Run_postdriver( void ) {
  10be5c:	55                   	push   %ebp                           
  10be5d:	89 e5                	mov    %esp,%ebp                      
  10be5f:	53                   	push   %ebx                           
  10be60:	83 ec 04             	sub    $0x4,%esp                      
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
  }                                                                   
}                                                                     
  10be63:	8b 1d d8 56 12 00    	mov    0x1256d8,%ebx                  
void _API_extensions_Run_postdriver( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
  10be69:	81 fb dc 56 12 00    	cmp    $0x1256dc,%ebx                 
  10be6f:	74 10                	je     10be81 <_API_extensions_Run_postdriver+0x25><== NEVER TAKEN
  10be71:	8d 76 00             	lea    0x0(%esi),%esi                 
     *  Currently all APIs configure this hook so it is always non-NULL.
     */                                                               
#if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)              
    if ( the_extension->postdriver_hook )                             
#endif                                                                
      (*the_extension->postdriver_hook)();                            
  10be74:	ff 53 08             	call   *0x8(%ebx)                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
  10be77:	8b 1b                	mov    (%ebx),%ebx                    
void _API_extensions_Run_postdriver( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
  10be79:	81 fb dc 56 12 00    	cmp    $0x1256dc,%ebx                 
  10be7f:	75 f3                	jne    10be74 <_API_extensions_Run_postdriver+0x18><== NEVER TAKEN
#if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)              
    if ( the_extension->postdriver_hook )                             
#endif                                                                
      (*the_extension->postdriver_hook)();                            
  }                                                                   
}                                                                     
  10be81:	58                   	pop    %eax                           
  10be82:	5b                   	pop    %ebx                           
  10be83:	c9                   	leave                                 
  10be84:	c3                   	ret                                   
                                                                      

0010be88 <_API_extensions_Run_postswitch>: * * _API_extensions_Run_postswitch */ void _API_extensions_Run_postswitch( void ) {
  10be88:	55                   	push   %ebp                           
  10be89:	89 e5                	mov    %esp,%ebp                      
  10be8b:	53                   	push   %ebx                           
  10be8c:	83 ec 04             	sub    $0x4,%esp                      
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
  }                                                                   
}                                                                     
  10be8f:	8b 1d d8 56 12 00    	mov    0x1256d8,%ebx                  
void _API_extensions_Run_postswitch( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
  10be95:	81 fb dc 56 12 00    	cmp    $0x1256dc,%ebx                 
  10be9b:	74 1c                	je     10beb9 <_API_extensions_Run_postswitch+0x31><== NEVER TAKEN
  10be9d:	8d 76 00             	lea    0x0(%esi),%esi                 
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
  10bea0:	83 ec 0c             	sub    $0xc,%esp                      
  10bea3:	ff 35 38 57 12 00    	pushl  0x125738                       
  10bea9:	ff 53 0c             	call   *0xc(%ebx)                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
  10beac:	8b 1b                	mov    (%ebx),%ebx                    
void _API_extensions_Run_postswitch( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
  10beae:	83 c4 10             	add    $0x10,%esp                     
  10beb1:	81 fb dc 56 12 00    	cmp    $0x1256dc,%ebx                 
  10beb7:	75 e7                	jne    10bea0 <_API_extensions_Run_postswitch+0x18><== NEVER TAKEN
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
  }                                                                   
}                                                                     
  10beb9:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10bebc:	c9                   	leave                                 
  10bebd:	c3                   	ret                                   
                                                                      

00119894 <_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 ) {
  119894:	55                   	push   %ebp                           
  119895:	89 e5                	mov    %esp,%ebp                      
  119897:	57                   	push   %edi                           
  119898:	56                   	push   %esi                           
  119899:	53                   	push   %ebx                           
  11989a:	83 ec 1c             	sub    $0x1c,%esp                     
  11989d:	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 ) {             
  1198a0:	8b 45 10             	mov    0x10(%ebp),%eax                
  1198a3:	39 43 4c             	cmp    %eax,0x4c(%ebx)                
  1198a6:	72 60                	jb     119908 <_CORE_message_queue_Broadcast+0x74><== 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 ) {         
  1198a8:	8b 43 48             	mov    0x48(%ebx),%eax                
  1198ab:	85 c0                	test   %eax,%eax                      
  1198ad:	75 45                	jne    1198f4 <_CORE_message_queue_Broadcast+0x60>
  1198af:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  1198b6:	eb 18                	jmp    1198d0 <_CORE_message_queue_Broadcast+0x3c>
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
    waitp = &the_thread->Wait;                                        
    number_broadcasted += 1;                                          
  1198b8:	ff 45 e4             	incl   -0x1c(%ebp)                    
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  1198bb:	8b 42 2c             	mov    0x2c(%edx),%eax                
  1198be:	89 c7                	mov    %eax,%edi                      
  1198c0:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  1198c3:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  1198c6:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
  1198c8:	8b 42 28             	mov    0x28(%edx),%eax                
  1198cb:	8b 55 10             	mov    0x10(%ebp),%edx                
  1198ce:	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 =                                                
  1198d0:	83 ec 0c             	sub    $0xc,%esp                      
  1198d3:	53                   	push   %ebx                           
  1198d4:	e8 eb 26 00 00       	call   11bfc4 <_Thread_queue_Dequeue> 
  1198d9:	89 c2                	mov    %eax,%edx                      
  1198db:	83 c4 10             	add    $0x10,%esp                     
  1198de:	85 c0                	test   %eax,%eax                      
  1198e0:	75 d6                	jne    1198b8 <_CORE_message_queue_Broadcast+0x24>
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  1198e2:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  1198e5:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  1198e8:	89 10                	mov    %edx,(%eax)                    
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
  1198ea:	31 c0                	xor    %eax,%eax                      
}                                                                     
  1198ec:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1198ef:	5b                   	pop    %ebx                           
  1198f0:	5e                   	pop    %esi                           
  1198f1:	5f                   	pop    %edi                           
  1198f2:	c9                   	leave                                 
  1198f3:	c3                   	ret                                   
   *        send and receive and this ensures that we are broadcasting
   *        the message to threads waiting to receive -- not to send. 
   */                                                                 
                                                                      
  if ( the_message_queue->number_of_pending_messages != 0 ) {         
    *count = 0;                                                       
  1198f4:	8b 55 1c             	mov    0x1c(%ebp),%edx                
  1198f7:	c7 02 00 00 00 00    	movl   $0x0,(%edx)                    
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
  1198fd:	31 c0                	xor    %eax,%eax                      
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
  1198ff:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  119902:	5b                   	pop    %ebx                           
  119903:	5e                   	pop    %esi                           
  119904:	5f                   	pop    %edi                           
  119905:	c9                   	leave                                 
  119906:	c3                   	ret                                   
  119907:	90                   	nop                                   
  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;                    
  119908:	b8 01 00 00 00       	mov    $0x1,%eax                      <== NOT EXECUTED
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
  11990d:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  119910:	5b                   	pop    %ebx                           <== NOT EXECUTED
  119911:	5e                   	pop    %esi                           <== NOT EXECUTED
  119912:	5f                   	pop    %edi                           <== NOT EXECUTED
  119913:	c9                   	leave                                 <== NOT EXECUTED
  119914:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

001149d4 <_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 ) {
  1149d4:	55                   	push   %ebp                           
  1149d5:	89 e5                	mov    %esp,%ebp                      
  1149d7:	57                   	push   %edi                           
  1149d8:	56                   	push   %esi                           
  1149d9:	53                   	push   %ebx                           
  1149da:	83 ec 0c             	sub    $0xc,%esp                      
  1149dd:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1149e0:	8b 75 10             	mov    0x10(%ebp),%esi                
  1149e3:	8b 45 14             	mov    0x14(%ebp),%eax                
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
  1149e6:	89 73 44             	mov    %esi,0x44(%ebx)                
  the_message_queue->number_of_pending_messages = 0;                  
  1149e9:	c7 43 48 00 00 00 00 	movl   $0x0,0x48(%ebx)                
  the_message_queue->maximum_message_size       = maximum_message_size;
  1149f0:	89 43 4c             	mov    %eax,0x4c(%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)) {              
  1149f3:	a8 03                	test   $0x3,%al                       
  1149f5:	74 15                	je     114a0c <_CORE_message_queue_Initialize+0x38>
    allocated_message_size += sizeof(uint32_t);                       
  1149f7:	8d 50 04             	lea    0x4(%eax),%edx                 
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
  1149fa:	83 e2 fc             	and    $0xfffffffc,%edx               
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
  1149fd:	39 d0                	cmp    %edx,%eax                      
  1149ff:	76 0d                	jbe    114a0e <_CORE_message_queue_Initialize+0x3a><== ALWAYS TAKEN
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
    return false;                                                     
  114a01:	31 c0                	xor    %eax,%eax                      
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
}                                                                     
  114a03:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  114a06:	5b                   	pop    %ebx                           
  114a07:	5e                   	pop    %esi                           
  114a08:	5f                   	pop    %edi                           
  114a09:	c9                   	leave                                 
  114a0a:	c3                   	ret                                   
  114a0b:	90                   	nop                                   
  /*                                                                  
   *  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)) {              
  114a0c:	89 c2                	mov    %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 *    
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
  114a0e:	8d 7a 10             	lea    0x10(%edx),%edi                
                                                                      
  /*                                                                  
   *  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 *    
  114a11:	89 f8                	mov    %edi,%eax                      
  114a13:	0f af c6             	imul   %esi,%eax                      
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
  114a16:	39 d0                	cmp    %edx,%eax                      
  114a18:	72 e7                	jb     114a01 <_CORE_message_queue_Initialize+0x2d><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
  114a1a:	83 ec 0c             	sub    $0xc,%esp                      
  114a1d:	50                   	push   %eax                           
  114a1e:	e8 c1 29 00 00       	call   1173e4 <_Workspace_Allocate>   
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
  114a23:	89 43 5c             	mov    %eax,0x5c(%ebx)                
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
  114a26:	83 c4 10             	add    $0x10,%esp                     
  114a29:	85 c0                	test   %eax,%eax                      
  114a2b:	74 d4                	je     114a01 <_CORE_message_queue_Initialize+0x2d>
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
  114a2d:	57                   	push   %edi                           
  114a2e:	56                   	push   %esi                           
  114a2f:	50                   	push   %eax                           
  114a30:	8d 43 60             	lea    0x60(%ebx),%eax                
  114a33:	50                   	push   %eax                           
  114a34:	e8 f3 46 00 00       	call   11912c <_Chain_Initialize>     
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  114a39:	8d 43 54             	lea    0x54(%ebx),%eax                
  114a3c:	89 43 50             	mov    %eax,0x50(%ebx)                
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  114a3f:	c7 43 54 00 00 00 00 	movl   $0x0,0x54(%ebx)                
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  114a46:	8d 43 50             	lea    0x50(%ebx),%eax                
  114a49:	89 43 58             	mov    %eax,0x58(%ebx)                
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
  114a4c:	6a 06                	push   $0x6                           
  114a4e:	68 80 00 00 00       	push   $0x80                          
  114a53:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  114a56:	83 38 01             	cmpl   $0x1,(%eax)                    
  114a59:	0f 94 c0             	sete   %al                            
  114a5c:	0f b6 c0             	movzbl %al,%eax                       
  114a5f:	50                   	push   %eax                           
  114a60:	53                   	push   %ebx                           
  114a61:	e8 8a 20 00 00       	call   116af0 <_Thread_queue_Initialize>
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
  114a66:	83 c4 20             	add    $0x20,%esp                     
  114a69:	b0 01                	mov    $0x1,%al                       
}                                                                     
  114a6b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  114a6e:	5b                   	pop    %ebx                           
  114a6f:	5e                   	pop    %esi                           
  114a70:	5f                   	pop    %edi                           
  114a71:	c9                   	leave                                 
  114a72:	c3                   	ret                                   
                                                                      

00110594 <_CORE_message_queue_Insert_message>: void _CORE_message_queue_Insert_message( CORE_message_queue_Control *the_message_queue, CORE_message_queue_Buffer_control *the_message, CORE_message_queue_Submit_types submit_type ) {
  110594:	55                   	push   %ebp                           
  110595:	89 e5                	mov    %esp,%ebp                      
  110597:	56                   	push   %esi                           
  110598:	53                   	push   %ebx                           
  110599:	8b 45 08             	mov    0x8(%ebp),%eax                 
  11059c:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  #endif                                                              
                                                                      
  _CORE_message_queue_Set_message_priority( the_message, submit_type );
                                                                      
  #if !defined(RTEMS_SCORE_COREMSG_ENABLE_MESSAGE_PRIORITY)           
    _ISR_Disable( level );                                            
  11059f:	9c                   	pushf                                 
  1105a0:	fa                   	cli                                   
  1105a1:	5b                   	pop    %ebx                           
      SET_NOTIFY();                                                   
      the_message_queue->number_of_pending_messages++;                
  1105a2:	ff 40 48             	incl   0x48(%eax)                     
      if ( submit_type == CORE_MESSAGE_QUEUE_SEND_REQUEST )           
  1105a5:	81 7d 10 ff ff ff 7f 	cmpl   $0x7fffffff,0x10(%ebp)         
  1105ac:	74 1a                	je     1105c8 <_CORE_message_queue_Insert_message+0x34>
RTEMS_INLINE_ROUTINE void _Chain_Prepend_unprotected(                 
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert_unprotected(_Chain_Head(the_chain), the_node);        
  1105ae:	8d 48 50             	lea    0x50(%eax),%ecx                
  1105b1:	89 4a 04             	mov    %ecx,0x4(%edx)                 
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  1105b4:	8b 48 50             	mov    0x50(%eax),%ecx                
  after_node->next      = the_node;                                   
  1105b7:	89 50 50             	mov    %edx,0x50(%eax)                
  the_node->next        = before_node;                                
  1105ba:	89 0a                	mov    %ecx,(%edx)                    
  before_node->previous = the_node;                                   
  1105bc:	89 51 04             	mov    %edx,0x4(%ecx)                 
        _CORE_message_queue_Append_unprotected(the_message_queue, the_message);
      else                                                            
        _CORE_message_queue_Prepend_unprotected(the_message_queue, the_message);
    _ISR_Enable( level );                                             
  1105bf:	53                   	push   %ebx                           
  1105c0:	9d                   	popf                                  
     *  the message is actually in the queue at this point.           
     */                                                               
    if ( notify && the_message_queue->notify_handler )                
      (*the_message_queue->notify_handler)(the_message_queue->notify_argument);
  #endif                                                              
}                                                                     
  1105c1:	5b                   	pop    %ebx                           
  1105c2:	5e                   	pop    %esi                           
  1105c3:	c9                   	leave                                 
  1105c4:	c3                   	ret                                   
  1105c5:	8d 76 00             	lea    0x0(%esi),%esi                 
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
  1105c8:	8b 48 58             	mov    0x58(%eax),%ecx                
RTEMS_INLINE_ROUTINE void _Chain_Append_unprotected(                  
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  1105cb:	8d 70 54             	lea    0x54(%eax),%esi                
  1105ce:	89 32                	mov    %esi,(%edx)                    
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
  1105d0:	89 50 58             	mov    %edx,0x58(%eax)                
  old_last->next = the_node;                                          
  1105d3:	89 11                	mov    %edx,(%ecx)                    
  the_node->previous = old_last;                                      
  1105d5:	89 4a 04             	mov    %ecx,0x4(%edx)                 
  1105d8:	eb e5                	jmp    1105bf <_CORE_message_queue_Insert_message+0x2b>
                                                                      

0010bff0 <_CORE_message_queue_Submit>: #endif CORE_message_queue_Submit_types submit_type, bool wait, Watchdog_Interval timeout ) {
  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 0c             	sub    $0xc,%esp                      
  10bff9:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10bffc:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  CORE_message_queue_Buffer_control   *the_message;                   
  Thread_Control                      *the_thread;                    
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
  10bfff:	8b 45 10             	mov    0x10(%ebp),%eax                
  10c002:	39 43 4c             	cmp    %eax,0x4c(%ebx)                
  10c005:	72 51                	jb     10c058 <_CORE_message_queue_Submit+0x68>
  }                                                                   
                                                                      
  /*                                                                  
   *  Is there a thread currently waiting on this message queue?      
   */                                                                 
  if ( the_message_queue->number_of_pending_messages == 0 ) {         
  10c007:	8b 43 48             	mov    0x48(%ebx),%eax                
  10c00a:	85 c0                	test   %eax,%eax                      
  10c00c:	74 5a                	je     10c068 <_CORE_message_queue_Submit+0x78>
                                                                      
  /*                                                                  
   *  No one waiting on the message queue at this time, so attempt to 
   *  queue the message up for a future receive.                      
   */                                                                 
  if ( the_message_queue->number_of_pending_messages <                
  10c00e:	39 43 44             	cmp    %eax,0x44(%ebx)                
  10c011:	77 0d                	ja     10c020 <_CORE_message_queue_Submit+0x30>
    );                                                                
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
  }                                                                   
                                                                      
  #if !defined(RTEMS_SCORE_COREMSG_ENABLE_BLOCKING_SEND)              
    return CORE_MESSAGE_QUEUE_STATUS_TOO_MANY;                        
  10c013:	b8 02 00 00 00       	mov    $0x2,%eax                      
      _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );
    }                                                                 
                                                                      
    return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT;                
  #endif                                                              
}                                                                     
  10c018:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c01b:	5b                   	pop    %ebx                           
  10c01c:	5e                   	pop    %esi                           
  10c01d:	5f                   	pop    %edi                           
  10c01e:	c9                   	leave                                 
  10c01f:	c3                   	ret                                   
_CORE_message_queue_Allocate_message_buffer (                         
    CORE_message_queue_Control *the_message_queue                     
)                                                                     
{                                                                     
   return (CORE_message_queue_Buffer_control *)                       
     _Chain_Get( &the_message_queue->Inactive_messages );             
  10c020:	83 ec 0c             	sub    $0xc,%esp                      
  10c023:	8d 43 60             	lea    0x60(%ebx),%eax                
  10c026:	50                   	push   %eax                           
  10c027:	e8 a0 ff ff ff       	call   10bfcc <_Chain_Get>            
  10c02c:	89 c2                	mov    %eax,%edx                      
        return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED;                 
     #endif                                                           
                                                                      
    _CORE_message_queue_Copy_buffer(                                  
      buffer,                                                         
      the_message->Contents.buffer,                                   
  10c02e:	8d 40 0c             	lea    0xc(%eax),%eax                 
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  10c031:	89 c7                	mov    %eax,%edi                      
  10c033:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10c036:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
      size                                                            
    );                                                                
    the_message->Contents.size = size;                                
  10c038:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10c03b:	89 4a 08             	mov    %ecx,0x8(%edx)                 
    _CORE_message_queue_Set_message_priority( the_message, submit_type );
                                                                      
    _CORE_message_queue_Insert_message(                               
  10c03e:	83 c4 0c             	add    $0xc,%esp                      
  10c041:	ff 75 1c             	pushl  0x1c(%ebp)                     
  10c044:	52                   	push   %edx                           
  10c045:	53                   	push   %ebx                           
  10c046:	e8 49 45 00 00       	call   110594 <_CORE_message_queue_Insert_message>
       the_message_queue,                                             
       the_message,                                                   
       submit_type                                                    
    );                                                                
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
  10c04b:	83 c4 10             	add    $0x10,%esp                     
  10c04e:	31 c0                	xor    %eax,%eax                      
      _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );
    }                                                                 
                                                                      
    return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT;                
  #endif                                                              
}                                                                     
  10c050:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c053:	5b                   	pop    %ebx                           
  10c054:	5e                   	pop    %esi                           
  10c055:	5f                   	pop    %edi                           
  10c056:	c9                   	leave                                 
  10c057:	c3                   	ret                                   
{                                                                     
  CORE_message_queue_Buffer_control   *the_message;                   
  Thread_Control                      *the_thread;                    
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
    return CORE_MESSAGE_QUEUE_STATUS_INVALID_SIZE;                    
  10c058:	b8 01 00 00 00       	mov    $0x1,%eax                      
      _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );
    }                                                                 
                                                                      
    return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT;                
  #endif                                                              
}                                                                     
  10c05d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c060:	5b                   	pop    %ebx                           
  10c061:	5e                   	pop    %esi                           
  10c062:	5f                   	pop    %edi                           
  10c063:	c9                   	leave                                 
  10c064:	c3                   	ret                                   
  10c065:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  /*                                                                  
   *  Is there a thread currently waiting on this message queue?      
   */                                                                 
  if ( the_message_queue->number_of_pending_messages == 0 ) {         
    the_thread = _Thread_queue_Dequeue( &the_message_queue->Wait_queue );
  10c068:	83 ec 0c             	sub    $0xc,%esp                      
  10c06b:	53                   	push   %ebx                           
  10c06c:	e8 13 1b 00 00       	call   10db84 <_Thread_queue_Dequeue> 
  10c071:	89 c2                	mov    %eax,%edx                      
    if ( the_thread ) {                                               
  10c073:	83 c4 10             	add    $0x10,%esp                     
  10c076:	85 c0                	test   %eax,%eax                      
  10c078:	74 1e                	je     10c098 <_CORE_message_queue_Submit+0xa8>
  10c07a:	8b 40 2c             	mov    0x2c(%eax),%eax                
  10c07d:	89 c7                	mov    %eax,%edi                      
  10c07f:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10c082:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
      _CORE_message_queue_Copy_buffer(                                
        buffer,                                                       
        the_thread->Wait.return_argument_second.mutable_object,       
        size                                                          
      );                                                              
      *(size_t *) the_thread->Wait.return_argument = size;            
  10c084:	8b 42 28             	mov    0x28(%edx),%eax                
  10c087:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10c08a:	89 08                	mov    %ecx,(%eax)                    
      the_thread->Wait.count = (uint32_t) submit_type;                
  10c08c:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  10c08f:	89 42 24             	mov    %eax,0x24(%edx)                
                                                                      
      #if defined(RTEMS_MULTIPROCESSING)                              
        if ( !_Objects_Is_local_id( the_thread->Object.id ) )         
          (*api_message_queue_mp_support) ( the_thread, id );         
      #endif                                                          
      return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                    
  10c092:	31 c0                	xor    %eax,%eax                      
  10c094:	eb 82                	jmp    10c018 <_CORE_message_queue_Submit+0x28>
  10c096:	66 90                	xchg   %ax,%ax                        
  /*                                                                  
   *  Is there a thread currently waiting on this message queue?      
   */                                                                 
  if ( the_message_queue->number_of_pending_messages == 0 ) {         
    the_thread = _Thread_queue_Dequeue( &the_message_queue->Wait_queue );
    if ( the_thread ) {                                               
  10c098:	8b 43 48             	mov    0x48(%ebx),%eax                
  10c09b:	e9 6e ff ff ff       	jmp    10c00e <_CORE_message_queue_Submit+0x1e>
                                                                      

0010c0ac <_CORE_mutex_Initialize>: CORE_mutex_Status _CORE_mutex_Initialize( CORE_mutex_Control *the_mutex, CORE_mutex_Attributes *the_mutex_attributes, uint32_t initial_lock ) {
  10c0ac:	55                   	push   %ebp                           
  10c0ad:	89 e5                	mov    %esp,%ebp                      
  10c0af:	57                   	push   %edi                           
  10c0b0:	56                   	push   %esi                           
  10c0b1:	53                   	push   %ebx                           
  10c0b2:	83 ec 0c             	sub    $0xc,%esp                      
  10c0b5:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c0b8:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10c0bb:	8b 55 10             	mov    0x10(%ebp),%edx                
/* 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;                   
  10c0be:	8d 78 40             	lea    0x40(%eax),%edi                
  10c0c1:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10c0c6:	89 de                	mov    %ebx,%esi                      
  10c0c8:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  the_mutex->lock          = initial_lock;                            
  10c0ca:	89 50 50             	mov    %edx,0x50(%eax)                
  the_mutex->blocked_count = 0;                                       
  10c0cd:	c7 40 58 00 00 00 00 	movl   $0x0,0x58(%eax)                
                                                                      
  if ( initial_lock == CORE_MUTEX_LOCKED ) {                          
  10c0d4:	85 d2                	test   %edx,%edx                      
  10c0d6:	75 30                	jne    10c108 <_CORE_mutex_Initialize+0x5c>
    the_mutex->nest_count = 1;                                        
  10c0d8:	c7 40 54 01 00 00 00 	movl   $0x1,0x54(%eax)                
    the_mutex->holder     = _Thread_Executing;                        
  10c0df:	8b 15 38 57 12 00    	mov    0x125738,%edx                  
  10c0e5:	89 50 5c             	mov    %edx,0x5c(%eax)                
    the_mutex->holder_id  = _Thread_Executing->Object.id;             
  10c0e8:	8b 4a 08             	mov    0x8(%edx),%ecx                 
  10c0eb:	89 48 60             	mov    %ecx,0x60(%eax)                
    STATES_WAITING_FOR_MUTEX,                                         
    CORE_MUTEX_TIMEOUT                                                
  );                                                                  
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
}                                                                     
  10c0ee:	8b 48 48             	mov    0x48(%eax),%ecx                
                                                                      
  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 ) || 
  10c0f1:	83 f9 02             	cmp    $0x2,%ecx                      
  10c0f4:	74 05                	je     10c0fb <_CORE_mutex_Initialize+0x4f>
  10c0f6:	83 f9 03             	cmp    $0x3,%ecx                      
  10c0f9:	75 22                	jne    10c11d <_CORE_mutex_Initialize+0x71>
         _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
                                                                      
      if ( _Thread_Executing->current_priority <                      
  10c0fb:	8b 48 4c             	mov    0x4c(%eax),%ecx                
  10c0fe:	39 4a 14             	cmp    %ecx,0x14(%edx)                
  10c101:	72 41                	jb     10c144 <_CORE_mutex_Initialize+0x98>
       _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++;                            
  10c103:	ff 42 1c             	incl   0x1c(%edx)                     
  10c106:	eb 15                	jmp    10c11d <_CORE_mutex_Initialize+0x71>
    }                                                                 
  } else {                                                            
    the_mutex->nest_count = 0;                                        
  10c108:	c7 40 54 00 00 00 00 	movl   $0x0,0x54(%eax)                
    the_mutex->holder     = NULL;                                     
  10c10f:	c7 40 5c 00 00 00 00 	movl   $0x0,0x5c(%eax)                
    the_mutex->holder_id  = 0;                                        
  10c116:	c7 40 60 00 00 00 00 	movl   $0x0,0x60(%eax)                
  }                                                                   
                                                                      
  _Thread_queue_Initialize(                                           
  10c11d:	6a 05                	push   $0x5                           
  10c11f:	68 00 04 00 00       	push   $0x400                         
  10c124:	31 d2                	xor    %edx,%edx                      
  10c126:	83 7b 08 00          	cmpl   $0x0,0x8(%ebx)                 
  10c12a:	0f 95 c2             	setne  %dl                            
  10c12d:	52                   	push   %edx                           
  10c12e:	50                   	push   %eax                           
  10c12f:	e8 e0 1d 00 00       	call   10df14 <_Thread_queue_Initialize>
      THREAD_QUEUE_DISCIPLINE_FIFO : THREAD_QUEUE_DISCIPLINE_PRIORITY,
    STATES_WAITING_FOR_MUTEX,                                         
    CORE_MUTEX_TIMEOUT                                                
  );                                                                  
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
  10c134:	83 c4 10             	add    $0x10,%esp                     
  10c137:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10c139:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c13c:	5b                   	pop    %ebx                           
  10c13d:	5e                   	pop    %esi                           
  10c13e:	5f                   	pop    %edi                           
  10c13f:	c9                   	leave                                 
  10c140:	c3                   	ret                                   
  10c141:	8d 76 00             	lea    0x0(%esi),%esi                 
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
         _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
                                                                      
      if ( _Thread_Executing->current_priority <                      
             the_mutex->Attributes.priority_ceiling )                 
       return CORE_MUTEX_STATUS_CEILING_VIOLATED;                     
  10c144:	b8 06 00 00 00       	mov    $0x6,%eax                      
    STATES_WAITING_FOR_MUTEX,                                         
    CORE_MUTEX_TIMEOUT                                                
  );                                                                  
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
}                                                                     
  10c149:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c14c:	5b                   	pop    %ebx                           
  10c14d:	5e                   	pop    %esi                           
  10c14e:	5f                   	pop    %edi                           
  10c14f:	c9                   	leave                                 
  10c150:	c3                   	ret                                   
                                                                      

0010c1a4 <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
  10c1a4:	55                   	push   %ebp                           
  10c1a5:	89 e5                	mov    %esp,%ebp                      
  10c1a7:	53                   	push   %ebx                           
  10c1a8:	83 ec 14             	sub    $0x14,%esp                     
  10c1ab:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10c1ae:	8a 55 10             	mov    0x10(%ebp),%dl                 
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
  10c1b1:	a1 70 54 12 00       	mov    0x125470,%eax                  
  10c1b6:	85 c0                	test   %eax,%eax                      
  10c1b8:	74 04                	je     10c1be <_CORE_mutex_Seize+0x1a>
  10c1ba:	84 d2                	test   %dl,%dl                        
  10c1bc:	75 36                	jne    10c1f4 <_CORE_mutex_Seize+0x50><== ALWAYS TAKEN
  10c1be:	83 ec 08             	sub    $0x8,%esp                      
  10c1c1:	8d 45 18             	lea    0x18(%ebp),%eax                
  10c1c4:	50                   	push   %eax                           
  10c1c5:	53                   	push   %ebx                           
  10c1c6:	88 55 f4             	mov    %dl,-0xc(%ebp)                 
  10c1c9:	e8 0e 44 00 00       	call   1105dc <_CORE_mutex_Seize_interrupt_trylock>
  10c1ce:	83 c4 10             	add    $0x10,%esp                     
  10c1d1:	85 c0                	test   %eax,%eax                      
  10c1d3:	8a 55 f4             	mov    -0xc(%ebp),%dl                 
  10c1d6:	74 14                	je     10c1ec <_CORE_mutex_Seize+0x48>
  10c1d8:	84 d2                	test   %dl,%dl                        
  10c1da:	75 30                	jne    10c20c <_CORE_mutex_Seize+0x68>
  10c1dc:	ff 75 18             	pushl  0x18(%ebp)                     
  10c1df:	9d                   	popf                                  
  10c1e0:	a1 38 57 12 00       	mov    0x125738,%eax                  
  10c1e5:	c7 40 34 01 00 00 00 	movl   $0x1,0x34(%eax)                
}                                                                     
  10c1ec:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c1ef:	c9                   	leave                                 
  10c1f0:	c3                   	ret                                   
  10c1f1:	8d 76 00             	lea    0x0(%esi),%esi                 
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
  10c1f4:	83 3d 40 56 12 00 01 	cmpl   $0x1,0x125640                  
  10c1fb:	76 c1                	jbe    10c1be <_CORE_mutex_Seize+0x1a>
  10c1fd:	53                   	push   %ebx                           
  10c1fe:	6a 12                	push   $0x12                          
  10c200:	6a 00                	push   $0x0                           
  10c202:	6a 00                	push   $0x0                           
  10c204:	e8 1b 06 00 00       	call   10c824 <_Internal_error_Occurred>
  10c209:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
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;
  10c20c:	c7 43 30 01 00 00 00 	movl   $0x1,0x30(%ebx)                
  10c213:	a1 38 57 12 00       	mov    0x125738,%eax                  
  10c218:	89 58 44             	mov    %ebx,0x44(%eax)                
  10c21b:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10c21e:	89 50 20             	mov    %edx,0x20(%eax)                
  10c221:	a1 70 54 12 00       	mov    0x125470,%eax                  
  10c226:	40                   	inc    %eax                           
  10c227:	a3 70 54 12 00       	mov    %eax,0x125470                  
  10c22c:	ff 75 18             	pushl  0x18(%ebp)                     
  10c22f:	9d                   	popf                                  
  10c230:	83 ec 08             	sub    $0x8,%esp                      
  10c233:	ff 75 14             	pushl  0x14(%ebp)                     
  10c236:	53                   	push   %ebx                           
  10c237:	e8 18 ff ff ff       	call   10c154 <_CORE_mutex_Seize_interrupt_blocking>
  10c23c:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10c23f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c242:	c9                   	leave                                 
  10c243:	c3                   	ret                                   
                                                                      

001105dc <_CORE_mutex_Seize_interrupt_trylock>: #if defined(__RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE__) int _CORE_mutex_Seize_interrupt_trylock( CORE_mutex_Control *the_mutex, ISR_Level *level_p ) {
  1105dc:	55                   	push   %ebp                           
  1105dd:	89 e5                	mov    %esp,%ebp                      
  1105df:	56                   	push   %esi                           
  1105e0:	53                   	push   %ebx                           
  1105e1:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1105e4:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
{                                                                     
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  1105e7:	8b 15 38 57 12 00    	mov    0x125738,%edx                  
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
  1105ed:	c7 42 34 00 00 00 00 	movl   $0x0,0x34(%edx)                
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
  1105f4:	8b 58 50             	mov    0x50(%eax),%ebx                
  1105f7:	85 db                	test   %ebx,%ebx                      
  1105f9:	74 31                	je     11062c <_CORE_mutex_Seize_interrupt_trylock+0x50>
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
  1105fb:	c7 40 50 00 00 00 00 	movl   $0x0,0x50(%eax)                
    the_mutex->holder     = executing;                                
  110602:	89 50 5c             	mov    %edx,0x5c(%eax)                
    the_mutex->holder_id  = executing->Object.id;                     
  110605:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  110608:	89 58 60             	mov    %ebx,0x60(%eax)                
    the_mutex->nest_count = 1;                                        
  11060b:	c7 40 54 01 00 00 00 	movl   $0x1,0x54(%eax)                
  return _CORE_mutex_Seize_interrupt_trylock_body( the_mutex, level_p );
}                                                                     
  110612:	8b 58 48             	mov    0x48(%eax),%ebx                
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
  110615:	83 fb 02             	cmp    $0x2,%ebx                      
  110618:	74 26                	je     110640 <_CORE_mutex_Seize_interrupt_trylock+0x64>
  11061a:	83 fb 03             	cmp    $0x3,%ebx                      
  11061d:	74 3d                	je     11065c <_CORE_mutex_Seize_interrupt_trylock+0x80>
                                                                      
      executing->resource_count++;                                    
    }                                                                 
                                                                      
    if ( !_CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
      _ISR_Enable( *level_p );                                        
  11061f:	ff 31                	pushl  (%ecx)                         
  110621:	9d                   	popf                                  
      return 0;                                                       
  110622:	31 c0                	xor    %eax,%eax                      
  110624:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  110627:	5b                   	pop    %ebx                           
  110628:	5e                   	pop    %esi                           
  110629:	c9                   	leave                                 
  11062a:	c3                   	ret                                   
  11062b:	90                   	nop                                   
  /*                                                                  
   *  At this point, we know the mutex was not available.  If this thread
   *  is the thread that has locked the mutex, let's see if we are allowed
   *  to nest access.                                                 
   */                                                                 
  if ( _Thread_Is_executing( the_mutex->holder ) ) {                  
  11062c:	3b 50 5c             	cmp    0x5c(%eax),%edx                
  11062f:	74 17                	je     110648 <_CORE_mutex_Seize_interrupt_trylock+0x6c>
                                                                      
  /*                                                                  
   *  The mutex is not available and the caller must deal with the possibility
   *  of blocking.                                                    
   */                                                                 
  return 1;                                                           
  110631:	b8 01 00 00 00       	mov    $0x1,%eax                      
  110636:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  110639:	5b                   	pop    %ebx                           
  11063a:	5e                   	pop    %esi                           
  11063b:	c9                   	leave                                 
  11063c:	c3                   	ret                                   
  11063d:	8d 76 00             	lea    0x0(%esi),%esi                 
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
  110640:	ff 42 1c             	incl   0x1c(%edx)                     
  110643:	eb da                	jmp    11061f <_CORE_mutex_Seize_interrupt_trylock+0x43>
  110645:	8d 76 00             	lea    0x0(%esi),%esi                 
   *  At this point, we know the mutex was not available.  If this thread
   *  is the thread that has locked the mutex, let's see if we are allowed
   *  to nest access.                                                 
   */                                                                 
  if ( _Thread_Is_executing( the_mutex->holder ) ) {                  
    switch ( the_mutex->Attributes.lock_nesting_behavior ) {          
  110648:	8b 58 40             	mov    0x40(%eax),%ebx                
  11064b:	85 db                	test   %ebx,%ebx                      
  11064d:	75 45                	jne    110694 <_CORE_mutex_Seize_interrupt_trylock+0xb8>
      case CORE_MUTEX_NESTING_ACQUIRES:                               
        the_mutex->nest_count++;                                      
  11064f:	ff 40 54             	incl   0x54(%eax)                     
        _ISR_Enable( *level_p );                                      
  110652:	ff 31                	pushl  (%ecx)                         
  110654:	9d                   	popf                                  
        return 0;                                                     
  110655:	31 c0                	xor    %eax,%eax                      
  110657:	eb dd                	jmp    110636 <_CORE_mutex_Seize_interrupt_trylock+0x5a>
  110659:	8d 76 00             	lea    0x0(%esi),%esi                 
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
  11065c:	8b 5a 1c             	mov    0x1c(%edx),%ebx                
  11065f:	8d 73 01             	lea    0x1(%ebx),%esi                 
  110662:	89 72 1c             	mov    %esi,0x1c(%edx)                
      Priority_Control  ceiling;                                      
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
      current = executing->current_priority;                          
      if ( current == ceiling ) {                                     
  110665:	8b 72 14             	mov    0x14(%edx),%esi                
  110668:	39 70 4c             	cmp    %esi,0x4c(%eax)                
  11066b:	74 6b                	je     1106d8 <_CORE_mutex_Seize_interrupt_trylock+0xfc>
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
      }                                                               
                                                                      
      if ( current > ceiling ) {                                      
  11066d:	72 39                	jb     1106a8 <_CORE_mutex_Seize_interrupt_trylock+0xcc>
        );                                                            
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
      }                                                               
      /* if ( current < ceiling ) */ {                                
        executing->Wait.return_code = CORE_MUTEX_STATUS_CEILING_VIOLATED;
  11066f:	c7 42 34 06 00 00 00 	movl   $0x6,0x34(%edx)                
        the_mutex->lock       = CORE_MUTEX_UNLOCKED;                  
  110676:	c7 40 50 01 00 00 00 	movl   $0x1,0x50(%eax)                
        the_mutex->nest_count = 0;     /* undo locking above */       
  11067d:	c7 40 54 00 00 00 00 	movl   $0x0,0x54(%eax)                
        executing->resource_count--;   /* undo locking above */       
  110684:	89 5a 1c             	mov    %ebx,0x1c(%edx)                
        _ISR_Enable( *level_p );                                      
  110687:	ff 31                	pushl  (%ecx)                         
  110689:	9d                   	popf                                  
        return 0;                                                     
  11068a:	31 c0                	xor    %eax,%eax                      
  11068c:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  11068f:	5b                   	pop    %ebx                           
  110690:	5e                   	pop    %esi                           
  110691:	c9                   	leave                                 
  110692:	c3                   	ret                                   
  110693:	90                   	nop                                   
   *  At this point, we know the mutex was not available.  If this thread
   *  is the thread that has locked the mutex, let's see if we are allowed
   *  to nest access.                                                 
   */                                                                 
  if ( _Thread_Is_executing( the_mutex->holder ) ) {                  
    switch ( the_mutex->Attributes.lock_nesting_behavior ) {          
  110694:	4b                   	dec    %ebx                           
  110695:	75 9a                	jne    110631 <_CORE_mutex_Seize_interrupt_trylock+0x55><== ALWAYS TAKEN
      case CORE_MUTEX_NESTING_ACQUIRES:                               
        the_mutex->nest_count++;                                      
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
      case CORE_MUTEX_NESTING_IS_ERROR:                               
        executing->Wait.return_code = CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED;
  110697:	c7 42 34 02 00 00 00 	movl   $0x2,0x34(%edx)                <== NOT EXECUTED
        _ISR_Enable( *level_p );                                      
  11069e:	ff 31                	pushl  (%ecx)                         <== NOT EXECUTED
  1106a0:	9d                   	popf                                  <== NOT EXECUTED
        return 0;                                                     
  1106a1:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  1106a3:	eb 91                	jmp    110636 <_CORE_mutex_Seize_interrupt_trylock+0x5a><== NOT EXECUTED
  1106a5:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  1106a8:	8b 15 70 54 12 00    	mov    0x125470,%edx                  
  1106ae:	42                   	inc    %edx                           
  1106af:	89 15 70 54 12 00    	mov    %edx,0x125470                  
        return 0;                                                     
      }                                                               
                                                                      
      if ( current > ceiling ) {                                      
        _Thread_Disable_dispatch();                                   
        _ISR_Enable( *level_p );                                      
  1106b5:	ff 31                	pushl  (%ecx)                         
  1106b7:	9d                   	popf                                  
        _Thread_Change_priority(                                      
  1106b8:	52                   	push   %edx                           
  1106b9:	6a 00                	push   $0x0                           
  1106bb:	ff 70 4c             	pushl  0x4c(%eax)                     
  1106be:	ff 70 5c             	pushl  0x5c(%eax)                     
  1106c1:	e8 7a cc ff ff       	call   10d340 <_Thread_Change_priority>
          the_mutex->holder,                                          
          the_mutex->Attributes.priority_ceiling,                     
         false                                                        
        );                                                            
        _Thread_Enable_dispatch();                                    
  1106c6:	e8 29 d1 ff ff       	call   10d7f4 <_Thread_Enable_dispatch>
  1106cb:	83 c4 10             	add    $0x10,%esp                     
        return 0;                                                     
  1106ce:	31 c0                	xor    %eax,%eax                      
  1106d0:	e9 61 ff ff ff       	jmp    110636 <_CORE_mutex_Seize_interrupt_trylock+0x5a>
  1106d5:	8d 76 00             	lea    0x0(%esi),%esi                 
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
      current = executing->current_priority;                          
      if ( current == ceiling ) {                                     
        _ISR_Enable( *level_p );                                      
  1106d8:	ff 31                	pushl  (%ecx)                         
  1106da:	9d                   	popf                                  
        return 0;                                                     
  1106db:	31 c0                	xor    %eax,%eax                      
  1106dd:	e9 54 ff ff ff       	jmp    110636 <_CORE_mutex_Seize_interrupt_trylock+0x5a>
                                                                      

0010c244 <_CORE_mutex_Surrender>: #else Objects_Id id __attribute__((unused)), CORE_mutex_API_mp_support_callout api_mutex_mp_support __attribute__((unused)) #endif ) {
  10c244:	55                   	push   %ebp                           
  10c245:	89 e5                	mov    %esp,%ebp                      
  10c247:	53                   	push   %ebx                           
  10c248:	83 ec 04             	sub    $0x4,%esp                      
  10c24b:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  Thread_Control *the_thread;                                         
  Thread_Control *holder;                                             
                                                                      
  holder = the_mutex->holder;                                         
  10c24e:	8b 43 5c             	mov    0x5c(%ebx),%eax                
   *  allowed when the mutex in quetion is FIFO or simple Priority    
   *  discipline.  But Priority Ceiling or Priority Inheritance mutexes
   *  must be released by the thread which acquired them.             
   */                                                                 
                                                                      
  if ( the_mutex->Attributes.only_owner_release ) {                   
  10c251:	80 7b 44 00          	cmpb   $0x0,0x44(%ebx)                
  10c255:	74 15                	je     10c26c <_CORE_mutex_Surrender+0x28>
    if ( !_Thread_Is_executing( holder ) )                            
  10c257:	3b 05 38 57 12 00    	cmp    0x125738,%eax                  
  10c25d:	74 0d                	je     10c26c <_CORE_mutex_Surrender+0x28>
      return CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE;                 
  10c25f:	b8 03 00 00 00       	mov    $0x3,%eax                      
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
}                                                                     
  10c264:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c267:	c9                   	leave                                 
  10c268:	c3                   	ret                                   
  10c269:	8d 76 00             	lea    0x0(%esi),%esi                 
      return CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE;                 
  }                                                                   
                                                                      
  /* XXX already unlocked -- not right status */                      
                                                                      
  if ( !the_mutex->nest_count )                                       
  10c26c:	8b 53 54             	mov    0x54(%ebx),%edx                
  10c26f:	85 d2                	test   %edx,%edx                      
  10c271:	74 51                	je     10c2c4 <_CORE_mutex_Surrender+0x80>
    return CORE_MUTEX_STATUS_SUCCESSFUL;                              
                                                                      
  the_mutex->nest_count--;                                            
  10c273:	4a                   	dec    %edx                           
  10c274:	89 53 54             	mov    %edx,0x54(%ebx)                
                                                                      
  if ( the_mutex->nest_count != 0 ) {                                 
  10c277:	85 d2                	test   %edx,%edx                      
  10c279:	75 49                	jne    10c2c4 <_CORE_mutex_Surrender+0x80>
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
}                                                                     
  10c27b:	8b 53 48             	mov    0x48(%ebx),%edx                
                                                                      
  /*                                                                  
   *  Formally release the mutex before possibly transferring it to a 
   *  blocked thread.                                                 
   */                                                                 
  if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) ||   
  10c27e:	83 fa 02             	cmp    $0x2,%edx                      
  10c281:	74 69                	je     10c2ec <_CORE_mutex_Surrender+0xa8>
  10c283:	83 fa 03             	cmp    $0x3,%edx                      
  10c286:	74 64                	je     10c2ec <_CORE_mutex_Surrender+0xa8>
    if ( holder->resource_count == 0 &&                               
         holder->real_priority != holder->current_priority ) {        
      _Thread_Change_priority( holder, holder->real_priority, true ); 
    }                                                                 
  }                                                                   
  the_mutex->holder    = NULL;                                        
  10c288:	c7 43 5c 00 00 00 00 	movl   $0x0,0x5c(%ebx)                
  the_mutex->holder_id = 0;                                           
  10c28f:	c7 43 60 00 00 00 00 	movl   $0x0,0x60(%ebx)                
                                                                      
  /*                                                                  
   *  Now we check if another thread was waiting for this mutex.  If so,
   *  transfer the mutex to that thread.                              
   */                                                                 
  if ( ( the_thread = _Thread_queue_Dequeue( &the_mutex->Wait_queue ) ) ) {
  10c296:	83 ec 0c             	sub    $0xc,%esp                      
  10c299:	53                   	push   %ebx                           
  10c29a:	e8 e5 18 00 00       	call   10db84 <_Thread_queue_Dequeue> 
  10c29f:	83 c4 10             	add    $0x10,%esp                     
  10c2a2:	85 c0                	test   %eax,%eax                      
  10c2a4:	74 7a                	je     10c320 <_CORE_mutex_Surrender+0xdc>
                                                                      
    } else                                                            
#endif                                                                
    {                                                                 
                                                                      
      the_mutex->holder     = the_thread;                             
  10c2a6:	89 43 5c             	mov    %eax,0x5c(%ebx)                
      the_mutex->holder_id  = the_thread->Object.id;                  
  10c2a9:	8b 50 08             	mov    0x8(%eax),%edx                 
  10c2ac:	89 53 60             	mov    %edx,0x60(%ebx)                
      the_mutex->nest_count = 1;                                      
  10c2af:	c7 43 54 01 00 00 00 	movl   $0x1,0x54(%ebx)                
                                                                      
      switch ( the_mutex->Attributes.discipline ) {                   
  10c2b6:	8b 53 48             	mov    0x48(%ebx),%edx                
  10c2b9:	83 fa 02             	cmp    $0x2,%edx                      
  10c2bc:	74 56                	je     10c314 <_CORE_mutex_Surrender+0xd0>
  10c2be:	83 fa 03             	cmp    $0x3,%edx                      
  10c2c1:	74 09                	je     10c2cc <_CORE_mutex_Surrender+0x88>
  10c2c3:	90                   	nop                                   
      }                                                               
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
  10c2c4:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10c2c6:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c2c9:	c9                   	leave                                 
  10c2ca:	c3                   	ret                                   
  10c2cb:	90                   	nop                                   
          _CORE_mutex_Push_priority( the_mutex, the_thread );         
          the_thread->resource_count++;                               
          break;                                                      
        case CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING:                 
          _CORE_mutex_Push_priority( the_mutex, the_thread );         
          the_thread->resource_count++;                               
  10c2cc:	ff 40 1c             	incl   0x1c(%eax)                     
          if (the_mutex->Attributes.priority_ceiling <                
  10c2cf:	8b 53 4c             	mov    0x4c(%ebx),%edx                
  10c2d2:	3b 50 14             	cmp    0x14(%eax),%edx                
  10c2d5:	73 ed                	jae    10c2c4 <_CORE_mutex_Surrender+0x80>
              the_thread->current_priority){                          
              _Thread_Change_priority(                                
  10c2d7:	51                   	push   %ecx                           
  10c2d8:	6a 00                	push   $0x0                           
  10c2da:	52                   	push   %edx                           
  10c2db:	50                   	push   %eax                           
  10c2dc:	e8 5f 10 00 00       	call   10d340 <_Thread_Change_priority>
  10c2e1:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
  10c2e4:	31 c0                	xor    %eax,%eax                      
  10c2e6:	e9 79 ff ff ff       	jmp    10c264 <_CORE_mutex_Surrender+0x20>
  10c2eb:	90                   	nop                                   
      _CORE_mutex_Pop_priority( the_mutex, holder );                  
                                                                      
    if ( pop_status != CORE_MUTEX_STATUS_SUCCESSFUL )                 
      return pop_status;                                              
                                                                      
    holder->resource_count--;                                         
  10c2ec:	8b 50 1c             	mov    0x1c(%eax),%edx                
  10c2ef:	4a                   	dec    %edx                           
  10c2f0:	89 50 1c             	mov    %edx,0x1c(%eax)                
    /*                                                                
     *  Whether or not someone is waiting for the mutex, an           
     *  inherited priority must be lowered if this is the last        
     *  mutex (i.e. resource) this task has.                          
     */                                                               
    if ( holder->resource_count == 0 &&                               
  10c2f3:	85 d2                	test   %edx,%edx                      
  10c2f5:	75 91                	jne    10c288 <_CORE_mutex_Surrender+0x44>
         holder->real_priority != holder->current_priority ) {        
  10c2f7:	8b 50 18             	mov    0x18(%eax),%edx                
    /*                                                                
     *  Whether or not someone is waiting for the mutex, an           
     *  inherited priority must be lowered if this is the last        
     *  mutex (i.e. resource) this task has.                          
     */                                                               
    if ( holder->resource_count == 0 &&                               
  10c2fa:	3b 50 14             	cmp    0x14(%eax),%edx                
  10c2fd:	74 89                	je     10c288 <_CORE_mutex_Surrender+0x44>
         holder->real_priority != holder->current_priority ) {        
      _Thread_Change_priority( holder, holder->real_priority, true ); 
  10c2ff:	51                   	push   %ecx                           
  10c300:	6a 01                	push   $0x1                           
  10c302:	52                   	push   %edx                           
  10c303:	50                   	push   %eax                           
  10c304:	e8 37 10 00 00       	call   10d340 <_Thread_Change_priority>
  10c309:	83 c4 10             	add    $0x10,%esp                     
  10c30c:	e9 77 ff ff ff       	jmp    10c288 <_CORE_mutex_Surrender+0x44>
  10c311:	8d 76 00             	lea    0x0(%esi),%esi                 
        case CORE_MUTEX_DISCIPLINES_FIFO:                             
        case CORE_MUTEX_DISCIPLINES_PRIORITY:                         
          break;                                                      
        case CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT:                 
          _CORE_mutex_Push_priority( the_mutex, the_thread );         
          the_thread->resource_count++;                               
  10c314:	ff 40 1c             	incl   0x1c(%eax)                     
      }                                                               
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
  10c317:	31 c0                	xor    %eax,%eax                      
        case CORE_MUTEX_DISCIPLINES_PRIORITY:                         
          break;                                                      
        case CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT:                 
          _CORE_mutex_Push_priority( the_mutex, the_thread );         
          the_thread->resource_count++;                               
          break;                                                      
  10c319:	e9 46 ff ff ff       	jmp    10c264 <_CORE_mutex_Surrender+0x20>
  10c31e:	66 90                	xchg   %ax,%ax                        
          }                                                           
          break;                                                      
      }                                                               
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
  10c320:	c7 43 50 01 00 00 00 	movl   $0x1,0x50(%ebx)                
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
  10c327:	31 c0                	xor    %eax,%eax                      
  10c329:	e9 36 ff ff ff       	jmp    10c264 <_CORE_mutex_Surrender+0x20>
                                                                      

0010c37c <_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 ) {
  10c37c:	55                   	push   %ebp                           
  10c37d:	89 e5                	mov    %esp,%ebp                      
  10c37f:	53                   	push   %ebx                           
  10c380:	83 ec 10             	sub    $0x10,%esp                     
  10c383:	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)) ) {
  10c386:	53                   	push   %ebx                           
  10c387:	e8 f8 17 00 00       	call   10db84 <_Thread_queue_Dequeue> 
  10c38c:	83 c4 10             	add    $0x10,%esp                     
  10c38f:	85 c0                	test   %eax,%eax                      
  10c391:	74 09                	je     10c39c <_CORE_semaphore_Surrender+0x20>
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
  10c393:	31 c0                	xor    %eax,%eax                      
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
  10c395:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c398:	c9                   	leave                                 
  10c399:	c3                   	ret                                   
  10c39a:	66 90                	xchg   %ax,%ax                        
    if ( !_Objects_Is_local_id( the_thread->Object.id ) )             
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
  10c39c:	9c                   	pushf                                 
  10c39d:	fa                   	cli                                   
  10c39e:	5a                   	pop    %edx                           
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
  10c39f:	8b 43 48             	mov    0x48(%ebx),%eax                
  10c3a2:	3b 43 40             	cmp    0x40(%ebx),%eax                
  10c3a5:	72 0d                	jb     10c3b4 <_CORE_semaphore_Surrender+0x38><== ALWAYS TAKEN
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
  10c3a7:	b8 04 00 00 00       	mov    $0x4,%eax                      <== NOT EXECUTED
    _ISR_Enable( level );                                             
  10c3ac:	52                   	push   %edx                           
  10c3ad:	9d                   	popf                                  
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
  10c3ae:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c3b1:	c9                   	leave                                 
  10c3b2:	c3                   	ret                                   
  10c3b3:	90                   	nop                                   
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
        the_semaphore->count += 1;                                    
  10c3b4:	40                   	inc    %eax                           
  10c3b5:	89 43 48             	mov    %eax,0x48(%ebx)                
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
  10c3b8:	31 c0                	xor    %eax,%eax                      
  10c3ba:	eb f0                	jmp    10c3ac <_CORE_semaphore_Surrender+0x30>
                                                                      

0010c664 <_Chain_Get_with_empty_check>: bool _Chain_Get_with_empty_check( Chain_Control *chain, Chain_Node **node ) {
  10c664:	55                   	push   %ebp                           
  10c665:	89 e5                	mov    %esp,%ebp                      
  10c667:	57                   	push   %edi                           
  10c668:	56                   	push   %esi                           
  10c669:	53                   	push   %ebx                           
  10c66a:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c66d:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  ISR_Level level;                                                    
  bool is_empty_now;                                                  
                                                                      
  _ISR_Disable( level );                                              
  10c670:	9c                   	pushf                                 
  10c671:	fa                   	cli                                   
  10c672:	5e                   	pop    %esi                           
  Chain_Node **the_node                                               
)                                                                     
{                                                                     
  bool is_empty_now = true;                                           
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  10c673:	8d 58 04             	lea    0x4(%eax),%ebx                 
  Chain_Node *old_first = head->next;                                 
  10c676:	8b 10                	mov    (%eax),%edx                    
                                                                      
  if ( old_first != tail ) {                                          
  10c678:	39 d3                	cmp    %edx,%ebx                      
  10c67a:	74 18                	je     10c694 <_Chain_Get_with_empty_check+0x30>
    Chain_Node *new_first = old_first->next;                          
  10c67c:	8b 0a                	mov    (%edx),%ecx                    
                                                                      
    head->next = new_first;                                           
  10c67e:	89 08                	mov    %ecx,(%eax)                    
    new_first->previous = head;                                       
  10c680:	89 41 04             	mov    %eax,0x4(%ecx)                 
                                                                      
    *the_node = old_first;                                            
  10c683:	89 17                	mov    %edx,(%edi)                    
                                                                      
    is_empty_now = new_first == tail;                                 
  10c685:	39 cb                	cmp    %ecx,%ebx                      
  10c687:	0f 94 c0             	sete   %al                            
  is_empty_now = _Chain_Get_with_empty_check_unprotected( chain, node );
  _ISR_Enable( level );                                               
  10c68a:	56                   	push   %esi                           
  10c68b:	9d                   	popf                                  
                                                                      
  return is_empty_now;                                                
}                                                                     
  10c68c:	5b                   	pop    %ebx                           
  10c68d:	5e                   	pop    %esi                           
  10c68e:	5f                   	pop    %edi                           
  10c68f:	c9                   	leave                                 
  10c690:	c3                   	ret                                   
  10c691:	8d 76 00             	lea    0x0(%esi),%esi                 
  } else                                                              
    *the_node = NULL;                                                 
  10c694:	c7 07 00 00 00 00    	movl   $0x0,(%edi)                    
RTEMS_INLINE_ROUTINE bool _Chain_Get_with_empty_check_unprotected(    
  Chain_Control *the_chain,                                           
  Chain_Node **the_node                                               
)                                                                     
{                                                                     
  bool is_empty_now = true;                                           
  10c69a:	b0 01                	mov    $0x1,%al                       
  10c69c:	eb ec                	jmp    10c68a <_Chain_Get_with_empty_check+0x26>
                                                                      

00110538 <_Chain_Initialize>: Chain_Control *the_chain, void *starting_address, size_t number_nodes, size_t node_size ) {
  110538:	55                   	push   %ebp                           
  110539:	89 e5                	mov    %esp,%ebp                      
  11053b:	57                   	push   %edi                           
  11053c:	56                   	push   %esi                           
  11053d:	53                   	push   %ebx                           
  11053e:	83 ec 08             	sub    $0x8,%esp                      
  110541:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  110544:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  110547:	8b 75 14             	mov    0x14(%ebp),%esi                
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  11054a:	8d 47 04             	lea    0x4(%edi),%eax                 
  11054d:	89 45 f0             	mov    %eax,-0x10(%ebp)               
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
  110550:	c7 47 04 00 00 00 00 	movl   $0x0,0x4(%edi)                 
                                                                      
  while ( count-- ) {                                                 
  110557:	85 c9                	test   %ecx,%ecx                      
  110559:	74 35                	je     110590 <_Chain_Initialize+0x58><== NEVER TAKEN
  11055b:	49                   	dec    %ecx                           
  11055c:	89 4d ec             	mov    %ecx,-0x14(%ebp)               
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
  11055f:	8b 45 0c             	mov    0xc(%ebp),%eax                 
)                                                                     
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *current = head;                                         
  110562:	89 fa                	mov    %edi,%edx                      
  110564:	eb 07                	jmp    11056d <_Chain_Initialize+0x35>
  110566:	66 90                	xchg   %ax,%ax                        
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
  110568:	89 c2                	mov    %eax,%edx                      
    current->next  = next;                                            
    next->previous = current;                                         
    current        = next;                                            
    next           = (Chain_Node *)                                   
  11056a:	89 d8                	mov    %ebx,%eax                      
  11056c:	49                   	dec    %ecx                           
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
    current->next  = next;                                            
  11056d:	89 02                	mov    %eax,(%edx)                    
    next->previous = current;                                         
  11056f:	89 50 04             	mov    %edx,0x4(%eax)                 
 *    node_size        - size of node in bytes                        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Chain_Initialize(                                               
  110572:	8d 1c 30             	lea    (%eax,%esi,1),%ebx             
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
  110575:	85 c9                	test   %ecx,%ecx                      
  110577:	75 ef                	jne    110568 <_Chain_Initialize+0x30>
 *    node_size        - size of node in bytes                        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Chain_Initialize(                                               
  110579:	0f af 75 ec          	imul   -0x14(%ebp),%esi               
  11057d:	03 75 0c             	add    0xc(%ebp),%esi                 
    current        = next;                                            
    next           = (Chain_Node *)                                   
                        _Addresses_Add_offset( (void *) next, node_size );
  }                                                                   
                                                                      
  current->next = tail;                                               
  110580:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  110583:	89 06                	mov    %eax,(%esi)                    
  tail->previous = current;                                           
  110585:	89 77 08             	mov    %esi,0x8(%edi)                 
}                                                                     
  110588:	83 c4 08             	add    $0x8,%esp                      
  11058b:	5b                   	pop    %ebx                           
  11058c:	5e                   	pop    %esi                           
  11058d:	5f                   	pop    %edi                           
  11058e:	c9                   	leave                                 
  11058f:	c3                   	ret                                   
)                                                                     
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *current = head;                                         
  110590:	89 fe                	mov    %edi,%esi                      <== NOT EXECUTED
  110592:	eb ec                	jmp    110580 <_Chain_Initialize+0x48><== NOT EXECUTED
                                                                      

0010b070 <_Event_Seize>: rtems_event_set event_in, rtems_option option_set, rtems_interval ticks, rtems_event_set *event_out ) {
  10b070:	55                   	push   %ebp                           
  10b071:	89 e5                	mov    %esp,%ebp                      
  10b073:	57                   	push   %edi                           
  10b074:	56                   	push   %esi                           
  10b075:	53                   	push   %ebx                           
  10b076:	83 ec 2c             	sub    $0x2c,%esp                     
  10b079:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10b07c:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10b07f:	8b 55 10             	mov    0x10(%ebp),%edx                
  10b082:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  10b085:	8b 7d 14             	mov    0x14(%ebp),%edi                
  rtems_event_set                   pending_events;                   
  ISR_Level                         level;                            
  RTEMS_API_Control                *api;                              
  Thread_blocking_operation_States  sync_state;                       
                                                                      
  executing = _Thread_Executing;                                      
  10b088:	8b 1d 38 57 12 00    	mov    0x125738,%ebx                  
  executing->Wait.return_code = RTEMS_SUCCESSFUL;                     
  10b08e:	c7 43 34 00 00 00 00 	movl   $0x0,0x34(%ebx)                
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  10b095:	8b b3 e4 00 00 00    	mov    0xe4(%ebx),%esi                
                                                                      
  _ISR_Disable( level );                                              
  10b09b:	9c                   	pushf                                 
  10b09c:	fa                   	cli                                   
  10b09d:	8f 45 e0             	popl   -0x20(%ebp)                    
  pending_events = api->pending_events;                               
  10b0a0:	8b 16                	mov    (%esi),%edx                    
  10b0a2:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  seized_events  = _Event_sets_Get( pending_events, event_in );       
                                                                      
  if ( !_Event_sets_Is_empty( seized_events ) &&                      
  10b0a5:	21 c2                	and    %eax,%edx                      
  10b0a7:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10b0aa:	74 0d                	je     10b0b9 <_Event_Seize+0x49>     
  10b0ac:	39 d0                	cmp    %edx,%eax                      
  10b0ae:	0f 84 84 00 00 00    	je     10b138 <_Event_Seize+0xc8>     
       (seized_events == event_in || _Options_Is_any( option_set )) ) {
  10b0b4:	f6 c1 02             	test   $0x2,%cl                       
  10b0b7:	75 7f                	jne    10b138 <_Event_Seize+0xc8>     
    _ISR_Enable( level );                                             
    *event_out = seized_events;                                       
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
  10b0b9:	f6 c1 01             	test   $0x1,%cl                       
  10b0bc:	75 62                	jne    10b120 <_Event_Seize+0xb0>     
   *  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;          
  10b0be:	89 4b 30             	mov    %ecx,0x30(%ebx)                
  executing->Wait.count             = (uint32_t) event_in;            
  10b0c1:	89 43 24             	mov    %eax,0x24(%ebx)                
  executing->Wait.return_argument   = event_out;                      
  10b0c4:	89 7b 28             	mov    %edi,0x28(%ebx)                
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
  10b0c7:	c7 05 a0 57 12 00 01 	movl   $0x1,0x1257a0                  
  10b0ce:	00 00 00                                                    
                                                                      
  _ISR_Enable( level );                                               
  10b0d1:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b0d4:	9d                   	popf                                  
                                                                      
  if ( ticks ) {                                                      
  10b0d5:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10b0d8:	85 c0                	test   %eax,%eax                      
  10b0da:	0f 85 80 00 00 00    	jne    10b160 <_Event_Seize+0xf0>     
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &executing->Timer, ticks );               
  }                                                                   
                                                                      
  _Thread_Set_state( executing, STATES_WAITING_FOR_EVENT );           
  10b0e0:	83 ec 08             	sub    $0x8,%esp                      
  10b0e3:	68 00 01 00 00       	push   $0x100                         
  10b0e8:	53                   	push   %ebx                           
  10b0e9:	e8 46 2f 00 00       	call   10e034 <_Thread_Set_state>     
                                                                      
  _ISR_Disable( level );                                              
  10b0ee:	9c                   	pushf                                 
  10b0ef:	fa                   	cli                                   
  10b0f0:	5a                   	pop    %edx                           
                                                                      
  sync_state = _Event_Sync_state;                                     
  10b0f1:	a1 a0 57 12 00       	mov    0x1257a0,%eax                  
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
  10b0f6:	c7 05 a0 57 12 00 00 	movl   $0x0,0x1257a0                  
  10b0fd:	00 00 00                                                    
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
  10b100:	83 c4 10             	add    $0x10,%esp                     
  10b103:	83 f8 01             	cmp    $0x1,%eax                      
  10b106:	74 4c                	je     10b154 <_Event_Seize+0xe4>     
   *  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 );  
  10b108:	89 55 10             	mov    %edx,0x10(%ebp)                
  10b10b:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  10b10e:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  10b111:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b114:	5b                   	pop    %ebx                           
  10b115:	5e                   	pop    %esi                           
  10b116:	5f                   	pop    %edi                           
  10b117:	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 );  
  10b118:	e9 d7 21 00 00       	jmp    10d2f4 <_Thread_blocking_operation_Cancel>
  10b11d:	8d 76 00             	lea    0x0(%esi),%esi                 
    *event_out = seized_events;                                       
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
    _ISR_Enable( level );                                             
  10b120:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b123:	9d                   	popf                                  
    executing->Wait.return_code = RTEMS_UNSATISFIED;                  
  10b124:	c7 43 34 0d 00 00 00 	movl   $0xd,0x34(%ebx)                
    *event_out = seized_events;                                       
  10b12b:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10b12e:	89 17                	mov    %edx,(%edi)                    
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
}                                                                     
  10b130:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b133:	5b                   	pop    %ebx                           
  10b134:	5e                   	pop    %esi                           
  10b135:	5f                   	pop    %edi                           
  10b136:	c9                   	leave                                 
  10b137:	c3                   	ret                                   
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) );                            
  10b138:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10b13b:	f7 d0                	not    %eax                           
  10b13d:	23 45 d4             	and    -0x2c(%ebp),%eax               
  10b140:	89 06                	mov    %eax,(%esi)                    
                                                                      
  if ( !_Event_sets_Is_empty( seized_events ) &&                      
       (seized_events == event_in || _Options_Is_any( option_set )) ) {
    api->pending_events =                                             
      _Event_sets_Clear( pending_events, seized_events );             
    _ISR_Enable( level );                                             
  10b142:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b145:	9d                   	popf                                  
    *event_out = seized_events;                                       
  10b146:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10b149:	89 07                	mov    %eax,(%edi)                    
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
}                                                                     
  10b14b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b14e:	5b                   	pop    %ebx                           
  10b14f:	5e                   	pop    %esi                           
  10b150:	5f                   	pop    %edi                           
  10b151:	c9                   	leave                                 
  10b152:	c3                   	ret                                   
  10b153:	90                   	nop                                   
  _ISR_Disable( level );                                              
                                                                      
  sync_state = _Event_Sync_state;                                     
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
    _ISR_Enable( level );                                             
  10b154:	52                   	push   %edx                           
  10b155:	9d                   	popf                                  
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
}                                                                     
  10b156:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b159:	5b                   	pop    %ebx                           
  10b15a:	5e                   	pop    %esi                           
  10b15b:	5f                   	pop    %edi                           
  10b15c:	c9                   	leave                                 
  10b15d:	c3                   	ret                                   
  10b15e:	66 90                	xchg   %ax,%ax                        
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
                                                                      
  _ISR_Enable( level );                                               
                                                                      
  if ( ticks ) {                                                      
    _Watchdog_Initialize(                                             
  10b160:	8b 43 08             	mov    0x8(%ebx),%eax                 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10b163:	c7 43 50 00 00 00 00 	movl   $0x0,0x50(%ebx)                
  the_watchdog->routine   = routine;                                  
  10b16a:	c7 43 64 14 b3 10 00 	movl   $0x10b314,0x64(%ebx)           
  the_watchdog->id        = id;                                       
  10b171:	89 43 68             	mov    %eax,0x68(%ebx)                
  the_watchdog->user_data = user_data;                                
  10b174:	c7 43 6c 00 00 00 00 	movl   $0x0,0x6c(%ebx)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10b17b:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10b17e:	89 43 54             	mov    %eax,0x54(%ebx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10b181:	83 ec 08             	sub    $0x8,%esp                      
      &executing->Timer,                                              
      _Event_Timeout,                                                 
      executing->Object.id,                                           
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &executing->Timer, ticks );               
  10b184:	8d 43 48             	lea    0x48(%ebx),%eax                
  10b187:	50                   	push   %eax                           
  10b188:	68 7c 55 12 00       	push   $0x12557c                      
  10b18d:	e8 0e 34 00 00       	call   10e5a0 <_Watchdog_Insert>      
  10b192:	83 c4 10             	add    $0x10,%esp                     
  10b195:	e9 46 ff ff ff       	jmp    10b0e0 <_Event_Seize+0x70>     
                                                                      

0010b1f0 <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
  10b1f0:	55                   	push   %ebp                           
  10b1f1:	89 e5                	mov    %esp,%ebp                      
  10b1f3:	57                   	push   %edi                           
  10b1f4:	56                   	push   %esi                           
  10b1f5:	53                   	push   %ebx                           
  10b1f6:	83 ec 2c             	sub    $0x2c,%esp                     
  10b1f9:	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 ];               
  10b1fc:	8b 8b e4 00 00 00    	mov    0xe4(%ebx),%ecx                
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
  10b202:	8b 7b 30             	mov    0x30(%ebx),%edi                
                                                                      
  _ISR_Disable( level );                                              
  10b205:	9c                   	pushf                                 
  10b206:	fa                   	cli                                   
  10b207:	8f 45 d4             	popl   -0x2c(%ebp)                    
  pending_events  = api->pending_events;                              
  10b20a:	8b 11                	mov    (%ecx),%edx                    
  event_condition = (rtems_event_set) the_thread->Wait.count;         
  10b20c:	8b 43 24             	mov    0x24(%ebx),%eax                
  seized_events = _Event_sets_Get( pending_events, event_condition ); 
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
  10b20f:	89 c6                	mov    %eax,%esi                      
  10b211:	21 d6                	and    %edx,%esi                      
  10b213:	89 75 e4             	mov    %esi,-0x1c(%ebp)               
  10b216:	74 74                	je     10b28c <_Event_Surrender+0x9c> 
                                                                      
  /*                                                                  
   *  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() &&                                       
  10b218:	8b 35 34 57 12 00    	mov    0x125734,%esi                  
  10b21e:	85 f6                	test   %esi,%esi                      
  10b220:	74 0c                	je     10b22e <_Event_Surrender+0x3e> 
  10b222:	3b 1d 38 57 12 00    	cmp    0x125738,%ebx                  
  10b228:	0f 84 96 00 00 00    	je     10b2c4 <_Event_Surrender+0xd4> 
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
  10b22e:	f6 43 11 01          	testb  $0x1,0x11(%ebx)                
  10b232:	74 4c                	je     10b280 <_Event_Surrender+0x90> 
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
  10b234:	3b 45 e4             	cmp    -0x1c(%ebp),%eax               
  10b237:	74 05                	je     10b23e <_Event_Surrender+0x4e> 
  10b239:	83 e7 02             	and    $0x2,%edi                      
  10b23c:	74 42                	je     10b280 <_Event_Surrender+0x90> <== 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) );                            
  10b23e:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10b241:	f7 d0                	not    %eax                           
  10b243:	21 d0                	and    %edx,%eax                      
  10b245:	89 01                	mov    %eax,(%ecx)                    
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
      the_thread->Wait.count = 0;                                     
  10b247:	c7 43 24 00 00 00 00 	movl   $0x0,0x24(%ebx)                
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
  10b24e:	8b 43 28             	mov    0x28(%ebx),%eax                
  10b251:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
  10b254:	89 30                	mov    %esi,(%eax)                    
                                                                      
      _ISR_Flash( level );                                            
  10b256:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b259:	9d                   	popf                                  
  10b25a:	fa                   	cli                                   
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
  10b25b:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  10b25f:	74 37                	je     10b298 <_Event_Surrender+0xa8> 
        _ISR_Enable( level );                                         
  10b261:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b264:	9d                   	popf                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  10b265:	83 ec 08             	sub    $0x8,%esp                      
  10b268:	68 f8 ff 03 10       	push   $0x1003fff8                    
  10b26d:	53                   	push   %ebx                           
  10b26e:	e8 01 22 00 00       	call   10d474 <_Thread_Clear_state>   
  10b273:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
  10b276:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b279:	5b                   	pop    %ebx                           
  10b27a:	5e                   	pop    %esi                           
  10b27b:	5f                   	pop    %edi                           
  10b27c:	c9                   	leave                                 
  10b27d:	c3                   	ret                                   
  10b27e:	66 90                	xchg   %ax,%ax                        
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
  10b280:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b283:	9d                   	popf                                  
}                                                                     
  10b284:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b287:	5b                   	pop    %ebx                           
  10b288:	5e                   	pop    %esi                           
  10b289:	5f                   	pop    %edi                           
  10b28a:	c9                   	leave                                 
  10b28b:	c3                   	ret                                   
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
    _ISR_Enable( level );                                             
  10b28c:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b28f:	9d                   	popf                                  
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
  10b290:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b293:	5b                   	pop    %ebx                           
  10b294:	5e                   	pop    %esi                           
  10b295:	5f                   	pop    %edi                           
  10b296:	c9                   	leave                                 
  10b297:	c3                   	ret                                   
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
  10b298:	c7 43 50 03 00 00 00 	movl   $0x3,0x50(%ebx)                
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
        _ISR_Enable( level );                                         
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
  10b29f:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b2a2:	9d                   	popf                                  
        (void) _Watchdog_Remove( &the_thread->Timer );                
  10b2a3:	83 ec 0c             	sub    $0xc,%esp                      
  10b2a6:	8d 43 48             	lea    0x48(%ebx),%eax                
  10b2a9:	50                   	push   %eax                           
  10b2aa:	e8 31 34 00 00       	call   10e6e0 <_Watchdog_Remove>      
  10b2af:	58                   	pop    %eax                           
  10b2b0:	5a                   	pop    %edx                           
  10b2b1:	68 f8 ff 03 10       	push   $0x1003fff8                    
  10b2b6:	53                   	push   %ebx                           
  10b2b7:	e8 b8 21 00 00       	call   10d474 <_Thread_Clear_state>   
  10b2bc:	83 c4 10             	add    $0x10,%esp                     
  10b2bf:	eb c3                	jmp    10b284 <_Event_Surrender+0x94> 
  10b2c1:	8d 76 00             	lea    0x0(%esi),%esi                 
   *  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) ||   
  10b2c4:	8b 35 a0 57 12 00    	mov    0x1257a0,%esi                  
  /*                                                                  
   *  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 ) &&                          
  10b2ca:	83 fe 02             	cmp    $0x2,%esi                      
  10b2cd:	74 0d                	je     10b2dc <_Event_Surrender+0xec> <== NEVER TAKEN
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
  10b2cf:	8b 35 a0 57 12 00    	mov    0x1257a0,%esi                  
   *  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) ||   
  10b2d5:	4e                   	dec    %esi                           
  10b2d6:	0f 85 52 ff ff ff    	jne    10b22e <_Event_Surrender+0x3e> 
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
  10b2dc:	3b 45 e4             	cmp    -0x1c(%ebp),%eax               
  10b2df:	74 05                	je     10b2e6 <_Event_Surrender+0xf6> 
  10b2e1:	83 e7 02             	and    $0x2,%edi                      
  10b2e4:	74 22                	je     10b308 <_Event_Surrender+0x118><== NEVER TAKEN
  10b2e6:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10b2e9:	f7 d0                	not    %eax                           
  10b2eb:	21 d0                	and    %edx,%eax                      
  10b2ed:	89 01                	mov    %eax,(%ecx)                    
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
  10b2ef:	c7 43 24 00 00 00 00 	movl   $0x0,0x24(%ebx)                
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
  10b2f6:	8b 43 28             	mov    0x28(%ebx),%eax                
  10b2f9:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10b2fc:	89 10                	mov    %edx,(%eax)                    
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
  10b2fe:	c7 05 a0 57 12 00 03 	movl   $0x3,0x1257a0                  
  10b305:	00 00 00                                                    
    }                                                                 
    _ISR_Enable( level );                                             
  10b308:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10b30b:	9d                   	popf                                  
    return;                                                           
  10b30c:	e9 73 ff ff ff       	jmp    10b284 <_Event_Surrender+0x94> 
                                                                      

0010b314 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
  10b314:	55                   	push   %ebp                           
  10b315:	89 e5                	mov    %esp,%ebp                      
  10b317:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10b31a:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10b31d:	50                   	push   %eax                           
  10b31e:	ff 75 08             	pushl  0x8(%ebp)                      
  10b321:	e8 f2 24 00 00       	call   10d818 <_Thread_Get>           
  switch ( location ) {                                               
  10b326:	83 c4 10             	add    $0x10,%esp                     
  10b329:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10b32c:	85 d2                	test   %edx,%edx                      
  10b32e:	75 37                	jne    10b367 <_Event_Timeout+0x53>   <== 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 );                                          
  10b330:	9c                   	pushf                                 
  10b331:	fa                   	cli                                   
  10b332:	5a                   	pop    %edx                           
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
  10b333:	c7 40 24 00 00 00 00 	movl   $0x0,0x24(%eax)                
        if ( _Thread_Is_executing( the_thread ) ) {                   
  10b33a:	3b 05 38 57 12 00    	cmp    0x125738,%eax                  
  10b340:	74 2a                	je     10b36c <_Event_Timeout+0x58>   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
  10b342:	c7 40 34 06 00 00 00 	movl   $0x6,0x34(%eax)                
      _ISR_Enable( level );                                           
  10b349:	52                   	push   %edx                           
  10b34a:	9d                   	popf                                  
  10b34b:	83 ec 08             	sub    $0x8,%esp                      
  10b34e:	68 f8 ff 03 10       	push   $0x1003fff8                    
  10b353:	50                   	push   %eax                           
  10b354:	e8 1b 21 00 00       	call   10d474 <_Thread_Clear_state>   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10b359:	a1 70 54 12 00       	mov    0x125470,%eax                  
  10b35e:	48                   	dec    %eax                           
  10b35f:	a3 70 54 12 00       	mov    %eax,0x125470                  
      _Thread_Unblock( the_thread );                                  
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  10b364:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
  10b367:	c9                   	leave                                 
  10b368:	c3                   	ret                                   
  10b369:	8d 76 00             	lea    0x0(%esi),%esi                 
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
  10b36c:	8b 0d a0 57 12 00    	mov    0x1257a0,%ecx                  
  10b372:	49                   	dec    %ecx                           
  10b373:	75 cd                	jne    10b342 <_Event_Timeout+0x2e>   
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
  10b375:	c7 05 a0 57 12 00 02 	movl   $0x2,0x1257a0                  
  10b37c:	00 00 00                                                    
  10b37f:	eb c1                	jmp    10b342 <_Event_Timeout+0x2e>   
                                                                      

00110738 <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
  110738:	55                   	push   %ebp                           
  110739:	89 e5                	mov    %esp,%ebp                      
  11073b:	57                   	push   %edi                           
  11073c:	56                   	push   %esi                           
  11073d:	53                   	push   %ebx                           
  11073e:	83 ec 2c             	sub    $0x2c,%esp                     
  110741:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
  110744:	8d 47 04             	lea    0x4(%edi),%eax                 
  110747:	89 45 dc             	mov    %eax,-0x24(%ebp)               
    - HEAP_ALLOC_BONUS;                                               
  uintptr_t const page_size = heap->page_size;                        
  11074a:	8b 55 08             	mov    0x8(%ebp),%edx                 
  11074d:	8b 52 10             	mov    0x10(%edx),%edx                
  110750:	89 55 cc             	mov    %edx,-0x34(%ebp)               
  Heap_Block *block = NULL;                                           
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
  bool search_again = false;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
  110753:	39 c7                	cmp    %eax,%edi                      
  110755:	0f 87 69 01 00 00    	ja     1108c4 <_Heap_Allocate_aligned_with_boundary+0x18c>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
  11075b:	8b 5d 14             	mov    0x14(%ebp),%ebx                
  11075e:	85 db                	test   %ebx,%ebx                      
  110760:	0f 85 56 01 00 00    	jne    1108bc <_Heap_Allocate_aligned_with_boundary+0x184>
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
  110766:	8b 45 08             	mov    0x8(%ebp),%eax                 
  110769:	8b 48 08             	mov    0x8(%eax),%ecx                 
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
  11076c:	39 c8                	cmp    %ecx,%eax                      
  11076e:	0f 84 50 01 00 00    	je     1108c4 <_Heap_Allocate_aligned_with_boundary+0x18c>
  110774:	c7 45 e4 01 00 00 00 	movl   $0x1,-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    
  11077b:	8b 55 cc             	mov    -0x34(%ebp),%edx               
  11077e:	83 c2 07             	add    $0x7,%edx                      
  110781:	89 55 c8             	mov    %edx,-0x38(%ebp)               
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_ALLOC_BONUS;                 
  110784:	c7 45 d0 04 00 00 00 	movl   $0x4,-0x30(%ebp)               
  11078b:	29 7d d0             	sub    %edi,-0x30(%ebp)               
  11078e:	eb 1e                	jmp    1107ae <_Heap_Allocate_aligned_with_boundary+0x76>
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
  110790:	8d 59 08             	lea    0x8(%ecx),%ebx                 
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
                                                                      
      if ( alloc_begin != 0 ) {                                       
  110793:	85 db                	test   %ebx,%ebx                      
  110795:	0f 85 f1 00 00 00    	jne    11088c <_Heap_Allocate_aligned_with_boundary+0x154><== ALWAYS TAKEN
        break;                                                        
      }                                                               
                                                                      
      block = block->next;                                            
  11079b:	8b 49 08             	mov    0x8(%ecx),%ecx                 
  11079e:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  1107a1:	40                   	inc    %eax                           
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
  1107a2:	39 4d 08             	cmp    %ecx,0x8(%ebp)                 
  1107a5:	0f 84 25 01 00 00    	je     1108d0 <_Heap_Allocate_aligned_with_boundary+0x198>
  1107ab:	89 45 e4             	mov    %eax,-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 ) {                
  1107ae:	8b 59 04             	mov    0x4(%ecx),%ebx                 
  1107b1:	39 5d dc             	cmp    %ebx,-0x24(%ebp)               
  1107b4:	73 e5                	jae    11079b <_Heap_Allocate_aligned_with_boundary+0x63>
        if ( alignment == 0 ) {                                       
  1107b6:	8b 55 10             	mov    0x10(%ebp),%edx                
  1107b9:	85 d2                	test   %edx,%edx                      
  1107bb:	74 d3                	je     110790 <_Heap_Allocate_aligned_with_boundary+0x58>
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
  1107bd:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1107c0:	8b 40 14             	mov    0x14(%eax),%eax                
  1107c3:	89 45 d8             	mov    %eax,-0x28(%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;                
  1107c6:	83 e3 fe             	and    $0xfffffffe,%ebx               
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
                                                                      
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
  1107c9:	8d 1c 19             	lea    (%ecx,%ebx,1),%ebx             
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
  1107cc:	8d 51 08             	lea    0x8(%ecx),%edx                 
  1107cf:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
                                                                      
  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;                         
  1107d2:	8b 75 c8             	mov    -0x38(%ebp),%esi               
  1107d5:	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    
  1107d7:	01 de                	add    %ebx,%esi                      
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_ALLOC_BONUS;                 
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
  1107d9:	03 5d d0             	add    -0x30(%ebp),%ebx               
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  1107dc:	89 d8                	mov    %ebx,%eax                      
  1107de:	31 d2                	xor    %edx,%edx                      
  1107e0:	f7 75 10             	divl   0x10(%ebp)                     
  1107e3:	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 ) {                          
  1107e5:	39 de                	cmp    %ebx,%esi                      
  1107e7:	73 0b                	jae    1107f4 <_Heap_Allocate_aligned_with_boundary+0xbc>
  1107e9:	89 f0                	mov    %esi,%eax                      
  1107eb:	31 d2                	xor    %edx,%edx                      
  1107ed:	f7 75 10             	divl   0x10(%ebp)                     
  1107f0:	89 f3                	mov    %esi,%ebx                      
  1107f2:	29 d3                	sub    %edx,%ebx                      
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
  1107f4:	8b 45 14             	mov    0x14(%ebp),%eax                
  1107f7:	85 c0                	test   %eax,%eax                      
  1107f9:	74 5b                	je     110856 <_Heap_Allocate_aligned_with_boundary+0x11e>
  /* 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;                               
  1107fb:	8d 34 3b             	lea    (%ebx,%edi,1),%esi             
  1107fe:	89 f0                	mov    %esi,%eax                      
  110800:	31 d2                	xor    %edx,%edx                      
  110802:	f7 75 14             	divl   0x14(%ebp)                     
  110805:	89 f0                	mov    %esi,%eax                      
  110807:	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 ) {
  110809:	39 c3                	cmp    %eax,%ebx                      
  11080b:	73 49                	jae    110856 <_Heap_Allocate_aligned_with_boundary+0x11e>
  11080d:	39 c6                	cmp    %eax,%esi                      
  11080f:	76 45                	jbe    110856 <_Heap_Allocate_aligned_with_boundary+0x11e>
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
  110811:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  110814:	01 fa                	add    %edi,%edx                      
  110816:	89 55 e0             	mov    %edx,-0x20(%ebp)               
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
  110819:	39 c2                	cmp    %eax,%edx                      
  11081b:	0f 87 7a ff ff ff    	ja     11079b <_Heap_Allocate_aligned_with_boundary+0x63>
  110821:	89 ce                	mov    %ecx,%esi                      
  110823:	eb 10                	jmp    110835 <_Heap_Allocate_aligned_with_boundary+0xfd>
  110825:	8d 76 00             	lea    0x0(%esi),%esi                 
  /* 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 ) {
  110828:	39 c1                	cmp    %eax,%ecx                      
  11082a:	76 28                	jbe    110854 <_Heap_Allocate_aligned_with_boundary+0x11c>
      if ( boundary_line < boundary_floor ) {                         
  11082c:	39 45 e0             	cmp    %eax,-0x20(%ebp)               
  11082f:	0f 87 9f 00 00 00    	ja     1108d4 <_Heap_Allocate_aligned_with_boundary+0x19c><== NEVER TAKEN
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
  110835:	89 c3                	mov    %eax,%ebx                      
  110837:	29 fb                	sub    %edi,%ebx                      
  110839:	89 d8                	mov    %ebx,%eax                      
  11083b:	31 d2                	xor    %edx,%edx                      
  11083d:	f7 75 10             	divl   0x10(%ebp)                     
  110840:	29 d3                	sub    %edx,%ebx                      
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
  110842:	8d 0c 3b             	lea    (%ebx,%edi,1),%ecx             
  110845:	89 c8                	mov    %ecx,%eax                      
  110847:	31 d2                	xor    %edx,%edx                      
  110849:	f7 75 14             	divl   0x14(%ebp)                     
  11084c:	89 c8                	mov    %ecx,%eax                      
  11084e:	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 ) {
  110850:	39 c3                	cmp    %eax,%ebx                      
  110852:	72 d4                	jb     110828 <_Heap_Allocate_aligned_with_boundary+0xf0>
  110854:	89 f1                	mov    %esi,%ecx                      
      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 ) {                           
  110856:	39 5d d4             	cmp    %ebx,-0x2c(%ebp)               
  110859:	0f 87 3c ff ff ff    	ja     11079b <_Heap_Allocate_aligned_with_boundary+0x63>
  11085f:	be f8 ff ff ff       	mov    $0xfffffff8,%esi               
  110864:	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);                                        
  110866:	01 de                	add    %ebx,%esi                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  110868:	89 d8                	mov    %ebx,%eax                      
  11086a:	31 d2                	xor    %edx,%edx                      
  11086c:	f7 75 cc             	divl   -0x34(%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;      
  11086f:	29 d6                	sub    %edx,%esi                      
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
  110871:	39 75 d8             	cmp    %esi,-0x28(%ebp)               
  110874:	0f 86 19 ff ff ff    	jbe    110793 <_Heap_Allocate_aligned_with_boundary+0x5b>
  11087a:	85 f6                	test   %esi,%esi                      
  11087c:	0f 85 19 ff ff ff    	jne    11079b <_Heap_Allocate_aligned_with_boundary+0x63>
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
                                                                      
      if ( alloc_begin != 0 ) {                                       
  110882:	85 db                	test   %ebx,%ebx                      
  110884:	0f 84 11 ff ff ff    	je     11079b <_Heap_Allocate_aligned_with_boundary+0x63><== NEVER TAKEN
  11088a:	66 90                	xchg   %ax,%ax                        
    search_again = _Heap_Protection_free_delayed_blocks( heap, alloc_begin );
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
  11088c:	8b 45 08             	mov    0x8(%ebp),%eax                 
  11088f:	ff 40 48             	incl   0x48(%eax)                     
    stats->searches += search_count;                                  
  110892:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  110895:	01 50 4c             	add    %edx,0x4c(%eax)                
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
  110898:	57                   	push   %edi                           
  110899:	53                   	push   %ebx                           
  11089a:	51                   	push   %ecx                           
  11089b:	50                   	push   %eax                           
  11089c:	e8 8f be ff ff       	call   10c730 <_Heap_Block_allocate>  
  1108a1:	89 d8                	mov    %ebx,%eax                      
  1108a3:	83 c4 10             	add    $0x10,%esp                     
      boundary                                                        
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
  1108a6:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  1108a9:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  1108ac:	39 51 44             	cmp    %edx,0x44(%ecx)                
  1108af:	73 15                	jae    1108c6 <_Heap_Allocate_aligned_with_boundary+0x18e>
    stats->max_search = search_count;                                 
  1108b1:	89 51 44             	mov    %edx,0x44(%ecx)                
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
  1108b4:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1108b7:	5b                   	pop    %ebx                           
  1108b8:	5e                   	pop    %esi                           
  1108b9:	5f                   	pop    %edi                           
  1108ba:	c9                   	leave                                 
  1108bb:	c3                   	ret                                   
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
  1108bc:	3b 7d 14             	cmp    0x14(%ebp),%edi                
  1108bf:	76 1a                	jbe    1108db <_Heap_Allocate_aligned_with_boundary+0x1a3>
  1108c1:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
  1108c4:	31 c0                	xor    %eax,%eax                      
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
  1108c6:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1108c9:	5b                   	pop    %ebx                           
  1108ca:	5e                   	pop    %esi                           
  1108cb:	5f                   	pop    %edi                           
  1108cc:	c9                   	leave                                 
  1108cd:	c3                   	ret                                   
  1108ce:	66 90                	xchg   %ax,%ax                        
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
  1108d0:	31 c0                	xor    %eax,%eax                      
  1108d2:	eb d2                	jmp    1108a6 <_Heap_Allocate_aligned_with_boundary+0x16e>
  1108d4:	89 f1                	mov    %esi,%ecx                      <== NOT EXECUTED
  1108d6:	e9 c0 fe ff ff       	jmp    11079b <_Heap_Allocate_aligned_with_boundary+0x63><== NOT EXECUTED
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
  1108db:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  1108de:	85 c9                	test   %ecx,%ecx                      
  1108e0:	0f 85 80 fe ff ff    	jne    110766 <_Heap_Allocate_aligned_with_boundary+0x2e>
      alignment = page_size;                                          
  1108e6:	89 55 10             	mov    %edx,0x10(%ebp)                
  1108e9:	e9 78 fe ff ff       	jmp    110766 <_Heap_Allocate_aligned_with_boundary+0x2e>
                                                                      

00110ccc <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t *extended_size_ptr ) {
  110ccc:	55                   	push   %ebp                           
  110ccd:	89 e5                	mov    %esp,%ebp                      
  110ccf:	57                   	push   %edi                           
  110cd0:	56                   	push   %esi                           
  110cd1:	53                   	push   %ebx                           
  110cd2:	83 ec 4c             	sub    $0x4c,%esp                     
  110cd5:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  110cd8:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
  110cdb:	8b 43 20             	mov    0x20(%ebx),%eax                
  110cde:	89 45 d0             	mov    %eax,-0x30(%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;                              
  110ce1:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  Heap_Block *extend_last_block = NULL;                               
  110ce8:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  uintptr_t const page_size = heap->page_size;                        
  110cef:	8b 53 10             	mov    0x10(%ebx),%edx                
  110cf2:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  uintptr_t const min_block_size = heap->min_block_size;              
  110cf5:	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;                       
  110cf8:	8b 73 30             	mov    0x30(%ebx),%esi                
  110cfb:	89 75 c0             	mov    %esi,-0x40(%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 ) {                        
  110cfe:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  110d01:	01 ca                	add    %ecx,%edx                      
  110d03:	89 55 cc             	mov    %edx,-0x34(%ebp)               
  110d06:	73 0c                	jae    110d14 <_Heap_Extend+0x48>     
      _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;                                                   
  110d08:	31 c0                	xor    %eax,%eax                      
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
  110d0a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110d0d:	5b                   	pop    %ebx                           
  110d0e:	5e                   	pop    %esi                           
  110d0f:	5f                   	pop    %edi                           
  110d10:	c9                   	leave                                 
  110d11:	c3                   	ret                                   
  110d12:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
    return false;                                                     
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
  110d14:	83 ec 08             	sub    $0x8,%esp                      
  110d17:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  110d1a:	52                   	push   %edx                           
  110d1b:	8d 55 e4             	lea    -0x1c(%ebp),%edx               
  110d1e:	52                   	push   %edx                           
  110d1f:	50                   	push   %eax                           
  110d20:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  110d23:	51                   	push   %ecx                           
  110d24:	ff 75 0c             	pushl  0xc(%ebp)                      
  110d27:	e8 20 bc ff ff       	call   10c94c <_Heap_Get_first_and_last_block>
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
  110d2c:	83 c4 20             	add    $0x20,%esp                     
  110d2f:	84 c0                	test   %al,%al                        
  110d31:	74 d5                	je     110d08 <_Heap_Extend+0x3c>     
  110d33:	8b 7d d0             	mov    -0x30(%ebp),%edi               
  110d36:	c7 45 bc 00 00 00 00 	movl   $0x0,-0x44(%ebp)               
  110d3d:	c7 45 b8 00 00 00 00 	movl   $0x0,-0x48(%ebp)               
  110d44:	c7 45 c8 00 00 00 00 	movl   $0x0,-0x38(%ebp)               
  110d4b:	c7 45 c4 00 00 00 00 	movl   $0x0,-0x3c(%ebp)               
  110d52:	8b 75 cc             	mov    -0x34(%ebp),%esi               
  110d55:	89 5d b4             	mov    %ebx,-0x4c(%ebp)               
  110d58:	eb 30                	jmp    110d8a <_Heap_Extend+0xbe>     
  110d5a:	66 90                	xchg   %ax,%ax                        
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
  110d5c:	39 ce                	cmp    %ecx,%esi                      
  110d5e:	73 03                	jae    110d63 <_Heap_Extend+0x97>     
  110d60:	89 7d b8             	mov    %edi,-0x48(%ebp)               
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  110d63:	8d 59 f8             	lea    -0x8(%ecx),%ebx                
  110d66:	89 c8                	mov    %ecx,%eax                      
  110d68:	31 d2                	xor    %edx,%edx                      
  110d6a:	f7 75 d4             	divl   -0x2c(%ebp)                    
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
  110d6d:	29 d3                	sub    %edx,%ebx                      
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
  110d6f:	3b 4d 0c             	cmp    0xc(%ebp),%ecx                 
  110d72:	74 3c                	je     110db0 <_Heap_Extend+0xe4>     
      start_block->prev_size = extend_area_end;                       
                                                                      
      merge_above_block = end_block;                                  
    } else if ( sub_area_end < extend_area_begin ) {                  
  110d74:	39 4d 0c             	cmp    %ecx,0xc(%ebp)                 
  110d77:	76 03                	jbe    110d7c <_Heap_Extend+0xb0>     
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 )   
  110d79:	89 5d bc             	mov    %ebx,-0x44(%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;                
  110d7c:	8b 7b 04             	mov    0x4(%ebx),%edi                 
  110d7f:	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);                 
  110d82:	8d 3c 3b             	lea    (%ebx,%edi,1),%edi             
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
  110d85:	39 7d d0             	cmp    %edi,-0x30(%ebp)               
  110d88:	74 39                	je     110dc3 <_Heap_Extend+0xf7>     
    return false;                                                     
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
  110d8a:	3b 7d d0             	cmp    -0x30(%ebp),%edi               
  110d8d:	0f 84 39 01 00 00    	je     110ecc <_Heap_Extend+0x200>    
  110d93:	89 f8                	mov    %edi,%eax                      
    uintptr_t const sub_area_end = start_block->prev_size;            
  110d95:	8b 0f                	mov    (%edi),%ecx                    
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
  110d97:	39 4d 0c             	cmp    %ecx,0xc(%ebp)                 
  110d9a:	73 08                	jae    110da4 <_Heap_Extend+0xd8>     
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
  110d9c:	39 f0                	cmp    %esi,%eax                      
  110d9e:	0f 82 64 ff ff ff    	jb     110d08 <_Heap_Extend+0x3c>     
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
  110da4:	39 f0                	cmp    %esi,%eax                      
  110da6:	75 b4                	jne    110d5c <_Heap_Extend+0x90>     
  110da8:	89 7d c4             	mov    %edi,-0x3c(%ebp)               
  110dab:	eb b6                	jmp    110d63 <_Heap_Extend+0x97>     
  110dad:	8d 76 00             	lea    0x0(%esi),%esi                 
    } else if ( extend_area_end < sub_area_end ) {                    
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
      start_block->prev_size = extend_area_end;                       
  110db0:	89 37                	mov    %esi,(%edi)                    
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 )   
  110db2:	89 5d c8             	mov    %ebx,-0x38(%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;                
  110db5:	8b 7b 04             	mov    0x4(%ebx),%edi                 
  110db8:	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);                 
  110dbb:	8d 3c 3b             	lea    (%ebx,%edi,1),%edi             
    } else if ( sub_area_end < extend_area_begin ) {                  
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
  110dbe:	39 7d d0             	cmp    %edi,-0x30(%ebp)               
  110dc1:	75 c7                	jne    110d8a <_Heap_Extend+0xbe>     <== NEVER TAKEN
  110dc3:	8b 5d b4             	mov    -0x4c(%ebp),%ebx               
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
  110dc6:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  110dc9:	3b 73 18             	cmp    0x18(%ebx),%esi                
  110dcc:	0f 82 06 01 00 00    	jb     110ed8 <_Heap_Extend+0x20c>    
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
  110dd2:	8b 45 cc             	mov    -0x34(%ebp),%eax               
  110dd5:	3b 43 1c             	cmp    0x1c(%ebx),%eax                
  110dd8:	76 03                	jbe    110ddd <_Heap_Extend+0x111>    
    heap->area_end = extend_area_end;                                 
  110dda:	89 43 1c             	mov    %eax,0x1c(%ebx)                
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
  110ddd:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  110de0:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
  110de3:	89 d1                	mov    %edx,%ecx                      
  110de5:	29 c1                	sub    %eax,%ecx                      
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  110de7:	8b 75 cc             	mov    -0x34(%ebp),%esi               
  110dea:	89 30                	mov    %esi,(%eax)                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
  110dec:	89 ce                	mov    %ecx,%esi                      
  110dee:	83 ce 01             	or     $0x1,%esi                      
  110df1:	89 70 04             	mov    %esi,0x4(%eax)                 
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  110df4:	89 0a                	mov    %ecx,(%edx)                    
  extend_last_block->size_and_flag = 0;                               
  110df6:	c7 42 04 00 00 00 00 	movl   $0x0,0x4(%edx)                 
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
  110dfd:	39 43 20             	cmp    %eax,0x20(%ebx)                
  110e00:	0f 86 da 00 00 00    	jbe    110ee0 <_Heap_Extend+0x214>    
    heap->first_block = extend_first_block;                           
  110e06:	89 43 20             	mov    %eax,0x20(%ebx)                
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
    heap->last_block = extend_last_block;                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
  110e09:	8b 75 c4             	mov    -0x3c(%ebp),%esi               
  110e0c:	85 f6                	test   %esi,%esi                      
  110e0e:	0f 84 10 01 00 00    	je     110f24 <_Heap_Extend+0x258>    
  Heap_Control *heap,                                                 
  uintptr_t extend_area_begin,                                        
  Heap_Block *first_block                                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  110e14:	8b 73 10             	mov    0x10(%ebx),%esi                
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
  110e17:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  110e1a:	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;                            
  110e1d:	89 c8                	mov    %ecx,%eax                      
  110e1f:	31 d2                	xor    %edx,%edx                      
  110e21:	f7 f6                	div    %esi                           
                                                                      
  if ( remainder != 0 ) {                                             
  110e23:	85 d2                	test   %edx,%edx                      
  110e25:	0f 84 c9 00 00 00    	je     110ef4 <_Heap_Extend+0x228>    <== ALWAYS TAKEN
    return value - remainder + alignment;                             
  110e2b:	8d 04 31             	lea    (%ecx,%esi,1),%eax             <== NOT EXECUTED
  110e2e:	29 d0                	sub    %edx,%eax                      <== NOT EXECUTED
  uintptr_t const new_first_block_begin =                             
  110e30:	8d 50 f8             	lea    -0x8(%eax),%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;                
  110e33:	8b 75 c4             	mov    -0x3c(%ebp),%esi               
  110e36:	8b 0e                	mov    (%esi),%ecx                    
  110e38:	89 48 f8             	mov    %ecx,-0x8(%eax)                
  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 =                              
  110e3b:	89 f0                	mov    %esi,%eax                      
  110e3d:	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;
  110e3f:	83 c8 01             	or     $0x1,%eax                      
  110e42:	89 42 04             	mov    %eax,0x4(%edx)                 
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
  110e45:	89 d8                	mov    %ebx,%eax                      
  110e47:	e8 64 fe ff ff       	call   110cb0 <_Heap_Free_block>      
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
  110e4c:	8b 45 c8             	mov    -0x38(%ebp),%eax               
  110e4f:	85 c0                	test   %eax,%eax                      
  110e51:	0f 84 a5 00 00 00    	je     110efc <_Heap_Extend+0x230>    
)                                                                     
{                                                                     
  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,      
  110e57:	8b 4d cc             	mov    -0x34(%ebp),%ecx               
  110e5a:	83 e9 08             	sub    $0x8,%ecx                      
  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(             
  110e5d:	2b 4d c8             	sub    -0x38(%ebp),%ecx               
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  110e60:	89 c8                	mov    %ecx,%eax                      
  110e62:	31 d2                	xor    %edx,%edx                      
  110e64:	f7 73 10             	divl   0x10(%ebx)                     
  110e67:	29 d1                	sub    %edx,%ecx                      
  );                                                                  
  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)                 
  110e69:	8b 55 c8             	mov    -0x38(%ebp),%edx               
  110e6c:	8b 42 04             	mov    0x4(%edx),%eax                 
  110e6f:	29 c8                	sub    %ecx,%eax                      
      | HEAP_PREV_BLOCK_USED;                                         
  110e71:	83 c8 01             	or     $0x1,%eax                      
  110e74:	89 44 11 04          	mov    %eax,0x4(%ecx,%edx,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;       
  110e78:	8b 42 04             	mov    0x4(%edx),%eax                 
  110e7b:	83 e0 01             	and    $0x1,%eax                      
                                                                      
  block->size_and_flag = size | flag;                                 
  110e7e:	09 c8                	or     %ecx,%eax                      
  110e80:	89 42 04             	mov    %eax,0x4(%edx)                 
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
  110e83:	89 d8                	mov    %ebx,%eax                      
  110e85:	e8 26 fe ff ff       	call   110cb0 <_Heap_Free_block>      
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
  110e8a:	8b 75 c4             	mov    -0x3c(%ebp),%esi               
  110e8d:	85 f6                	test   %esi,%esi                      
  110e8f:	0f 84 ab 00 00 00    	je     110f40 <_Heap_Extend+0x274>    
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
  110e95:	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(                                               
  110e98:	8b 43 20             	mov    0x20(%ebx),%eax                
  110e9b:	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;       
  110e9d:	8b 4a 04             	mov    0x4(%edx),%ecx                 
  110ea0:	83 e1 01             	and    $0x1,%ecx                      
                                                                      
  block->size_and_flag = size | flag;                                 
  110ea3:	09 c8                	or     %ecx,%eax                      
  110ea5:	89 42 04             	mov    %eax,0x4(%edx)                 
    _Heap_Free_block( heap, extend_first_block );                     
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
  110ea8:	8b 43 30             	mov    0x30(%ebx),%eax                
  110eab:	2b 45 c0             	sub    -0x40(%ebp),%eax               
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
  110eae:	01 43 2c             	add    %eax,0x2c(%ebx)                
                                                                      
  if ( extended_size_ptr != NULL )                                    
  110eb1:	8b 55 14             	mov    0x14(%ebp),%edx                
  110eb4:	85 d2                	test   %edx,%edx                      
  110eb6:	0f 84 a0 00 00 00    	je     110f5c <_Heap_Extend+0x290>    <== NEVER TAKEN
    *extended_size_ptr = extended_size;                               
  110ebc:	8b 55 14             	mov    0x14(%ebp),%edx                
  110ebf:	89 02                	mov    %eax,(%edx)                    
                                                                      
  return true;                                                        
  110ec1:	b0 01                	mov    $0x1,%al                       
}                                                                     
  110ec3:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110ec6:	5b                   	pop    %ebx                           
  110ec7:	5e                   	pop    %esi                           
  110ec8:	5f                   	pop    %edi                           
  110ec9:	c9                   	leave                                 
  110eca:	c3                   	ret                                   
  110ecb:	90                   	nop                                   
    return false;                                                     
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
  110ecc:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  110ecf:	8b 42 18             	mov    0x18(%edx),%eax                
  110ed2:	e9 be fe ff ff       	jmp    110d95 <_Heap_Extend+0xc9>     
  110ed7:	90                   	nop                                   
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
    heap->area_begin = extend_area_begin;                             
  110ed8:	89 73 18             	mov    %esi,0x18(%ebx)                
  110edb:	e9 fd fe ff ff       	jmp    110ddd <_Heap_Extend+0x111>    
  extend_last_block->size_and_flag = 0;                               
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
    heap->first_block = extend_first_block;                           
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
  110ee0:	39 53 24             	cmp    %edx,0x24(%ebx)                
  110ee3:	0f 83 20 ff ff ff    	jae    110e09 <_Heap_Extend+0x13d>    
    heap->last_block = extend_last_block;                             
  110ee9:	89 53 24             	mov    %edx,0x24(%ebx)                
  110eec:	e9 18 ff ff ff       	jmp    110e09 <_Heap_Extend+0x13d>    
  110ef1:	8d 76 00             	lea    0x0(%esi),%esi                 
  uintptr_t remainder = value % alignment;                            
                                                                      
  if ( remainder != 0 ) {                                             
    return value - remainder + alignment;                             
  } else {                                                            
    return value;                                                     
  110ef4:	89 c8                	mov    %ecx,%eax                      
  110ef6:	e9 35 ff ff ff       	jmp    110e30 <_Heap_Extend+0x164>    
  110efb:	90                   	nop                                   
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
  110efc:	8b 7d bc             	mov    -0x44(%ebp),%edi               
  110eff:	85 ff                	test   %edi,%edi                      
  110f01:	74 87                	je     110e8a <_Heap_Extend+0x1be>    
    _Heap_Link_above(                                                 
  110f03:	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 );       
  110f06:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110f09:	2b 45 bc             	sub    -0x44(%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;       
  110f0c:	8b 75 bc             	mov    -0x44(%ebp),%esi               
  110f0f:	8b 56 04             	mov    0x4(%esi),%edx                 
  110f12:	83 e2 01             	and    $0x1,%edx                      
                                                                      
  block->size_and_flag = size | flag;                                 
  110f15:	09 d0                	or     %edx,%eax                      
  110f17:	89 46 04             	mov    %eax,0x4(%esi)                 
                                                                      
  last_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                  
  110f1a:	83 49 04 01          	orl    $0x1,0x4(%ecx)                 
  110f1e:	e9 67 ff ff ff       	jmp    110e8a <_Heap_Extend+0x1be>    
  110f23:	90                   	nop                                   
    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 ) {                            
  110f24:	8b 4d b8             	mov    -0x48(%ebp),%ecx               
  110f27:	85 c9                	test   %ecx,%ecx                      
  110f29:	0f 84 1d ff ff ff    	je     110e4c <_Heap_Extend+0x180>    
{                                                                     
  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;           
  110f2f:	8b 45 b8             	mov    -0x48(%ebp),%eax               
  110f32:	29 d0                	sub    %edx,%eax                      
  110f34:	83 c8 01             	or     $0x1,%eax                      
  110f37:	89 42 04             	mov    %eax,0x4(%edx)                 
  110f3a:	e9 0d ff ff ff       	jmp    110e4c <_Heap_Extend+0x180>    
  110f3f:	90                   	nop                                   
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
  110f40:	8b 4d c8             	mov    -0x38(%ebp),%ecx               
  110f43:	85 c9                	test   %ecx,%ecx                      
  110f45:	0f 85 4a ff ff ff    	jne    110e95 <_Heap_Extend+0x1c9>    
    _Heap_Free_block( heap, extend_first_block );                     
  110f4b:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  110f4e:	89 d8                	mov    %ebx,%eax                      
  110f50:	e8 5b fd ff ff       	call   110cb0 <_Heap_Free_block>      
  110f55:	e9 3b ff ff ff       	jmp    110e95 <_Heap_Extend+0x1c9>    
  110f5a:	66 90                	xchg   %ax,%ax                        
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
  110f5c:	b0 01                	mov    $0x1,%al                       <== NOT EXECUTED
  110f5e:	e9 a7 fd ff ff       	jmp    110d0a <_Heap_Extend+0x3e>     <== NOT EXECUTED
                                                                      

001108f0 <_Heap_Free>: return do_free; } #endif bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr ) {
  1108f0:	55                   	push   %ebp                           
  1108f1:	89 e5                	mov    %esp,%ebp                      
  1108f3:	57                   	push   %edi                           
  1108f4:	56                   	push   %esi                           
  1108f5:	53                   	push   %ebx                           
  1108f6:	83 ec 10             	sub    $0x10,%esp                     
  1108f9:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1108fc:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  1108ff:	8d 48 f8             	lea    -0x8(%eax),%ecx                
  110902:	31 d2                	xor    %edx,%edx                      
  110904:	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);                                        
  110907:	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           
  110909:	8b 43 20             	mov    0x20(%ebx),%eax                
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  11090c:	39 c1                	cmp    %eax,%ecx                      
  11090e:	72 07                	jb     110917 <_Heap_Free+0x27>       
  110910:	8b 73 24             	mov    0x24(%ebx),%esi                
  110913:	39 f1                	cmp    %esi,%ecx                      
  110915:	76 0d                	jbe    110924 <_Heap_Free+0x34>       
                                                                      
    /* As we always coalesce free blocks, the block that preceedes prev_block
       must have been used. */                                        
    if ( !_Heap_Is_prev_used ( prev_block) ) {                        
      _HAssert( false );                                              
      return( false );                                                
  110917:	31 c0                	xor    %eax,%eax                      
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
  110919:	83 c4 10             	add    $0x10,%esp                     
  11091c:	5b                   	pop    %ebx                           
  11091d:	5e                   	pop    %esi                           
  11091e:	5f                   	pop    %edi                           
  11091f:	c9                   	leave                                 
  110920:	c3                   	ret                                   
  110921:	8d 76 00             	lea    0x0(%esi),%esi                 
  110924:	8b 51 04             	mov    0x4(%ecx),%edx                 
  110927:	89 55 f0             	mov    %edx,-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;                
  11092a:	83 e2 fe             	and    $0xfffffffe,%edx               
  11092d:	89 55 ec             	mov    %edx,-0x14(%ebp)               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  110930:	8d 14 11             	lea    (%ecx,%edx,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;             
  110933:	39 d0                	cmp    %edx,%eax                      
  110935:	77 e0                	ja     110917 <_Heap_Free+0x27>       <== NEVER TAKEN
  110937:	39 d6                	cmp    %edx,%esi                      
  110939:	72 dc                	jb     110917 <_Heap_Free+0x27>       <== NEVER TAKEN
  11093b:	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 ) ) {                          
  11093e:	f7 c7 01 00 00 00    	test   $0x1,%edi                      
  110944:	74 d1                	je     110917 <_Heap_Free+0x27>       <== 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;                
  110946:	83 e7 fe             	and    $0xfffffffe,%edi               
  110949:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
    return true;                                                      
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
  11094c:	39 d6                	cmp    %edx,%esi                      
  11094e:	0f 84 c8 00 00 00    	je     110a1c <_Heap_Free+0x12c>      
                                                                      
    return do_free;                                                   
  }                                                                   
#endif                                                                
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
  110954:	f6 44 3a 04 01       	testb  $0x1,0x4(%edx,%edi,1)          
  110959:	0f 94 45 eb          	sete   -0x15(%ebp)                    
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
  11095d:	f6 45 f0 01          	testb  $0x1,-0x10(%ebp)               
  110961:	75 45                	jne    1109a8 <_Heap_Free+0xb8>       
    uintptr_t const prev_size = block->prev_size;                     
  110963:	8b 39                	mov    (%ecx),%edi                    
  110965:	89 7d f0             	mov    %edi,-0x10(%ebp)               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  110968:	29 f9                	sub    %edi,%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;             
  11096a:	39 c8                	cmp    %ecx,%eax                      
  11096c:	77 a9                	ja     110917 <_Heap_Free+0x27>       <== NEVER TAKEN
  11096e:	39 ce                	cmp    %ecx,%esi                      
  110970:	72 a5                	jb     110917 <_Heap_Free+0x27>       <== 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) ) {                        
  110972:	f6 41 04 01          	testb  $0x1,0x4(%ecx)                 
  110976:	74 9f                	je     110917 <_Heap_Free+0x27>       <== NEVER TAKEN
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
  110978:	80 7d eb 00          	cmpb   $0x0,-0x15(%ebp)               
  11097c:	0f 84 a6 00 00 00    	je     110a28 <_Heap_Free+0x138>      
      uintptr_t const size = block_size + prev_size + next_block_size;
  110982:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  110985:	03 7d ec             	add    -0x14(%ebp),%edi               
  110988:	03 7d f0             	add    -0x10(%ebp),%edi               
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
  11098b:	8b 42 08             	mov    0x8(%edx),%eax                 
  11098e:	8b 52 0c             	mov    0xc(%edx),%edx                 
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
  110991:	89 42 08             	mov    %eax,0x8(%edx)                 
  next->prev = prev;                                                  
  110994:	89 50 0c             	mov    %edx,0xc(%eax)                 
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
  110997:	ff 4b 38             	decl   0x38(%ebx)                     
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
  11099a:	89 f8                	mov    %edi,%eax                      
  11099c:	83 c8 01             	or     $0x1,%eax                      
  11099f:	89 41 04             	mov    %eax,0x4(%ecx)                 
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
  1109a2:	89 3c 39             	mov    %edi,(%ecx,%edi,1)             
  1109a5:	eb 2a                	jmp    1109d1 <_Heap_Free+0xe1>       
  1109a7:	90                   	nop                                   
      uintptr_t const size = block_size + prev_size;                  
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
  1109a8:	80 7d eb 00          	cmpb   $0x0,-0x15(%ebp)               
  1109ac:	74 3a                	je     1109e8 <_Heap_Free+0xf8>       
    uintptr_t const size = block_size + next_block_size;              
  1109ae:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  1109b1:	03 7d ec             	add    -0x14(%ebp),%edi               
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
  1109b4:	8b 42 08             	mov    0x8(%edx),%eax                 
  1109b7:	8b 52 0c             	mov    0xc(%edx),%edx                 
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  1109ba:	89 41 08             	mov    %eax,0x8(%ecx)                 
  new_block->prev = prev;                                             
  1109bd:	89 51 0c             	mov    %edx,0xc(%ecx)                 
                                                                      
  next->prev = new_block;                                             
  1109c0:	89 48 0c             	mov    %ecx,0xc(%eax)                 
  prev->next = new_block;                                             
  1109c3:	89 4a 08             	mov    %ecx,0x8(%edx)                 
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
    uintptr_t const size = block_size + next_block_size;              
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
  1109c6:	89 f8                	mov    %edi,%eax                      
  1109c8:	83 c8 01             	or     $0x1,%eax                      
  1109cb:	89 41 04             	mov    %eax,0x4(%ecx)                 
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
  1109ce:	89 3c 39             	mov    %edi,(%ecx,%edi,1)             
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  1109d1:	ff 4b 40             	decl   0x40(%ebx)                     
  ++stats->frees;                                                     
  1109d4:	ff 43 50             	incl   0x50(%ebx)                     
  stats->free_size += block_size;                                     
  1109d7:	8b 55 ec             	mov    -0x14(%ebp),%edx               
  1109da:	01 53 30             	add    %edx,0x30(%ebx)                
                                                                      
  return( true );                                                     
  1109dd:	b0 01                	mov    $0x1,%al                       
}                                                                     
  1109df:	83 c4 10             	add    $0x10,%esp                     
  1109e2:	5b                   	pop    %ebx                           
  1109e3:	5e                   	pop    %esi                           
  1109e4:	5f                   	pop    %edi                           
  1109e5:	c9                   	leave                                 
  1109e6:	c3                   	ret                                   
  1109e7:	90                   	nop                                   
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
  1109e8:	8b 43 08             	mov    0x8(%ebx),%eax                 
                                                                      
  new_block->next = next;                                             
  1109eb:	89 41 08             	mov    %eax,0x8(%ecx)                 
  new_block->prev = block_before;                                     
  1109ee:	89 59 0c             	mov    %ebx,0xc(%ecx)                 
  block_before->next = new_block;                                     
  1109f1:	89 4b 08             	mov    %ecx,0x8(%ebx)                 
  next->prev = new_block;                                             
  1109f4:	89 48 0c             	mov    %ecx,0xc(%eax)                 
    next_block->prev_size = size;                                     
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
  1109f7:	8b 45 ec             	mov    -0x14(%ebp),%eax               
  1109fa:	83 c8 01             	or     $0x1,%eax                      
  1109fd:	89 41 04             	mov    %eax,0x4(%ecx)                 
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
  110a00:	83 62 04 fe          	andl   $0xfffffffe,0x4(%edx)          
    next_block->prev_size = block_size;                               
  110a04:	8b 45 ec             	mov    -0x14(%ebp),%eax               
  110a07:	89 02                	mov    %eax,(%edx)                    
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
  110a09:	8b 43 38             	mov    0x38(%ebx),%eax                
  110a0c:	40                   	inc    %eax                           
  110a0d:	89 43 38             	mov    %eax,0x38(%ebx)                
    if ( stats->max_free_blocks < stats->free_blocks ) {              
  110a10:	3b 43 3c             	cmp    0x3c(%ebx),%eax                
  110a13:	76 bc                	jbe    1109d1 <_Heap_Free+0xe1>       
      stats->max_free_blocks = stats->free_blocks;                    
  110a15:	89 43 3c             	mov    %eax,0x3c(%ebx)                
  110a18:	eb b7                	jmp    1109d1 <_Heap_Free+0xe1>       
  110a1a:	66 90                	xchg   %ax,%ax                        
    return true;                                                      
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
  110a1c:	c6 45 eb 00          	movb   $0x0,-0x15(%ebp)               
  110a20:	e9 38 ff ff ff       	jmp    11095d <_Heap_Free+0x6d>       
  110a25:	8d 76 00             	lea    0x0(%esi),%esi                 
      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;                  
  110a28:	8b 45 ec             	mov    -0x14(%ebp),%eax               
  110a2b:	03 45 f0             	add    -0x10(%ebp),%eax               
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
  110a2e:	89 c6                	mov    %eax,%esi                      
  110a30:	83 ce 01             	or     $0x1,%esi                      
  110a33:	89 71 04             	mov    %esi,0x4(%ecx)                 
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
  110a36:	83 62 04 fe          	andl   $0xfffffffe,0x4(%edx)          
      next_block->prev_size = size;                                   
  110a3a:	89 02                	mov    %eax,(%edx)                    
  110a3c:	eb 93                	jmp    1109d1 <_Heap_Free+0xe1>       
                                                                      

0010c5c0 <_Heap_Get_first_and_last_block>: uintptr_t page_size, uintptr_t min_block_size, Heap_Block **first_block_ptr, Heap_Block **last_block_ptr ) {
  10c5c0:	55                   	push   %ebp                           
  10c5c1:	89 e5                	mov    %esp,%ebp                      
  10c5c3:	57                   	push   %edi                           
  10c5c4:	56                   	push   %esi                           
  10c5c5:	53                   	push   %ebx                           
  10c5c6:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10c5c9:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  uintptr_t const heap_area_end = heap_area_begin + heap_area_size;   
  10c5cc:	8d 34 0f             	lea    (%edi,%ecx,1),%esi             
  uintptr_t const alloc_area_begin =                                  
    _Heap_Align_up( heap_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
  10c5cf:	8d 59 08             	lea    0x8(%ecx),%ebx                 
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_up(                        
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  uintptr_t remainder = value % alignment;                            
  10c5d2:	89 d8                	mov    %ebx,%eax                      
  10c5d4:	31 d2                	xor    %edx,%edx                      
  10c5d6:	f7 75 10             	divl   0x10(%ebp)                     
                                                                      
  if ( remainder != 0 ) {                                             
  10c5d9:	85 d2                	test   %edx,%edx                      
  10c5db:	74 05                	je     10c5e2 <_Heap_Get_first_and_last_block+0x22>
    return value - remainder + alignment;                             
  10c5dd:	03 5d 10             	add    0x10(%ebp),%ebx                
  10c5e0:	29 d3                	sub    %edx,%ebx                      
    _Heap_Align_down( heap_area_size - overhead, page_size );         
  Heap_Block *const first_block = (Heap_Block *) first_block_begin;   
  Heap_Block *const last_block =                                      
    _Heap_Block_at( first_block, first_block_size );                  
                                                                      
  if (                                                                
  10c5e2:	39 f1                	cmp    %esi,%ecx                      
  10c5e4:	77 2e                	ja     10c614 <_Heap_Get_first_and_last_block+0x54>
  uintptr_t const alloc_area_begin =                                  
    _Heap_Align_up( heap_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
  uintptr_t const first_block_begin =                                 
    alloc_area_begin - HEAP_BLOCK_HEADER_SIZE;                        
  uintptr_t const overhead =                                          
    HEAP_BLOCK_HEADER_SIZE + (first_block_begin - heap_area_begin);   
  10c5e6:	8d 73 f8             	lea    -0x8(%ebx),%esi                
  uintptr_t const heap_area_end = heap_area_begin + heap_area_size;   
  uintptr_t const alloc_area_begin =                                  
    _Heap_Align_up( heap_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
  uintptr_t const first_block_begin =                                 
    alloc_area_begin - HEAP_BLOCK_HEADER_SIZE;                        
  uintptr_t const overhead =                                          
  10c5e9:	29 cb                	sub    %ecx,%ebx                      
  Heap_Block *const last_block =                                      
    _Heap_Block_at( first_block, first_block_size );                  
                                                                      
  if (                                                                
    heap_area_end < heap_area_begin                                   
      || heap_area_size <= overhead                                   
  10c5eb:	39 df                	cmp    %ebx,%edi                      
  10c5ed:	76 25                	jbe    10c614 <_Heap_Get_first_and_last_block+0x54>
  uintptr_t const first_block_begin =                                 
    alloc_area_begin - HEAP_BLOCK_HEADER_SIZE;                        
  uintptr_t const overhead =                                          
    HEAP_BLOCK_HEADER_SIZE + (first_block_begin - heap_area_begin);   
  uintptr_t const first_block_size =                                  
    _Heap_Align_down( heap_area_size - overhead, page_size );         
  10c5ef:	29 df                	sub    %ebx,%edi                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  10c5f1:	89 f8                	mov    %edi,%eax                      
  10c5f3:	31 d2                	xor    %edx,%edx                      
  10c5f5:	f7 75 10             	divl   0x10(%ebp)                     
  10c5f8:	29 d7                	sub    %edx,%edi                      
    _Heap_Block_at( first_block, first_block_size );                  
                                                                      
  if (                                                                
    heap_area_end < heap_area_begin                                   
      || heap_area_size <= overhead                                   
      || first_block_size < min_block_size                            
  10c5fa:	39 7d 14             	cmp    %edi,0x14(%ebp)                
  10c5fd:	77 15                	ja     10c614 <_Heap_Get_first_and_last_block+0x54>
  ) {                                                                 
    /* Invalid area or area too small */                              
    return false;                                                     
  }                                                                   
                                                                      
  *first_block_ptr = first_block;                                     
  10c5ff:	8b 45 18             	mov    0x18(%ebp),%eax                
  10c602:	89 30                	mov    %esi,(%eax)                    
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  10c604:	01 f7                	add    %esi,%edi                      
  10c606:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  10c609:	89 38                	mov    %edi,(%eax)                    
  *last_block_ptr = last_block;                                       
                                                                      
  return true;                                                        
  10c60b:	b0 01                	mov    $0x1,%al                       
}                                                                     
  10c60d:	5b                   	pop    %ebx                           
  10c60e:	5e                   	pop    %esi                           
  10c60f:	5f                   	pop    %edi                           
  10c610:	c9                   	leave                                 
  10c611:	c3                   	ret                                   
  10c612:	66 90                	xchg   %ax,%ax                        
    heap_area_end < heap_area_begin                                   
      || heap_area_size <= overhead                                   
      || first_block_size < min_block_size                            
  ) {                                                                 
    /* Invalid area or area too small */                              
    return false;                                                     
  10c614:	31 c0                	xor    %eax,%eax                      
                                                                      
  *first_block_ptr = first_block;                                     
  *last_block_ptr = last_block;                                       
                                                                      
  return true;                                                        
}                                                                     
  10c616:	5b                   	pop    %ebx                           
  10c617:	5e                   	pop    %esi                           
  10c618:	5f                   	pop    %edi                           
  10c619:	c9                   	leave                                 
  10c61a:	c3                   	ret                                   
                                                                      

00114604 <_Heap_Get_free_information>: void _Heap_Get_free_information( Heap_Control *the_heap, Heap_Information *info ) {
  114604:	55                   	push   %ebp                           
  114605:	89 e5                	mov    %esp,%ebp                      
  114607:	57                   	push   %edi                           
  114608:	56                   	push   %esi                           
  114609:	53                   	push   %ebx                           
  11460a:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  Heap_Block *the_block;                                              
  Heap_Block *const tail = _Heap_Free_list_tail(the_heap);            
                                                                      
  info->number = 0;                                                   
  11460d:	c7 07 00 00 00 00    	movl   $0x0,(%edi)                    
  info->largest = 0;                                                  
  114613:	c7 47 04 00 00 00 00 	movl   $0x0,0x4(%edi)                 
  info->total = 0;                                                    
  11461a:	c7 47 08 00 00 00 00 	movl   $0x0,0x8(%edi)                 
    info->number++;                                                   
    info->total += the_size;                                          
    if ( info->largest < the_size )                                   
        info->largest = the_size;                                     
  }                                                                   
}                                                                     
  114621:	8b 45 08             	mov    0x8(%ebp),%eax                 
  114624:	8b 50 08             	mov    0x8(%eax),%edx                 
                                                                      
  info->number = 0;                                                   
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
  114627:	39 d0                	cmp    %edx,%eax                      
  114629:	74 31                	je     11465c <_Heap_Get_free_information+0x58>
  11462b:	b9 01 00 00 00       	mov    $0x1,%ecx                      
  114630:	31 f6                	xor    %esi,%esi                      
  114632:	31 db                	xor    %ebx,%ebx                      
  114634:	eb 07                	jmp    11463d <_Heap_Get_free_information+0x39>
  114636:	66 90                	xchg   %ax,%ax                        
  114638:	8b 77 04             	mov    0x4(%edi),%esi                 
  11463b:	89 c1                	mov    %eax,%ecx                      
    - 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;                
  11463d:	8b 42 04             	mov    0x4(%edx),%eax                 
  114640:	83 e0 fe             	and    $0xfffffffe,%eax               
                                                                      
    /* As we always coalesce free blocks, prev block must have been used. */
    _HAssert(_Heap_Is_prev_used(the_block));                          
                                                                      
    info->number++;                                                   
    info->total += the_size;                                          
  114643:	01 c3                	add    %eax,%ebx                      
    if ( info->largest < the_size )                                   
  114645:	39 f0                	cmp    %esi,%eax                      
  114647:	76 03                	jbe    11464c <_Heap_Get_free_information+0x48>
        info->largest = the_size;                                     
  114649:	89 47 04             	mov    %eax,0x4(%edi)                 
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
      the_block != tail;                                              
      the_block = the_block->next)                                    
  11464c:	8b 52 08             	mov    0x8(%edx),%edx                 
  11464f:	8d 41 01             	lea    0x1(%ecx),%eax                 
                                                                      
  info->number = 0;                                                   
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
  114652:	39 55 08             	cmp    %edx,0x8(%ebp)                 
  114655:	75 e1                	jne    114638 <_Heap_Get_free_information+0x34>
  114657:	89 0f                	mov    %ecx,(%edi)                    
  114659:	89 5f 08             	mov    %ebx,0x8(%edi)                 
    info->number++;                                                   
    info->total += the_size;                                          
    if ( info->largest < the_size )                                   
        info->largest = the_size;                                     
  }                                                                   
}                                                                     
  11465c:	5b                   	pop    %ebx                           
  11465d:	5e                   	pop    %esi                           
  11465e:	5f                   	pop    %edi                           
  11465f:	c9                   	leave                                 
  114660:	c3                   	ret                                   
                                                                      

00111468 <_Heap_Get_information>: void _Heap_Get_information( Heap_Control *the_heap, Heap_Information_block *the_info ) {
  111468:	55                   	push   %ebp                           
  111469:	89 e5                	mov    %esp,%ebp                      
  11146b:	57                   	push   %edi                           
  11146c:	56                   	push   %esi                           
  11146d:	53                   	push   %ebx                           
  11146e:	83 ec 04             	sub    $0x4,%esp                      
  111471:	8b 45 08             	mov    0x8(%ebp),%eax                 
  111474:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Heap_Block *the_block = the_heap->first_block;                      
  111477:	8b 50 20             	mov    0x20(%eax),%edx                
  Heap_Block *const end = the_heap->last_block;                       
  11147a:	8b 40 24             	mov    0x24(%eax),%eax                
  11147d:	89 45 f0             	mov    %eax,-0x10(%ebp)               
                                                                      
  memset(the_info, 0, sizeof(*the_info));                             
  111480:	b9 18 00 00 00       	mov    $0x18,%ecx                     
  111485:	31 c0                	xor    %eax,%eax                      
  111487:	89 df                	mov    %ebx,%edi                      
  111489:	f3 aa                	rep stos %al,%es:(%edi)               
                                                                      
  while ( the_block != end ) {                                        
  11148b:	3b 55 f0             	cmp    -0x10(%ebp),%edx               
  11148e:	74 38                	je     1114c8 <_Heap_Get_information+0x60><== NEVER TAKEN
  111490:	8b 7a 04             	mov    0x4(%edx),%edi                 
  111493:	eb 18                	jmp    1114ad <_Heap_Get_information+0x45>
  111495:	8d 76 00             	lea    0x0(%esi),%esi                 
    uintptr_t const     the_size = _Heap_Block_size(the_block);       
    Heap_Block *const  next_block = _Heap_Block_at(the_block, the_size);
    Heap_Information  *info;                                          
                                                                      
    if ( _Heap_Is_prev_used(next_block) )                             
      info = &the_info->Used;                                         
  111498:	8d 43 0c             	lea    0xc(%ebx),%eax                 
    else                                                              
      info = &the_info->Free;                                         
                                                                      
    info->number++;                                                   
  11149b:	ff 00                	incl   (%eax)                         
    info->total += the_size;                                          
  11149d:	01 48 08             	add    %ecx,0x8(%eax)                 
    if ( info->largest < the_size )                                   
  1114a0:	39 48 04             	cmp    %ecx,0x4(%eax)                 
  1114a3:	73 03                	jae    1114a8 <_Heap_Get_information+0x40>
      info->largest = the_size;                                       
  1114a5:	89 48 04             	mov    %ecx,0x4(%eax)                 
  Heap_Block *the_block = the_heap->first_block;                      
  Heap_Block *const end = the_heap->last_block;                       
                                                                      
  memset(the_info, 0, sizeof(*the_info));                             
                                                                      
  while ( the_block != end ) {                                        
  1114a8:	39 75 f0             	cmp    %esi,-0x10(%ebp)               
  1114ab:	74 1b                	je     1114c8 <_Heap_Get_information+0x60>
    - 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;                
  1114ad:	89 f9                	mov    %edi,%ecx                      
  1114af:	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);                 
  1114b2:	8d 34 0a             	lea    (%edx,%ecx,1),%esi             
  1114b5:	89 f2                	mov    %esi,%edx                      
    if ( info->largest < the_size )                                   
      info->largest = the_size;                                       
                                                                      
    the_block = next_block;                                           
  }                                                                   
}                                                                     
  1114b7:	8b 7e 04             	mov    0x4(%esi),%edi                 
  while ( the_block != end ) {                                        
    uintptr_t const     the_size = _Heap_Block_size(the_block);       
    Heap_Block *const  next_block = _Heap_Block_at(the_block, the_size);
    Heap_Information  *info;                                          
                                                                      
    if ( _Heap_Is_prev_used(next_block) )                             
  1114ba:	f7 c7 01 00 00 00    	test   $0x1,%edi                      
  1114c0:	75 d6                	jne    111498 <_Heap_Get_information+0x30>
      info = &the_info->Used;                                         
    else                                                              
      info = &the_info->Free;                                         
  1114c2:	89 d8                	mov    %ebx,%eax                      
  1114c4:	eb d5                	jmp    11149b <_Heap_Get_information+0x33>
  1114c6:	66 90                	xchg   %ax,%ax                        
    if ( info->largest < the_size )                                   
      info->largest = the_size;                                       
                                                                      
    the_block = next_block;                                           
  }                                                                   
}                                                                     
  1114c8:	58                   	pop    %eax                           
  1114c9:	5b                   	pop    %ebx                           
  1114ca:	5e                   	pop    %esi                           
  1114cb:	5f                   	pop    %edi                           
  1114cc:	c9                   	leave                                 
  1114cd:	c3                   	ret                                   
                                                                      

0011dd3c <_Heap_Resize_block>: void *alloc_begin_ptr, uintptr_t new_alloc_size, uintptr_t *old_size, uintptr_t *new_size ) {
  11dd3c:	55                   	push   %ebp                           
  11dd3d:	89 e5                	mov    %esp,%ebp                      
  11dd3f:	57                   	push   %edi                           
  11dd40:	56                   	push   %esi                           
  11dd41:	53                   	push   %ebx                           
  11dd42:	83 ec 2c             	sub    $0x2c,%esp                     
  11dd45:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11dd48:	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);                                 
  11dd4b:	8d 4e f8             	lea    -0x8(%esi),%ecx                
  11dd4e:	89 f0                	mov    %esi,%eax                      
  11dd50:	31 d2                	xor    %edx,%edx                      
  11dd52:	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);                                        
  11dd55:	29 d1                	sub    %edx,%ecx                      
                                                                      
  uintptr_t const alloc_begin = (uintptr_t) alloc_begin_ptr;          
                                                                      
  Heap_Block *const block = _Heap_Block_of_alloc_area( alloc_begin, page_size );
                                                                      
  *old_size = 0;                                                      
  11dd57:	8b 45 14             	mov    0x14(%ebp),%eax                
  11dd5a:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *new_size = 0;                                                      
  11dd60:	8b 55 18             	mov    0x18(%ebp),%edx                
  11dd63:	c7 02 00 00 00 00    	movl   $0x0,(%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;             
  11dd69:	39 4b 20             	cmp    %ecx,0x20(%ebx)                
  11dd6c:	77 05                	ja     11dd73 <_Heap_Resize_block+0x37>
  11dd6e:	39 4b 24             	cmp    %ecx,0x24(%ebx)                
  11dd71:	73 0d                	jae    11dd80 <_Heap_Resize_block+0x44>
      new_alloc_size,                                                 
      old_size,                                                       
      new_size                                                        
    );                                                                
  } else {                                                            
    return HEAP_RESIZE_FATAL_ERROR;                                   
  11dd73:	b8 02 00 00 00       	mov    $0x2,%eax                      
  }                                                                   
}                                                                     
  11dd78:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11dd7b:	5b                   	pop    %ebx                           
  11dd7c:	5e                   	pop    %esi                           
  11dd7d:	5f                   	pop    %edi                           
  11dd7e:	c9                   	leave                                 
  11dd7f:	c3                   	ret                                   
    - 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;                
  11dd80:	8b 41 04             	mov    0x4(%ecx),%eax                 
  11dd83:	83 e0 fe             	and    $0xfffffffe,%eax               
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
                                                                      
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t block_size = _Heap_Block_size( block );                   
  uintptr_t block_end = block_begin + block_size;                     
  11dd86:	8d 3c 01             	lea    (%ecx,%eax,1),%edi             
  11dd89:	89 7d d4             	mov    %edi,-0x2c(%ebp)               
                                                                      
  uintptr_t alloc_size = block_end - alloc_begin + HEAP_ALLOC_BONUS;  
  11dd8c:	89 fa                	mov    %edi,%edx                      
  11dd8e:	29 f2                	sub    %esi,%edx                      
  11dd90:	83 c2 04             	add    $0x4,%edx                      
  11dd93:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  11dd96:	8b 57 04             	mov    0x4(%edi),%edx                 
  11dd99:	83 e2 fe             	and    $0xfffffffe,%edx               
  11dd9c:	89 55 d0             	mov    %edx,-0x30(%ebp)               
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_free(                              
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return !_Heap_Is_used( block );                                     
  11dd9f:	f6 44 17 04 01       	testb  $0x1,0x4(%edi,%edx,1)          
  11dda4:	0f 94 45 df          	sete   -0x21(%ebp)                    
  bool next_block_is_free = _Heap_Is_free( next_block );;             
                                                                      
  _HAssert( _Heap_Is_block_in_heap( heap, next_block ) );             
  _HAssert( _Heap_Is_prev_used( next_block ) );                       
                                                                      
  *old_size = alloc_size;                                             
  11dda8:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  11ddab:	8b 7d 14             	mov    0x14(%ebp),%edi                
  11ddae:	89 17                	mov    %edx,(%edi)                    
                                                                      
  if ( next_block_is_free ) {                                         
  11ddb0:	80 7d df 00          	cmpb   $0x0,-0x21(%ebp)               
  11ddb4:	75 6e                	jne    11de24 <_Heap_Resize_block+0xe8>
    block_size += next_block_size;                                    
    alloc_size += next_block_size;                                    
  }                                                                   
                                                                      
  if ( new_alloc_size > alloc_size ) {                                
  11ddb6:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  11ddb9:	39 55 10             	cmp    %edx,0x10(%ebp)                
  11ddbc:	77 79                	ja     11de37 <_Heap_Resize_block+0xfb>
    return HEAP_RESIZE_UNSATISFIED;                                   
  }                                                                   
                                                                      
  if ( next_block_is_free ) {                                         
  11ddbe:	80 7d df 00          	cmpb   $0x0,-0x21(%ebp)               
  11ddc2:	74 31                	je     11ddf5 <_Heap_Resize_block+0xb9>
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;       
  11ddc4:	8b 79 04             	mov    0x4(%ecx),%edi                 
  11ddc7:	83 e7 01             	and    $0x1,%edi                      
                                                                      
  block->size_and_flag = size | flag;                                 
  11ddca:	09 c7                	or     %eax,%edi                      
  11ddcc:	89 79 04             	mov    %edi,0x4(%ecx)                 
      new_size                                                        
    );                                                                
  } else {                                                            
    return HEAP_RESIZE_FATAL_ERROR;                                   
  }                                                                   
}                                                                     
  11ddcf:	8b 7d d4             	mov    -0x2c(%ebp),%edi               
  11ddd2:	8b 7f 08             	mov    0x8(%edi),%edi                 
  11ddd5:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
  11ddd8:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  11dddb:	8b 7a 0c             	mov    0xc(%edx),%edi                 
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
  11ddde:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  11dde1:	89 57 08             	mov    %edx,0x8(%edi)                 
  next->prev = prev;                                                  
  11dde4:	89 7a 0c             	mov    %edi,0xc(%edx)                 
    _Heap_Block_set_size( block, block_size );                        
                                                                      
    _Heap_Free_list_remove( next_block );                             
                                                                      
    next_block = _Heap_Block_at( block, block_size );                 
    next_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                
  11dde7:	83 4c 01 04 01       	orl    $0x1,0x4(%ecx,%eax,1)          
                                                                      
    /* Statistics */                                                  
    --stats->free_blocks;                                             
  11ddec:	ff 4b 38             	decl   0x38(%ebx)                     
    stats->free_size -= next_block_size;                              
  11ddef:	8b 7d d0             	mov    -0x30(%ebp),%edi               
  11ddf2:	29 7b 30             	sub    %edi,0x30(%ebx)                
  }                                                                   
                                                                      
  block = _Heap_Block_allocate( heap, block, alloc_begin, new_alloc_size );
  11ddf5:	ff 75 10             	pushl  0x10(%ebp)                     
  11ddf8:	56                   	push   %esi                           
  11ddf9:	51                   	push   %ecx                           
  11ddfa:	53                   	push   %ebx                           
  11ddfb:	e8 30 e9 fe ff       	call   10c730 <_Heap_Block_allocate>  
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
  11de00:	8b 50 04             	mov    0x4(%eax),%edx                 
  11de03:	83 e2 fe             	and    $0xfffffffe,%edx               
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
  *new_size = (uintptr_t) next_block - alloc_begin + HEAP_ALLOC_BONUS;
  11de06:	29 f0                	sub    %esi,%eax                      
  11de08:	8d 44 10 04          	lea    0x4(%eax,%edx,1),%eax          
  11de0c:	8b 55 18             	mov    0x18(%ebp),%edx                
  11de0f:	89 02                	mov    %eax,(%edx)                    
                                                                      
  /* Statistics */                                                    
  ++stats->resizes;                                                   
  11de11:	ff 43 54             	incl   0x54(%ebx)                     
  11de14:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  return HEAP_RESIZE_SUCCESSFUL;                                      
  11de17:	31 c0                	xor    %eax,%eax                      
      new_size                                                        
    );                                                                
  } else {                                                            
    return HEAP_RESIZE_FATAL_ERROR;                                   
  }                                                                   
}                                                                     
  11de19:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11de1c:	5b                   	pop    %ebx                           
  11de1d:	5e                   	pop    %esi                           
  11de1e:	5f                   	pop    %edi                           
  11de1f:	c9                   	leave                                 
  11de20:	c3                   	ret                                   
  11de21:	8d 76 00             	lea    0x0(%esi),%esi                 
  _HAssert( _Heap_Is_prev_used( next_block ) );                       
                                                                      
  *old_size = alloc_size;                                             
                                                                      
  if ( next_block_is_free ) {                                         
    block_size += next_block_size;                                    
  11de24:	03 45 d0             	add    -0x30(%ebp),%eax               
    alloc_size += next_block_size;                                    
  11de27:	8b 7d d0             	mov    -0x30(%ebp),%edi               
  11de2a:	01 fa                	add    %edi,%edx                      
  11de2c:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  }                                                                   
                                                                      
  if ( new_alloc_size > alloc_size ) {                                
  11de2f:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  11de32:	39 55 10             	cmp    %edx,0x10(%ebp)                
  11de35:	76 87                	jbe    11ddbe <_Heap_Resize_block+0x82>
    return HEAP_RESIZE_UNSATISFIED;                                   
  11de37:	b8 01 00 00 00       	mov    $0x1,%eax                      
      new_size                                                        
    );                                                                
  } else {                                                            
    return HEAP_RESIZE_FATAL_ERROR;                                   
  }                                                                   
}                                                                     
  11de3c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11de3f:	5b                   	pop    %ebx                           
  11de40:	5e                   	pop    %esi                           
  11de41:	5f                   	pop    %edi                           
  11de42:	c9                   	leave                                 
  11de43:	c3                   	ret                                   
                                                                      

0011de44 <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
  11de44:	55                   	push   %ebp                           
  11de45:	89 e5                	mov    %esp,%ebp                      
  11de47:	56                   	push   %esi                           
  11de48:	53                   	push   %ebx                           
  11de49:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11de4c:	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);                                 
  11de4f:	8d 4e f8             	lea    -0x8(%esi),%ecx                
  11de52:	89 f0                	mov    %esi,%eax                      
  11de54:	31 d2                	xor    %edx,%edx                      
  11de56:	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);                                        
  11de59:	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           
  11de5b:	8b 43 20             	mov    0x20(%ebx),%eax                
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  11de5e:	39 c1                	cmp    %eax,%ecx                      
  11de60:	72 07                	jb     11de69 <_Heap_Size_of_alloc_area+0x25>
  11de62:	8b 53 24             	mov    0x24(%ebx),%edx                
  11de65:	39 d1                	cmp    %edx,%ecx                      
  11de67:	76 07                	jbe    11de70 <_Heap_Size_of_alloc_area+0x2c><== ALWAYS TAKEN
                                                                      
  if (                                                                
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
  11de69:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
                                                                      
  return true;                                                        
}                                                                     
  11de6b:	5b                   	pop    %ebx                           
  11de6c:	5e                   	pop    %esi                           
  11de6d:	c9                   	leave                                 
  11de6e:	c3                   	ret                                   
  11de6f:	90                   	nop                                   
    - 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;                
  11de70:	8b 59 04             	mov    0x4(%ecx),%ebx                 
  11de73:	83 e3 fe             	and    $0xfffffffe,%ebx               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  11de76:	01 d9                	add    %ebx,%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;             
  11de78:	39 c8                	cmp    %ecx,%eax                      
  11de7a:	77 ed                	ja     11de69 <_Heap_Size_of_alloc_area+0x25><== NEVER TAKEN
  11de7c:	39 ca                	cmp    %ecx,%edx                      
  11de7e:	72 e9                	jb     11de69 <_Heap_Size_of_alloc_area+0x25><== NEVER TAKEN
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  11de80:	f6 41 04 01          	testb  $0x1,0x4(%ecx)                 
  11de84:	74 e3                	je     11de69 <_Heap_Size_of_alloc_area+0x25><== NEVER TAKEN
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
  11de86:	29 f1                	sub    %esi,%ecx                      
  11de88:	8d 51 04             	lea    0x4(%ecx),%edx                 
  11de8b:	8b 45 10             	mov    0x10(%ebp),%eax                
  11de8e:	89 10                	mov    %edx,(%eax)                    
                                                                      
  return true;                                                        
  11de90:	b0 01                	mov    $0x1,%al                       
}                                                                     
  11de92:	5b                   	pop    %ebx                           
  11de93:	5e                   	pop    %esi                           
  11de94:	c9                   	leave                                 
  11de95:	c3                   	ret                                   
                                                                      

0010d264 <_Heap_Walk>: bool _Heap_Walk( Heap_Control *heap, int source, bool dump ) {
  10d264:	55                   	push   %ebp                           
  10d265:	89 e5                	mov    %esp,%ebp                      
  10d267:	57                   	push   %edi                           
  10d268:	56                   	push   %esi                           
  10d269:	53                   	push   %ebx                           
  10d26a:	83 ec 4c             	sub    $0x4c,%esp                     
  10d26d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  uintptr_t const page_size = heap->page_size;                        
  10d270:	8b 43 10             	mov    0x10(%ebx),%eax                
  10d273:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  uintptr_t const min_block_size = heap->min_block_size;              
  10d276:	8b 53 14             	mov    0x14(%ebx),%edx                
  10d279:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  Heap_Block *const first_block = heap->first_block;                  
  10d27c:	8b 43 20             	mov    0x20(%ebx),%eax                
  10d27f:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  Heap_Block *const last_block = heap->last_block;                    
  10d282:	8b 53 24             	mov    0x24(%ebx),%edx                
  10d285:	89 55 cc             	mov    %edx,-0x34(%ebp)               
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
  10d288:	80 7d 10 00          	cmpb   $0x0,0x10(%ebp)                
  10d28c:	74 1a                	je     10d2a8 <_Heap_Walk+0x44>       
  10d28e:	c7 45 d8 1c d2 10 00 	movl   $0x10d21c,-0x28(%ebp)          
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
  10d295:	83 3d e0 89 12 00 03 	cmpl   $0x3,0x1289e0                  
  10d29c:	74 1a                	je     10d2b8 <_Heap_Walk+0x54>       <== ALWAYS TAKEN
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
  10d29e:	b0 01                	mov    $0x1,%al                       
}                                                                     
  10d2a0:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d2a3:	5b                   	pop    %ebx                           
  10d2a4:	5e                   	pop    %esi                           
  10d2a5:	5f                   	pop    %edi                           
  10d2a6:	c9                   	leave                                 
  10d2a7:	c3                   	ret                                   
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
  10d2a8:	c7 45 d8 14 d2 10 00 	movl   $0x10d214,-0x28(%ebp)          
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
  10d2af:	83 3d e0 89 12 00 03 	cmpl   $0x3,0x1289e0                  
  10d2b6:	75 e6                	jne    10d29e <_Heap_Walk+0x3a>       
  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)(                                                         
  10d2b8:	52                   	push   %edx                           
  10d2b9:	ff 73 0c             	pushl  0xc(%ebx)                      
  10d2bc:	ff 73 08             	pushl  0x8(%ebx)                      
  10d2bf:	ff 75 cc             	pushl  -0x34(%ebp)                    
  10d2c2:	ff 75 dc             	pushl  -0x24(%ebp)                    
  10d2c5:	ff 73 1c             	pushl  0x1c(%ebx)                     
  10d2c8:	ff 73 18             	pushl  0x18(%ebx)                     
  10d2cb:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10d2ce:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10d2d1:	68 b4 0d 12 00       	push   $0x120db4                      
  10d2d6:	6a 00                	push   $0x0                           
  10d2d8:	ff 75 0c             	pushl  0xc(%ebp)                      
  10d2db:	ff 55 d8             	call   *-0x28(%ebp)                   
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
  10d2de:	83 c4 30             	add    $0x30,%esp                     
  10d2e1:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10d2e4:	85 c0                	test   %eax,%eax                      
  10d2e6:	74 70                	je     10d358 <_Heap_Walk+0xf4>       
    (*printer)( source, true, "page size is zero\n" );                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
  10d2e8:	f6 45 e0 03          	testb  $0x3,-0x20(%ebp)               
  10d2ec:	75 72                	jne    10d360 <_Heap_Walk+0xfc>       
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10d2ee:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10d2f1:	31 d2                	xor    %edx,%edx                      
  10d2f3:	f7 75 e0             	divl   -0x20(%ebp)                    
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
  10d2f6:	85 d2                	test   %edx,%edx                      
  10d2f8:	75 72                	jne    10d36c <_Heap_Walk+0x108>      
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
  10d2fa:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10d2fd:	83 c0 08             	add    $0x8,%eax                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10d300:	31 d2                	xor    %edx,%edx                      
  10d302:	f7 75 e0             	divl   -0x20(%ebp)                    
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
  10d305:	85 d2                	test   %edx,%edx                      
  10d307:	75 6f                	jne    10d378 <_Heap_Walk+0x114>      
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10d309:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10d30c:	8b 40 04             	mov    0x4(%eax),%eax                 
  10d30f:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
  10d312:	a8 01                	test   $0x1,%al                       
  10d314:	0f 84 ce 02 00 00    	je     10d5e8 <_Heap_Walk+0x384>      
    - 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;                
  10d31a:	8b 55 cc             	mov    -0x34(%ebp),%edx               
  10d31d:	8b 42 04             	mov    0x4(%edx),%eax                 
  10d320:	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);                 
  10d323:	01 d0                	add    %edx,%eax                      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
  10d325:	f6 40 04 01          	testb  $0x1,0x4(%eax)                 
  10d329:	74 25                	je     10d350 <_Heap_Walk+0xec>       
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
  10d32b:	39 45 dc             	cmp    %eax,-0x24(%ebp)               
  10d32e:	74 54                	je     10d384 <_Heap_Walk+0x120>      <== ALWAYS TAKEN
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
  10d330:	51                   	push   %ecx                           <== NOT EXECUTED
  10d331:	68 d0 0e 12 00       	push   $0x120ed0                      <== NOT EXECUTED
  10d336:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
  10d338:	6a 01                	push   $0x1                           
  10d33a:	ff 75 0c             	pushl  0xc(%ebp)                      
  10d33d:	ff 55 d8             	call   *-0x28(%ebp)                   
  10d340:	83 c4 10             	add    $0x10,%esp                     
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
  10d343:	31 c0                	xor    %eax,%eax                      
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10d345:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d348:	5b                   	pop    %ebx                           
  10d349:	5e                   	pop    %esi                           
  10d34a:	5f                   	pop    %edi                           
  10d34b:	c9                   	leave                                 
  10d34c:	c3                   	ret                                   
  10d34d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
    (*printer)(                                                       
  10d350:	53                   	push   %ebx                           
  10d351:	68 6a 0d 12 00       	push   $0x120d6a                      
  10d356:	eb e0                	jmp    10d338 <_Heap_Walk+0xd4>       
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
    (*printer)( source, true, "page size is zero\n" );                
  10d358:	57                   	push   %edi                           
  10d359:	68 39 0d 12 00       	push   $0x120d39                      
  10d35e:	eb d8                	jmp    10d338 <_Heap_Walk+0xd4>       
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
    (*printer)(                                                       
  10d360:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10d363:	68 4c 0d 12 00       	push   $0x120d4c                      
  10d368:	eb ce                	jmp    10d338 <_Heap_Walk+0xd4>       
  10d36a:	66 90                	xchg   %ax,%ax                        
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
    (*printer)(                                                       
  10d36c:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10d36f:	68 48 0e 12 00       	push   $0x120e48                      
  10d374:	eb c2                	jmp    10d338 <_Heap_Walk+0xd4>       
  10d376:	66 90                	xchg   %ax,%ax                        
  }                                                                   
                                                                      
  if (                                                                
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
  10d378:	ff 75 dc             	pushl  -0x24(%ebp)                    
  10d37b:	68 6c 0e 12 00       	push   $0x120e6c                      
  10d380:	eb b6                	jmp    10d338 <_Heap_Walk+0xd4>       
  10d382:	66 90                	xchg   %ax,%ax                        
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  10d384:	8b 43 10             	mov    0x10(%ebx),%eax                
  10d387:	89 45 c8             	mov    %eax,-0x38(%ebp)               
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10d38a:	8b 73 08             	mov    0x8(%ebx),%esi                 
  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 ) {                            
  10d38d:	39 f3                	cmp    %esi,%ebx                      
  10d38f:	74 65                	je     10d3f6 <_Heap_Walk+0x192>      
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10d391:	8b 43 20             	mov    0x20(%ebx),%eax                
  10d394:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  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;             
  10d397:	39 f0                	cmp    %esi,%eax                      
  10d399:	0f 87 55 02 00 00    	ja     10d5f4 <_Heap_Walk+0x390>      <== NEVER TAKEN
  10d39f:	8b 7b 24             	mov    0x24(%ebx),%edi                
  10d3a2:	39 f7                	cmp    %esi,%edi                      
  10d3a4:	0f 82 4a 02 00 00    	jb     10d5f4 <_Heap_Walk+0x390>      <== NEVER TAKEN
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
  10d3aa:	8d 46 08             	lea    0x8(%esi),%eax                 
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10d3ad:	31 d2                	xor    %edx,%edx                      
  10d3af:	f7 75 c8             	divl   -0x38(%ebp)                    
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
  10d3b2:	85 d2                	test   %edx,%edx                      
  10d3b4:	0f 85 71 02 00 00    	jne    10d62b <_Heap_Walk+0x3c7>      <== 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;                
  10d3ba:	8b 46 04             	mov    0x4(%esi),%eax                 
  10d3bd:	83 e0 fe             	and    $0xfffffffe,%eax               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
  10d3c0:	f6 44 06 04 01       	testb  $0x1,0x4(%esi,%eax,1)          
  10d3c5:	0f 85 6d 02 00 00    	jne    10d638 <_Heap_Walk+0x3d4>      <== NEVER TAKEN
  10d3cb:	89 da                	mov    %ebx,%edx                      
  10d3cd:	8d 76 00             	lea    0x0(%esi),%esi                 
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
  10d3d0:	8b 46 0c             	mov    0xc(%esi),%eax                 
  10d3d3:	39 d0                	cmp    %edx,%eax                      
  10d3d5:	0f 85 6a 02 00 00    	jne    10d645 <_Heap_Walk+0x3e1>      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
  10d3db:	8b 4e 08             	mov    0x8(%esi),%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 ) {                            
  10d3de:	39 cb                	cmp    %ecx,%ebx                      
  10d3e0:	74 1a                	je     10d3fc <_Heap_Walk+0x198>      
  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;             
  10d3e2:	39 4d d4             	cmp    %ecx,-0x2c(%ebp)               
  10d3e5:	0f 86 7d 01 00 00    	jbe    10d568 <_Heap_Walk+0x304>      
    if ( !_Heap_Is_block_in_heap( heap, free_block ) ) {              
      (*printer)(                                                     
  10d3eb:	51                   	push   %ecx                           
  10d3ec:	68 00 0f 12 00       	push   $0x120f00                      
  10d3f1:	e9 42 ff ff ff       	jmp    10d338 <_Heap_Walk+0xd4>       
  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 ) {                            
  10d3f6:	8b 53 20             	mov    0x20(%ebx),%edx                
  10d3f9:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
  10d3fc:	8b 7d dc             	mov    -0x24(%ebp),%edi               
  10d3ff:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10d402:	66 90                	xchg   %ax,%ax                        
    - 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;                
  10d404:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10d407:	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);                 
  10d40a:	8d 34 39             	lea    (%ecx,%edi,1),%esi             
  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;             
  10d40d:	39 f0                	cmp    %esi,%eax                      
  10d40f:	76 23                	jbe    10d434 <_Heap_Walk+0x1d0>      <== ALWAYS TAKEN
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
    bool const is_not_last_block = block != last_block;               
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
      (*printer)(                                                     
  10d411:	83 ec 0c             	sub    $0xc,%esp                      
  10d414:	56                   	push   %esi                           
  10d415:	57                   	push   %edi                           
  10d416:	68 84 0f 12 00       	push   $0x120f84                      
  10d41b:	90                   	nop                                   
  10d41c:	6a 01                	push   $0x1                           
  10d41e:	ff 75 0c             	pushl  0xc(%ebp)                      
  10d421:	ff 55 d8             	call   *-0x28(%ebp)                   
        "block 0x%08x: next block 0x%08x not in heap\n",              
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
  10d424:	83 c4 20             	add    $0x20,%esp                     
  10d427:	31 c0                	xor    %eax,%eax                      
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10d429:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d42c:	5b                   	pop    %ebx                           
  10d42d:	5e                   	pop    %esi                           
  10d42e:	5f                   	pop    %edi                           
  10d42f:	c9                   	leave                                 
  10d430:	c3                   	ret                                   
  10d431:	8d 76 00             	lea    0x0(%esi),%esi                 
  10d434:	39 73 24             	cmp    %esi,0x24(%ebx)                
  10d437:	72 d8                	jb     10d411 <_Heap_Walk+0x1ad>      
    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;               
  10d439:	3b 7d cc             	cmp    -0x34(%ebp),%edi               
  10d43c:	0f 95 45 d4          	setne  -0x2c(%ebp)                    
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10d440:	89 c8                	mov    %ecx,%eax                      
  10d442:	31 d2                	xor    %edx,%edx                      
  10d444:	f7 75 e0             	divl   -0x20(%ebp)                    
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
  10d447:	85 d2                	test   %edx,%edx                      
  10d449:	74 0a                	je     10d455 <_Heap_Walk+0x1f1>      
  10d44b:	80 7d d4 00          	cmpb   $0x0,-0x2c(%ebp)               
  10d44f:	0f 85 a6 01 00 00    	jne    10d5fb <_Heap_Walk+0x397>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
  10d455:	39 4d d0             	cmp    %ecx,-0x30(%ebp)               
  10d458:	76 0a                	jbe    10d464 <_Heap_Walk+0x200>      
  10d45a:	80 7d d4 00          	cmpb   $0x0,-0x2c(%ebp)               
  10d45e:	0f 85 a6 01 00 00    	jne    10d60a <_Heap_Walk+0x3a6>      <== ALWAYS TAKEN
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
  10d464:	39 f7                	cmp    %esi,%edi                      
  10d466:	72 0a                	jb     10d472 <_Heap_Walk+0x20e>      
  10d468:	80 7d d4 00          	cmpb   $0x0,-0x2c(%ebp)               
  10d46c:	0f 85 aa 01 00 00    	jne    10d61c <_Heap_Walk+0x3b8>      
  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;                 
  10d472:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10d475:	83 e2 01             	and    $0x1,%edx                      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
  10d478:	f6 46 04 01          	testb  $0x1,0x4(%esi)                 
  10d47c:	74 4e                	je     10d4cc <_Heap_Walk+0x268>      
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
  10d47e:	85 d2                	test   %edx,%edx                      
  10d480:	74 2e                	je     10d4b0 <_Heap_Walk+0x24c>      
      (*printer)(                                                     
  10d482:	83 ec 0c             	sub    $0xc,%esp                      
  10d485:	51                   	push   %ecx                           
  10d486:	57                   	push   %edi                           
  10d487:	68 9b 0d 12 00       	push   $0x120d9b                      
  10d48c:	6a 00                	push   $0x0                           
  10d48e:	ff 75 0c             	pushl  0xc(%ebp)                      
  10d491:	ff 55 d8             	call   *-0x28(%ebp)                   
  10d494:	83 c4 20             	add    $0x20,%esp                     
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
  10d497:	39 75 dc             	cmp    %esi,-0x24(%ebp)               
  10d49a:	0f 84 fe fd ff ff    	je     10d29e <_Heap_Walk+0x3a>       
  10d4a0:	8b 56 04             	mov    0x4(%esi),%edx                 
  10d4a3:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10d4a6:	8b 43 20             	mov    0x20(%ebx),%eax                
  10d4a9:	89 f7                	mov    %esi,%edi                      
  10d4ab:	e9 54 ff ff ff       	jmp    10d404 <_Heap_Walk+0x1a0>      
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
  10d4b0:	83 ec 08             	sub    $0x8,%esp                      
  10d4b3:	ff 37                	pushl  (%edi)                         
  10d4b5:	51                   	push   %ecx                           
  10d4b6:	57                   	push   %edi                           
  10d4b7:	68 e8 10 12 00       	push   $0x1210e8                      
  10d4bc:	6a 00                	push   $0x0                           
  10d4be:	ff 75 0c             	pushl  0xc(%ebp)                      
  10d4c1:	ff 55 d8             	call   *-0x28(%ebp)                   
  10d4c4:	83 c4 20             	add    $0x20,%esp                     
  10d4c7:	eb ce                	jmp    10d497 <_Heap_Walk+0x233>      
  10d4c9:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10d4cc:	8b 43 08             	mov    0x8(%ebx),%eax                 
  10d4cf:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
  10d4d2:	8b 47 08             	mov    0x8(%edi),%eax                 
  10d4d5:	89 45 e4             	mov    %eax,-0x1c(%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)(                                                         
  10d4d8:	39 43 0c             	cmp    %eax,0xc(%ebx)                 
  10d4db:	0f 84 cb 00 00 00    	je     10d5ac <_Heap_Walk+0x348>      
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  10d4e1:	39 c3                	cmp    %eax,%ebx                      
  10d4e3:	0f 84 db 00 00 00    	je     10d5c4 <_Heap_Walk+0x360>      
  10d4e9:	c7 45 c8 29 0c 12 00 	movl   $0x120c29,-0x38(%ebp)          
    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 ?                                 
  10d4f0:	8b 47 0c             	mov    0xc(%edi),%eax                 
  10d4f3:	89 45 d4             	mov    %eax,-0x2c(%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)(                                                         
  10d4f6:	39 45 b4             	cmp    %eax,-0x4c(%ebp)               
  10d4f9:	0f 84 b9 00 00 00    	je     10d5b8 <_Heap_Walk+0x354>      
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
  10d4ff:	39 c3                	cmp    %eax,%ebx                      
  10d501:	0f 84 c9 00 00 00    	je     10d5d0 <_Heap_Walk+0x36c>      
  10d507:	b8 29 0c 12 00       	mov    $0x120c29,%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)(                                                         
  10d50c:	83 ec 0c             	sub    $0xc,%esp                      
  10d50f:	ff 75 c8             	pushl  -0x38(%ebp)                    
  10d512:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10d515:	50                   	push   %eax                           
  10d516:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10d519:	51                   	push   %ecx                           
  10d51a:	57                   	push   %edi                           
  10d51b:	68 44 10 12 00       	push   $0x121044                      
  10d520:	6a 00                	push   $0x0                           
  10d522:	ff 75 0c             	pushl  0xc(%ebp)                      
  10d525:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  10d528:	89 4d c0             	mov    %ecx,-0x40(%ebp)               
  10d52b:	ff 55 d8             	call   *-0x28(%ebp)                   
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
  10d52e:	8b 06                	mov    (%esi),%eax                    
  10d530:	83 c4 30             	add    $0x30,%esp                     
  10d533:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10d536:	39 c1                	cmp    %eax,%ecx                      
  10d538:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  10d53b:	75 5f                	jne    10d59c <_Heap_Walk+0x338>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
  10d53d:	85 d2                	test   %edx,%edx                      
  10d53f:	0f 84 97 00 00 00    	je     10d5dc <_Heap_Walk+0x378>      
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
  10d545:	8b 43 08             	mov    0x8(%ebx),%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 ) {                            
  10d548:	39 c3                	cmp    %eax,%ebx                      
  10d54a:	74 0f                	je     10d55b <_Heap_Walk+0x2f7>      <== NEVER TAKEN
    if ( free_block == block ) {                                      
  10d54c:	39 c7                	cmp    %eax,%edi                      
  10d54e:	0f 84 43 ff ff ff    	je     10d497 <_Heap_Walk+0x233>      
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
  10d554:	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 ) {                            
  10d557:	39 c3                	cmp    %eax,%ebx                      
  10d559:	75 f1                	jne    10d54c <_Heap_Walk+0x2e8>      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
  10d55b:	57                   	push   %edi                           
  10d55c:	68 10 11 12 00       	push   $0x121110                      
  10d561:	e9 d2 fd ff ff       	jmp    10d338 <_Heap_Walk+0xd4>       
  10d566:	66 90                	xchg   %ax,%ax                        
  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;             
  10d568:	39 f9                	cmp    %edi,%ecx                      
  10d56a:	0f 87 7b fe ff ff    	ja     10d3eb <_Heap_Walk+0x187>      <== NEVER TAKEN
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
  10d570:	8d 41 08             	lea    0x8(%ecx),%eax                 
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
  10d573:	31 d2                	xor    %edx,%edx                      
  10d575:	f7 75 c8             	divl   -0x38(%ebp)                    
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
  10d578:	85 d2                	test   %edx,%edx                      
  10d57a:	0f 85 ad 00 00 00    	jne    10d62d <_Heap_Walk+0x3c9>      
    - 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;                
  10d580:	8b 41 04             	mov    0x4(%ecx),%eax                 
  10d583:	83 e0 fe             	and    $0xfffffffe,%eax               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
  10d586:	f6 44 01 04 01       	testb  $0x1,0x4(%ecx,%eax,1)          
  10d58b:	0f 85 a9 00 00 00    	jne    10d63a <_Heap_Walk+0x3d6>      
  10d591:	89 f2                	mov    %esi,%edx                      
  10d593:	89 ce                	mov    %ecx,%esi                      
  10d595:	e9 36 fe ff ff       	jmp    10d3d0 <_Heap_Walk+0x16c>      
  10d59a:	66 90                	xchg   %ax,%ax                        
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
    (*printer)(                                                       
  10d59c:	52                   	push   %edx                           
  10d59d:	56                   	push   %esi                           
  10d59e:	50                   	push   %eax                           
  10d59f:	51                   	push   %ecx                           
  10d5a0:	57                   	push   %edi                           
  10d5a1:	68 7c 10 12 00       	push   $0x12107c                      
  10d5a6:	e9 71 fe ff ff       	jmp    10d41c <_Heap_Walk+0x1b8>      
  10d5ab:	90                   	nop                                   
  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)(                                                         
  10d5ac:	c7 45 c8 06 0d 12 00 	movl   $0x120d06,-0x38(%ebp)          
  10d5b3:	e9 38 ff ff ff       	jmp    10d4f0 <_Heap_Walk+0x28c>      
  10d5b8:	b8 1f 0d 12 00       	mov    $0x120d1f,%eax                 
  10d5bd:	e9 4a ff ff ff       	jmp    10d50c <_Heap_Walk+0x2a8>      
  10d5c2:	66 90                	xchg   %ax,%ax                        
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  10d5c4:	c7 45 c8 15 0d 12 00 	movl   $0x120d15,-0x38(%ebp)          
  10d5cb:	e9 20 ff ff ff       	jmp    10d4f0 <_Heap_Walk+0x28c>      
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
  10d5d0:	b8 2f 0d 12 00       	mov    $0x120d2f,%eax                 
  10d5d5:	e9 32 ff ff ff       	jmp    10d50c <_Heap_Walk+0x2a8>      
  10d5da:	66 90                	xchg   %ax,%ax                        
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
    (*printer)(                                                       
  10d5dc:	57                   	push   %edi                           
  10d5dd:	68 b8 10 12 00       	push   $0x1210b8                      
  10d5e2:	e9 51 fd ff ff       	jmp    10d338 <_Heap_Walk+0xd4>       
  10d5e7:	90                   	nop                                   
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
    (*printer)(                                                       
  10d5e8:	56                   	push   %esi                           
  10d5e9:	68 a0 0e 12 00       	push   $0x120ea0                      
  10d5ee:	e9 45 fd ff ff       	jmp    10d338 <_Heap_Walk+0xd4>       
  10d5f3:	90                   	nop                                   
  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;             
  10d5f4:	89 f1                	mov    %esi,%ecx                      <== NOT EXECUTED
  10d5f6:	e9 f0 fd ff ff       	jmp    10d3eb <_Heap_Walk+0x187>      <== NOT EXECUTED
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
      (*printer)(                                                     
  10d5fb:	83 ec 0c             	sub    $0xc,%esp                      
  10d5fe:	51                   	push   %ecx                           
  10d5ff:	57                   	push   %edi                           
  10d600:	68 b4 0f 12 00       	push   $0x120fb4                      
  10d605:	e9 12 fe ff ff       	jmp    10d41c <_Heap_Walk+0x1b8>      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
      (*printer)(                                                     
  10d60a:	83 ec 08             	sub    $0x8,%esp                      
  10d60d:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10d610:	51                   	push   %ecx                           
  10d611:	57                   	push   %edi                           
  10d612:	68 e4 0f 12 00       	push   $0x120fe4                      
  10d617:	e9 00 fe ff ff       	jmp    10d41c <_Heap_Walk+0x1b8>      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
      (*printer)(                                                     
  10d61c:	83 ec 0c             	sub    $0xc,%esp                      
  10d61f:	56                   	push   %esi                           
  10d620:	57                   	push   %edi                           
  10d621:	68 10 10 12 00       	push   $0x121010                      
  10d626:	e9 f1 fd ff ff       	jmp    10d41c <_Heap_Walk+0x1b8>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
  10d62b:	89 f1                	mov    %esi,%ecx                      <== NOT EXECUTED
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
  10d62d:	51                   	push   %ecx                           
  10d62e:	68 20 0f 12 00       	push   $0x120f20                      
  10d633:	e9 00 fd ff ff       	jmp    10d338 <_Heap_Walk+0xd4>       
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
  10d638:	89 f1                	mov    %esi,%ecx                      <== NOT EXECUTED
      (*printer)(                                                     
  10d63a:	51                   	push   %ecx                           
  10d63b:	68 7f 0d 12 00       	push   $0x120d7f                      
  10d640:	e9 f3 fc ff ff       	jmp    10d338 <_Heap_Walk+0xd4>       
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
      (*printer)(                                                     
  10d645:	83 ec 0c             	sub    $0xc,%esp                      
  10d648:	50                   	push   %eax                           
  10d649:	56                   	push   %esi                           
  10d64a:	68 50 0f 12 00       	push   $0x120f50                      
  10d64f:	e9 c8 fd ff ff       	jmp    10d41c <_Heap_Walk+0x1b8>      
                                                                      

0010bda8 <_IO_Initialize_all_drivers>: * * Output Parameters: NONE */ void _IO_Initialize_all_drivers( void ) {
  10bda8:	55                   	push   %ebp                           
  10bda9:	89 e5                	mov    %esp,%ebp                      
  10bdab:	53                   	push   %ebx                           
  10bdac:	83 ec 04             	sub    $0x4,%esp                      
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
  10bdaf:	8b 0d 40 58 12 00    	mov    0x125840,%ecx                  
  10bdb5:	85 c9                	test   %ecx,%ecx                      
  10bdb7:	74 1a                	je     10bdd3 <_IO_Initialize_all_drivers+0x2b><== NEVER TAKEN
  10bdb9:	31 db                	xor    %ebx,%ebx                      
  10bdbb:	90                   	nop                                   
     (void) rtems_io_initialize( major, 0, NULL );                    
  10bdbc:	52                   	push   %edx                           
  10bdbd:	6a 00                	push   $0x0                           
  10bdbf:	6a 00                	push   $0x0                           
  10bdc1:	53                   	push   %ebx                           
  10bdc2:	e8 31 47 00 00       	call   1104f8 <rtems_io_initialize>   
                                                                      
void _IO_Initialize_all_drivers( void )                               
{                                                                     
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
  10bdc7:	43                   	inc    %ebx                           
  10bdc8:	83 c4 10             	add    $0x10,%esp                     
  10bdcb:	39 1d 40 58 12 00    	cmp    %ebx,0x125840                  
  10bdd1:	77 e9                	ja     10bdbc <_IO_Initialize_all_drivers+0x14>
     (void) rtems_io_initialize( major, 0, NULL );                    
}                                                                     
  10bdd3:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10bdd6:	c9                   	leave                                 
  10bdd7:	c3                   	ret                                   
                                                                      

0010bd10 <_IO_Manager_initialization>: * workspace. * */ void _IO_Manager_initialization(void) {
  10bd10:	55                   	push   %ebp                           
  10bd11:	89 e5                	mov    %esp,%ebp                      
  10bd13:	57                   	push   %edi                           
  10bd14:	56                   	push   %esi                           
  10bd15:	53                   	push   %ebx                           
  10bd16:	83 ec 1c             	sub    $0x1c,%esp                     
  uint32_t                    index;                                  
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
  10bd19:	8b 1d 58 12 12 00    	mov    0x121258,%ebx                  
  drivers_in_table  = Configuration.number_of_device_drivers;         
  10bd1f:	a1 54 12 12 00       	mov    0x121254,%eax                  
  10bd24:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  number_of_drivers = Configuration.maximum_drivers;                  
  10bd27:	8b 35 50 12 12 00    	mov    0x121250,%esi                  
                                                                      
  /*                                                                  
   *  If the user claims there are less drivers than are actually in  
   *  the table, then let's just go with the table's count.           
   */                                                                 
  if ( number_of_drivers <= drivers_in_table )                        
  10bd2d:	39 f0                	cmp    %esi,%eax                      
  10bd2f:	73 5f                	jae    10bd90 <_IO_Manager_initialization+0x80>
   *  The application requested extra slots in the driver table, so we
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
      _Workspace_Allocate_or_fatal_error(                             
  10bd31:	8d 0c 76             	lea    (%esi,%esi,2),%ecx             
  10bd34:	c1 e1 03             	shl    $0x3,%ecx                      
  10bd37:	83 ec 0c             	sub    $0xc,%esp                      
  10bd3a:	51                   	push   %ecx                           
  10bd3b:	89 4d dc             	mov    %ecx,-0x24(%ebp)               
  10bd3e:	e8 f9 2a 00 00       	call   10e83c <_Workspace_Allocate_or_fatal_error>
  10bd43:	89 c2                	mov    %eax,%edx                      
  /*                                                                  
   *  The application requested extra slots in the driver table, so we
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
  10bd45:	a3 44 58 12 00       	mov    %eax,0x125844                  
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
  10bd4a:	89 35 40 58 12 00    	mov    %esi,0x125840                  
                                                                      
  memset(                                                             
  10bd50:	31 c0                	xor    %eax,%eax                      
  10bd52:	8b 4d dc             	mov    -0x24(%ebp),%ecx               
  10bd55:	89 d7                	mov    %edx,%edi                      
  10bd57:	f3 aa                	rep stos %al,%es:(%edi)               
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
  10bd59:	83 c4 10             	add    $0x10,%esp                     
  10bd5c:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10bd5f:	85 c0                	test   %eax,%eax                      
  10bd61:	74 25                	je     10bd88 <_IO_Manager_initialization+0x78><== NEVER TAKEN
  10bd63:	a1 44 58 12 00       	mov    0x125844,%eax                  
  10bd68:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  10bd6b:	31 c0                	xor    %eax,%eax                      
  10bd6d:	31 d2                	xor    %edx,%edx                      
  10bd6f:	90                   	nop                                   
    _IO_Driver_address_table[index] = driver_table[index];            
  10bd70:	8b 7d e0             	mov    -0x20(%ebp),%edi               
  10bd73:	01 c7                	add    %eax,%edi                      
  10bd75:	8d 34 03             	lea    (%ebx,%eax,1),%esi             
  10bd78:	b9 06 00 00 00       	mov    $0x6,%ecx                      
  10bd7d:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
  10bd7f:	42                   	inc    %edx                           
  10bd80:	83 c0 18             	add    $0x18,%eax                     
  10bd83:	39 55 e4             	cmp    %edx,-0x1c(%ebp)               
  10bd86:	77 e8                	ja     10bd70 <_IO_Manager_initialization+0x60>
    _IO_Driver_address_table[index] = driver_table[index];            
}                                                                     
  10bd88:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bd8b:	5b                   	pop    %ebx                           
  10bd8c:	5e                   	pop    %esi                           
  10bd8d:	5f                   	pop    %edi                           
  10bd8e:	c9                   	leave                                 
  10bd8f:	c3                   	ret                                   
   *  If the maximum number of driver is the same as the number in the
   *  table, then we do not have to copy the driver table.  They can't
   *  register any dynamically.                                       
   */                                                                 
  if ( number_of_drivers == drivers_in_table ) {                      
    _IO_Driver_address_table = driver_table;                          
  10bd90:	89 1d 44 58 12 00    	mov    %ebx,0x125844                  
    _IO_Number_of_drivers = number_of_drivers;                        
  10bd96:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10bd99:	a3 40 58 12 00       	mov    %eax,0x125840                  
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
    _IO_Driver_address_table[index] = driver_table[index];            
}                                                                     
  10bd9e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bda1:	5b                   	pop    %ebx                           
  10bda2:	5e                   	pop    %esi                           
  10bda3:	5f                   	pop    %edi                           
  10bda4:	c9                   	leave                                 
  10bda5:	c3                   	ret                                   
                                                                      

0010c824 <_Internal_error_Occurred>: void _Internal_error_Occurred( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
  10c824:	55                   	push   %ebp                           
  10c825:	89 e5                	mov    %esp,%ebp                      
  10c827:	53                   	push   %ebx                           
  10c828:	83 ec 08             	sub    $0x8,%esp                      
  10c82b:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c82e:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10c831:	8b 5d 10             	mov    0x10(%ebp),%ebx                
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  10c834:	a3 50 55 12 00       	mov    %eax,0x125550                  
  _Internal_errors_What_happened.is_internal = is_internal;           
  10c839:	88 15 54 55 12 00    	mov    %dl,0x125554                   
  _Internal_errors_What_happened.the_error   = the_error;             
  10c83f:	89 1d 58 55 12 00    	mov    %ebx,0x125558                  
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
  10c845:	53                   	push   %ebx                           
  10c846:	0f b6 d2             	movzbl %dl,%edx                       
  10c849:	52                   	push   %edx                           
  10c84a:	50                   	push   %eax                           
  10c84b:	e8 ec 1b 00 00       	call   10e43c <_User_extensions_Fatal>
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
  10c850:	c7 05 40 56 12 00 05 	movl   $0x5,0x125640                  <== NOT EXECUTED
  10c857:	00 00 00                                                    
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
  10c85a:	fa                   	cli                                   <== NOT EXECUTED
  10c85b:	89 d8                	mov    %ebx,%eax                      <== NOT EXECUTED
  10c85d:	f4                   	hlt                                   <== NOT EXECUTED
  10c85e:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10c861:	eb fe                	jmp    10c861 <_Internal_error_Occurred+0x3d><== NOT EXECUTED
                                                                      

00110a40 <_Objects_API_maximum_class>: #include <rtems/score/object.h> unsigned int _Objects_API_maximum_class( uint32_t api ) {
  110a40:	55                   	push   %ebp                           
  110a41:	89 e5                	mov    %esp,%ebp                      
  110a43:	8b 45 08             	mov    0x8(%ebp),%eax                 
  110a46:	48                   	dec    %eax                           
  110a47:	83 f8 02             	cmp    $0x2,%eax                      
  110a4a:	77 0c                	ja     110a58 <_Objects_API_maximum_class+0x18>
  110a4c:	8b 04 85 f0 01 12 00 	mov    0x1201f0(,%eax,4),%eax         
    case OBJECTS_NO_API:                                              
    default:                                                          
      break;                                                          
  }                                                                   
  return 0;                                                           
}                                                                     
  110a53:	c9                   	leave                                 
  110a54:	c3                   	ret                                   
  110a55:	8d 76 00             	lea    0x0(%esi),%esi                 
#include <rtems/score/object.h>                                       
                                                                      
unsigned int _Objects_API_maximum_class(                              
  uint32_t api                                                        
)                                                                     
{                                                                     
  110a58:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_NO_API:                                              
    default:                                                          
      break;                                                          
  }                                                                   
  return 0;                                                           
}                                                                     
  110a5a:	c9                   	leave                                 
  110a5b:	c3                   	ret                                   
                                                                      

0010c8b4 <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
  10c8b4:	55                   	push   %ebp                           
  10c8b5:	89 e5                	mov    %esp,%ebp                      
  10c8b7:	56                   	push   %esi                           
  10c8b8:	53                   	push   %ebx                           
  10c8b9:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
   *  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 )                                       
  10c8bc:	8b 43 18             	mov    0x18(%ebx),%eax                
  10c8bf:	85 c0                	test   %eax,%eax                      
  10c8c1:	75 0d                	jne    10c8d0 <_Objects_Allocate+0x1c><== ALWAYS TAKEN
    return NULL;                                                      
  10c8c3:	31 c9                	xor    %ecx,%ecx                      
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
  10c8c5:	89 c8                	mov    %ecx,%eax                      
  10c8c7:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c8ca:	5b                   	pop    %ebx                           
  10c8cb:	5e                   	pop    %esi                           
  10c8cc:	c9                   	leave                                 
  10c8cd:	c3                   	ret                                   
  10c8ce:	66 90                	xchg   %ax,%ax                        
                                                                      
  /*                                                                  
   *  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 );
  10c8d0:	8d 73 20             	lea    0x20(%ebx),%esi                
  10c8d3:	83 ec 0c             	sub    $0xc,%esp                      
  10c8d6:	56                   	push   %esi                           
  10c8d7:	e8 f0 f6 ff ff       	call   10bfcc <_Chain_Get>            
  10c8dc:	89 c1                	mov    %eax,%ecx                      
                                                                      
  if ( information->auto_extend ) {                                   
  10c8de:	83 c4 10             	add    $0x10,%esp                     
  10c8e1:	80 7b 12 00          	cmpb   $0x0,0x12(%ebx)                
  10c8e5:	74 de                	je     10c8c5 <_Objects_Allocate+0x11>
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
  10c8e7:	85 c0                	test   %eax,%eax                      
  10c8e9:	74 29                	je     10c914 <_Objects_Allocate+0x60>
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
  10c8eb:	0f b7 41 08          	movzwl 0x8(%ecx),%eax                 
  10c8ef:	0f b7 53 08          	movzwl 0x8(%ebx),%edx                 
  10c8f3:	29 d0                	sub    %edx,%eax                      
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
  10c8f5:	0f b7 73 14          	movzwl 0x14(%ebx),%esi                
  10c8f9:	31 d2                	xor    %edx,%edx                      
  10c8fb:	f7 f6                	div    %esi                           
                                                                      
      information->inactive_per_block[ block ]--;                     
  10c8fd:	c1 e0 02             	shl    $0x2,%eax                      
  10c900:	03 43 30             	add    0x30(%ebx),%eax                
  10c903:	ff 08                	decl   (%eax)                         
      information->inactive--;                                        
  10c905:	66 ff 4b 2c          	decw   0x2c(%ebx)                     
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
  10c909:	89 c8                	mov    %ecx,%eax                      
  10c90b:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c90e:	5b                   	pop    %ebx                           
  10c90f:	5e                   	pop    %esi                           
  10c910:	c9                   	leave                                 
  10c911:	c3                   	ret                                   
  10c912:	66 90                	xchg   %ax,%ax                        
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
      _Objects_Extend_information( information );                     
  10c914:	83 ec 0c             	sub    $0xc,%esp                      
  10c917:	53                   	push   %ebx                           
  10c918:	e8 3b 00 00 00       	call   10c958 <_Objects_Extend_information>
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
  10c91d:	89 34 24             	mov    %esi,(%esp)                    
  10c920:	e8 a7 f6 ff ff       	call   10bfcc <_Chain_Get>            
  10c925:	89 c1                	mov    %eax,%ecx                      
    }                                                                 
                                                                      
    if ( the_object ) {                                               
  10c927:	83 c4 10             	add    $0x10,%esp                     
  10c92a:	85 c0                	test   %eax,%eax                      
  10c92c:	74 97                	je     10c8c5 <_Objects_Allocate+0x11>
  10c92e:	eb bb                	jmp    10c8eb <_Objects_Allocate+0x37>
                                                                      

0010c958 <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
  10c958:	55                   	push   %ebp                           
  10c959:	89 e5                	mov    %esp,%ebp                      
  10c95b:	57                   	push   %edi                           
  10c95c:	56                   	push   %esi                           
  10c95d:	53                   	push   %ebx                           
  10c95e:	83 ec 4c             	sub    $0x4c,%esp                     
  10c961:	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 );      
  10c964:	0f b7 43 08          	movzwl 0x8(%ebx),%eax                 
  10c968:	89 45 cc             	mov    %eax,-0x34(%ebp)               
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
  10c96b:	8b 4b 34             	mov    0x34(%ebx),%ecx                
  10c96e:	85 c9                	test   %ecx,%ecx                      
  10c970:	0f 84 66 02 00 00    	je     10cbdc <_Objects_Extend_information+0x284>
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
  10c976:	8b 73 10             	mov    0x10(%ebx),%esi                
  10c979:	66 89 75 d0          	mov    %si,-0x30(%ebp)                
  10c97d:	8b 7b 14             	mov    0x14(%ebx),%edi                
  10c980:	89 f0                	mov    %esi,%eax                      
  10c982:	31 d2                	xor    %edx,%edx                      
  10c984:	66 f7 f7             	div    %di                            
  10c987:	0f b7 f0             	movzwl %ax,%esi                       
                                                                      
    for ( ; block < block_count; block++ ) {                          
  10c98a:	85 f6                	test   %esi,%esi                      
  10c98c:	0f 84 63 02 00 00    	je     10cbf5 <_Objects_Extend_information+0x29d><== NEVER TAKEN
      if ( information->object_blocks[ block ] == NULL ) {            
  10c992:	8b 01                	mov    (%ecx),%eax                    
  10c994:	85 c0                	test   %eax,%eax                      
  10c996:	0f 84 6b 02 00 00    	je     10cc07 <_Objects_Extend_information+0x2af><== NEVER TAKEN
  10c99c:	0f b7 ff             	movzwl %di,%edi                       
  /*                                                                  
   *  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 );      
  10c99f:	8b 55 cc             	mov    -0x34(%ebp),%edx               
  10c9a2:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  index_base    = minimum_index;                                      
  block         = 0;                                                  
  10c9a5:	31 d2                	xor    %edx,%edx                      
  10c9a7:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10c9aa:	eb 0a                	jmp    10c9b6 <_Objects_Extend_information+0x5e>
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
  10c9ac:	83 3c 91 00          	cmpl   $0x0,(%ecx,%edx,4)             
  10c9b0:	0f 84 c6 01 00 00    	je     10cb7c <_Objects_Extend_information+0x224>
        do_extend = false;                                            
        break;                                                        
      } else                                                          
        index_base += information->allocation_size;                   
  10c9b6:	01 f8                	add    %edi,%eax                      
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
  10c9b8:	42                   	inc    %edx                           
  10c9b9:	39 d6                	cmp    %edx,%esi                      
  10c9bb:	77 ef                	ja     10c9ac <_Objects_Extend_information+0x54>
  10c9bd:	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;                                               
  10c9c0:	b1 01                	mov    $0x1,%cl                       
      } else                                                          
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
  10c9c2:	0f b7 45 d0          	movzwl -0x30(%ebp),%eax               
  10c9c6:	01 f8                	add    %edi,%eax                      
  10c9c8:	89 45 d0             	mov    %eax,-0x30(%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 ) {                           
  10c9cb:	3d ff ff 00 00       	cmp    $0xffff,%eax                   
  10c9d0:	0f 87 9e 01 00 00    	ja     10cb74 <_Objects_Extend_information+0x21c>
                                                                      
  /*                                                                  
   * 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;      
  10c9d6:	0f af 7b 18          	imul   0x18(%ebx),%edi                
  if ( information->auto_extend ) {                                   
  10c9da:	80 7b 12 00          	cmpb   $0x0,0x12(%ebx)                
  10c9de:	0f 84 a4 01 00 00    	je     10cb88 <_Objects_Extend_information+0x230>
    new_object_block = _Workspace_Allocate( block_size );             
  10c9e4:	83 ec 0c             	sub    $0xc,%esp                      
  10c9e7:	57                   	push   %edi                           
  10c9e8:	89 55 b8             	mov    %edx,-0x48(%ebp)               
  10c9eb:	88 4d b4             	mov    %cl,-0x4c(%ebp)                
  10c9ee:	e8 15 1e 00 00       	call   10e808 <_Workspace_Allocate>   
  10c9f3:	89 45 c8             	mov    %eax,-0x38(%ebp)               
    if ( !new_object_block )                                          
  10c9f6:	83 c4 10             	add    $0x10,%esp                     
  10c9f9:	85 c0                	test   %eax,%eax                      
  10c9fb:	8b 55 b8             	mov    -0x48(%ebp),%edx               
  10c9fe:	8a 4d b4             	mov    -0x4c(%ebp),%cl                
  10ca01:	0f 84 6d 01 00 00    	je     10cb74 <_Objects_Extend_information+0x21c>
  }                                                                   
                                                                      
  /*                                                                  
   *  Do we need to grow the tables?                                  
   */                                                                 
  if ( do_extend ) {                                                  
  10ca07:	84 c9                	test   %cl,%cl                        
  10ca09:	0f 84 ea 00 00 00    	je     10caf9 <_Objects_Extend_information+0x1a1>
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
  10ca0f:	8d 7e 01             	lea    0x1(%esi),%edi                 
     *  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 );       
  10ca12:	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 *)) +
  10ca15:	8d 04 7f             	lea    (%edi,%edi,2),%eax             
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
  10ca18:	03 45 d0             	add    -0x30(%ebp),%eax               
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
  10ca1b:	03 45 cc             	add    -0x34(%ebp),%eax               
    block_count++;                                                    
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
  10ca1e:	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 );       
  10ca21:	50                   	push   %eax                           
  10ca22:	89 55 b8             	mov    %edx,-0x48(%ebp)               
  10ca25:	e8 de 1d 00 00       	call   10e808 <_Workspace_Allocate>   
  10ca2a:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
                                                                      
    if ( !object_blocks ) {                                           
  10ca2d:	83 c4 10             	add    $0x10,%esp                     
  10ca30:	85 c0                	test   %eax,%eax                      
  10ca32:	8b 55 b8             	mov    -0x48(%ebp),%edx               
  10ca35:	0f 84 de 01 00 00    	je     10cc19 <_Objects_Extend_information+0x2c1>
  10ca3b:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  10ca3e:	8d 04 b8             	lea    (%eax,%edi,4),%eax             
  10ca41:	89 45 bc             	mov    %eax,-0x44(%ebp)               
  10ca44:	8b 4d c4             	mov    -0x3c(%ebp),%ecx               
  10ca47:	8d 04 f9             	lea    (%ecx,%edi,8),%eax             
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
  10ca4a:	0f b7 4b 10          	movzwl 0x10(%ebx),%ecx                
  10ca4e:	39 4d cc             	cmp    %ecx,-0x34(%ebp)               
  10ca51:	0f 82 51 01 00 00    	jb     10cba8 <_Objects_Extend_information+0x250>
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
  10ca57:	8b 4d cc             	mov    -0x34(%ebp),%ecx               
  10ca5a:	85 c9                	test   %ecx,%ecx                      
  10ca5c:	74 12                	je     10ca70 <_Objects_Extend_information+0x118><== NEVER TAKEN
  10ca5e:	31 c9                	xor    %ecx,%ecx                      
  10ca60:	8b 7d cc             	mov    -0x34(%ebp),%edi               
  10ca63:	90                   	nop                                   
        local_table[ index ] = NULL;                                  
  10ca64:	c7 04 88 00 00 00 00 	movl   $0x0,(%eax,%ecx,4)             
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
  10ca6b:	41                   	inc    %ecx                           
  10ca6c:	39 cf                	cmp    %ecx,%edi                      
  10ca6e:	77 f4                	ja     10ca64 <_Objects_Extend_information+0x10c><== NEVER TAKEN
  10ca70:	c1 e6 02             	shl    $0x2,%esi                      
  10ca73:	89 75 c0             	mov    %esi,-0x40(%ebp)               
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
  10ca76:	8b 4d c4             	mov    -0x3c(%ebp),%ecx               
  10ca79:	8b 75 c0             	mov    -0x40(%ebp),%esi               
  10ca7c:	c7 04 31 00 00 00 00 	movl   $0x0,(%ecx,%esi,1)             
    inactive_per_block[block_count] = 0;                              
  10ca83:	8b 4d bc             	mov    -0x44(%ebp),%ecx               
  10ca86:	c7 04 31 00 00 00 00 	movl   $0x0,(%ecx,%esi,1)             
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
  10ca8d:	0f b7 73 14          	movzwl 0x14(%ebx),%esi                
  10ca91:	03 75 d4             	add    -0x2c(%ebp),%esi               
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
  10ca94:	39 75 d4             	cmp    %esi,-0x2c(%ebp)               
  10ca97:	73 0f                	jae    10caa8 <_Objects_Extend_information+0x150><== NEVER TAKEN
  10ca99:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
  10ca9c:	c7 04 88 00 00 00 00 	movl   $0x0,(%eax,%ecx,4)             
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
  10caa3:	41                   	inc    %ecx                           
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
  10caa4:	39 f1                	cmp    %esi,%ecx                      
  10caa6:	72 f4                	jb     10ca9c <_Objects_Extend_information+0x144>
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
  10caa8:	9c                   	pushf                                 
  10caa9:	fa                   	cli                                   
  10caaa:	5f                   	pop    %edi                           
                                                                      
    old_tables = information->object_blocks;                          
  10caab:	8b 4b 34             	mov    0x34(%ebx),%ecx                
                                                                      
    information->object_blocks = object_blocks;                       
  10caae:	8b 75 c4             	mov    -0x3c(%ebp),%esi               
  10cab1:	89 73 34             	mov    %esi,0x34(%ebx)                
    information->inactive_per_block = inactive_per_block;             
  10cab4:	8b 75 bc             	mov    -0x44(%ebp),%esi               
  10cab7:	89 73 30             	mov    %esi,0x30(%ebx)                
    information->local_table = local_table;                           
  10caba:	89 43 1c             	mov    %eax,0x1c(%ebx)                
    information->maximum = (Objects_Maximum) maximum;                 
  10cabd:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10cac0:	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)   |    
  10cac4:	8b 33                	mov    (%ebx),%esi                    
  10cac6:	c1 e6 18             	shl    $0x18,%esi                     
  10cac9:	81 ce 00 00 01 00    	or     $0x10000,%esi                  
    information->maximum_id = _Objects_Build_id(                      
  10cacf:	0f b7 43 04          	movzwl 0x4(%ebx),%eax                 
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
  10cad3:	c1 e0 1b             	shl    $0x1b,%eax                     
  10cad6:	09 c6                	or     %eax,%esi                      
  10cad8:	0f b7 45 d0          	movzwl -0x30(%ebp),%eax               
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
  10cadc:	09 c6                	or     %eax,%esi                      
  10cade:	89 73 0c             	mov    %esi,0xc(%ebx)                 
        information->the_class,                                       
        _Objects_Local_node,                                          
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
  10cae1:	57                   	push   %edi                           
  10cae2:	9d                   	popf                                  
                                                                      
    if ( old_tables )                                                 
  10cae3:	85 c9                	test   %ecx,%ecx                      
  10cae5:	74 12                	je     10caf9 <_Objects_Extend_information+0x1a1>
      _Workspace_Free( old_tables );                                  
  10cae7:	83 ec 0c             	sub    $0xc,%esp                      
  10caea:	51                   	push   %ecx                           
  10caeb:	89 55 b8             	mov    %edx,-0x48(%ebp)               
  10caee:	e8 31 1d 00 00       	call   10e824 <_Workspace_Free>       
  10caf3:	83 c4 10             	add    $0x10,%esp                     
  10caf6:	8b 55 b8             	mov    -0x48(%ebp),%edx               
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
  10caf9:	c1 e2 02             	shl    $0x2,%edx                      
  10cafc:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  10caff:	8b 43 34             	mov    0x34(%ebx),%eax                
  10cb02:	8b 4d c8             	mov    -0x38(%ebp),%ecx               
  10cb05:	89 0c 10             	mov    %ecx,(%eax,%edx,1)             
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
  10cb08:	ff 73 18             	pushl  0x18(%ebx)                     
  10cb0b:	0f b7 43 14          	movzwl 0x14(%ebx),%eax                
  10cb0f:	50                   	push   %eax                           
  10cb10:	51                   	push   %ecx                           
  10cb11:	8d 7d dc             	lea    -0x24(%ebp),%edi               
  10cb14:	57                   	push   %edi                           
  10cb15:	e8 1e 3a 00 00       	call   110538 <_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 ) {
  10cb1a:	83 c4 10             	add    $0x10,%esp                     
  10cb1d:	8b 75 d4             	mov    -0x2c(%ebp),%esi               
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
  10cb20:	8d 43 20             	lea    0x20(%ebx),%eax                
  10cb23:	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 ) {
  10cb26:	eb 29                	jmp    10cb51 <_Objects_Extend_information+0x1f9>
  10cb28:	8b 13                	mov    (%ebx),%edx                    
  10cb2a:	c1 e2 18             	shl    $0x18,%edx                     
  10cb2d:	81 ca 00 00 01 00    	or     $0x10000,%edx                  
                                                                      
    the_object->id = _Objects_Build_id(                               
  10cb33:	0f b7 4b 04          	movzwl 0x4(%ebx),%ecx                 
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
  10cb37:	c1 e1 1b             	shl    $0x1b,%ecx                     
  10cb3a:	09 ca                	or     %ecx,%edx                      
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
  10cb3c:	09 f2                	or     %esi,%edx                      
  10cb3e:	89 50 08             	mov    %edx,0x8(%eax)                 
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
  10cb41:	83 ec 08             	sub    $0x8,%esp                      
  10cb44:	50                   	push   %eax                           
  10cb45:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10cb48:	e8 43 f4 ff ff       	call   10bf90 <_Chain_Append>         
                                                                      
    index++;                                                          
  10cb4d:	46                   	inc    %esi                           
  10cb4e:	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 ) {
  10cb51:	83 ec 0c             	sub    $0xc,%esp                      
  10cb54:	57                   	push   %edi                           
  10cb55:	e8 72 f4 ff ff       	call   10bfcc <_Chain_Get>            
  10cb5a:	83 c4 10             	add    $0x10,%esp                     
  10cb5d:	85 c0                	test   %eax,%eax                      
  10cb5f:	75 c7                	jne    10cb28 <_Objects_Extend_information+0x1d0>
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  10cb61:	8b 43 14             	mov    0x14(%ebx),%eax                
  10cb64:	8b 53 30             	mov    0x30(%ebx),%edx                
  10cb67:	0f b7 c8             	movzwl %ax,%ecx                       
  10cb6a:	8b 75 d0             	mov    -0x30(%ebp),%esi               
  10cb6d:	89 0c 32             	mov    %ecx,(%edx,%esi,1)             
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
  10cb70:	66 01 43 2c          	add    %ax,0x2c(%ebx)                 
}                                                                     
  10cb74:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10cb77:	5b                   	pop    %ebx                           
  10cb78:	5e                   	pop    %esi                           
  10cb79:	5f                   	pop    %edi                           
  10cb7a:	c9                   	leave                                 
  10cb7b:	c3                   	ret                                   
  10cb7c:	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;                                            
  10cb7f:	31 c9                	xor    %ecx,%ecx                      
  10cb81:	e9 3c fe ff ff       	jmp    10c9c2 <_Objects_Extend_information+0x6a>
  10cb86:	66 90                	xchg   %ax,%ax                        
  if ( information->auto_extend ) {                                   
    new_object_block = _Workspace_Allocate( block_size );             
    if ( !new_object_block )                                          
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
  10cb88:	83 ec 0c             	sub    $0xc,%esp                      
  10cb8b:	57                   	push   %edi                           
  10cb8c:	89 55 b8             	mov    %edx,-0x48(%ebp)               
  10cb8f:	88 4d b4             	mov    %cl,-0x4c(%ebp)                
  10cb92:	e8 a5 1c 00 00       	call   10e83c <_Workspace_Allocate_or_fatal_error>
  10cb97:	89 45 c8             	mov    %eax,-0x38(%ebp)               
  10cb9a:	83 c4 10             	add    $0x10,%esp                     
  10cb9d:	8a 4d b4             	mov    -0x4c(%ebp),%cl                
  10cba0:	8b 55 b8             	mov    -0x48(%ebp),%edx               
  10cba3:	e9 5f fe ff ff       	jmp    10ca07 <_Objects_Extend_information+0xaf>
      /*                                                              
       *  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,                                          
  10cba8:	c1 e6 02             	shl    $0x2,%esi                      
  10cbab:	89 75 c0             	mov    %esi,-0x40(%ebp)               
  10cbae:	8b 73 34             	mov    0x34(%ebx),%esi                
  10cbb1:	8b 7d c4             	mov    -0x3c(%ebp),%edi               
  10cbb4:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10cbb7:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
  10cbb9:	8b 73 30             	mov    0x30(%ebx),%esi                
  10cbbc:	8b 7d bc             	mov    -0x44(%ebp),%edi               
  10cbbf:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10cbc2:	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 *) );
  10cbc4:	0f b7 4b 10          	movzwl 0x10(%ebx),%ecx                
  10cbc8:	03 4d cc             	add    -0x34(%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,                                            
  10cbcb:	c1 e1 02             	shl    $0x2,%ecx                      
  10cbce:	8b 73 1c             	mov    0x1c(%ebx),%esi                
  10cbd1:	89 c7                	mov    %eax,%edi                      
  10cbd3:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
  10cbd5:	e9 9c fe ff ff       	jmp    10ca76 <_Objects_Extend_information+0x11e>
  10cbda:	66 90                	xchg   %ax,%ax                        
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
  10cbdc:	8b 53 10             	mov    0x10(%ebx),%edx                
  10cbdf:	66 89 55 d0          	mov    %dx,-0x30(%ebp)                
  10cbe3:	0f b7 7b 14          	movzwl 0x14(%ebx),%edi                
  /*                                                                  
   *  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 );      
  10cbe7:	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;                                               
  10cbea:	b1 01                	mov    $0x1,%cl                       
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
  10cbec:	31 d2                	xor    %edx,%edx                      
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  10cbee:	31 f6                	xor    %esi,%esi                      
  10cbf0:	e9 cd fd ff ff       	jmp    10c9c2 <_Objects_Extend_information+0x6a>
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
  10cbf5:	0f b7 ff             	movzwl %di,%edi                       <== NOT EXECUTED
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
  10cbf8:	8b 45 cc             	mov    -0x34(%ebp),%eax               <== NOT EXECUTED
  10cbfb:	89 45 d4             	mov    %eax,-0x2c(%ebp)               <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  10cbfe:	b1 01                	mov    $0x1,%cl                       <== NOT EXECUTED
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
  10cc00:	31 d2                	xor    %edx,%edx                      <== NOT EXECUTED
  10cc02:	e9 bb fd ff ff       	jmp    10c9c2 <_Objects_Extend_information+0x6a><== NOT EXECUTED
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
  10cc07:	0f b7 ff             	movzwl %di,%edi                       <== NOT EXECUTED
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
  10cc0a:	8b 4d cc             	mov    -0x34(%ebp),%ecx               <== NOT EXECUTED
  10cc0d:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               <== NOT EXECUTED
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
        do_extend = false;                                            
  10cc10:	31 c9                	xor    %ecx,%ecx                      <== NOT EXECUTED
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
  10cc12:	31 d2                	xor    %edx,%edx                      <== NOT EXECUTED
  10cc14:	e9 a9 fd ff ff       	jmp    10c9c2 <_Objects_Extend_information+0x6a><== NOT EXECUTED
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
                                                                      
    if ( !object_blocks ) {                                           
      _Workspace_Free( new_object_block );                            
  10cc19:	83 ec 0c             	sub    $0xc,%esp                      
  10cc1c:	ff 75 c8             	pushl  -0x38(%ebp)                    
  10cc1f:	e8 00 1c 00 00       	call   10e824 <_Workspace_Free>       
      return;                                                         
  10cc24:	83 c4 10             	add    $0x10,%esp                     
  10cc27:	e9 48 ff ff ff       	jmp    10cb74 <_Objects_Extend_information+0x21c>
                                                                      

0010ccbc <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint16_t the_class ) {
  10ccbc:	55                   	push   %ebp                           
  10ccbd:	89 e5                	mov    %esp,%ebp                      
  10ccbf:	56                   	push   %esi                           
  10ccc0:	53                   	push   %ebx                           
  10ccc1:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10ccc4:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
  10ccc7:	66 85 db             	test   %bx,%bx                        
  10ccca:	75 0c                	jne    10ccd8 <_Objects_Get_information+0x1c>
  the_class_api_maximum = _Objects_API_maximum_class( the_api );      
  if ( the_class_api_maximum == 0 )                                   
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
    return NULL;                                                      
  10cccc:	31 c0                	xor    %eax,%eax                      
    if ( info->maximum == 0 )                                         
      return NULL;                                                    
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
  10ccce:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ccd1:	5b                   	pop    %ebx                           
  10ccd2:	5e                   	pop    %esi                           
  10ccd3:	c9                   	leave                                 
  10ccd4:	c3                   	ret                                   
  10ccd5:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  /*                                                                  
   *  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 );      
  10ccd8:	83 ec 0c             	sub    $0xc,%esp                      
  10ccdb:	56                   	push   %esi                           
  10ccdc:	e8 5f 3d 00 00       	call   110a40 <_Objects_API_maximum_class>
  if ( the_class_api_maximum == 0 )                                   
  10cce1:	83 c4 10             	add    $0x10,%esp                     
  10cce4:	85 c0                	test   %eax,%eax                      
  10cce6:	74 e4                	je     10cccc <_Objects_Get_information+0x10>
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
  10cce8:	0f b7 db             	movzwl %bx,%ebx                       
  10cceb:	39 d8                	cmp    %ebx,%eax                      
  10cced:	72 dd                	jb     10cccc <_Objects_Get_information+0x10>
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
  10ccef:	8b 14 b5 48 54 12 00 	mov    0x125448(,%esi,4),%edx         
    return NULL;                                                      
  10ccf6:	31 c0                	xor    %eax,%eax                      
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
  10ccf8:	85 d2                	test   %edx,%edx                      
  10ccfa:	74 d2                	je     10ccce <_Objects_Get_information+0x12><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
  10ccfc:	8b 04 9a             	mov    (%edx,%ebx,4),%eax             
  if ( !info )                                                        
  10ccff:	85 c0                	test   %eax,%eax                      
  10cd01:	74 cb                	je     10ccce <_Objects_Get_information+0x12><== 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;                                                    
  10cd03:	31 d2                	xor    %edx,%edx                      
  10cd05:	66 83 78 10 00       	cmpw   $0x0,0x10(%eax)                
  10cd0a:	0f 95 c2             	setne  %dl                            
  10cd0d:	f7 da                	neg    %edx                           
  10cd0f:	21 d0                	and    %edx,%eax                      
  10cd11:	eb bb                	jmp    10ccce <_Objects_Get_information+0x12>
                                                                      

0010cd14 <_Objects_Get_isr_disable>: Objects_Information *information, Objects_Id id, Objects_Locations *location, ISR_Level *level_p ) {
  10cd14:	55                   	push   %ebp                           
  10cd15:	89 e5                	mov    %esp,%ebp                      
  10cd17:	56                   	push   %esi                           
  10cd18:	53                   	push   %ebx                           
  10cd19:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10cd1c:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  Objects_Control *the_object;                                        
  uint32_t         index;                                             
  ISR_Level        level;                                             
                                                                      
  index = id - information->minimum_id + 1;                           
  10cd1f:	b8 01 00 00 00       	mov    $0x1,%eax                      
  10cd24:	2b 42 08             	sub    0x8(%edx),%eax                 
  10cd27:	03 45 0c             	add    0xc(%ebp),%eax                 
                                                                      
  _ISR_Disable( level );                                              
  10cd2a:	9c                   	pushf                                 
  10cd2b:	fa                   	cli                                   
  10cd2c:	5e                   	pop    %esi                           
  if ( information->maximum >= index ) {                              
  10cd2d:	0f b7 4a 10          	movzwl 0x10(%edx),%ecx                
  10cd31:	39 c8                	cmp    %ecx,%eax                      
  10cd33:	77 1b                	ja     10cd50 <_Objects_Get_isr_disable+0x3c>
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
  10cd35:	8b 52 1c             	mov    0x1c(%edx),%edx                
  10cd38:	8b 04 82             	mov    (%edx,%eax,4),%eax             
  10cd3b:	85 c0                	test   %eax,%eax                      
  10cd3d:	74 21                	je     10cd60 <_Objects_Get_isr_disable+0x4c>
      *location = OBJECTS_LOCAL;                                      
  10cd3f:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
      *level_p = level;                                               
  10cd45:	8b 55 14             	mov    0x14(%ebp),%edx                
  10cd48:	89 32                	mov    %esi,(%edx)                    
  _Objects_MP_Is_remote( information, id, location, &the_object );    
  return the_object;                                                  
#else                                                                 
  return NULL;                                                        
#endif                                                                
}                                                                     
  10cd4a:	5b                   	pop    %ebx                           
  10cd4b:	5e                   	pop    %esi                           
  10cd4c:	c9                   	leave                                 
  10cd4d:	c3                   	ret                                   
  10cd4e:	66 90                	xchg   %ax,%ax                        
    }                                                                 
    _ISR_Enable( level );                                             
    *location = OBJECTS_ERROR;                                        
    return NULL;                                                      
  }                                                                   
  _ISR_Enable( level );                                               
  10cd50:	56                   	push   %esi                           
  10cd51:	9d                   	popf                                  
  *location = OBJECTS_ERROR;                                          
  10cd52:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)                    
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  _Objects_MP_Is_remote( information, id, location, &the_object );    
  return the_object;                                                  
#else                                                                 
  return NULL;                                                        
  10cd58:	31 c0                	xor    %eax,%eax                      
#endif                                                                
}                                                                     
  10cd5a:	5b                   	pop    %ebx                           
  10cd5b:	5e                   	pop    %esi                           
  10cd5c:	c9                   	leave                                 
  10cd5d:	c3                   	ret                                   
  10cd5e:	66 90                	xchg   %ax,%ax                        
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
      *location = OBJECTS_LOCAL;                                      
      *level_p = level;                                               
      return the_object;                                              
    }                                                                 
    _ISR_Enable( level );                                             
  10cd60:	56                   	push   %esi                           
  10cd61:	9d                   	popf                                  
    *location = OBJECTS_ERROR;                                        
  10cd62:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)                    
    return NULL;                                                      
  10cd68:	eb e0                	jmp    10cd4a <_Objects_Get_isr_disable+0x36>
                                                                      

0010e410 <_Objects_Get_name_as_string>: char *_Objects_Get_name_as_string( Objects_Id id, size_t length, char *name ) {
  10e410:	55                   	push   %ebp                           
  10e411:	89 e5                	mov    %esp,%ebp                      
  10e413:	57                   	push   %edi                           
  10e414:	56                   	push   %esi                           
  10e415:	53                   	push   %ebx                           
  10e416:	83 ec 3c             	sub    $0x3c,%esp                     
  10e419:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10e41c:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10e41f:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  char                   lname[5];                                    
  Objects_Control       *the_object;                                  
  Objects_Locations      location;                                    
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
  10e422:	85 f6                	test   %esi,%esi                      
  10e424:	75 0e                	jne    10e434 <_Objects_Get_name_as_string+0x24>
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:                                              
      /* not supported */                                             
#endif                                                                
    case OBJECTS_ERROR:                                               
      return NULL;                                                    
  10e426:	31 db                	xor    %ebx,%ebx                      
                                                                      
      _Thread_Enable_dispatch();                                      
      return name;                                                    
  }                                                                   
  return NULL;                  /* unreachable path */                
}                                                                     
  10e428:	89 d8                	mov    %ebx,%eax                      
  10e42a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e42d:	5b                   	pop    %ebx                           
  10e42e:	5e                   	pop    %esi                           
  10e42f:	5f                   	pop    %edi                           
  10e430:	c9                   	leave                                 
  10e431:	c3                   	ret                                   
  10e432:	66 90                	xchg   %ax,%ax                        
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
    return NULL;                                                      
                                                                      
  if ( name == NULL )                                                 
  10e434:	85 db                	test   %ebx,%ebx                      
  10e436:	74 f0                	je     10e428 <_Objects_Get_name_as_string+0x18>
    return NULL;                                                      
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
  10e438:	85 ff                	test   %edi,%edi                      
  10e43a:	75 08                	jne    10e444 <_Objects_Get_name_as_string+0x34>
  10e43c:	a1 78 17 13 00       	mov    0x131778,%eax                  
  10e441:	8b 78 08             	mov    0x8(%eax),%edi                 
                                                                      
  information = _Objects_Get_information_id( tmpId );                 
  10e444:	83 ec 0c             	sub    $0xc,%esp                      
  10e447:	57                   	push   %edi                           
  10e448:	e8 f3 fe ff ff       	call   10e340 <_Objects_Get_information_id>
  if ( !information )                                                 
  10e44d:	83 c4 10             	add    $0x10,%esp                     
  10e450:	85 c0                	test   %eax,%eax                      
  10e452:	74 d2                	je     10e426 <_Objects_Get_name_as_string+0x16>
    return NULL;                                                      
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
  10e454:	51                   	push   %ecx                           
  10e455:	8d 55 e4             	lea    -0x1c(%ebp),%edx               
  10e458:	52                   	push   %edx                           
  10e459:	57                   	push   %edi                           
  10e45a:	50                   	push   %eax                           
  10e45b:	e8 80 00 00 00       	call   10e4e0 <_Objects_Get>          
  switch ( location ) {                                               
  10e460:	83 c4 10             	add    $0x10,%esp                     
  10e463:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10e466:	85 d2                	test   %edx,%edx                      
  10e468:	75 bc                	jne    10e426 <_Objects_Get_name_as_string+0x16>
        if ( information->is_string ) {                               
          s = the_object->name.name_p;                                
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
  10e46a:	8b 40 0c             	mov    0xc(%eax),%eax                 
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
  10e46d:	89 c2                	mov    %eax,%edx                      
  10e46f:	c1 ea 18             	shr    $0x18,%edx                     
  10e472:	88 55 c7             	mov    %dl,-0x39(%ebp)                
  10e475:	88 55 df             	mov    %dl,-0x21(%ebp)                
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
  10e478:	89 c7                	mov    %eax,%edi                      
  10e47a:	c1 ef 10             	shr    $0x10,%edi                     
  10e47d:	89 f9                	mov    %edi,%ecx                      
  10e47f:	88 4d e0             	mov    %cl,-0x20(%ebp)                
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
  10e482:	89 c7                	mov    %eax,%edi                      
  10e484:	c1 ef 08             	shr    $0x8,%edi                      
  10e487:	89 f9                	mov    %edi,%ecx                      
  10e489:	88 4d e1             	mov    %cl,-0x1f(%ebp)                
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
  10e48c:	88 45 e2             	mov    %al,-0x1e(%ebp)                
        lname[ 4 ] = '\0';                                            
  10e48f:	c6 45 e3 00          	movb   $0x0,-0x1d(%ebp)               
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
  10e493:	4e                   	dec    %esi                           
  10e494:	89 75 d4             	mov    %esi,-0x2c(%ebp)               
  10e497:	74 41                	je     10e4da <_Objects_Get_name_as_string+0xca><== NEVER TAKEN
  10e499:	84 d2                	test   %dl,%dl                        
  10e49b:	74 3d                	je     10e4da <_Objects_Get_name_as_string+0xca>
  10e49d:	89 d9                	mov    %ebx,%ecx                      
  10e49f:	31 c0                	xor    %eax,%eax                      
  10e4a1:	eb 09                	jmp    10e4ac <_Objects_Get_name_as_string+0x9c>
  10e4a3:	90                   	nop                                   
  10e4a4:	8a 54 05 df          	mov    -0x21(%ebp,%eax,1),%dl         
  10e4a8:	84 d2                	test   %dl,%dl                        
  10e4aa:	74 21                	je     10e4cd <_Objects_Get_name_as_string+0xbd>
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
  10e4ac:	0f b6 f2             	movzbl %dl,%esi                       
  10e4af:	8b 3d e8 73 12 00    	mov    0x1273e8,%edi                  
  10e4b5:	0f be 74 37 01       	movsbl 0x1(%edi,%esi,1),%esi          
  10e4ba:	81 e6 97 00 00 00    	and    $0x97,%esi                     
  10e4c0:	75 02                	jne    10e4c4 <_Objects_Get_name_as_string+0xb4>
  10e4c2:	b2 2a                	mov    $0x2a,%dl                      
  10e4c4:	88 11                	mov    %dl,(%ecx)                     
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
  10e4c6:	40                   	inc    %eax                           
  10e4c7:	41                   	inc    %ecx                           
  10e4c8:	3b 45 d4             	cmp    -0x2c(%ebp),%eax               
  10e4cb:	72 d7                	jb     10e4a4 <_Objects_Get_name_as_string+0x94>
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
        }                                                             
      }                                                               
      *d = '\0';                                                      
  10e4cd:	c6 01 00             	movb   $0x0,(%ecx)                    
                                                                      
      _Thread_Enable_dispatch();                                      
  10e4d0:	e8 93 0a 00 00       	call   10ef68 <_Thread_Enable_dispatch>
      return name;                                                    
  10e4d5:	e9 4e ff ff ff       	jmp    10e428 <_Objects_Get_name_as_string+0x18>
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
  10e4da:	89 d9                	mov    %ebx,%ecx                      
  10e4dc:	eb ef                	jmp    10e4cd <_Objects_Get_name_as_string+0xbd>
                                                                      

0010cec4 <_Objects_Get_next>: Objects_Information *information, Objects_Id id, Objects_Locations *location_p, Objects_Id *next_id_p ) {
  10cec4:	55                   	push   %ebp                           
  10cec5:	89 e5                	mov    %esp,%ebp                      
  10cec7:	57                   	push   %edi                           
  10cec8:	56                   	push   %esi                           
  10cec9:	53                   	push   %ebx                           
  10ceca:	83 ec 0c             	sub    $0xc,%esp                      
  10cecd:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10ced0:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10ced3:	8b 7d 10             	mov    0x10(%ebp),%edi                
    Objects_Control *object;                                          
    Objects_Id       next_id;                                         
                                                                      
    if ( !information )                                               
  10ced6:	85 db                	test   %ebx,%ebx                      
  10ced8:	75 0a                	jne    10cee4 <_Objects_Get_next+0x20>
                                                                      
    if ( !location_p )                                                
      return NULL;                                                    
                                                                      
    if ( !next_id_p )                                                 
      return NULL;                                                    
  10ceda:	31 c0                	xor    %eax,%eax                      
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
    return 0;                                                         
}                                                                     
  10cedc:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10cedf:	5b                   	pop    %ebx                           
  10cee0:	5e                   	pop    %esi                           
  10cee1:	5f                   	pop    %edi                           
  10cee2:	c9                   	leave                                 
  10cee3:	c3                   	ret                                   
    Objects_Id       next_id;                                         
                                                                      
    if ( !information )                                               
      return NULL;                                                    
                                                                      
    if ( !location_p )                                                
  10cee4:	85 ff                	test   %edi,%edi                      
  10cee6:	74 f2                	je     10ceda <_Objects_Get_next+0x16>
      return NULL;                                                    
                                                                      
    if ( !next_id_p )                                                 
  10cee8:	8b 45 14             	mov    0x14(%ebp),%eax                
  10ceeb:	85 c0                	test   %eax,%eax                      
  10ceed:	74 eb                	je     10ceda <_Objects_Get_next+0x16>
      return NULL;                                                    
                                                                      
    if (_Objects_Get_index(id) == OBJECTS_ID_INITIAL_INDEX)           
  10ceef:	66 85 f6             	test   %si,%si                        
  10cef2:	75 04                	jne    10cef8 <_Objects_Get_next+0x34>
        next_id = information->minimum_id;                            
  10cef4:	8b 73 08             	mov    0x8(%ebx),%esi                 
  10cef7:	90                   	nop                                   
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
  10cef8:	66 39 73 10          	cmp    %si,0x10(%ebx)                 
  10cefc:	72 22                	jb     10cf20 <_Objects_Get_next+0x5c>
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
  10cefe:	51                   	push   %ecx                           
  10ceff:	57                   	push   %edi                           
  10cf00:	56                   	push   %esi                           
  10cf01:	53                   	push   %ebx                           
  10cf02:	e8 2d 00 00 00       	call   10cf34 <_Objects_Get>          
                                                                      
        next_id++;                                                    
  10cf07:	46                   	inc    %esi                           
                                                                      
    } while (*location_p != OBJECTS_LOCAL);                           
  10cf08:	83 c4 10             	add    $0x10,%esp                     
  10cf0b:	8b 17                	mov    (%edi),%edx                    
  10cf0d:	85 d2                	test   %edx,%edx                      
  10cf0f:	75 e7                	jne    10cef8 <_Objects_Get_next+0x34>
                                                                      
    *next_id_p = next_id;                                             
  10cf11:	8b 55 14             	mov    0x14(%ebp),%edx                
  10cf14:	89 32                	mov    %esi,(%edx)                    
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
    return 0;                                                         
}                                                                     
  10cf16:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10cf19:	5b                   	pop    %ebx                           
  10cf1a:	5e                   	pop    %esi                           
  10cf1b:	5f                   	pop    %edi                           
  10cf1c:	c9                   	leave                                 
  10cf1d:	c3                   	ret                                   
  10cf1e:	66 90                	xchg   %ax,%ax                        
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
        {                                                             
            *location_p = OBJECTS_ERROR;                              
  10cf20:	c7 07 01 00 00 00    	movl   $0x1,(%edi)                    
                                                                      
    *next_id_p = next_id;                                             
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
  10cf26:	8b 45 14             	mov    0x14(%ebp),%eax                
  10cf29:	c7 00 ff ff ff ff    	movl   $0xffffffff,(%eax)             
    return 0;                                                         
  10cf2f:	31 c0                	xor    %eax,%eax                      
  10cf31:	eb a9                	jmp    10cedc <_Objects_Get_next+0x18>
                                                                      

0011b170 <_Objects_Get_no_protection>: Objects_Control *_Objects_Get_no_protection( Objects_Information *information, Objects_Id id, Objects_Locations *location ) {
  11b170:	55                   	push   %ebp                           
  11b171:	89 e5                	mov    %esp,%ebp                      
  11b173:	53                   	push   %ebx                           
  11b174:	8b 55 08             	mov    0x8(%ebp),%edx                 
  11b177:	8b 5d 10             	mov    0x10(%ebp),%ebx                
                                                                      
  /*                                                                  
   * 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;                           
  11b17a:	b8 01 00 00 00       	mov    $0x1,%eax                      
  11b17f:	2b 42 08             	sub    0x8(%edx),%eax                 
  11b182:	03 45 0c             	add    0xc(%ebp),%eax                 
                                                                      
  if ( information->maximum >= index ) {                              
  11b185:	0f b7 4a 10          	movzwl 0x10(%edx),%ecx                
  11b189:	39 c8                	cmp    %ecx,%eax                      
  11b18b:	77 13                	ja     11b1a0 <_Objects_Get_no_protection+0x30>
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
  11b18d:	8b 52 1c             	mov    0x1c(%edx),%edx                
  11b190:	8b 04 82             	mov    (%edx,%eax,4),%eax             
  11b193:	85 c0                	test   %eax,%eax                      
  11b195:	74 09                	je     11b1a0 <_Objects_Get_no_protection+0x30><== NEVER TAKEN
      *location = OBJECTS_LOCAL;                                      
  11b197:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
  return NULL;                                                        
}                                                                     
  11b19d:	5b                   	pop    %ebx                           
  11b19e:	c9                   	leave                                 
  11b19f:	c3                   	ret                                   
                                                                      
  /*                                                                  
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
  11b1a0:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)                    
  return NULL;                                                        
  11b1a6:	31 c0                	xor    %eax,%eax                      
}                                                                     
  11b1a8:	5b                   	pop    %ebx                           
  11b1a9:	c9                   	leave                                 
  11b1aa:	c3                   	ret                                   
                                                                      

0010e018 <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
  10e018:	55                   	push   %ebp                           
  10e019:	89 e5                	mov    %esp,%ebp                      
  10e01b:	83 ec 18             	sub    $0x18,%esp                     
  10e01e:	8b 55 08             	mov    0x8(%ebp),%edx                 
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
  10e021:	85 d2                	test   %edx,%edx                      
  10e023:	75 08                	jne    10e02d <_Objects_Id_to_name+0x15>
  10e025:	a1 38 8d 12 00       	mov    0x128d38,%eax                  
  10e02a:	8b 50 08             	mov    0x8(%eax),%edx                 
  10e02d:	89 d0                	mov    %edx,%eax                      
  10e02f:	c1 e8 18             	shr    $0x18,%eax                     
  10e032:	83 e0 07             	and    $0x7,%eax                      
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
  10e035:	8d 48 ff             	lea    -0x1(%eax),%ecx                
  10e038:	83 f9 02             	cmp    $0x2,%ecx                      
  10e03b:	77 3b                	ja     10e078 <_Objects_Id_to_name+0x60>
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
  10e03d:	8b 04 85 48 8a 12 00 	mov    0x128a48(,%eax,4),%eax         
  10e044:	85 c0                	test   %eax,%eax                      
  10e046:	74 30                	je     10e078 <_Objects_Id_to_name+0x60>
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (uint32_t)                                                   
  10e048:	89 d1                	mov    %edx,%ecx                      
  10e04a:	c1 e9 1b             	shr    $0x1b,%ecx                     
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
  10e04d:	8b 04 88             	mov    (%eax,%ecx,4),%eax             
  if ( !information )                                                 
  10e050:	85 c0                	test   %eax,%eax                      
  10e052:	74 24                	je     10e078 <_Objects_Id_to_name+0x60><== NEVER TAKEN
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
      return OBJECTS_INVALID_ID;                                      
  #endif                                                              
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
  10e054:	51                   	push   %ecx                           
  10e055:	8d 4d f4             	lea    -0xc(%ebp),%ecx                
  10e058:	51                   	push   %ecx                           
  10e059:	52                   	push   %edx                           
  10e05a:	50                   	push   %eax                           
  10e05b:	e8 50 ff ff ff       	call   10dfb0 <_Objects_Get>          
  if ( !the_object )                                                  
  10e060:	83 c4 10             	add    $0x10,%esp                     
  10e063:	85 c0                	test   %eax,%eax                      
  10e065:	74 11                	je     10e078 <_Objects_Id_to_name+0x60>
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  10e067:	8b 50 0c             	mov    0xc(%eax),%edx                 
  10e06a:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10e06d:	89 10                	mov    %edx,(%eax)                    
  _Thread_Enable_dispatch();                                          
  10e06f:	e8 2c 0a 00 00       	call   10eaa0 <_Thread_Enable_dispatch>
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
  10e074:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10e076:	c9                   	leave                                 
  10e077:	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 ] )                       
    return OBJECTS_INVALID_ID;                                        
  10e078:	b8 03 00 00 00       	mov    $0x3,%eax                      
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
  10e07d:	c9                   	leave                                 
  10e07e:	c3                   	ret                                   
                                                                      

0010cdd4 <_Objects_Initialize_information>: , bool supports_global, Objects_Thread_queue_Extract_callout extract #endif ) {
  10cdd4:	55                   	push   %ebp                           
  10cdd5:	89 e5                	mov    %esp,%ebp                      
  10cdd7:	57                   	push   %edi                           
  10cdd8:	56                   	push   %esi                           
  10cdd9:	53                   	push   %ebx                           
  10cdda:	83 ec 0c             	sub    $0xc,%esp                      
  10cddd:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10cde0:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10cde3:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  10cde6:	8b 75 20             	mov    0x20(%ebp),%esi                
  10cde9:	0f b7 7d 18          	movzwl 0x18(%ebp),%edi                
  uint32_t                maximum_per_allocation;                     
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t              index;                                      
  #endif                                                              
                                                                      
  information->the_api            = the_api;                          
  10cded:	89 10                	mov    %edx,(%eax)                    
  information->the_class          = the_class;                        
  10cdef:	66 89 58 04          	mov    %bx,0x4(%eax)                  
  information->size               = size;                             
  10cdf3:	89 78 18             	mov    %edi,0x18(%eax)                
  information->local_table        = 0;                                
  10cdf6:	c7 40 1c 00 00 00 00 	movl   $0x0,0x1c(%eax)                
  information->inactive_per_block = 0;                                
  10cdfd:	c7 40 30 00 00 00 00 	movl   $0x0,0x30(%eax)                
  information->object_blocks      = 0;                                
  10ce04:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
  information->inactive           = 0;                                
  10ce0b:	66 c7 40 2c 00 00    	movw   $0x0,0x2c(%eax)                
                                                                      
  /*                                                                  
   *  Set the maximum value to 0. It will be updated when objects are 
   *  added to the inactive set from _Objects_Extend_information()    
   */                                                                 
  information->maximum = 0;                                           
  10ce11:	66 c7 40 10 00 00    	movw   $0x0,0x10(%eax)                
                                                                      
  /*                                                                  
   *  Register this Object Class in the Object Information Table.     
   */                                                                 
  _Objects_Information_table[ the_api ][ the_class ] = information;   
  10ce17:	0f b7 db             	movzwl %bx,%ebx                       
  10ce1a:	8b 3c 95 48 54 12 00 	mov    0x125448(,%edx,4),%edi         
  10ce21:	89 04 9f             	mov    %eax,(%edi,%ebx,4)             
                                                                      
  /*                                                                  
   *  Are we operating in limited or unlimited (e.g. auto-extend) mode.
   */                                                                 
  information->auto_extend =                                          
        (maximum & OBJECTS_UNLIMITED_OBJECTS) ? true : false;         
  10ce24:	8b 7d 14             	mov    0x14(%ebp),%edi                
  10ce27:	c1 ef 1f             	shr    $0x1f,%edi                     
  _Objects_Information_table[ the_api ][ the_class ] = information;   
                                                                      
  /*                                                                  
   *  Are we operating in limited or unlimited (e.g. auto-extend) mode.
   */                                                                 
  information->auto_extend =                                          
  10ce2a:	89 f9                	mov    %edi,%ecx                      
  10ce2c:	88 48 12             	mov    %cl,0x12(%eax)                 
        (maximum & OBJECTS_UNLIMITED_OBJECTS) ? true : false;         
  maximum_per_allocation = maximum & ~OBJECTS_UNLIMITED_OBJECTS;      
  10ce2f:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  10ce32:	81 e1 ff ff ff 7f    	and    $0x7fffffff,%ecx               
                                                                      
  /*                                                                  
   *  Unlimited and maximum of zero is illogical.                     
   */                                                                 
  if ( information->auto_extend && maximum_per_allocation == 0) {     
  10ce38:	85 ff                	test   %edi,%edi                      
  10ce3a:	74 04                	je     10ce40 <_Objects_Initialize_information+0x6c>
  10ce3c:	85 c9                	test   %ecx,%ecx                      
  10ce3e:	74 67                	je     10cea7 <_Objects_Initialize_information+0xd3>
  }                                                                   
                                                                      
  /*                                                                  
   *  The allocation unit is the maximum value                        
   */                                                                 
  information->allocation_size = maximum_per_allocation;              
  10ce40:	66 89 48 14          	mov    %cx,0x14(%eax)                 
                                                                      
  /*                                                                  
   *  Provide a null local table entry for the case of any empty table.
   */                                                                 
  information->local_table = &null_local_table;                       
  10ce44:	c7 40 1c e4 50 12 00 	movl   $0x1250e4,0x1c(%eax)           
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
  10ce4b:	c1 e2 18             	shl    $0x18,%edx                     
  10ce4e:	81 ca 00 00 01 00    	or     $0x10000,%edx                  
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
  10ce54:	c1 e3 1b             	shl    $0x1b,%ebx                     
  10ce57:	09 da                	or     %ebx,%edx                      
                                                                      
  /*                                                                  
   *  Calculate minimum and maximum Id's                              
   */                                                                 
  minimum_index = (maximum_per_allocation == 0) ? 0 : 1;              
  10ce59:	31 db                	xor    %ebx,%ebx                      
  10ce5b:	85 c9                	test   %ecx,%ecx                      
  10ce5d:	0f 95 c3             	setne  %bl                            
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
  10ce60:	09 da                	or     %ebx,%edx                      
  10ce62:	89 50 08             	mov    %edx,0x8(%eax)                 
  /*                                                                  
   *  Calculate the maximum name length                               
   */                                                                 
  name_length = maximum_name_length;                                  
                                                                      
  if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )                     
  10ce65:	f7 c6 03 00 00 00    	test   $0x3,%esi                      
  10ce6b:	75 23                	jne    10ce90 <_Objects_Initialize_information+0xbc><== NEVER TAKEN
    name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &            
                  ~(OBJECTS_NAME_ALIGNMENT-1);                        
                                                                      
  information->name_length = name_length;                             
  10ce6d:	66 89 70 38          	mov    %si,0x38(%eax)                 
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  10ce71:	8d 50 24             	lea    0x24(%eax),%edx                
  10ce74:	89 50 20             	mov    %edx,0x20(%eax)                
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  10ce77:	c7 40 24 00 00 00 00 	movl   $0x0,0x24(%eax)                
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  10ce7e:	8d 50 20             	lea    0x20(%eax),%edx                
  10ce81:	89 50 28             	mov    %edx,0x28(%eax)                
  _Chain_Initialize_empty( &information->Inactive );                  
                                                                      
  /*                                                                  
   *  Initialize objects .. if there are any                          
   */                                                                 
  if ( maximum_per_allocation ) {                                     
  10ce84:	85 c9                	test   %ecx,%ecx                      
  10ce86:	75 10                	jne    10ce98 <_Objects_Initialize_information+0xc4>
	_Chain_Initialize_empty( &information->global_table[ index ] );      
     }                                                                
     else                                                             
       information->global_table = NULL;                              
  #endif                                                              
}                                                                     
  10ce88:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ce8b:	5b                   	pop    %ebx                           
  10ce8c:	5e                   	pop    %esi                           
  10ce8d:	5f                   	pop    %edi                           
  10ce8e:	c9                   	leave                                 
  10ce8f:	c3                   	ret                                   
   *  Calculate the maximum name length                               
   */                                                                 
  name_length = maximum_name_length;                                  
                                                                      
  if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )                     
    name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &            
  10ce90:	83 c6 04             	add    $0x4,%esi                      <== NOT EXECUTED
  10ce93:	83 e6 fc             	and    $0xfffffffc,%esi               <== NOT EXECUTED
  10ce96:	eb d5                	jmp    10ce6d <_Objects_Initialize_information+0x99><== NOT EXECUTED
    /*                                                                
     *  Always have the maximum size available so the current performance
     *  figures are create are met.  If the user moves past the maximum
     *  number then a performance hit is taken.                       
     */                                                               
    _Objects_Extend_information( information );                       
  10ce98:	89 45 08             	mov    %eax,0x8(%ebp)                 
	_Chain_Initialize_empty( &information->global_table[ index ] );      
     }                                                                
     else                                                             
       information->global_table = NULL;                              
  #endif                                                              
}                                                                     
  10ce9b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ce9e:	5b                   	pop    %ebx                           
  10ce9f:	5e                   	pop    %esi                           
  10cea0:	5f                   	pop    %edi                           
  10cea1:	c9                   	leave                                 
    /*                                                                
     *  Always have the maximum size available so the current performance
     *  figures are create are met.  If the user moves past the maximum
     *  number then a performance hit is taken.                       
     */                                                               
    _Objects_Extend_information( information );                       
  10cea2:	e9 b1 fa ff ff       	jmp    10c958 <_Objects_Extend_information>
                                                                      
  /*                                                                  
   *  Unlimited and maximum of zero is illogical.                     
   */                                                                 
  if ( information->auto_extend && maximum_per_allocation == 0) {     
    _Internal_error_Occurred(                                         
  10cea7:	50                   	push   %eax                           
  10cea8:	6a 13                	push   $0x13                          
  10ceaa:	6a 01                	push   $0x1                           
  10ceac:	6a 00                	push   $0x0                           
  10ceae:	e8 71 f9 ff ff       	call   10c824 <_Internal_error_Occurred>
                                                                      

0010cec4 <_Objects_Name_to_id_u32>: Objects_Information *information, uint32_t name, uint32_t node, Objects_Id *id ) {
  10cec4:	55                   	push   %ebp                           
  10cec5:	89 e5                	mov    %esp,%ebp                      
  10cec7:	57                   	push   %edi                           
  10cec8:	56                   	push   %esi                           
  10cec9:	53                   	push   %ebx                           
  10ceca:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10cecd:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10ced0:	8b 55 10             	mov    0x10(%ebp),%edx                
  10ced3:	8b 7d 14             	mov    0x14(%ebp),%edi                
  Objects_Name               name_for_mp;                             
#endif                                                                
                                                                      
  /* ASSERT: information->is_string == false */                       
                                                                      
  if ( !id )                                                          
  10ced6:	85 ff                	test   %edi,%edi                      
  10ced8:	74 56                	je     10cf30 <_Objects_Name_to_id_u32+0x6c>
    return OBJECTS_INVALID_ADDRESS;                                   
                                                                      
  if ( name == 0 )                                                    
  10ceda:	85 c9                	test   %ecx,%ecx                      
  10cedc:	74 08                	je     10cee6 <_Objects_Name_to_id_u32+0x22>
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  search_local_node = false;                                          
                                                                      
  if ( information->maximum != 0 &&                                   
  10cede:	8b 70 10             	mov    0x10(%eax),%esi                
  10cee1:	66 85 f6             	test   %si,%si                        
  10cee4:	75 0a                	jne    10cef0 <_Objects_Name_to_id_u32+0x2c>
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  name_for_mp.name_u32 = name;                                        
  return _Objects_MP_Global_name_search( information, name_for_mp, node, id );
#else                                                                 
  return OBJECTS_INVALID_NAME;                                        
  10cee6:	b8 01 00 00 00       	mov    $0x1,%eax                      
#endif                                                                
}                                                                     
  10ceeb:	5b                   	pop    %ebx                           
  10ceec:	5e                   	pop    %esi                           
  10ceed:	5f                   	pop    %edi                           
  10ceee:	c9                   	leave                                 
  10ceef:	c3                   	ret                                   
  if ( name == 0 )                                                    
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  search_local_node = false;                                          
                                                                      
  if ( information->maximum != 0 &&                                   
  10cef0:	85 d2                	test   %edx,%edx                      
  10cef2:	75 20                	jne    10cf14 <_Objects_Name_to_id_u32+0x50>
       _Objects_Is_local_node( node )                                 
      ))                                                              
   search_local_node = true;                                          
                                                                      
  if ( search_local_node ) {                                          
    for ( index = 1; index <= information->maximum; index++ ) {       
  10cef4:	0f b7 f6             	movzwl %si,%esi                       
  10cef7:	8b 58 1c             	mov    0x1c(%eax),%ebx                
  10cefa:	b8 01 00 00 00       	mov    $0x1,%eax                      
  10ceff:	90                   	nop                                   
      the_object = information->local_table[ index ];                 
  10cf00:	8b 14 83             	mov    (%ebx,%eax,4),%edx             
      if ( !the_object )                                              
  10cf03:	85 d2                	test   %edx,%edx                      
  10cf05:	74 05                	je     10cf0c <_Objects_Name_to_id_u32+0x48>
        continue;                                                     
                                                                      
      if ( name == the_object->name.name_u32 ) {                      
  10cf07:	39 4a 0c             	cmp    %ecx,0xc(%edx)                 
  10cf0a:	74 18                	je     10cf24 <_Objects_Name_to_id_u32+0x60>
       _Objects_Is_local_node( node )                                 
      ))                                                              
   search_local_node = true;                                          
                                                                      
  if ( search_local_node ) {                                          
    for ( index = 1; index <= information->maximum; index++ ) {       
  10cf0c:	40                   	inc    %eax                           
  10cf0d:	39 c6                	cmp    %eax,%esi                      
  10cf0f:	73 ef                	jae    10cf00 <_Objects_Name_to_id_u32+0x3c>
  10cf11:	eb d3                	jmp    10cee6 <_Objects_Name_to_id_u32+0x22>
  10cf13:	90                   	nop                                   
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  search_local_node = false;                                          
                                                                      
  if ( information->maximum != 0 &&                                   
      (node == OBJECTS_SEARCH_ALL_NODES ||                            
  10cf14:	81 fa ff ff ff 7f    	cmp    $0x7fffffff,%edx               
  10cf1a:	74 d8                	je     10cef4 <_Objects_Name_to_id_u32+0x30>
       node == OBJECTS_SEARCH_LOCAL_NODE ||                           
  10cf1c:	4a                   	dec    %edx                           
  10cf1d:	75 c7                	jne    10cee6 <_Objects_Name_to_id_u32+0x22>
  10cf1f:	eb d3                	jmp    10cef4 <_Objects_Name_to_id_u32+0x30>
  10cf21:	8d 76 00             	lea    0x0(%esi),%esi                 
      the_object = information->local_table[ index ];                 
      if ( !the_object )                                              
        continue;                                                     
                                                                      
      if ( name == the_object->name.name_u32 ) {                      
        *id = the_object->id;                                         
  10cf24:	8b 42 08             	mov    0x8(%edx),%eax                 
  10cf27:	89 07                	mov    %eax,(%edi)                    
        return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                  
  10cf29:	31 c0                	xor    %eax,%eax                      
  name_for_mp.name_u32 = name;                                        
  return _Objects_MP_Global_name_search( information, name_for_mp, node, id );
#else                                                                 
  return OBJECTS_INVALID_NAME;                                        
#endif                                                                
}                                                                     
  10cf2b:	5b                   	pop    %ebx                           
  10cf2c:	5e                   	pop    %esi                           
  10cf2d:	5f                   	pop    %edi                           
  10cf2e:	c9                   	leave                                 
  10cf2f:	c3                   	ret                                   
#endif                                                                
                                                                      
  /* ASSERT: information->is_string == false */                       
                                                                      
  if ( !id )                                                          
    return OBJECTS_INVALID_ADDRESS;                                   
  10cf30:	b8 02 00 00 00       	mov    $0x2,%eax                      
  name_for_mp.name_u32 = name;                                        
  return _Objects_MP_Global_name_search( information, name_for_mp, node, id );
#else                                                                 
  return OBJECTS_INVALID_NAME;                                        
#endif                                                                
}                                                                     
  10cf35:	5b                   	pop    %ebx                           
  10cf36:	5e                   	pop    %esi                           
  10cf37:	5f                   	pop    %edi                           
  10cf38:	c9                   	leave                                 
  10cf39:	c3                   	ret                                   
                                                                      

0010edac <_Objects_Set_name>: bool _Objects_Set_name( Objects_Information *information, Objects_Control *the_object, const char *name ) {
  10edac:	55                   	push   %ebp                           
  10edad:	89 e5                	mov    %esp,%ebp                      
  10edaf:	53                   	push   %ebx                           
  10edb0:	83 ec 0c             	sub    $0xc,%esp                      
  10edb3:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
  10edb6:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10edb9:	0f b7 40 38          	movzwl 0x38(%eax),%eax                
  10edbd:	50                   	push   %eax                           
  10edbe:	53                   	push   %ebx                           
  10edbf:	e8 c4 66 00 00       	call   115488 <strnlen>               
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
  10edc4:	0f be 0b             	movsbl (%ebx),%ecx                    
  10edc7:	c1 e1 18             	shl    $0x18,%ecx                     
  10edca:	83 c4 10             	add    $0x10,%esp                     
  10edcd:	83 f8 01             	cmp    $0x1,%eax                      
  10edd0:	76 32                	jbe    10ee04 <_Objects_Set_name+0x58>
  10edd2:	0f be 53 01          	movsbl 0x1(%ebx),%edx                 
  10edd6:	c1 e2 10             	shl    $0x10,%edx                     
  10edd9:	09 ca                	or     %ecx,%edx                      
  10eddb:	83 f8 02             	cmp    $0x2,%eax                      
  10edde:	74 2c                	je     10ee0c <_Objects_Set_name+0x60>
  10ede0:	0f be 4b 02          	movsbl 0x2(%ebx),%ecx                 
  10ede4:	c1 e1 08             	shl    $0x8,%ecx                      
  10ede7:	09 d1                	or     %edx,%ecx                      
  10ede9:	83 f8 03             	cmp    $0x3,%eax                      
  10edec:	74 37                	je     10ee25 <_Objects_Set_name+0x79>
  10edee:	0f be 43 03          	movsbl 0x3(%ebx),%eax                 
  10edf2:	09 c1                	or     %eax,%ecx                      
  10edf4:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10edf7:	89 4a 0c             	mov    %ecx,0xc(%edx)                 
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
  10edfa:	b0 01                	mov    $0x1,%al                       
  10edfc:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10edff:	c9                   	leave                                 
  10ee00:	c3                   	ret                                   
  10ee01:	8d 76 00             	lea    0x0(%esi),%esi                 
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
  10ee04:	89 ca                	mov    %ecx,%edx                      
  10ee06:	81 ca 00 00 20 00    	or     $0x200000,%edx                 
  10ee0c:	89 d1                	mov    %edx,%ecx                      
  10ee0e:	80 cd 20             	or     $0x20,%ch                      
  10ee11:	b8 20 00 00 00       	mov    $0x20,%eax                     
  10ee16:	09 c1                	or     %eax,%ecx                      
  10ee18:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10ee1b:	89 4a 0c             	mov    %ecx,0xc(%edx)                 
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
  10ee1e:	b0 01                	mov    $0x1,%al                       
  10ee20:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ee23:	c9                   	leave                                 
  10ee24:	c3                   	ret                                   
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
  10ee25:	b8 20 00 00 00       	mov    $0x20,%eax                     
  10ee2a:	eb c6                	jmp    10edf2 <_Objects_Set_name+0x46>
                                                                      

0010cf3c <_Objects_Shrink_information>: */ void _Objects_Shrink_information( Objects_Information *information ) {
  10cf3c:	55                   	push   %ebp                           
  10cf3d:	89 e5                	mov    %esp,%ebp                      
  10cf3f:	57                   	push   %edi                           
  10cf40:	56                   	push   %esi                           
  10cf41:	53                   	push   %ebx                           
  10cf42:	83 ec 1c             	sub    $0x1c,%esp                     
                                                                      
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  10cf45:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10cf48:	0f b7 58 08          	movzwl 0x8(%eax),%ebx                 
  block_count = (information->maximum - index_base) /                 
  10cf4c:	0f b7 48 14          	movzwl 0x14(%eax),%ecx                
  10cf50:	0f b7 40 10          	movzwl 0x10(%eax),%eax                
  10cf54:	29 d8                	sub    %ebx,%eax                      
  10cf56:	31 d2                	xor    %edx,%edx                      
  10cf58:	f7 f1                	div    %ecx                           
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
  10cf5a:	85 c0                	test   %eax,%eax                      
  10cf5c:	74 21                	je     10cf7f <_Objects_Shrink_information+0x43><== NEVER TAKEN
    if ( information->inactive_per_block[ block ] ==                  
  10cf5e:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10cf61:	8b 7a 30             	mov    0x30(%edx),%edi                
  10cf64:	3b 0f                	cmp    (%edi),%ecx                    
  10cf66:	74 1f                	je     10cf87 <_Objects_Shrink_information+0x4b><== NEVER TAKEN
  10cf68:	31 d2                	xor    %edx,%edx                      
  10cf6a:	eb 0e                	jmp    10cf7a <_Objects_Shrink_information+0x3e>
      information->inactive -= information->allocation_size;          
                                                                      
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  10cf6c:	01 cb                	add    %ecx,%ebx                      
  10cf6e:	8d 34 95 00 00 00 00 	lea    0x0(,%edx,4),%esi              
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
    if ( information->inactive_per_block[ block ] ==                  
  10cf75:	3b 0c 97             	cmp    (%edi,%edx,4),%ecx             
  10cf78:	74 12                	je     10cf8c <_Objects_Shrink_information+0x50>
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
  10cf7a:	42                   	inc    %edx                           
  10cf7b:	39 d0                	cmp    %edx,%eax                      
  10cf7d:	77 ed                	ja     10cf6c <_Objects_Shrink_information+0x30>
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
  10cf7f:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10cf82:	5b                   	pop    %ebx                           
  10cf83:	5e                   	pop    %esi                           
  10cf84:	5f                   	pop    %edi                           
  10cf85:	c9                   	leave                                 
  10cf86:	c3                   	ret                                   
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
    if ( information->inactive_per_block[ block ] ==                  
  10cf87:	31 f6                	xor    %esi,%esi                      
  10cf89:	8d 76 00             	lea    0x0(%esi),%esi                 
         information->allocation_size ) {                             
                                                                      
      /*                                                              
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) _Chain_First( &information->Inactive );
  10cf8c:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10cf8f:	8b 42 20             	mov    0x20(%edx),%eax                
  10cf92:	89 75 e4             	mov    %esi,-0x1c(%ebp)               
  10cf95:	eb 07                	jmp    10cf9e <_Objects_Shrink_information+0x62>
  10cf97:	90                   	nop                                   
         if ((index >= index_base) &&                                 
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
         }                                                            
       }                                                              
       while ( the_object );                                          
  10cf98:	85 ff                	test   %edi,%edi                      
  10cf9a:	74 2c                	je     10cfc8 <_Objects_Shrink_information+0x8c>
         index = _Objects_Get_index( the_object->id );                
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
  10cf9c:	89 f8                	mov    %edi,%eax                      
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) _Chain_First( &information->Inactive );
                                                                      
      do {                                                            
         index = _Objects_Get_index( the_object->id );                
  10cf9e:	0f b7 50 08          	movzwl 0x8(%eax),%edx                 
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
  10cfa2:	8b 38                	mov    (%eax),%edi                    
         if ((index >= index_base) &&                                 
  10cfa4:	39 da                	cmp    %ebx,%edx                      
  10cfa6:	72 f0                	jb     10cf98 <_Objects_Shrink_information+0x5c>
             (index < (index_base + information->allocation_size))) { 
  10cfa8:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10cfab:	0f b7 4e 14          	movzwl 0x14(%esi),%ecx                
  10cfaf:	8d 0c 0b             	lea    (%ebx,%ecx,1),%ecx             
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
         if ((index >= index_base) &&                                 
  10cfb2:	39 ca                	cmp    %ecx,%edx                      
  10cfb4:	73 e2                	jae    10cf98 <_Objects_Shrink_information+0x5c>
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
  10cfb6:	83 ec 0c             	sub    $0xc,%esp                      
  10cfb9:	50                   	push   %eax                           
  10cfba:	e8 f5 ef ff ff       	call   10bfb4 <_Chain_Extract>        
  10cfbf:	83 c4 10             	add    $0x10,%esp                     
         }                                                            
       }                                                              
       while ( the_object );                                          
  10cfc2:	85 ff                	test   %edi,%edi                      
  10cfc4:	75 d6                	jne    10cf9c <_Objects_Shrink_information+0x60>
  10cfc6:	66 90                	xchg   %ax,%ax                        
  10cfc8:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
  10cfcb:	83 ec 0c             	sub    $0xc,%esp                      
  10cfce:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10cfd1:	8b 42 34             	mov    0x34(%edx),%eax                
  10cfd4:	ff 34 30             	pushl  (%eax,%esi,1)                  
  10cfd7:	e8 48 18 00 00       	call   10e824 <_Workspace_Free>       
      information->object_blocks[ block ] = NULL;                     
  10cfdc:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10cfdf:	8b 42 34             	mov    0x34(%edx),%eax                
  10cfe2:	c7 04 30 00 00 00 00 	movl   $0x0,(%eax,%esi,1)             
      information->inactive_per_block[ block ] = 0;                   
  10cfe9:	8b 42 30             	mov    0x30(%edx),%eax                
  10cfec:	c7 04 30 00 00 00 00 	movl   $0x0,(%eax,%esi,1)             
                                                                      
      information->inactive -= information->allocation_size;          
  10cff3:	8b 42 14             	mov    0x14(%edx),%eax                
  10cff6:	66 29 42 2c          	sub    %ax,0x2c(%edx)                 
                                                                      
      return;                                                         
  10cffa:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
  10cffd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d000:	5b                   	pop    %ebx                           
  10d001:	5e                   	pop    %esi                           
  10d002:	5f                   	pop    %edi                           
  10d003:	c9                   	leave                                 
  10d004:	c3                   	ret                                   
                                                                      

0010d764 <_Protected_heap_Get_information>: bool _Protected_heap_Get_information( Heap_Control *the_heap, Heap_Information_block *the_info ) {
  10d764:	55                   	push   %ebp                           
  10d765:	89 e5                	mov    %esp,%ebp                      
  10d767:	56                   	push   %esi                           
  10d768:	53                   	push   %ebx                           
  10d769:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10d76c:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  if ( !the_heap )                                                    
  10d76f:	85 db                	test   %ebx,%ebx                      
  10d771:	74 35                	je     10d7a8 <_Protected_heap_Get_information+0x44>
    return false;                                                     
                                                                      
  if ( !the_info )                                                    
  10d773:	85 f6                	test   %esi,%esi                      
  10d775:	74 31                	je     10d7a8 <_Protected_heap_Get_information+0x44>
    return false;                                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
  10d777:	83 ec 0c             	sub    $0xc,%esp                      
  10d77a:	ff 35 1c 66 12 00    	pushl  0x12661c                       
  10d780:	e8 83 ee ff ff       	call   10c608 <_API_Mutex_Lock>       
    _Heap_Get_information( the_heap, the_info );                      
  10d785:	5a                   	pop    %edx                           
  10d786:	59                   	pop    %ecx                           
  10d787:	56                   	push   %esi                           
  10d788:	53                   	push   %ebx                           
  10d789:	e8 da 3c 00 00       	call   111468 <_Heap_Get_information> 
  _RTEMS_Unlock_allocator();                                          
  10d78e:	58                   	pop    %eax                           
  10d78f:	ff 35 1c 66 12 00    	pushl  0x12661c                       
  10d795:	e8 b6 ee ff ff       	call   10c650 <_API_Mutex_Unlock>     
                                                                      
  return true;                                                        
  10d79a:	83 c4 10             	add    $0x10,%esp                     
  10d79d:	b0 01                	mov    $0x1,%al                       
}                                                                     
  10d79f:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10d7a2:	5b                   	pop    %ebx                           
  10d7a3:	5e                   	pop    %esi                           
  10d7a4:	c9                   	leave                                 
  10d7a5:	c3                   	ret                                   
  10d7a6:	66 90                	xchg   %ax,%ax                        
{                                                                     
  if ( !the_heap )                                                    
    return false;                                                     
                                                                      
  if ( !the_info )                                                    
    return false;                                                     
  10d7a8:	31 c0                	xor    %eax,%eax                      
  _RTEMS_Lock_allocator();                                            
    _Heap_Get_information( the_heap, the_info );                      
  _RTEMS_Unlock_allocator();                                          
                                                                      
  return true;                                                        
}                                                                     
  10d7aa:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10d7ad:	5b                   	pop    %ebx                           
  10d7ae:	5e                   	pop    %esi                           
  10d7af:	c9                   	leave                                 
  10d7b0:	c3                   	ret                                   
                                                                      

00110b20 <_Protected_heap_Walk>: bool _Protected_heap_Walk( Heap_Control *the_heap, int source, bool do_dump ) {
  110b20:	55                   	push   %ebp                           
  110b21:	89 e5                	mov    %esp,%ebp                      
  110b23:	56                   	push   %esi                           
  110b24:	53                   	push   %ebx                           
  110b25:	83 ec 10             	sub    $0x10,%esp                     
  110b28:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  110b2b:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  110b2e:	8a 45 10             	mov    0x10(%ebp),%al                 
   * then it is forbidden to lock a mutex.  But since we are inside   
   * a critical section, it should be safe to walk it unlocked.       
   *                                                                  
   * NOTE: Dispatching is also disabled during initialization.        
   */                                                                 
  if ( !_Thread_Dispatch_disable_level ) {                            
  110b31:	8b 15 b0 d3 12 00    	mov    0x12d3b0,%edx                  
  110b37:	85 d2                	test   %edx,%edx                      
  110b39:	74 19                	je     110b54 <_Protected_heap_Walk+0x34>
    _RTEMS_Lock_allocator();                                          
      status = _Heap_Walk( the_heap, source, do_dump );               
    _RTEMS_Unlock_allocator();                                        
  } else {                                                            
    status = _Heap_Walk( the_heap, source, do_dump );                 
  110b3b:	0f b6 c0             	movzbl %al,%eax                       
  110b3e:	89 45 10             	mov    %eax,0x10(%ebp)                
  110b41:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  110b44:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
  return status;                                                      
}                                                                     
  110b47:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  110b4a:	5b                   	pop    %ebx                           
  110b4b:	5e                   	pop    %esi                           
  110b4c:	c9                   	leave                                 
  if ( !_Thread_Dispatch_disable_level ) {                            
    _RTEMS_Lock_allocator();                                          
      status = _Heap_Walk( the_heap, source, do_dump );               
    _RTEMS_Unlock_allocator();                                        
  } else {                                                            
    status = _Heap_Walk( the_heap, source, do_dump );                 
  110b4d:	e9 46 f2 ff ff       	jmp    10fd98 <_Heap_Walk>            
  110b52:	66 90                	xchg   %ax,%ax                        
   * a critical section, it should be safe to walk it unlocked.       
   *                                                                  
   * NOTE: Dispatching is also disabled during initialization.        
   */                                                                 
  if ( !_Thread_Dispatch_disable_level ) {                            
    _RTEMS_Lock_allocator();                                          
  110b54:	83 ec 0c             	sub    $0xc,%esp                      
  110b57:	ff 35 9c d4 12 00    	pushl  0x12d49c                       
  110b5d:	88 45 f4             	mov    %al,-0xc(%ebp)                 
  110b60:	e8 5b e4 ff ff       	call   10efc0 <_API_Mutex_Lock>       
      status = _Heap_Walk( the_heap, source, do_dump );               
  110b65:	83 c4 0c             	add    $0xc,%esp                      
  110b68:	8a 45 f4             	mov    -0xc(%ebp),%al                 
  110b6b:	0f b6 c0             	movzbl %al,%eax                       
  110b6e:	50                   	push   %eax                           
  110b6f:	56                   	push   %esi                           
  110b70:	53                   	push   %ebx                           
  110b71:	e8 22 f2 ff ff       	call   10fd98 <_Heap_Walk>            
    _RTEMS_Unlock_allocator();                                        
  110b76:	5a                   	pop    %edx                           
  110b77:	ff 35 9c d4 12 00    	pushl  0x12d49c                       
  110b7d:	88 45 f4             	mov    %al,-0xc(%ebp)                 
  110b80:	e8 83 e4 ff ff       	call   10f008 <_API_Mutex_Unlock>     
  110b85:	83 c4 10             	add    $0x10,%esp                     
  } else {                                                            
    status = _Heap_Walk( the_heap, source, do_dump );                 
  }                                                                   
  return status;                                                      
}                                                                     
  110b88:	8a 45 f4             	mov    -0xc(%ebp),%al                 
  110b8b:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  110b8e:	5b                   	pop    %ebx                           
  110b8f:	5e                   	pop    %esi                           
  110b90:	c9                   	leave                                 
  110b91:	c3                   	ret                                   
                                                                      

00110348 <_RTEMS_tasks_Create_extension>: bool _RTEMS_tasks_Create_extension( Thread_Control *executing, Thread_Control *created ) {
  110348:	55                   	push   %ebp                           
  110349:	89 e5                	mov    %esp,%ebp                      
  11034b:	53                   	push   %ebx                           
  11034c:	83 ec 10             	sub    $0x10,%esp                     
  11034f:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
                                                                      
  /*                                                                  
   *  Notepads must be the last entry in the structure and they       
   *  can be left off if disabled in the configuration.               
   */                                                                 
  to_allocate = sizeof( RTEMS_API_Control );                          
  110352:	80 3d e4 11 12 00 01 	cmpb   $0x1,0x1211e4                  
  110359:	19 c0                	sbb    %eax,%eax                      
  11035b:	83 e0 c0             	and    $0xffffffc0,%eax               
  11035e:	83 c0 60             	add    $0x60,%eax                     
  if ( !rtems_configuration_get_notepads_enabled() )                  
    to_allocate -= (RTEMS_NUMBER_NOTEPADS * sizeof(uint32_t));        
                                                                      
  api = _Workspace_Allocate( to_allocate );                           
  110361:	50                   	push   %eax                           
  110362:	e8 a1 e4 ff ff       	call   10e808 <_Workspace_Allocate>   
                                                                      
  if ( !api )                                                         
  110367:	83 c4 10             	add    $0x10,%esp                     
  11036a:	85 c0                	test   %eax,%eax                      
  11036c:	74 6a                	je     1103d8 <_RTEMS_tasks_Create_extension+0x90>
    return false;                                                     
                                                                      
  created->API_Extensions[ THREAD_API_RTEMS ] = api;                  
  11036e:	89 83 e4 00 00 00    	mov    %eax,0xe4(%ebx)                
                                                                      
  api->pending_events = EVENT_SETS_NONE_PENDING;                      
  110374:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  api->event_condition = 0;                                           
  11037a:	c7 40 04 00 00 00 00 	movl   $0x0,0x4(%eax)                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _ASR_Initialize (                           
  ASR_Information *information                                        
)                                                                     
{                                                                     
  information->is_enabled      = false;                               
  110381:	c6 40 08 00          	movb   $0x0,0x8(%eax)                 
  information->handler         = NULL;                                
  110385:	c7 40 0c 00 00 00 00 	movl   $0x0,0xc(%eax)                 
  information->mode_set        = RTEMS_DEFAULT_MODES;                 
  11038c:	c7 40 10 00 00 00 00 	movl   $0x0,0x10(%eax)                
  information->signals_posted  = 0;                                   
  110393:	c7 40 14 00 00 00 00 	movl   $0x0,0x14(%eax)                
  information->signals_pending = 0;                                   
  11039a:	c7 40 18 00 00 00 00 	movl   $0x0,0x18(%eax)                
  information->nest_level      = 0;                                   
  1103a1:	c7 40 1c 00 00 00 00 	movl   $0x0,0x1c(%eax)                
  _ASR_Initialize( &api->Signal );                                    
  created->task_variables = NULL;                                     
  1103a8:	c7 83 f0 00 00 00 00 	movl   $0x0,0xf0(%ebx)                
  1103af:	00 00 00                                                    
                                                                      
  if ( rtems_configuration_get_notepads_enabled() ) {                 
  1103b2:	80 3d e4 11 12 00 00 	cmpb   $0x0,0x1211e4                  
  1103b9:	74 13                	je     1103ce <_RTEMS_tasks_Create_extension+0x86>
  1103bb:	31 d2                	xor    %edx,%edx                      
  1103bd:	8d 76 00             	lea    0x0(%esi),%esi                 
    for (i=0; i < RTEMS_NUMBER_NOTEPADS; i++)                         
      api->Notepads[i] = 0;                                           
  1103c0:	c7 44 90 20 00 00 00 	movl   $0x0,0x20(%eax,%edx,4)         
  1103c7:	00                                                          
  api->event_condition = 0;                                           
  _ASR_Initialize( &api->Signal );                                    
  created->task_variables = NULL;                                     
                                                                      
  if ( rtems_configuration_get_notepads_enabled() ) {                 
    for (i=0; i < RTEMS_NUMBER_NOTEPADS; i++)                         
  1103c8:	42                   	inc    %edx                           
  1103c9:	83 fa 10             	cmp    $0x10,%edx                     
  1103cc:	75 f2                	jne    1103c0 <_RTEMS_tasks_Create_extension+0x78>
      api->Notepads[i] = 0;                                           
  }                                                                   
                                                                      
  return true;                                                        
  1103ce:	b0 01                	mov    $0x1,%al                       
}                                                                     
  1103d0:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1103d3:	c9                   	leave                                 
  1103d4:	c3                   	ret                                   
  1103d5:	8d 76 00             	lea    0x0(%esi),%esi                 
    to_allocate -= (RTEMS_NUMBER_NOTEPADS * sizeof(uint32_t));        
                                                                      
  api = _Workspace_Allocate( to_allocate );                           
                                                                      
  if ( !api )                                                         
    return false;                                                     
  1103d8:	31 c0                	xor    %eax,%eax                      
    for (i=0; i < RTEMS_NUMBER_NOTEPADS; i++)                         
      api->Notepads[i] = 0;                                           
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
  1103da:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1103dd:	c9                   	leave                                 
  1103de:	c3                   	ret                                   
                                                                      

001102f0 <_RTEMS_tasks_Delete_extension>: void _RTEMS_tasks_Delete_extension( Thread_Control *executing, Thread_Control *deleted ) {
  1102f0:	55                   	push   %ebp                           
  1102f1:	89 e5                	mov    %esp,%ebp                      
  1102f3:	56                   	push   %esi                           
  1102f4:	53                   	push   %ebx                           
  1102f5:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
                                                                      
  /*                                                                  
   *  Free per task variable memory                                   
   */                                                                 
                                                                      
  tvp = deleted->task_variables;                                      
  1102f8:	8b 83 f0 00 00 00    	mov    0xf0(%ebx),%eax                
  deleted->task_variables = NULL;                                     
  1102fe:	c7 83 f0 00 00 00 00 	movl   $0x0,0xf0(%ebx)                
  110305:	00 00 00                                                    
  while (tvp) {                                                       
  110308:	85 c0                	test   %eax,%eax                      
  11030a:	75 06                	jne    110312 <_RTEMS_tasks_Delete_extension+0x22>
  11030c:	eb 17                	jmp    110325 <_RTEMS_tasks_Delete_extension+0x35>
  11030e:	66 90                	xchg   %ax,%ax                        
    next = (rtems_task_variable_t *)tvp->next;                        
    _RTEMS_Tasks_Invoke_task_variable_dtor( deleted, tvp );           
    tvp = next;                                                       
  110310:	89 f0                	mov    %esi,%eax                      
   */                                                                 
                                                                      
  tvp = deleted->task_variables;                                      
  deleted->task_variables = NULL;                                     
  while (tvp) {                                                       
    next = (rtems_task_variable_t *)tvp->next;                        
  110312:	8b 30                	mov    (%eax),%esi                    
    _RTEMS_Tasks_Invoke_task_variable_dtor( deleted, tvp );           
  110314:	83 ec 08             	sub    $0x8,%esp                      
  110317:	50                   	push   %eax                           
  110318:	53                   	push   %ebx                           
  110319:	e8 56 01 00 00       	call   110474 <_RTEMS_Tasks_Invoke_task_variable_dtor>
   *  Free per task variable memory                                   
   */                                                                 
                                                                      
  tvp = deleted->task_variables;                                      
  deleted->task_variables = NULL;                                     
  while (tvp) {                                                       
  11031e:	83 c4 10             	add    $0x10,%esp                     
  110321:	85 f6                	test   %esi,%esi                      
  110323:	75 eb                	jne    110310 <_RTEMS_tasks_Delete_extension+0x20>
                                                                      
  /*                                                                  
   *  Free API specific memory                                        
   */                                                                 
                                                                      
  (void) _Workspace_Free( deleted->API_Extensions[ THREAD_API_RTEMS ] );
  110325:	83 ec 0c             	sub    $0xc,%esp                      
  110328:	ff b3 e4 00 00 00    	pushl  0xe4(%ebx)                     
  11032e:	e8 f1 e4 ff ff       	call   10e824 <_Workspace_Free>       
  deleted->API_Extensions[ THREAD_API_RTEMS ] = NULL;                 
  110333:	c7 83 e4 00 00 00 00 	movl   $0x0,0xe4(%ebx)                
  11033a:	00 00 00                                                    
  11033d:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  110340:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  110343:	5b                   	pop    %ebx                           
  110344:	5e                   	pop    %esi                           
  110345:	c9                   	leave                                 
  110346:	c3                   	ret                                   
                                                                      

00110274 <_RTEMS_tasks_Initialize_user_tasks>: * * Output parameters: NONE */ void _RTEMS_tasks_Initialize_user_tasks( void ) {
  110274:	55                   	push   %ebp                           
  110275:	89 e5                	mov    %esp,%ebp                      
  110277:	83 ec 08             	sub    $0x8,%esp                      
  if ( _RTEMS_tasks_Initialize_user_tasks_p )                         
  11027a:	a1 64 12 12 00       	mov    0x121264,%eax                  
  11027f:	85 c0                	test   %eax,%eax                      
  110281:	74 05                	je     110288 <_RTEMS_tasks_Initialize_user_tasks+0x14>
    (*_RTEMS_tasks_Initialize_user_tasks_p)();                        
}                                                                     
  110283:	c9                   	leave                                 
 */                                                                   
                                                                      
void _RTEMS_tasks_Initialize_user_tasks( void )                       
{                                                                     
  if ( _RTEMS_tasks_Initialize_user_tasks_p )                         
    (*_RTEMS_tasks_Initialize_user_tasks_p)();                        
  110284:	ff e0                	jmp    *%eax                          
  110286:	66 90                	xchg   %ax,%ax                        
}                                                                     
  110288:	c9                   	leave                                 
  110289:	c3                   	ret                                   
                                                                      

0010ba80 <_RTEMS_tasks_Initialize_user_tasks_body>: * * Output parameters: NONE */ void _RTEMS_tasks_Initialize_user_tasks_body( void ) {
  10ba80:	55                   	push   %ebp                           
  10ba81:	89 e5                	mov    %esp,%ebp                      
  10ba83:	57                   	push   %edi                           
  10ba84:	56                   	push   %esi                           
  10ba85:	53                   	push   %ebx                           
  10ba86:	83 ec 1c             	sub    $0x1c,%esp                     
  rtems_initialization_tasks_table *user_tasks;                       
                                                                      
  /*                                                                  
   *  Move information into local variables                           
   */                                                                 
  user_tasks = Configuration_RTEMS_API.User_initialization_tasks_table;
  10ba89:	8b 1d 0c 12 12 00    	mov    0x12120c,%ebx                  
  maximum    = Configuration_RTEMS_API.number_of_initialization_tasks;
  10ba8f:	8b 3d 08 12 12 00    	mov    0x121208,%edi                  
                                                                      
  /*                                                                  
   *  Verify that we have a set of user tasks to iterate              
   */                                                                 
  if ( !user_tasks )                                                  
  10ba95:	85 db                	test   %ebx,%ebx                      
  10ba97:	74 46                	je     10badf <_RTEMS_tasks_Initialize_user_tasks_body+0x5f>
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
  10ba99:	85 ff                	test   %edi,%edi                      
  10ba9b:	74 42                	je     10badf <_RTEMS_tasks_Initialize_user_tasks_body+0x5f><== NEVER TAKEN
  10ba9d:	31 f6                	xor    %esi,%esi                      
  10ba9f:	90                   	nop                                   
    return_value = rtems_task_create(                                 
  10baa0:	83 ec 08             	sub    $0x8,%esp                      
  10baa3:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10baa6:	50                   	push   %eax                           
  10baa7:	ff 73 0c             	pushl  0xc(%ebx)                      
  10baaa:	ff 73 14             	pushl  0x14(%ebx)                     
  10baad:	ff 73 04             	pushl  0x4(%ebx)                      
  10bab0:	ff 73 08             	pushl  0x8(%ebx)                      
  10bab3:	ff 33                	pushl  (%ebx)                         
  10bab5:	e8 92 fd ff ff       	call   10b84c <rtems_task_create>     
      user_tasks[ index ].stack_size,                                 
      user_tasks[ index ].mode_set,                                   
      user_tasks[ index ].attribute_set,                              
      &id                                                             
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
  10baba:	83 c4 20             	add    $0x20,%esp                     
  10babd:	85 c0                	test   %eax,%eax                      
  10babf:	75 26                	jne    10bae7 <_RTEMS_tasks_Initialize_user_tasks_body+0x67>
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
                                                                      
    return_value = rtems_task_start(                                  
  10bac1:	51                   	push   %ecx                           
  10bac2:	ff 73 18             	pushl  0x18(%ebx)                     
  10bac5:	ff 73 10             	pushl  0x10(%ebx)                     
  10bac8:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10bacb:	e8 24 00 00 00       	call   10baf4 <rtems_task_start>      
      id,                                                             
      user_tasks[ index ].entry_point,                                
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
  10bad0:	83 c4 10             	add    $0x10,%esp                     
  10bad3:	85 c0                	test   %eax,%eax                      
  10bad5:	75 10                	jne    10bae7 <_RTEMS_tasks_Initialize_user_tasks_body+0x67>
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
  10bad7:	46                   	inc    %esi                           
  10bad8:	83 c3 1c             	add    $0x1c,%ebx                     
  10badb:	39 f7                	cmp    %esi,%edi                      
  10badd:	77 c1                	ja     10baa0 <_RTEMS_tasks_Initialize_user_tasks_body+0x20><== NEVER TAKEN
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
  }                                                                   
}                                                                     
  10badf:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bae2:	5b                   	pop    %ebx                           
  10bae3:	5e                   	pop    %esi                           
  10bae4:	5f                   	pop    %edi                           
  10bae5:	c9                   	leave                                 
  10bae6:	c3                   	ret                                   
      id,                                                             
      user_tasks[ index ].entry_point,                                
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
  10bae7:	52                   	push   %edx                           
  10bae8:	50                   	push   %eax                           
  10bae9:	6a 01                	push   $0x1                           
  10baeb:	6a 01                	push   $0x1                           
  10baed:	e8 32 0d 00 00       	call   10c824 <_Internal_error_Occurred>
                                                                      

0011028c <_RTEMS_tasks_Post_switch_extension>: */ void _RTEMS_tasks_Post_switch_extension( Thread_Control *executing ) {
  11028c:	55                   	push   %ebp                           
  11028d:	89 e5                	mov    %esp,%ebp                      
  11028f:	57                   	push   %edi                           
  110290:	56                   	push   %esi                           
  110291:	53                   	push   %ebx                           
  110292:	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 ];                
  110295:	8b 45 08             	mov    0x8(%ebp),%eax                 
  110298:	8b 98 e4 00 00 00    	mov    0xe4(%eax),%ebx                
  if ( !api )                                                         
  11029e:	85 db                	test   %ebx,%ebx                      
  1102a0:	74 45                	je     1102e7 <_RTEMS_tasks_Post_switch_extension+0x5b><== NEVER TAKEN
   *  Signal Processing                                               
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
  1102a2:	9c                   	pushf                                 
  1102a3:	fa                   	cli                                   
  1102a4:	58                   	pop    %eax                           
    signal_set = asr->signals_posted;                                 
  1102a5:	8b 73 14             	mov    0x14(%ebx),%esi                
    asr->signals_posted = 0;                                          
  1102a8:	c7 43 14 00 00 00 00 	movl   $0x0,0x14(%ebx)                
  _ISR_Enable( level );                                               
  1102af:	50                   	push   %eax                           
  1102b0:	9d                   	popf                                  
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
  1102b1:	85 f6                	test   %esi,%esi                      
  1102b3:	74 32                	je     1102e7 <_RTEMS_tasks_Post_switch_extension+0x5b>
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
  1102b5:	ff 43 1c             	incl   0x1c(%ebx)                     
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
  1102b8:	50                   	push   %eax                           
  1102b9:	8d 7d e4             	lea    -0x1c(%ebp),%edi               
  1102bc:	57                   	push   %edi                           
  1102bd:	68 ff ff 00 00       	push   $0xffff                        
  1102c2:	ff 73 10             	pushl  0x10(%ebx)                     
  1102c5:	e8 5a 1c 00 00       	call   111f24 <rtems_task_mode>       
                                                                      
  (*asr->handler)( signal_set );                                      
  1102ca:	89 34 24             	mov    %esi,(%esp)                    
  1102cd:	ff 53 0c             	call   *0xc(%ebx)                     
                                                                      
  asr->nest_level -= 1;                                               
  1102d0:	ff 4b 1c             	decl   0x1c(%ebx)                     
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
  1102d3:	83 c4 0c             	add    $0xc,%esp                      
  1102d6:	57                   	push   %edi                           
  1102d7:	68 ff ff 00 00       	push   $0xffff                        
  1102dc:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  1102df:	e8 40 1c 00 00       	call   111f24 <rtems_task_mode>       
  1102e4:	83 c4 10             	add    $0x10,%esp                     
                                                                      
}                                                                     
  1102e7:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1102ea:	5b                   	pop    %ebx                           
  1102eb:	5e                   	pop    %esi                           
  1102ec:	5f                   	pop    %edi                           
  1102ed:	c9                   	leave                                 
  1102ee:	c3                   	ret                                   
                                                                      

0011022c <_RTEMS_tasks_Switch_extension>: void _RTEMS_tasks_Switch_extension( Thread_Control *executing, Thread_Control *heir ) {
  11022c:	55                   	push   %ebp                           
  11022d:	89 e5                	mov    %esp,%ebp                      
                                                                      
  /*                                                                  
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  11022f:	8b 45 08             	mov    0x8(%ebp),%eax                 
  110232:	8b 80 f0 00 00 00    	mov    0xf0(%eax),%eax                
  while (tvp) {                                                       
  110238:	85 c0                	test   %eax,%eax                      
  11023a:	74 13                	je     11024f <_RTEMS_tasks_Switch_extension+0x23>
    tvp->tval = *tvp->ptr;                                            
  11023c:	8b 50 04             	mov    0x4(%eax),%edx                 
  11023f:	8b 0a                	mov    (%edx),%ecx                    
  110241:	89 48 0c             	mov    %ecx,0xc(%eax)                 
    *tvp->ptr = tvp->gval;                                            
  110244:	8b 48 08             	mov    0x8(%eax),%ecx                 
  110247:	89 0a                	mov    %ecx,(%edx)                    
    tvp = (rtems_task_variable_t *)tvp->next;                         
  110249:	8b 00                	mov    (%eax),%eax                    
  /*                                                                  
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
  11024b:	85 c0                	test   %eax,%eax                      
  11024d:	75 ed                	jne    11023c <_RTEMS_tasks_Switch_extension+0x10><== NEVER TAKEN
    tvp->tval = *tvp->ptr;                                            
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  11024f:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  110252:	8b 80 f0 00 00 00    	mov    0xf0(%eax),%eax                
  while (tvp) {                                                       
  110258:	85 c0                	test   %eax,%eax                      
  11025a:	74 13                	je     11026f <_RTEMS_tasks_Switch_extension+0x43>
    tvp->gval = *tvp->ptr;                                            
  11025c:	8b 50 04             	mov    0x4(%eax),%edx                 
  11025f:	8b 0a                	mov    (%edx),%ecx                    
  110261:	89 48 08             	mov    %ecx,0x8(%eax)                 
    *tvp->ptr = tvp->tval;                                            
  110264:	8b 48 0c             	mov    0xc(%eax),%ecx                 
  110267:	89 0a                	mov    %ecx,(%edx)                    
    tvp = (rtems_task_variable_t *)tvp->next;                         
  110269:	8b 00                	mov    (%eax),%eax                    
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
  11026b:	85 c0                	test   %eax,%eax                      
  11026d:	75 ed                	jne    11025c <_RTEMS_tasks_Switch_extension+0x30><== NEVER TAKEN
    tvp->gval = *tvp->ptr;                                            
    *tvp->ptr = tvp->tval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
}                                                                     
  11026f:	c9                   	leave                                 
  110270:	c3                   	ret                                   
                                                                      

0010c4f0 <_Rate_monotonic_Initiate_statistics>: } void _Rate_monotonic_Initiate_statistics( Rate_monotonic_Control *the_period ) {
  10c4f0:	55                   	push   %ebp                           
  10c4f1:	89 e5                	mov    %esp,%ebp                      
  10c4f3:	57                   	push   %edi                           
  10c4f4:	56                   	push   %esi                           
  10c4f5:	53                   	push   %ebx                           
  10c4f6:	83 ec 28             	sub    $0x28,%esp                     
  10c4f9:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  Thread_Control *owning_thread = the_period->owner;                  
  10c4fc:	8b 73 40             	mov    0x40(%ebx),%esi                
   *  If using nanosecond statistics, we need to obtain the uptime.   
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    Timestamp_Control  uptime;                                        
                                                                      
    _TOD_Get_uptime( &uptime );                                       
  10c4ff:	8d 7d e0             	lea    -0x20(%ebp),%edi               
  10c502:	57                   	push   %edi                           
  10c503:	e8 c8 17 00 00       	call   10dcd0 <_TOD_Get_uptime>       
                                                                      
  /*                                                                  
   *  Set the starting point and the CPU time used for the statistics.
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    the_period->time_period_initiated = uptime;                       
  10c508:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10c50b:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10c50e:	89 43 4c             	mov    %eax,0x4c(%ebx)                
  10c511:	89 53 50             	mov    %edx,0x50(%ebx)                
  #else                                                               
    the_period->time_period_initiated = _Watchdog_Ticks_since_boot;   
  #endif                                                              
                                                                      
  the_period->cpu_usage_period_initiated = owning_thread->cpu_time_used;
  10c514:	8b 86 84 00 00 00    	mov    0x84(%esi),%eax                
  10c51a:	8b 96 88 00 00 00    	mov    0x88(%esi),%edx                
  10c520:	89 43 44             	mov    %eax,0x44(%ebx)                
  10c523:	89 53 48             	mov    %edx,0x48(%ebx)                
   *  routine is invoked from rtems_rate_monotonic_period, the owner will
   *  be the executing thread.  When this routine is invoked from     
   *  _Rate_monotonic_Timeout, it will not.                           
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    if (owning_thread == _Thread_Executing) {                         
  10c526:	83 c4 10             	add    $0x10,%esp                     
  10c529:	39 35 58 88 12 00    	cmp    %esi,0x128858                  
  10c52f:	74 0b                	je     10c53c <_Rate_monotonic_Initiate_statistics+0x4c>
      );                                                              
                                                                      
      _Timespec_Add_to( &the_period->cpu_usage_period_initiated, &ran );
    }                                                                 
  #endif                                                              
}                                                                     
  10c531:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c534:	5b                   	pop    %ebx                           
  10c535:	5e                   	pop    %esi                           
  10c536:	5f                   	pop    %edi                           
  10c537:	c9                   	leave                                 
  10c538:	c3                   	ret                                   
  10c539:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
      /*                                                              
       *  Adjust the CPU time used to account for the time since last 
       *  context switch.                                             
       */                                                             
      _Timespec_Subtract(                                             
  10c53c:	50                   	push   %eax                           
        &_Thread_Time_of_last_context_switch, &uptime, &ran           
  10c53d:	8d 75 d8             	lea    -0x28(%ebp),%esi               
                                                                      
      /*                                                              
       *  Adjust the CPU time used to account for the time since last 
       *  context switch.                                             
       */                                                             
      _Timespec_Subtract(                                             
  10c540:	56                   	push   %esi                           
  10c541:	57                   	push   %edi                           
  10c542:	68 88 86 12 00       	push   $0x128688                      
  10c547:	e8 5c 38 00 00       	call   10fda8 <_Timespec_Subtract>    
        &_Thread_Time_of_last_context_switch, &uptime, &ran           
      );                                                              
                                                                      
      _Timespec_Add_to( &the_period->cpu_usage_period_initiated, &ran );
  10c54c:	59                   	pop    %ecx                           
  10c54d:	5f                   	pop    %edi                           
  10c54e:	56                   	push   %esi                           
  10c54f:	83 c3 44             	add    $0x44,%ebx                     
  10c552:	53                   	push   %ebx                           
  10c553:	e8 54 37 00 00       	call   10fcac <_Timespec_Add_to>      
  10c558:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
  #endif                                                              
}                                                                     
  10c55b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c55e:	5b                   	pop    %ebx                           
  10c55f:	5e                   	pop    %esi                           
  10c560:	5f                   	pop    %edi                           
  10c561:	c9                   	leave                                 
  10c562:	c3                   	ret                                   
                                                                      

0010caac <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
  10caac:	55                   	push   %ebp                           
  10caad:	89 e5                	mov    %esp,%ebp                      
  10caaf:	83 ec 2c             	sub    $0x2c,%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 );                  
  10cab2:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10cab5:	50                   	push   %eax                           
  10cab6:	ff 75 08             	pushl  0x8(%ebp)                      
  10cab9:	68 a0 84 12 00       	push   $0x1284a0                      
  10cabe:	e8 8d 1c 00 00       	call   10e750 <_Objects_Get>          
  switch ( location ) {                                               
  10cac3:	83 c4 10             	add    $0x10,%esp                     
  10cac6:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10cac9:	85 d2                	test   %edx,%edx                      
  10cacb:	75 29                	jne    10caf6 <_Rate_monotonic_Timeout+0x4a><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
  10cacd:	8b 50 40             	mov    0x40(%eax),%edx                
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
  10cad0:	f6 42 11 40          	testb  $0x40,0x11(%edx)               
  10cad4:	74 08                	je     10cade <_Rate_monotonic_Timeout+0x32>
  10cad6:	8b 48 08             	mov    0x8(%eax),%ecx                 
  10cad9:	39 4a 20             	cmp    %ecx,0x20(%edx)                
  10cadc:	74 4e                	je     10cb2c <_Rate_monotonic_Timeout+0x80>
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
  10cade:	83 78 38 01          	cmpl   $0x1,0x38(%eax)                
  10cae2:	74 14                	je     10caf8 <_Rate_monotonic_Timeout+0x4c>
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
  10cae4:	c7 40 38 04 00 00 00 	movl   $0x4,0x38(%eax)                
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10caeb:	a1 90 85 12 00       	mov    0x128590,%eax                  
  10caf0:	48                   	dec    %eax                           
  10caf1:	a3 90 85 12 00       	mov    %eax,0x128590                  
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
  10caf6:	c9                   	leave                                 
  10caf7:	c3                   	ret                                   
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
  10caf8:	c7 40 38 03 00 00 00 	movl   $0x3,0x38(%eax)                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
  10caff:	83 ec 0c             	sub    $0xc,%esp                      
  10cb02:	50                   	push   %eax                           
  10cb03:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  10cb06:	e8 e5 f9 ff ff       	call   10c4f0 <_Rate_monotonic_Initiate_statistics>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10cb0b:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10cb0e:	8b 50 3c             	mov    0x3c(%eax),%edx                
  10cb11:	89 50 1c             	mov    %edx,0x1c(%eax)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10cb14:	5a                   	pop    %edx                           
  10cb15:	59                   	pop    %ecx                           
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
  10cb16:	83 c0 10             	add    $0x10,%eax                     
  10cb19:	50                   	push   %eax                           
  10cb1a:	68 9c 86 12 00       	push   $0x12869c                      
  10cb1f:	e8 64 35 00 00       	call   110088 <_Watchdog_Insert>      
  10cb24:	83 c4 10             	add    $0x10,%esp                     
  10cb27:	eb c2                	jmp    10caeb <_Rate_monotonic_Timeout+0x3f>
  10cb29:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  10cb2c:	83 ec 08             	sub    $0x8,%esp                      
  10cb2f:	68 f8 ff 03 10       	push   $0x1003fff8                    
  10cb34:	52                   	push   %edx                           
  10cb35:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  10cb38:	e8 1b 23 00 00       	call   10ee58 <_Thread_Clear_state>   
      the_thread = the_period->owner;                                 
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
            the_thread->Wait.id == the_period->Object.id ) {          
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
  10cb3d:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10cb40:	89 04 24             	mov    %eax,(%esp)                    
  10cb43:	eb c1                	jmp    10cb06 <_Rate_monotonic_Timeout+0x5a>
                                                                      

0010c564 <_Rate_monotonic_Update_statistics>: void _Rate_monotonic_Update_statistics( Rate_monotonic_Control *the_period ) {
  10c564:	55                   	push   %ebp                           
  10c565:	89 e5                	mov    %esp,%ebp                      
  10c567:	57                   	push   %edi                           
  10c568:	56                   	push   %esi                           
  10c569:	53                   	push   %ebx                           
  10c56a:	83 ec 1c             	sub    $0x1c,%esp                     
  10c56d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
                                                                      
  /*                                                                  
   *  Update the counts.                                              
   */                                                                 
  stats = &the_period->Statistics;                                    
  stats->count++;                                                     
  10c570:	ff 43 54             	incl   0x54(%ebx)                     
                                                                      
  if ( the_period->state == RATE_MONOTONIC_EXPIRED )                  
  10c573:	83 7b 38 04          	cmpl   $0x4,0x38(%ebx)                
  10c577:	0f 84 bf 00 00 00    	je     10c63c <_Rate_monotonic_Update_statistics+0xd8>
    stats->missed_count++;                                            
                                                                      
  /*                                                                  
   *  Grab status for time statistics.                                
   */                                                                 
  valid_status =                                                      
  10c57d:	51                   	push   %ecx                           
    _Rate_monotonic_Get_status( the_period, &since_last_period, &executed );
  10c57e:	8d 7d e0             	lea    -0x20(%ebp),%edi               
    stats->missed_count++;                                            
                                                                      
  /*                                                                  
   *  Grab status for time statistics.                                
   */                                                                 
  valid_status =                                                      
  10c581:	57                   	push   %edi                           
    _Rate_monotonic_Get_status( the_period, &since_last_period, &executed );
  10c582:	8d 75 d8             	lea    -0x28(%ebp),%esi               
    stats->missed_count++;                                            
                                                                      
  /*                                                                  
   *  Grab status for time statistics.                                
   */                                                                 
  valid_status =                                                      
  10c585:	56                   	push   %esi                           
  10c586:	53                   	push   %ebx                           
  10c587:	e8 cc fe ff ff       	call   10c458 <_Rate_monotonic_Get_status>
    _Rate_monotonic_Get_status( the_period, &since_last_period, &executed );
  if (!valid_status)                                                  
  10c58c:	83 c4 10             	add    $0x10,%esp                     
  10c58f:	84 c0                	test   %al,%al                        
  10c591:	75 09                	jne    10c59c <_Rate_monotonic_Update_statistics+0x38>
      stats->min_wall_time = since_last_period;                       
                                                                      
    if ( since_last_period > stats->max_wall_time )                   
      stats->max_wall_time = since_last_period;                       
  #endif                                                              
}                                                                     
  10c593:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c596:	5b                   	pop    %ebx                           
  10c597:	5e                   	pop    %esi                           
  10c598:	5f                   	pop    %edi                           
  10c599:	c9                   	leave                                 
  10c59a:	c3                   	ret                                   
  10c59b:	90                   	nop                                   
                                                                      
  /*                                                                  
   *  Update CPU time                                                 
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_cpu_time, &executed );           
  10c59c:	83 ec 08             	sub    $0x8,%esp                      
  10c59f:	57                   	push   %edi                           
  10c5a0:	8d 43 6c             	lea    0x6c(%ebx),%eax                
  10c5a3:	50                   	push   %eax                           
  10c5a4:	e8 03 37 00 00       	call   10fcac <_Timespec_Add_to>      
                                                                      
    if ( _Timestamp_Less_than( &executed, &stats->min_cpu_time ) )    
  10c5a9:	58                   	pop    %eax                           
  10c5aa:	5a                   	pop    %edx                           
  10c5ab:	8d 43 5c             	lea    0x5c(%ebx),%eax                
  10c5ae:	50                   	push   %eax                           
  10c5af:	57                   	push   %edi                           
  10c5b0:	e8 cf 37 00 00       	call   10fd84 <_Timespec_Less_than>   
  10c5b5:	83 c4 10             	add    $0x10,%esp                     
  10c5b8:	84 c0                	test   %al,%al                        
  10c5ba:	74 0c                	je     10c5c8 <_Rate_monotonic_Update_statistics+0x64>
      stats->min_cpu_time = executed;                                 
  10c5bc:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10c5bf:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10c5c2:	89 43 5c             	mov    %eax,0x5c(%ebx)                
  10c5c5:	89 53 60             	mov    %edx,0x60(%ebx)                
                                                                      
    if ( _Timestamp_Greater_than( &executed, &stats->max_cpu_time ) ) 
  10c5c8:	83 ec 08             	sub    $0x8,%esp                      
  10c5cb:	8d 43 64             	lea    0x64(%ebx),%eax                
  10c5ce:	50                   	push   %eax                           
  10c5cf:	57                   	push   %edi                           
  10c5d0:	e8 8b 37 00 00       	call   10fd60 <_Timespec_Greater_than>
  10c5d5:	83 c4 10             	add    $0x10,%esp                     
  10c5d8:	84 c0                	test   %al,%al                        
  10c5da:	74 0c                	je     10c5e8 <_Rate_monotonic_Update_statistics+0x84>
      stats->max_cpu_time = executed;                                 
  10c5dc:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10c5df:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10c5e2:	89 43 64             	mov    %eax,0x64(%ebx)                
  10c5e5:	89 53 68             	mov    %edx,0x68(%ebx)                
                                                                      
  /*                                                                  
   *  Update Wall time                                                
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_wall_time, &since_last_period ); 
  10c5e8:	83 ec 08             	sub    $0x8,%esp                      
  10c5eb:	56                   	push   %esi                           
  10c5ec:	8d 83 84 00 00 00    	lea    0x84(%ebx),%eax                
  10c5f2:	50                   	push   %eax                           
  10c5f3:	e8 b4 36 00 00       	call   10fcac <_Timespec_Add_to>      
                                                                      
    if ( _Timestamp_Less_than( &since_last_period, &stats->min_wall_time ) )
  10c5f8:	5a                   	pop    %edx                           
  10c5f9:	59                   	pop    %ecx                           
  10c5fa:	8d 43 74             	lea    0x74(%ebx),%eax                
  10c5fd:	50                   	push   %eax                           
  10c5fe:	56                   	push   %esi                           
  10c5ff:	e8 80 37 00 00       	call   10fd84 <_Timespec_Less_than>   
  10c604:	83 c4 10             	add    $0x10,%esp                     
  10c607:	84 c0                	test   %al,%al                        
  10c609:	75 39                	jne    10c644 <_Rate_monotonic_Update_statistics+0xe0>
      stats->min_wall_time = since_last_period;                       
                                                                      
    if ( _Timestamp_Greater_than( &since_last_period, &stats->max_wall_time ) )
  10c60b:	83 ec 08             	sub    $0x8,%esp                      
  10c60e:	8d 43 7c             	lea    0x7c(%ebx),%eax                
  10c611:	50                   	push   %eax                           
  10c612:	56                   	push   %esi                           
  10c613:	e8 48 37 00 00       	call   10fd60 <_Timespec_Greater_than>
  10c618:	83 c4 10             	add    $0x10,%esp                     
  10c61b:	84 c0                	test   %al,%al                        
  10c61d:	0f 84 70 ff ff ff    	je     10c593 <_Rate_monotonic_Update_statistics+0x2f>
      stats->max_wall_time = since_last_period;                       
  10c623:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  10c626:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  10c629:	89 43 7c             	mov    %eax,0x7c(%ebx)                
  10c62c:	89 93 80 00 00 00    	mov    %edx,0x80(%ebx)                
      stats->min_wall_time = since_last_period;                       
                                                                      
    if ( since_last_period > stats->max_wall_time )                   
      stats->max_wall_time = since_last_period;                       
  #endif                                                              
}                                                                     
  10c632:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c635:	5b                   	pop    %ebx                           
  10c636:	5e                   	pop    %esi                           
  10c637:	5f                   	pop    %edi                           
  10c638:	c9                   	leave                                 
  10c639:	c3                   	ret                                   
  10c63a:	66 90                	xchg   %ax,%ax                        
   */                                                                 
  stats = &the_period->Statistics;                                    
  stats->count++;                                                     
                                                                      
  if ( the_period->state == RATE_MONOTONIC_EXPIRED )                  
    stats->missed_count++;                                            
  10c63c:	ff 43 58             	incl   0x58(%ebx)                     
  10c63f:	e9 39 ff ff ff       	jmp    10c57d <_Rate_monotonic_Update_statistics+0x19>
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_wall_time, &since_last_period ); 
                                                                      
    if ( _Timestamp_Less_than( &since_last_period, &stats->min_wall_time ) )
      stats->min_wall_time = since_last_period;                       
  10c644:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  10c647:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  10c64a:	89 43 74             	mov    %eax,0x74(%ebx)                
  10c64d:	89 53 78             	mov    %edx,0x78(%ebx)                
  10c650:	eb b9                	jmp    10c60b <_Rate_monotonic_Update_statistics+0xa7>
                                                                      

00110a5c <_Scheduler_priority_Block>: void _Scheduler_priority_Block( Scheduler_Control *the_scheduler, Thread_Control *the_thread ) {
  110a5c:	55                   	push   %ebp                           
  110a5d:	89 e5                	mov    %esp,%ebp                      
  110a5f:	53                   	push   %ebx                           
  110a60:	8b 45 0c             	mov    0xc(%ebp),%eax                 
                                                                      
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Ready_queue_extract(    
  Thread_Control        *the_thread                                   
)                                                                     
{                                                                     
  Chain_Control         *ready  = the_thread->scheduler.priority->ready_chain;
  110a63:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
  110a69:	8b 12                	mov    (%edx),%edx                    
                                                                      
  if ( _Chain_Has_only_one_node( ready ) ) {                          
  110a6b:	8b 4a 08             	mov    0x8(%edx),%ecx                 
  110a6e:	39 0a                	cmp    %ecx,(%edx)                    
  110a70:	74 6e                	je     110ae0 <_Scheduler_priority_Block+0x84>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  110a72:	8b 08                	mov    (%eax),%ecx                    
  previous       = the_node->previous;                                
  110a74:	8b 50 04             	mov    0x4(%eax),%edx                 
  next->previous = previous;                                          
  110a77:	89 51 04             	mov    %edx,0x4(%ecx)                 
  previous->next = next;                                              
  110a7a:	89 0a                	mov    %ecx,(%edx)                    
{                                                                     
  _Scheduler_priority_Ready_queue_extract(the_thread);                
                                                                      
  /* TODO: flash critical section */                                  
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
  110a7c:	3b 05 3c 57 12 00    	cmp    0x12573c,%eax                  
  110a82:	74 18                	je     110a9c <_Scheduler_priority_Block+0x40>
     _Scheduler_priority_Schedule_body(the_scheduler);                
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
  110a84:	3b 05 38 57 12 00    	cmp    0x125738,%eax                  
  110a8a:	74 04                	je     110a90 <_Scheduler_priority_Block+0x34>
  _Scheduler_priority_Block_body(the_scheduler, the_thread);          
}                                                                     
  110a8c:	5b                   	pop    %ebx                           
  110a8d:	c9                   	leave                                 
  110a8e:	c3                   	ret                                   
  110a8f:	90                   	nop                                   
    _Thread_Dispatch_necessary = true;                                
  110a90:	c6 05 44 57 12 00 01 	movb   $0x1,0x125744                  
  110a97:	5b                   	pop    %ebx                           
  110a98:	c9                   	leave                                 
  110a99:	c3                   	ret                                   
  110a9a:	66 90                	xchg   %ax,%ax                        
RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest( void )
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
  110a9c:	66 8b 1d 60 57 12 00 	mov    0x125760,%bx                   
  110aa3:	31 d2                	xor    %edx,%edx                      
  110aa5:	89 d1                	mov    %edx,%ecx                      
  110aa7:	66 0f bc cb          	bsf    %bx,%cx                        
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
  110aab:	0f b7 c9             	movzwl %cx,%ecx                       
  110aae:	66 8b 9c 09 80 57 12 	mov    0x125780(%ecx,%ecx,1),%bx      
  110ab5:	00                                                          
  110ab6:	66 0f bc d3          	bsf    %bx,%dx                        
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
  110aba:	c1 e1 04             	shl    $0x4,%ecx                      
  110abd:	0f b7 d2             	movzwl %dx,%edx                       
  110ac0:	8d 14 11             	lea    (%ecx,%edx,1),%edx             
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
  110ac3:	8d 14 52             	lea    (%edx,%edx,2),%edx             
  110ac6:	c1 e2 02             	shl    $0x2,%edx                      
  110ac9:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  110acc:	03 11                	add    (%ecx),%edx                    
  110ace:	8b 0a                	mov    (%edx),%ecx                    
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  110ad0:	83 c2 04             	add    $0x4,%edx                      
  110ad3:	39 d1                	cmp    %edx,%ecx                      
  110ad5:	74 4d                	je     110b24 <_Scheduler_priority_Block+0xc8><== NEVER TAKEN
                                                                      
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(          
  Scheduler_Control     *the_scheduler                                
)                                                                     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
  110ad7:	89 0d 3c 57 12 00    	mov    %ecx,0x12573c                  
  110add:	eb a5                	jmp    110a84 <_Scheduler_priority_Block+0x28>
  110adf:	90                   	nop                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  110ae0:	8d 4a 04             	lea    0x4(%edx),%ecx                 
  110ae3:	89 0a                	mov    %ecx,(%edx)                    
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  110ae5:	c7 42 04 00 00 00 00 	movl   $0x0,0x4(%edx)                 
  tail->previous = head;                                              
  110aec:	89 52 08             	mov    %edx,0x8(%edx)                 
{                                                                     
  Chain_Control         *ready  = the_thread->scheduler.priority->ready_chain;
                                                                      
  if ( _Chain_Has_only_one_node( ready ) ) {                          
    _Chain_Initialize_empty( ready );                                 
    _Priority_bit_map_Remove( &the_thread->scheduler.priority->Priority_map );
  110aef:	8b 88 8c 00 00 00    	mov    0x8c(%eax),%ecx                
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Remove (                  
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor &= the_priority_map->block_minor;          
  110af5:	8b 59 04             	mov    0x4(%ecx),%ebx                 
  110af8:	66 8b 13             	mov    (%ebx),%dx                     
  110afb:	66 23 51 0e          	and    0xe(%ecx),%dx                  
  110aff:	66 89 13             	mov    %dx,(%ebx)                     
  if ( *the_priority_map->minor == 0 )                                
  110b02:	66 85 d2             	test   %dx,%dx                        
  110b05:	0f 85 71 ff ff ff    	jne    110a7c <_Scheduler_priority_Block+0x20>
    _Priority_Major_bit_map &= the_priority_map->block_major;         
  110b0b:	66 8b 15 60 57 12 00 	mov    0x125760,%dx                   
  110b12:	23 51 0c             	and    0xc(%ecx),%edx                 
  110b15:	66 89 15 60 57 12 00 	mov    %dx,0x125760                   
  110b1c:	e9 5b ff ff ff       	jmp    110a7c <_Scheduler_priority_Block+0x20>
  110b21:	8d 76 00             	lea    0x0(%esi),%esi                 
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
                                                                      
  return NULL;                                                        
  110b24:	31 c9                	xor    %ecx,%ecx                      <== NOT EXECUTED
  110b26:	eb af                	jmp    110ad7 <_Scheduler_priority_Block+0x7b><== NOT EXECUTED
                                                                      

0010d138 <_Scheduler_priority_Schedule>: */ void _Scheduler_priority_Schedule( Scheduler_Control *the_scheduler ) {
  10d138:	55                   	push   %ebp                           
  10d139:	89 e5                	mov    %esp,%ebp                      
RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest( void )
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
  10d13b:	66 8b 0d 60 57 12 00 	mov    0x125760,%cx                   
  10d142:	31 c0                	xor    %eax,%eax                      
  10d144:	89 c2                	mov    %eax,%edx                      
  10d146:	66 0f bc d1          	bsf    %cx,%dx                        
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
  10d14a:	0f b7 d2             	movzwl %dx,%edx                       
  10d14d:	66 8b 8c 12 80 57 12 	mov    0x125780(%edx,%edx,1),%cx      
  10d154:	00                                                          
  10d155:	66 0f bc c1          	bsf    %cx,%ax                        
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
  10d159:	c1 e2 04             	shl    $0x4,%edx                      
  10d15c:	0f b7 c0             	movzwl %ax,%eax                       
  10d15f:	8d 04 02             	lea    (%edx,%eax,1),%eax             
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
  10d162:	8d 04 40             	lea    (%eax,%eax,2),%eax             
  10d165:	c1 e0 02             	shl    $0x2,%eax                      
  10d168:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10d16b:	03 02                	add    (%edx),%eax                    
  _Scheduler_priority_Schedule_body( the_scheduler );                 
}                                                                     
  10d16d:	8b 10                	mov    (%eax),%edx                    
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  10d16f:	83 c0 04             	add    $0x4,%eax                      
  10d172:	39 c2                	cmp    %eax,%edx                      
  10d174:	74 0a                	je     10d180 <_Scheduler_priority_Schedule+0x48><== NEVER TAKEN
                                                                      
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(          
  Scheduler_Control     *the_scheduler                                
)                                                                     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
  10d176:	89 15 3c 57 12 00    	mov    %edx,0x12573c                  
  10d17c:	c9                   	leave                                 
  10d17d:	c3                   	ret                                   
  10d17e:	66 90                	xchg   %ax,%ax                        
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
                                                                      
  return NULL;                                                        
  10d180:	31 d2                	xor    %edx,%edx                      <== NOT EXECUTED
                                                                      
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(          
  Scheduler_Control     *the_scheduler                                
)                                                                     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
  10d182:	89 15 3c 57 12 00    	mov    %edx,0x12573c                  <== NOT EXECUTED
  10d188:	c9                   	leave                                 <== NOT EXECUTED
  10d189:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010d218 <_Scheduler_priority_Unblock>: void _Scheduler_priority_Unblock ( Scheduler_Control *the_scheduler, Thread_Control *the_thread ) {
  10d218:	55                   	push   %ebp                           
  10d219:	89 e5                	mov    %esp,%ebp                      
  10d21b:	53                   	push   %ebx                           
  10d21c:	8b 45 0c             	mov    0xc(%ebp),%eax                 
                                                                      
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Ready_queue_enqueue(    
  Thread_Control                  *the_thread                         
)                                                                     
{                                                                     
  _Priority_bit_map_Add( &the_thread->scheduler.priority->Priority_map );
  10d21f:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Add (                     
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10d225:	8b 4a 04             	mov    0x4(%edx),%ecx                 
  10d228:	66 8b 5a 0a          	mov    0xa(%edx),%bx                  
  10d22c:	66 09 19             	or     %bx,(%ecx)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10d22f:	66 8b 0d 60 57 12 00 	mov    0x125760,%cx                   
  10d236:	0b 4a 08             	or     0x8(%edx),%ecx                 
  10d239:	66 89 0d 60 57 12 00 	mov    %cx,0x125760                   
                                                                      
  _Chain_Append_unprotected( the_thread->scheduler.priority->ready_chain,
  10d240:	8b 12                	mov    (%edx),%edx                    
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
  10d242:	8b 4a 08             	mov    0x8(%edx),%ecx                 
RTEMS_INLINE_ROUTINE void _Chain_Append_unprotected(                  
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  10d245:	8d 5a 04             	lea    0x4(%edx),%ebx                 
  10d248:	89 18                	mov    %ebx,(%eax)                    
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
  10d24a:	89 42 08             	mov    %eax,0x8(%edx)                 
  old_last->next = the_node;                                          
  10d24d:	89 01                	mov    %eax,(%ecx)                    
  the_node->previous = old_last;                                      
  10d24f:	89 48 04             	mov    %ecx,0x4(%eax)                 
   *    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 ) {
  10d252:	8b 50 14             	mov    0x14(%eax),%edx                
  10d255:	8b 0d 3c 57 12 00    	mov    0x12573c,%ecx                  
  10d25b:	3b 51 14             	cmp    0x14(%ecx),%edx                
  10d25e:	73 17                	jae    10d277 <_Scheduler_priority_Unblock+0x5f>
    _Thread_Heir = the_thread;                                        
  10d260:	a3 3c 57 12 00       	mov    %eax,0x12573c                  
    if ( _Thread_Executing->is_preemptible ||                         
  10d265:	a1 38 57 12 00       	mov    0x125738,%eax                  
  10d26a:	80 78 74 00          	cmpb   $0x0,0x74(%eax)                
  10d26e:	74 0c                	je     10d27c <_Scheduler_priority_Unblock+0x64>
        the_thread->current_priority == 0 )                           
      _Thread_Dispatch_necessary = true;                              
  10d270:	c6 05 44 57 12 00 01 	movb   $0x1,0x125744                  
  _Scheduler_priority_Unblock_body(the_scheduler, the_thread);        
}                                                                     
  10d277:	5b                   	pop    %ebx                           
  10d278:	c9                   	leave                                 
  10d279:	c3                   	ret                                   
  10d27a:	66 90                	xchg   %ax,%ax                        
   *    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 ) {
    _Thread_Heir = the_thread;                                        
    if ( _Thread_Executing->is_preemptible ||                         
  10d27c:	85 d2                	test   %edx,%edx                      
  10d27e:	75 f7                	jne    10d277 <_Scheduler_priority_Unblock+0x5f>
        the_thread->current_priority == 0 )                           
      _Thread_Dispatch_necessary = true;                              
  10d280:	c6 05 44 57 12 00 01 	movb   $0x1,0x125744                  
  10d287:	eb ee                	jmp    10d277 <_Scheduler_priority_Unblock+0x5f>
                                                                      

0010d28c <_Scheduler_priority_Yield>: */ void _Scheduler_priority_Yield( Scheduler_Control *the_scheduler __attribute__((unused)) ) {
  10d28c:	55                   	push   %ebp                           
  10d28d:	89 e5                	mov    %esp,%ebp                      
  10d28f:	56                   	push   %esi                           
  10d290:	53                   	push   %ebx                           
  ISR_Level       level;                                              
  Thread_Control *executing;                                          
  Chain_Control  *ready;                                              
                                                                      
  executing = _Thread_Executing;                                      
  10d291:	a1 38 57 12 00       	mov    0x125738,%eax                  
  ready = executing->scheduler.priority->ready_chain;                 
  10d296:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
  10d29c:	8b 12                	mov    (%edx),%edx                    
  _ISR_Disable( level );                                              
  10d29e:	9c                   	pushf                                 
  10d29f:	fa                   	cli                                   
  10d2a0:	59                   	pop    %ecx                           
    if ( !_Chain_Has_only_one_node( ready ) ) {                       
  10d2a1:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  10d2a4:	39 1a                	cmp    %ebx,(%edx)                    
  10d2a6:	74 40                	je     10d2e8 <_Scheduler_priority_Yield+0x5c>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  10d2a8:	8b 30                	mov    (%eax),%esi                    
  previous       = the_node->previous;                                
  10d2aa:	8b 58 04             	mov    0x4(%eax),%ebx                 
  next->previous = previous;                                          
  10d2ad:	89 5e 04             	mov    %ebx,0x4(%esi)                 
  previous->next = next;                                              
  10d2b0:	89 33                	mov    %esi,(%ebx)                    
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
  10d2b2:	8b 5a 08             	mov    0x8(%edx),%ebx                 
RTEMS_INLINE_ROUTINE void _Chain_Append_unprotected(                  
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  10d2b5:	8d 72 04             	lea    0x4(%edx),%esi                 
  10d2b8:	89 30                	mov    %esi,(%eax)                    
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
  10d2ba:	89 42 08             	mov    %eax,0x8(%edx)                 
  old_last->next = the_node;                                          
  10d2bd:	89 03                	mov    %eax,(%ebx)                    
  the_node->previous = old_last;                                      
  10d2bf:	89 58 04             	mov    %ebx,0x4(%eax)                 
      _Chain_Extract_unprotected( &executing->Object.Node );          
      _Chain_Append_unprotected( ready, &executing->Object.Node );    
                                                                      
      _ISR_Flash( level );                                            
  10d2c2:	51                   	push   %ecx                           
  10d2c3:	9d                   	popf                                  
  10d2c4:	fa                   	cli                                   
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
  10d2c5:	3b 05 3c 57 12 00    	cmp    0x12573c,%eax                  
  10d2cb:	74 0f                	je     10d2dc <_Scheduler_priority_Yield+0x50><== ALWAYS TAKEN
        _Thread_Heir = (Thread_Control *) _Chain_First( ready );      
      _Thread_Dispatch_necessary = true;                              
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
      _Thread_Dispatch_necessary = true;                              
  10d2cd:	c6 05 44 57 12 00 01 	movb   $0x1,0x125744                  
                                                                      
  _ISR_Enable( level );                                               
  10d2d4:	51                   	push   %ecx                           
  10d2d5:	9d                   	popf                                  
}                                                                     
  10d2d6:	5b                   	pop    %ebx                           
  10d2d7:	5e                   	pop    %esi                           
  10d2d8:	c9                   	leave                                 
  10d2d9:	c3                   	ret                                   
  10d2da:	66 90                	xchg   %ax,%ax                        
      _Chain_Append_unprotected( ready, &executing->Object.Node );    
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
        _Thread_Heir = (Thread_Control *) _Chain_First( ready );      
  10d2dc:	8b 02                	mov    (%edx),%eax                    
  10d2de:	a3 3c 57 12 00       	mov    %eax,0x12573c                  
  10d2e3:	eb e8                	jmp    10d2cd <_Scheduler_priority_Yield+0x41>
  10d2e5:	8d 76 00             	lea    0x0(%esi),%esi                 
      _Thread_Dispatch_necessary = true;                              
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
  10d2e8:	3b 05 3c 57 12 00    	cmp    0x12573c,%eax                  
  10d2ee:	75 dd                	jne    10d2cd <_Scheduler_priority_Yield+0x41><== NEVER TAKEN
  10d2f0:	eb e2                	jmp    10d2d4 <_Scheduler_priority_Yield+0x48>
                                                                      

0010da14 <_TOD_Set>: */ void _TOD_Set( const struct timespec *time ) {
  10da14:	55                   	push   %ebp                           
  10da15:	89 e5                	mov    %esp,%ebp                      
  10da17:	53                   	push   %ebx                           
  10da18:	83 ec 04             	sub    $0x4,%esp                      
  10da1b:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10da1e:	a1 70 14 13 00       	mov    0x131470,%eax                  
  10da23:	40                   	inc    %eax                           
  10da24:	a3 70 14 13 00       	mov    %eax,0x131470                  
  long seconds;                                                       
                                                                      
  _Thread_Disable_dispatch();                                         
  _TOD_Deactivate();                                                  
                                                                      
  seconds = _TOD_Seconds_since_epoch();                               
  10da29:	a1 44 15 13 00       	mov    0x131544,%eax                  
                                                                      
  if ( time->tv_sec < seconds )                                       
  10da2e:	8b 13                	mov    (%ebx),%edx                    
  10da30:	39 d0                	cmp    %edx,%eax                      
  10da32:	7f 34                	jg     10da68 <_TOD_Set+0x54>         
  Watchdog_Adjust_directions direction,                               
  Watchdog_Interval          units                                    
)                                                                     
{                                                                     
                                                                      
  _Watchdog_Adjust( &_Watchdog_Seconds_chain, direction, units );     
  10da34:	51                   	push   %ecx                           
    _Watchdog_Adjust_seconds( WATCHDOG_BACKWARD, seconds - time->tv_sec );
  else                                                                
    _Watchdog_Adjust_seconds( WATCHDOG_FORWARD, time->tv_sec - seconds );
  10da35:	29 c2                	sub    %eax,%edx                      
  10da37:	52                   	push   %edx                           
  10da38:	6a 00                	push   $0x0                           
  10da3a:	68 70 15 13 00       	push   $0x131570                      
  10da3f:	e8 50 24 00 00       	call   10fe94 <_Watchdog_Adjust>      
  10da44:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  /* POSIX format TOD (timespec) */                                   
  _Timestamp_Set( &_TOD_Now, time->tv_sec, time->tv_nsec );           
  10da47:	8b 03                	mov    (%ebx),%eax                    
  10da49:	a3 44 15 13 00       	mov    %eax,0x131544                  
  10da4e:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10da51:	a3 48 15 13 00       	mov    %eax,0x131548                  
  _TOD_Is_set = true;                                                 
  10da56:	c6 05 84 14 13 00 01 	movb   $0x1,0x131484                  
                                                                      
  _TOD_Activate();                                                    
                                                                      
  _Thread_Enable_dispatch();                                          
}                                                                     
  10da5d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10da60:	c9                   	leave                                 
  _Timestamp_Set( &_TOD_Now, time->tv_sec, time->tv_nsec );           
  _TOD_Is_set = true;                                                 
                                                                      
  _TOD_Activate();                                                    
                                                                      
  _Thread_Enable_dispatch();                                          
  10da61:	e9 02 15 00 00       	jmp    10ef68 <_Thread_Enable_dispatch>
  10da66:	66 90                	xchg   %ax,%ax                        
  10da68:	51                   	push   %ecx                           
  _TOD_Deactivate();                                                  
                                                                      
  seconds = _TOD_Seconds_since_epoch();                               
                                                                      
  if ( time->tv_sec < seconds )                                       
    _Watchdog_Adjust_seconds( WATCHDOG_BACKWARD, seconds - time->tv_sec );
  10da69:	29 d0                	sub    %edx,%eax                      
  10da6b:	50                   	push   %eax                           
  10da6c:	6a 01                	push   $0x1                           
  10da6e:	68 70 15 13 00       	push   $0x131570                      
  10da73:	e8 1c 24 00 00       	call   10fe94 <_Watchdog_Adjust>      
  10da78:	83 c4 10             	add    $0x10,%esp                     
  10da7b:	eb ca                	jmp    10da47 <_TOD_Set+0x33>         
                                                                      

0010c444 <_TOD_Tickle_ticks>: * * Output parameters: NONE */ void _TOD_Tickle_ticks( void ) {
  10c444:	55                   	push   %ebp                           
  10c445:	89 e5                	mov    %esp,%ebp                      
  10c447:	53                   	push   %ebx                           
  10c448:	83 ec 1c             	sub    $0x1c,%esp                     
  Timestamp_Control tick;                                             
  uint32_t          seconds;                                          
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
  10c44b:	c7 45 f0 00 00 00 00 	movl   $0x0,-0x10(%ebp)               
  10c452:	a1 2c 12 12 00       	mov    0x12122c,%eax                  
  10c457:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10c45a:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10c45d:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10c460:	c1 e0 03             	shl    $0x3,%eax                      
  10c463:	89 45 f4             	mov    %eax,-0xc(%ebp)                
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
  10c466:	a1 e4 55 12 00       	mov    0x1255e4,%eax                  
  10c46b:	40                   	inc    %eax                           
  10c46c:	a3 e4 55 12 00       	mov    %eax,0x1255e4                  
                                                                      
  /* Update the timespec format uptime */                             
  _Timestamp_Add_to( &_TOD_Uptime, &tick );                           
  10c471:	8d 5d f0             	lea    -0x10(%ebp),%ebx               
  10c474:	53                   	push   %ebx                           
  10c475:	68 f8 54 12 00       	push   $0x1254f8                      
  10c47a:	e8 05 1e 00 00       	call   10e284 <_Timespec_Add_to>      
  /* we do not care how much the uptime changed */                    
                                                                      
  /* Update the timespec format TOD */                                
  seconds = _Timestamp_Add_to_at_tick( &_TOD_Now, &tick );            
  10c47f:	58                   	pop    %eax                           
  10c480:	5a                   	pop    %edx                           
  10c481:	53                   	push   %ebx                           
  10c482:	68 44 55 12 00       	push   $0x125544                      
  10c487:	e8 f8 1d 00 00       	call   10e284 <_Timespec_Add_to>      
  10c48c:	89 c3                	mov    %eax,%ebx                      
  while ( seconds ) {                                                 
  10c48e:	83 c4 10             	add    $0x10,%esp                     
  10c491:	85 c0                	test   %eax,%eax                      
  10c493:	74 16                	je     10c4ab <_TOD_Tickle_ticks+0x67>
  10c495:	8d 76 00             	lea    0x0(%esi),%esi                 
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Watchdog_Tickle_seconds( void )            
{                                                                     
                                                                      
  _Watchdog_Tickle( &_Watchdog_Seconds_chain );                       
  10c498:	83 ec 0c             	sub    $0xc,%esp                      
  10c49b:	68 70 55 12 00       	push   $0x125570                      
  10c4a0:	e8 a7 22 00 00       	call   10e74c <_Watchdog_Tickle>      
  10c4a5:	83 c4 10             	add    $0x10,%esp                     
  10c4a8:	4b                   	dec    %ebx                           
  10c4a9:	75 ed                	jne    10c498 <_TOD_Tickle_ticks+0x54><== NEVER TAKEN
    _Watchdog_Tickle_seconds();                                       
    seconds--;                                                        
  }                                                                   
}                                                                     
  10c4ab:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c4ae:	c9                   	leave                                 
  10c4af:	c3                   	ret                                   
                                                                      

0010c1f0 <_TOD_To_seconds>: */ uint32_t _TOD_To_seconds( const rtems_time_of_day *the_tod ) {
  10c1f0:	55                   	push   %ebp                           
  10c1f1:	89 e5                	mov    %esp,%ebp                      
  10c1f3:	56                   	push   %esi                           
  10c1f4:	53                   	push   %ebx                           
  10c1f5:	8b 55 08             	mov    0x8(%ebp),%edx                 
  uint32_t   time;                                                    
  uint32_t   year_mod_4;                                              
                                                                      
  time = the_tod->day - 1;                                            
  10c1f8:	8b 72 08             	mov    0x8(%edx),%esi                 
  10c1fb:	4e                   	dec    %esi                           
  year_mod_4 = the_tod->year & 3;                                     
  10c1fc:	8b 02                	mov    (%edx),%eax                    
                                                                      
  if ( year_mod_4 == 0 )                                              
  10c1fe:	89 c3                	mov    %eax,%ebx                      
  10c200:	83 e3 03             	and    $0x3,%ebx                      
  10c203:	74 67                	je     10c26c <_TOD_To_seconds+0x7c>  
    time += _TOD_Days_to_date[ 1 ][ the_tod->month ];                 
  else                                                                
    time += _TOD_Days_to_date[ 0 ][ the_tod->month ];                 
  10c205:	8b 4a 04             	mov    0x4(%edx),%ecx                 
  10c208:	0f b7 8c 09 40 26 12 	movzwl 0x122640(%ecx,%ecx,1),%ecx     
  10c20f:	00                                                          
  10c210:	8d 34 31             	lea    (%ecx,%esi,1),%esi             
                                                                      
  time += ( (the_tod->year - TOD_BASE_YEAR) / 4 ) *                   
            ( (TOD_DAYS_PER_YEAR * 4) + 1);                           
                                                                      
  time += _TOD_Days_since_last_leap_year[ year_mod_4 ];               
  10c213:	0f b7 8c 1b 74 26 12 	movzwl 0x122674(%ebx,%ebx,1),%ecx     
  10c21a:	00                                                          
  if ( year_mod_4 == 0 )                                              
    time += _TOD_Days_to_date[ 1 ][ the_tod->month ];                 
  else                                                                
    time += _TOD_Days_to_date[ 0 ][ the_tod->month ];                 
                                                                      
  time += ( (the_tod->year - TOD_BASE_YEAR) / 4 ) *                   
  10c21b:	2d c4 07 00 00       	sub    $0x7c4,%eax                    
  10c220:	c1 e8 02             	shr    $0x2,%eax                      
  10c223:	8d 1c c0             	lea    (%eax,%eax,8),%ebx             
  10c226:	8d 1c d8             	lea    (%eax,%ebx,8),%ebx             
  10c229:	8d 1c 9b             	lea    (%ebx,%ebx,4),%ebx             
  10c22c:	8d 04 98             	lea    (%eax,%ebx,4),%eax             
  10c22f:	01 c1                	add    %eax,%ecx                      
            ( (TOD_DAYS_PER_YEAR * 4) + 1);                           
                                                                      
  time += _TOD_Days_since_last_leap_year[ year_mod_4 ];               
  10c231:	01 f1                	add    %esi,%ecx                      
                                                                      
  time *= TOD_SECONDS_PER_DAY;                                        
  10c233:	8d 04 89             	lea    (%ecx,%ecx,4),%eax             
  10c236:	8d 04 81             	lea    (%ecx,%eax,4),%eax             
  10c239:	8d 04 c1             	lea    (%ecx,%eax,8),%eax             
  10c23c:	c1 e0 02             	shl    $0x2,%eax                      
  10c23f:	29 c8                	sub    %ecx,%eax                      
  10c241:	c1 e0 07             	shl    $0x7,%eax                      
                                                                      
  time += ((the_tod->hour * TOD_MINUTES_PER_HOUR) + the_tod->minute)  
  10c244:	8b 5a 14             	mov    0x14(%edx),%ebx                
  10c247:	8b 4a 0c             	mov    0xc(%edx),%ecx                 
  10c24a:	8d 0c 49             	lea    (%ecx,%ecx,2),%ecx             
  10c24d:	8d 0c 89             	lea    (%ecx,%ecx,4),%ecx             
  10c250:	c1 e1 02             	shl    $0x2,%ecx                      
  10c253:	03 4a 10             	add    0x10(%edx),%ecx                
             * TOD_SECONDS_PER_MINUTE;                                
  10c256:	8d 14 49             	lea    (%ecx,%ecx,2),%edx             
  10c259:	8d 14 92             	lea    (%edx,%edx,4),%edx             
                                                                      
  time += the_tod->second;                                            
  10c25c:	8d 94 93 00 e5 da 21 	lea    0x21dae500(%ebx,%edx,4),%edx   
                                                                      
  time += TOD_SECONDS_1970_THROUGH_1988;                              
  10c263:	8d 04 02             	lea    (%edx,%eax,1),%eax             
                                                                      
  return( time );                                                     
}                                                                     
  10c266:	5b                   	pop    %ebx                           
  10c267:	5e                   	pop    %esi                           
  10c268:	c9                   	leave                                 
  10c269:	c3                   	ret                                   
  10c26a:	66 90                	xchg   %ax,%ax                        
                                                                      
  time = the_tod->day - 1;                                            
  year_mod_4 = the_tod->year & 3;                                     
                                                                      
  if ( year_mod_4 == 0 )                                              
    time += _TOD_Days_to_date[ 1 ][ the_tod->month ];                 
  10c26c:	8b 4a 04             	mov    0x4(%edx),%ecx                 
  10c26f:	0f b7 8c 09 5a 26 12 	movzwl 0x12265a(%ecx,%ecx,1),%ecx     
  10c276:	00                                                          
  10c277:	8d 34 31             	lea    (%ecx,%esi,1),%esi             
  10c27a:	eb 97                	jmp    10c213 <_TOD_To_seconds+0x23>  
                                                                      

0010c27c <_TOD_Validate>: */ bool _TOD_Validate( const rtems_time_of_day *the_tod ) {
  10c27c:	55                   	push   %ebp                           
  10c27d:	89 e5                	mov    %esp,%ebp                      
  10c27f:	53                   	push   %ebx                           
  10c280:	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();                 
  10c283:	8b 1d cc 53 12 00    	mov    0x1253cc,%ebx                  
  if ((!the_tod)                                  ||                  
  10c289:	85 c9                	test   %ecx,%ecx                      
  10c28b:	74 53                	je     10c2e0 <_TOD_Validate+0x64>    <== NEVER TAKEN
)                                                                     
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
  10c28d:	b8 40 42 0f 00       	mov    $0xf4240,%eax                  
  10c292:	31 d2                	xor    %edx,%edx                      
  10c294:	f7 f3                	div    %ebx                           
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
  10c296:	3b 41 18             	cmp    0x18(%ecx),%eax                
  10c299:	76 45                	jbe    10c2e0 <_TOD_Validate+0x64>    
      (the_tod->ticks  >= ticks_per_second)       ||                  
  10c29b:	83 79 14 3b          	cmpl   $0x3b,0x14(%ecx)               
  10c29f:	77 3f                	ja     10c2e0 <_TOD_Validate+0x64>    
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
  10c2a1:	83 79 10 3b          	cmpl   $0x3b,0x10(%ecx)               
  10c2a5:	77 39                	ja     10c2e0 <_TOD_Validate+0x64>    
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
  10c2a7:	83 79 0c 17          	cmpl   $0x17,0xc(%ecx)                
  10c2ab:	77 33                	ja     10c2e0 <_TOD_Validate+0x64>    
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
  10c2ad:	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)      ||                  
  10c2b0:	85 c0                	test   %eax,%eax                      
  10c2b2:	74 2c                	je     10c2e0 <_TOD_Validate+0x64>    <== NEVER TAKEN
      (the_tod->month  == 0)                      ||                  
  10c2b4:	83 f8 0c             	cmp    $0xc,%eax                      
  10c2b7:	77 27                	ja     10c2e0 <_TOD_Validate+0x64>    
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
  10c2b9:	8b 11                	mov    (%ecx),%edx                    
      (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)    ||                  
  10c2bb:	81 fa c3 07 00 00    	cmp    $0x7c3,%edx                    
  10c2c1:	76 1d                	jbe    10c2e0 <_TOD_Validate+0x64>    
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
  10c2c3:	8b 49 08             	mov    0x8(%ecx),%ecx                 
      (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)          ||                  
  10c2c6:	85 c9                	test   %ecx,%ecx                      
  10c2c8:	74 16                	je     10c2e0 <_TOD_Validate+0x64>    <== NEVER TAKEN
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
  10c2ca:	83 e2 03             	and    $0x3,%edx                      
  10c2cd:	75 16                	jne    10c2e5 <_TOD_Validate+0x69>    
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
  10c2cf:	8b 04 85 b4 26 12 00 	mov    0x1226b4(,%eax,4),%eax         
 *    false - if the the_tod is invalid                               
 *                                                                    
 *  NOTE: This routine only works for leap-years through 2099.        
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
  10c2d6:	39 c8                	cmp    %ecx,%eax                      
  10c2d8:	0f 93 c0             	setae  %al                            
  10c2db:	eb 05                	jmp    10c2e2 <_TOD_Validate+0x66>    
  10c2dd:	8d 76 00             	lea    0x0(%esi),%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;                                                    
  10c2e0:	31 c0                	xor    %eax,%eax                      
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
  10c2e2:	5b                   	pop    %ebx                           
  10c2e3:	c9                   	leave                                 
  10c2e4:	c3                   	ret                                   
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
  10c2e5:	8b 04 85 80 26 12 00 	mov    0x122680(,%eax,4),%eax         
  10c2ec:	eb e8                	jmp    10c2d6 <_TOD_Validate+0x5a>    
                                                                      

0010d340 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
  10d340:	55                   	push   %ebp                           
  10d341:	89 e5                	mov    %esp,%ebp                      
  10d343:	57                   	push   %edi                           
  10d344:	56                   	push   %esi                           
  10d345:	53                   	push   %ebx                           
  10d346:	83 ec 28             	sub    $0x28,%esp                     
  10d349:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10d34c:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10d34f:	8a 45 10             	mov    0x10(%ebp),%al                 
  10d352:	88 45 e7             	mov    %al,-0x19(%ebp)                
*/                                                                    
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
  10d355:	8b 7b 10             	mov    0x10(%ebx),%edi                
  /*                                                                  
   * 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 );                                
  10d358:	53                   	push   %ebx                           
  10d359:	e8 16 0d 00 00       	call   10e074 <_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 )                  
  10d35e:	83 c4 10             	add    $0x10,%esp                     
  10d361:	39 73 14             	cmp    %esi,0x14(%ebx)                
  10d364:	74 0d                	je     10d373 <_Thread_Change_priority+0x33>
    _Thread_Set_priority( the_thread, new_priority );                 
  10d366:	83 ec 08             	sub    $0x8,%esp                      
  10d369:	56                   	push   %esi                           
  10d36a:	53                   	push   %ebx                           
  10d36b:	e8 a0 0c 00 00       	call   10e010 <_Thread_Set_priority>  
  10d370:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  _ISR_Disable( level );                                              
  10d373:	9c                   	pushf                                 
  10d374:	fa                   	cli                                   
  10d375:	5e                   	pop    %esi                           
                                                                      
  /*                                                                  
   *  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;                                  
  10d376:	8b 43 10             	mov    0x10(%ebx),%eax                
  if ( state != STATES_TRANSIENT ) {                                  
  10d379:	83 f8 04             	cmp    $0x4,%eax                      
  10d37c:	74 26                	je     10d3a4 <_Thread_Change_priority+0x64>
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
  10d37e:	83 e7 04             	and    $0x4,%edi                      
  10d381:	74 15                	je     10d398 <_Thread_Change_priority+0x58><== ALWAYS TAKEN
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
  10d383:	56                   	push   %esi                           
  10d384:	9d                   	popf                                  
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
  10d385:	a9 e0 be 03 00       	test   $0x3bee0,%eax                  
  10d38a:	0f 85 94 00 00 00    	jne    10d424 <_Thread_Change_priority+0xe4>
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
  _ISR_Enable( level );                                               
}                                                                     
  10d390:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d393:	5b                   	pop    %ebx                           
  10d394:	5e                   	pop    %esi                           
  10d395:	5f                   	pop    %edi                           
  10d396:	c9                   	leave                                 
  10d397:	c3                   	ret                                   
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
  10d398:	89 c2                	mov    %eax,%edx                      
  10d39a:	83 e2 fb             	and    $0xfffffffb,%edx               
  10d39d:	89 53 10             	mov    %edx,0x10(%ebx)                
  10d3a0:	eb e1                	jmp    10d383 <_Thread_Change_priority+0x43>
  10d3a2:	66 90                	xchg   %ax,%ax                        
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
  10d3a4:	83 e7 04             	and    $0x4,%edi                      
  10d3a7:	75 40                	jne    10d3e9 <_Thread_Change_priority+0xa9><== NEVER TAKEN
     *  Ready Queue with interrupts off.                              
     *                                                                
     *  FIXME: hard-coded for priority scheduling. Might be ok since this
     *  function is specific to priority scheduling?                  
     */                                                               
    the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
  10d3a9:	c7 43 10 00 00 00 00 	movl   $0x0,0x10(%ebx)                
                                                                      
    if ( prepend_it )                                                 
  10d3b0:	80 7d e7 00          	cmpb   $0x0,-0x19(%ebp)               
  10d3b4:	0f 84 82 00 00 00    	je     10d43c <_Thread_Change_priority+0xfc>
                                                                      
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Ready_queue_enqueue_first(
  Thread_Control                   *the_thread                        
)                                                                     
{                                                                     
  _Priority_bit_map_Add( &the_thread->scheduler.priority->Priority_map );
  10d3ba:	8b 83 8c 00 00 00    	mov    0x8c(%ebx),%eax                
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Add (                     
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10d3c0:	8b 50 04             	mov    0x4(%eax),%edx                 
  10d3c3:	66 8b 48 0a          	mov    0xa(%eax),%cx                  
  10d3c7:	66 09 0a             	or     %cx,(%edx)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10d3ca:	66 8b 15 60 57 12 00 	mov    0x125760,%dx                   
  10d3d1:	0b 50 08             	or     0x8(%eax),%edx                 
  10d3d4:	66 89 15 60 57 12 00 	mov    %dx,0x125760                   
                                                                      
  _Chain_Prepend_unprotected( the_thread->scheduler.priority->ready_chain,
  10d3db:	8b 00                	mov    (%eax),%eax                    
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  10d3dd:	89 43 04             	mov    %eax,0x4(%ebx)                 
  before_node           = after_node->next;                           
  10d3e0:	8b 10                	mov    (%eax),%edx                    
  after_node->next      = the_node;                                   
  10d3e2:	89 18                	mov    %ebx,(%eax)                    
  the_node->next        = before_node;                                
  10d3e4:	89 13                	mov    %edx,(%ebx)                    
  before_node->previous = the_node;                                   
  10d3e6:	89 5a 04             	mov    %ebx,0x4(%edx)                 
      _Scheduler_priority_Ready_queue_enqueue_first( the_thread );    
    else                                                              
      _Scheduler_priority_Ready_queue_enqueue( the_thread );          
  }                                                                   
                                                                      
  _ISR_Flash( level );                                                
  10d3e9:	56                   	push   %esi                           
  10d3ea:	9d                   	popf                                  
  10d3eb:	fa                   	cli                                   
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Schedule(                        
    Scheduler_Control *the_scheduler                                  
)                                                                     
{                                                                     
  the_scheduler->Operations.schedule( the_scheduler );                
  10d3ec:	83 ec 0c             	sub    $0xc,%esp                      
  10d3ef:	68 20 55 12 00       	push   $0x125520                      
  10d3f4:	ff 15 24 55 12 00    	call   *0x125524                      
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
  10d3fa:	a1 38 57 12 00       	mov    0x125738,%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.               
   */                                                                 
  _Scheduler_Schedule(&_Scheduler);                                   
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
  10d3ff:	83 c4 10             	add    $0x10,%esp                     
  10d402:	3b 05 3c 57 12 00    	cmp    0x12573c,%eax                  
  10d408:	74 0d                	je     10d417 <_Thread_Change_priority+0xd7>
  10d40a:	80 78 74 00          	cmpb   $0x0,0x74(%eax)                
  10d40e:	74 07                	je     10d417 <_Thread_Change_priority+0xd7>
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
  10d410:	c6 05 44 57 12 00 01 	movb   $0x1,0x125744                  
  _ISR_Enable( level );                                               
  10d417:	56                   	push   %esi                           
  10d418:	9d                   	popf                                  
}                                                                     
  10d419:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d41c:	5b                   	pop    %ebx                           
  10d41d:	5e                   	pop    %esi                           
  10d41e:	5f                   	pop    %edi                           
  10d41f:	c9                   	leave                                 
  10d420:	c3                   	ret                                   
  10d421:	8d 76 00             	lea    0x0(%esi),%esi                 
    /* 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 );    
  10d424:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  10d427:	8b 43 44             	mov    0x44(%ebx),%eax                
  10d42a:	89 45 08             	mov    %eax,0x8(%ebp)                 
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
  _ISR_Enable( level );                                               
}                                                                     
  10d42d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d430:	5b                   	pop    %ebx                           
  10d431:	5e                   	pop    %esi                           
  10d432:	5f                   	pop    %edi                           
  10d433:	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 );    
  10d434:	e9 3f 0b 00 00       	jmp    10df78 <_Thread_queue_Requeue> 
  10d439:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Ready_queue_enqueue(    
  Thread_Control                  *the_thread                         
)                                                                     
{                                                                     
  _Priority_bit_map_Add( &the_thread->scheduler.priority->Priority_map );
  10d43c:	8b 83 8c 00 00 00    	mov    0x8c(%ebx),%eax                
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Add (                     
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10d442:	8b 50 04             	mov    0x4(%eax),%edx                 
  10d445:	66 8b 48 0a          	mov    0xa(%eax),%cx                  
  10d449:	66 09 0a             	or     %cx,(%edx)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10d44c:	66 8b 15 60 57 12 00 	mov    0x125760,%dx                   
  10d453:	0b 50 08             	or     0x8(%eax),%edx                 
  10d456:	66 89 15 60 57 12 00 	mov    %dx,0x125760                   
                                                                      
  _Chain_Append_unprotected( the_thread->scheduler.priority->ready_chain,
  10d45d:	8b 00                	mov    (%eax),%eax                    
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
  10d45f:	8b 50 08             	mov    0x8(%eax),%edx                 
RTEMS_INLINE_ROUTINE void _Chain_Append_unprotected(                  
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  10d462:	8d 48 04             	lea    0x4(%eax),%ecx                 
  10d465:	89 0b                	mov    %ecx,(%ebx)                    
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
  10d467:	89 58 08             	mov    %ebx,0x8(%eax)                 
  old_last->next = the_node;                                          
  10d46a:	89 1a                	mov    %ebx,(%edx)                    
  the_node->previous = old_last;                                      
  10d46c:	89 53 04             	mov    %edx,0x4(%ebx)                 
  10d46f:	e9 75 ff ff ff       	jmp    10d3e9 <_Thread_Change_priority+0xa9>
                                                                      

0010d474 <_Thread_Clear_state>: void _Thread_Clear_state( Thread_Control *the_thread, States_Control state ) {
  10d474:	55                   	push   %ebp                           
  10d475:	89 e5                	mov    %esp,%ebp                      
  10d477:	53                   	push   %ebx                           
  10d478:	83 ec 04             	sub    $0x4,%esp                      
  10d47b:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10d47e:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
  10d481:	9c                   	pushf                                 
  10d482:	fa                   	cli                                   
  10d483:	5b                   	pop    %ebx                           
    current_state = the_thread->current_state;                        
  10d484:	8b 4a 10             	mov    0x10(%edx),%ecx                
                                                                      
    if ( current_state & state ) {                                    
  10d487:	85 c8                	test   %ecx,%eax                      
  10d489:	74 0b                	je     10d496 <_Thread_Clear_state+0x22>
  10d48b:	f7 d0                	not    %eax                           
  10d48d:	21 c8                	and    %ecx,%eax                      
      current_state =                                                 
      the_thread->current_state = _States_Clear( state, current_state );
  10d48f:	89 42 10             	mov    %eax,0x10(%edx)                
                                                                      
      if ( _States_Is_ready( current_state ) ) {                      
  10d492:	85 c0                	test   %eax,%eax                      
  10d494:	74 0a                	je     10d4a0 <_Thread_Clear_state+0x2c>
        _Scheduler_Unblock( &_Scheduler, the_thread);                 
      }                                                               
  }                                                                   
  _ISR_Enable( level );                                               
  10d496:	53                   	push   %ebx                           
  10d497:	9d                   	popf                                  
}                                                                     
  10d498:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10d49b:	c9                   	leave                                 
  10d49c:	c3                   	ret                                   
  10d49d:	8d 76 00             	lea    0x0(%esi),%esi                 
RTEMS_INLINE_ROUTINE void _Scheduler_Unblock(                         
    Scheduler_Control *the_scheduler,                                 
    Thread_Control    *the_thread                                     
)                                                                     
{                                                                     
  the_scheduler->Operations.unblock( the_scheduler, the_thread );     
  10d4a0:	83 ec 08             	sub    $0x8,%esp                      
  10d4a3:	52                   	push   %edx                           
  10d4a4:	68 20 55 12 00       	push   $0x125520                      
  10d4a9:	ff 15 30 55 12 00    	call   *0x125530                      
  10d4af:	83 c4 10             	add    $0x10,%esp                     
  10d4b2:	eb e2                	jmp    10d496 <_Thread_Clear_state+0x22>
                                                                      

0010d640 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
  10d640:	55                   	push   %ebp                           
  10d641:	89 e5                	mov    %esp,%ebp                      
  10d643:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10d646:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10d649:	50                   	push   %eax                           
  10d64a:	ff 75 08             	pushl  0x8(%ebp)                      
  10d64d:	e8 c6 01 00 00       	call   10d818 <_Thread_Get>           
  switch ( location ) {                                               
  10d652:	83 c4 10             	add    $0x10,%esp                     
  10d655:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10d658:	85 d2                	test   %edx,%edx                      
  10d65a:	75 1c                	jne    10d678 <_Thread_Delay_ended+0x38><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
  10d65c:	83 ec 08             	sub    $0x8,%esp                      
  10d65f:	68 18 00 00 10       	push   $0x10000018                    
  10d664:	50                   	push   %eax                           
  10d665:	e8 0a fe ff ff       	call   10d474 <_Thread_Clear_state>   
  10d66a:	a1 70 54 12 00       	mov    0x125470,%eax                  
  10d66f:	48                   	dec    %eax                           
  10d670:	a3 70 54 12 00       	mov    %eax,0x125470                  
  10d675:	83 c4 10             	add    $0x10,%esp                     
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10d678:	c9                   	leave                                 
  10d679:	c3                   	ret                                   
                                                                      

0010d67c <_Thread_Dispatch>: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
  10d67c:	55                   	push   %ebp                           
  10d67d:	89 e5                	mov    %esp,%ebp                      
  10d67f:	57                   	push   %edi                           
  10d680:	56                   	push   %esi                           
  10d681:	53                   	push   %ebx                           
  10d682:	83 ec 1c             	sub    $0x1c,%esp                     
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  10d685:	8b 1d 38 57 12 00    	mov    0x125738,%ebx                  
  _ISR_Disable( level );                                              
  10d68b:	9c                   	pushf                                 
  10d68c:	fa                   	cli                                   
  10d68d:	58                   	pop    %eax                           
  while ( _Thread_Dispatch_necessary == true ) {                      
  10d68e:	8a 15 44 57 12 00    	mov    0x125744,%dl                   
  10d694:	84 d2                	test   %dl,%dl                        
  10d696:	0f 84 3c 01 00 00    	je     10d7d8 <_Thread_Dispatch+0x15c>
    heir = _Thread_Heir;                                              
  10d69c:	8b 35 3c 57 12 00    	mov    0x12573c,%esi                  
    _Thread_Dispatch_disable_level = 1;                               
  10d6a2:	c7 05 70 54 12 00 01 	movl   $0x1,0x125470                  
  10d6a9:	00 00 00                                                    
    _Thread_Dispatch_necessary = false;                               
  10d6ac:	c6 05 44 57 12 00 00 	movb   $0x0,0x125744                  
    _Thread_Executing = heir;                                         
  10d6b3:	89 35 38 57 12 00    	mov    %esi,0x125738                  
    /*                                                                
     *  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 )                                          
  10d6b9:	39 f3                	cmp    %esi,%ebx                      
  10d6bb:	0f 84 17 01 00 00    	je     10d7d8 <_Thread_Dispatch+0x15c>
  10d6c1:	8d 7d d8             	lea    -0x28(%ebp),%edi               
  10d6c4:	e9 f5 00 00 00       	jmp    10d7be <_Thread_Dispatch+0x142>
  10d6c9:	8d 76 00             	lea    0x0(%esi),%esi                 
    rtems_ada_self = heir->rtems_ada_self;                            
#endif                                                                
    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
                                                                      
    _ISR_Enable( level );                                             
  10d6cc:	50                   	push   %eax                           
  10d6cd:	9d                   	popf                                  
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
  10d6ce:	83 ec 0c             	sub    $0xc,%esp                      
  10d6d1:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10d6d4:	50                   	push   %eax                           
  10d6d5:	e8 0a 30 00 00       	call   1106e4 <_TOD_Get_uptime>       
        _Timestamp_Subtract(                                          
  10d6da:	83 c4 0c             	add    $0xc,%esp                      
  10d6dd:	57                   	push   %edi                           
  10d6de:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10d6e1:	50                   	push   %eax                           
  10d6e2:	68 68 55 12 00       	push   $0x125568                      
  10d6e7:	e8 d4 0b 00 00       	call   10e2c0 <_Timespec_Subtract>    
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
  10d6ec:	58                   	pop    %eax                           
  10d6ed:	5a                   	pop    %edx                           
  10d6ee:	57                   	push   %edi                           
  10d6ef:	8d 83 84 00 00 00    	lea    0x84(%ebx),%eax                
  10d6f5:	50                   	push   %eax                           
  10d6f6:	e8 89 0b 00 00       	call   10e284 <_Timespec_Add_to>      
        _Thread_Time_of_last_context_switch = uptime;                 
  10d6fb:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10d6fe:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10d701:	a3 68 55 12 00       	mov    %eax,0x125568                  
  10d706:	89 15 6c 55 12 00    	mov    %edx,0x12556c                  
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
  10d70c:	a1 40 55 12 00       	mov    0x125540,%eax                  
  10d711:	83 c4 10             	add    $0x10,%esp                     
  10d714:	85 c0                	test   %eax,%eax                      
  10d716:	74 10                	je     10d728 <_Thread_Dispatch+0xac> <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
  10d718:	8b 10                	mov    (%eax),%edx                    
  10d71a:	89 93 e0 00 00 00    	mov    %edx,0xe0(%ebx)                
      *_Thread_libc_reent = heir->libc_reent;                         
  10d720:	8b 96 e0 00 00 00    	mov    0xe0(%esi),%edx                
  10d726:	89 10                	mov    %edx,(%eax)                    
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
  10d728:	83 ec 08             	sub    $0x8,%esp                      
  10d72b:	56                   	push   %esi                           
  10d72c:	53                   	push   %ebx                           
  10d72d:	e8 2e 0e 00 00       	call   10e560 <_User_extensions_Thread_switch>
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
  10d732:	5a                   	pop    %edx                           
  10d733:	59                   	pop    %ecx                           
  10d734:	81 c6 c4 00 00 00    	add    $0xc4,%esi                     
  10d73a:	56                   	push   %esi                           
  10d73b:	8d 83 c4 00 00 00    	lea    0xc4(%ebx),%eax                
  10d741:	50                   	push   %eax                           
  10d742:	e8 29 11 00 00       	call   10e870 <_CPU_Context_switch>   
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
  10d747:	83 c4 10             	add    $0x10,%esp                     
  10d74a:	8b 83 dc 00 00 00    	mov    0xdc(%ebx),%eax                
  10d750:	85 c0                	test   %eax,%eax                      
  10d752:	74 36                	je     10d78a <_Thread_Dispatch+0x10e>
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
RTEMS_INLINE_ROUTINE bool _Thread_Is_allocated_fp (                   
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Allocated_fp );                      
  10d754:	a1 00 55 12 00       	mov    0x125500,%eax                  
  10d759:	39 c3                	cmp    %eax,%ebx                      
  10d75b:	74 2d                	je     10d78a <_Thread_Dispatch+0x10e>
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
  10d75d:	85 c0                	test   %eax,%eax                      
  10d75f:	74 11                	je     10d772 <_Thread_Dispatch+0xf6> 
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
  10d761:	83 ec 0c             	sub    $0xc,%esp                      
  10d764:	05 dc 00 00 00       	add    $0xdc,%eax                     
  10d769:	50                   	push   %eax                           
  10d76a:	e8 35 11 00 00       	call   10e8a4 <_CPU_Context_save_fp>  
  10d76f:	83 c4 10             	add    $0x10,%esp                     
      _Context_Restore_fp( &executing->fp_context );                  
  10d772:	83 ec 0c             	sub    $0xc,%esp                      
  10d775:	8d 83 dc 00 00 00    	lea    0xdc(%ebx),%eax                
  10d77b:	50                   	push   %eax                           
  10d77c:	e8 2d 11 00 00       	call   10e8ae <_CPU_Context_restore_fp>
      _Thread_Allocated_fp = executing;                               
  10d781:	89 1d 00 55 12 00    	mov    %ebx,0x125500                  
  10d787:	83 c4 10             	add    $0x10,%esp                     
    if ( executing->fp_context != NULL )                              
      _Context_Restore_fp( &executing->fp_context );                  
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
  10d78a:	8b 1d 38 57 12 00    	mov    0x125738,%ebx                  
                                                                      
    _ISR_Disable( level );                                            
  10d790:	9c                   	pushf                                 
  10d791:	fa                   	cli                                   
  10d792:	58                   	pop    %eax                           
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
  10d793:	8a 15 44 57 12 00    	mov    0x125744,%dl                   
  10d799:	84 d2                	test   %dl,%dl                        
  10d79b:	74 3b                	je     10d7d8 <_Thread_Dispatch+0x15c>
    heir = _Thread_Heir;                                              
  10d79d:	8b 35 3c 57 12 00    	mov    0x12573c,%esi                  
    _Thread_Dispatch_disable_level = 1;                               
  10d7a3:	c7 05 70 54 12 00 01 	movl   $0x1,0x125470                  
  10d7aa:	00 00 00                                                    
    _Thread_Dispatch_necessary = false;                               
  10d7ad:	c6 05 44 57 12 00 00 	movb   $0x0,0x125744                  
    _Thread_Executing = heir;                                         
  10d7b4:	89 35 38 57 12 00    	mov    %esi,0x125738                  
    /*                                                                
     *  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 )                                          
  10d7ba:	39 de                	cmp    %ebx,%esi                      
  10d7bc:	74 1a                	je     10d7d8 <_Thread_Dispatch+0x15c><== NEVER TAKEN
     */                                                               
#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 )
  10d7be:	83 7e 7c 01          	cmpl   $0x1,0x7c(%esi)                
  10d7c2:	0f 85 04 ff ff ff    	jne    10d6cc <_Thread_Dispatch+0x50> 
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
  10d7c8:	8b 15 40 54 12 00    	mov    0x125440,%edx                  
  10d7ce:	89 56 78             	mov    %edx,0x78(%esi)                
  10d7d1:	e9 f6 fe ff ff       	jmp    10d6cc <_Thread_Dispatch+0x50> 
  10d7d6:	66 90                	xchg   %ax,%ax                        
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
post_switch:                                                          
  _Thread_Dispatch_disable_level = 0;                                 
  10d7d8:	c7 05 70 54 12 00 00 	movl   $0x0,0x125470                  
  10d7df:	00 00 00                                                    
                                                                      
  _ISR_Enable( level );                                               
  10d7e2:	50                   	push   %eax                           
  10d7e3:	9d                   	popf                                  
                                                                      
  _API_extensions_Run_postswitch();                                   
  10d7e4:	e8 9f e6 ff ff       	call   10be88 <_API_extensions_Run_postswitch>
}                                                                     
  10d7e9:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d7ec:	5b                   	pop    %ebx                           
  10d7ed:	5e                   	pop    %esi                           
  10d7ee:	5f                   	pop    %edi                           
  10d7ef:	c9                   	leave                                 
  10d7f0:	c3                   	ret                                   
                                                                      

0010d818 <_Thread_Get>: */ Thread_Control *_Thread_Get ( Objects_Id id, Objects_Locations *location ) {
  10d818:	55                   	push   %ebp                           
  10d819:	89 e5                	mov    %esp,%ebp                      
  10d81b:	53                   	push   %ebx                           
  10d81c:	83 ec 04             	sub    $0x4,%esp                      
  10d81f:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10d822:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  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 ) ) {           
  10d825:	85 c0                	test   %eax,%eax                      
  10d827:	74 4b                	je     10d874 <_Thread_Get+0x5c>      
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
  10d829:	89 c2                	mov    %eax,%edx                      
  10d82b:	c1 ea 18             	shr    $0x18,%edx                     
  10d82e:	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 )                      
  10d831:	8d 5a ff             	lea    -0x1(%edx),%ebx                
  10d834:	83 fb 02             	cmp    $0x2,%ebx                      
  10d837:	77 2b                	ja     10d864 <_Thread_Get+0x4c>      
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (uint32_t)                                                   
  10d839:	89 c3                	mov    %eax,%ebx                      
  10d83b:	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 :) */
  10d83e:	4b                   	dec    %ebx                           
  10d83f:	75 23                	jne    10d864 <_Thread_Get+0x4c>      
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  api_information = _Objects_Information_table[ the_api ];            
  10d841:	8b 14 95 48 54 12 00 	mov    0x125448(,%edx,4),%edx         
  /*                                                                  
   *  There is no way for this to happen if POSIX is enabled.         
   */                                                                 
  #if !defined(RTEMS_POSIX_API)                                       
    if ( !api_information ) {                                         
  10d848:	85 d2                	test   %edx,%edx                      
  10d84a:	74 18                	je     10d864 <_Thread_Get+0x4c>      <== NEVER TAKEN
      *location = OBJECTS_ERROR;                                      
      goto done;                                                      
    }                                                                 
  #endif                                                              
                                                                      
  information = api_information[ the_class ];                         
  10d84c:	8b 52 04             	mov    0x4(%edx),%edx                 
  if ( !information ) {                                               
  10d84f:	85 d2                	test   %edx,%edx                      
  10d851:	74 11                	je     10d864 <_Thread_Get+0x4c>      
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  tp = (Thread_Control *) _Objects_Get( information, id, location );  
  10d853:	53                   	push   %ebx                           
  10d854:	51                   	push   %ecx                           
  10d855:	50                   	push   %eax                           
  10d856:	52                   	push   %edx                           
  10d857:	e8 10 f5 ff ff       	call   10cd6c <_Objects_Get>          
  10d85c:	83 c4 10             	add    $0x10,%esp                     
                                                                      
done:                                                                 
  return tp;                                                          
}                                                                     
  10d85f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10d862:	c9                   	leave                                 
  10d863:	c3                   	ret                                   
    }                                                                 
  #endif                                                              
                                                                      
  information = api_information[ the_class ];                         
  if ( !information ) {                                               
    *location = OBJECTS_ERROR;                                        
  10d864:	c7 01 01 00 00 00    	movl   $0x1,(%ecx)                    
{                                                                     
  uint32_t             the_api;                                       
  uint32_t             the_class;                                     
  Objects_Information **api_information;                              
  Objects_Information *information;                                   
  Thread_Control      *tp = (Thread_Control *) 0;                     
  10d86a:	31 c0                	xor    %eax,%eax                      
                                                                      
  tp = (Thread_Control *) _Objects_Get( information, id, location );  
                                                                      
done:                                                                 
  return tp;                                                          
}                                                                     
  10d86c:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10d86f:	c9                   	leave                                 
  10d870:	c3                   	ret                                   
  10d871:	8d 76 00             	lea    0x0(%esi),%esi                 
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10d874:	a1 70 54 12 00       	mov    0x125470,%eax                  
  10d879:	40                   	inc    %eax                           
  10d87a:	a3 70 54 12 00       	mov    %eax,0x125470                  
  Objects_Information *information;                                   
  Thread_Control      *tp = (Thread_Control *) 0;                     
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ) {           
    _Thread_Disable_dispatch();                                       
    *location = OBJECTS_LOCAL;                                        
  10d87f:	c7 01 00 00 00 00    	movl   $0x0,(%ecx)                    
    tp = _Thread_Executing;                                           
  10d885:	a1 38 57 12 00       	mov    0x125738,%eax                  
                                                                      
  tp = (Thread_Control *) _Objects_Get( information, id, location );  
                                                                      
done:                                                                 
  return tp;                                                          
}                                                                     
  10d88a:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10d88d:	c9                   	leave                                 
  10d88e:	c3                   	ret                                   
                                                                      

001121c8 <_Thread_Handler>: * * Output parameters: NONE */ void _Thread_Handler( void ) {
  1121c8:	55                   	push   %ebp                           
  1121c9:	89 e5                	mov    %esp,%ebp                      
  1121cb:	53                   	push   %ebx                           
  1121cc:	83 ec 14             	sub    $0x14,%esp                     
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
  1121cf:	8b 1d 38 57 12 00    	mov    0x125738,%ebx                  
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
  1121d5:	8b 83 ac 00 00 00    	mov    0xac(%ebx),%eax                
  _ISR_Set_level(level);                                              
  1121db:	85 c0                	test   %eax,%eax                      
  1121dd:	74 79                	je     112258 <_Thread_Handler+0x90>  
  1121df:	fa                   	cli                                   
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
  1121e0:	a0 ec 50 12 00       	mov    0x1250ec,%al                   
  1121e5:	88 45 f7             	mov    %al,-0x9(%ebp)                 
    doneConstructors = 1;                                             
  1121e8:	c6 05 ec 50 12 00 01 	movb   $0x1,0x1250ec                  
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
  1121ef:	8b 93 dc 00 00 00    	mov    0xdc(%ebx),%edx                
  1121f5:	85 d2                	test   %edx,%edx                      
  1121f7:	74 24                	je     11221d <_Thread_Handler+0x55>  
#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 );                      
  1121f9:	a1 00 55 12 00       	mov    0x125500,%eax                  
  1121fe:	39 c3                	cmp    %eax,%ebx                      
  112200:	74 1b                	je     11221d <_Thread_Handler+0x55>  
            !_Thread_Is_allocated_fp( executing ) ) {                 
        if ( _Thread_Allocated_fp != NULL )                           
  112202:	85 c0                	test   %eax,%eax                      
  112204:	74 11                	je     112217 <_Thread_Handler+0x4f>  
          _Context_Save_fp( &_Thread_Allocated_fp->fp_context );      
  112206:	83 ec 0c             	sub    $0xc,%esp                      
  112209:	05 dc 00 00 00       	add    $0xdc,%eax                     
  11220e:	50                   	push   %eax                           
  11220f:	e8 90 c6 ff ff       	call   10e8a4 <_CPU_Context_save_fp>  
  112214:	83 c4 10             	add    $0x10,%esp                     
        _Thread_Allocated_fp = executing;                             
  112217:	89 1d 00 55 12 00    	mov    %ebx,0x125500                  
  /*                                                                  
   * 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 );                         
  11221d:	83 ec 0c             	sub    $0xc,%esp                      
  112220:	53                   	push   %ebx                           
  112221:	e8 9e c1 ff ff       	call   10e3c4 <_User_extensions_Thread_begin>
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
  112226:	e8 c9 b5 ff ff       	call   10d7f4 <_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) */ {                 
  11222b:	83 c4 10             	add    $0x10,%esp                     
  11222e:	80 7d f7 00          	cmpb   $0x0,-0x9(%ebp)                
  112232:	74 28                	je     11225c <_Thread_Handler+0x94>  
      INIT_NAME ();                                                   
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
  112234:	8b 83 94 00 00 00    	mov    0x94(%ebx),%eax                
  11223a:	85 c0                	test   %eax,%eax                      
  11223c:	74 2d                	je     11226b <_Thread_Handler+0xa3>  <== ALWAYS TAKEN
   *  was placed in return_argument.  This assumed that if it returned
   *  anything (which is not supporting in all APIs), then it would be
   *  able to fit in a (void *).                                      
   */                                                                 
                                                                      
  _User_extensions_Thread_exitted( executing );                       
  11223e:	83 ec 0c             	sub    $0xc,%esp                      
  112241:	53                   	push   %ebx                           
  112242:	e8 b9 c1 ff ff       	call   10e400 <_User_extensions_Thread_exitted>
                                                                      
  _Internal_error_Occurred(                                           
  112247:	83 c4 0c             	add    $0xc,%esp                      
  11224a:	6a 05                	push   $0x5                           
  11224c:	6a 01                	push   $0x1                           
  11224e:	6a 00                	push   $0x0                           
  112250:	e8 cf a5 ff ff       	call   10c824 <_Internal_error_Occurred>
  112255:	8d 76 00             	lea    0x0(%esi),%esi                 
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
  _ISR_Set_level(level);                                              
  112258:	fb                   	sti                                   
  112259:	eb 85                	jmp    1121e0 <_Thread_Handler+0x18>  
  11225b:	90                   	nop                                   
     *  _init could be a weak symbol and we SHOULD test it but it isn't
     *  in any configuration I know of and it generates a warning on every
     *  RTEMS target configuration.  --joel (12 May 2007)             
     */                                                               
    if (!doneCons) /* && (volatile void *)_init) */ {                 
      INIT_NAME ();                                                   
  11225c:	e8 2f be 00 00       	call   11e090 <__start_set_sysctl_set>
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
  112261:	8b 83 94 00 00 00    	mov    0x94(%ebx),%eax                
  112267:	85 c0                	test   %eax,%eax                      
  112269:	75 d3                	jne    11223e <_Thread_Handler+0x76>  <== NEVER TAKEN
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
  11226b:	83 ec 0c             	sub    $0xc,%esp                      
  11226e:	ff b3 9c 00 00 00    	pushl  0x9c(%ebx)                     
  112274:	ff 93 90 00 00 00    	call   *0x90(%ebx)                    
      INIT_NAME ();                                                   
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
  11227a:	89 43 28             	mov    %eax,0x28(%ebx)                
  11227d:	83 c4 10             	add    $0x10,%esp                     
  112280:	eb bc                	jmp    11223e <_Thread_Handler+0x76>  
                                                                      

0010d890 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
  10d890:	55                   	push   %ebp                           
  10d891:	89 e5                	mov    %esp,%ebp                      
  10d893:	57                   	push   %edi                           
  10d894:	56                   	push   %esi                           
  10d895:	53                   	push   %ebx                           
  10d896:	83 ec 24             	sub    $0x24,%esp                     
  10d899:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10d89c:	8b 75 14             	mov    0x14(%ebp),%esi                
  10d89f:	0f b6 7d 18          	movzbl 0x18(%ebp),%edi                
  10d8a3:	8a 45 20             	mov    0x20(%ebp),%al                 
  10d8a6:	88 45 e4             	mov    %al,-0x1c(%ebp)                
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
  10d8a9:	c7 83 e4 00 00 00 00 	movl   $0x0,0xe4(%ebx)                
  10d8b0:	00 00 00                                                    
  10d8b3:	c7 83 e8 00 00 00 00 	movl   $0x0,0xe8(%ebx)                
  10d8ba:	00 00 00                                                    
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
  10d8bd:	c7 83 e0 00 00 00 00 	movl   $0x0,0xe0(%ebx)                
  10d8c4:	00 00 00                                                    
                                                                      
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
  10d8c7:	56                   	push   %esi                           
  10d8c8:	53                   	push   %ebx                           
  10d8c9:	e8 16 08 00 00       	call   10e0e4 <_Thread_Stack_Allocate>
    if ( !actual_stack_size || actual_stack_size < stack_size )       
  10d8ce:	83 c4 10             	add    $0x10,%esp                     
  10d8d1:	85 c0                	test   %eax,%eax                      
  10d8d3:	0f 84 9b 01 00 00    	je     10da74 <_Thread_Initialize+0x1e4>
  10d8d9:	39 c6                	cmp    %eax,%esi                      
  10d8db:	0f 87 93 01 00 00    	ja     10da74 <_Thread_Initialize+0x1e4><== NEVER TAKEN
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
  10d8e1:	8b 93 c0 00 00 00    	mov    0xc0(%ebx),%edx                
  10d8e7:	89 93 b8 00 00 00    	mov    %edx,0xb8(%ebx)                
  the_stack->size = size;                                             
  10d8ed:	89 83 b4 00 00 00    	mov    %eax,0xb4(%ebx)                
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
  10d8f3:	89 f8                	mov    %edi,%eax                      
  10d8f5:	84 c0                	test   %al,%al                        
  10d8f7:	0f 85 87 01 00 00    	jne    10da84 <_Thread_Initialize+0x1f4>
  10d8fd:	31 c0                	xor    %eax,%eax                      
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    fp_area = NULL;                                                   
  10d8ff:	31 ff                	xor    %edi,%edi                      
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
      if ( !fp_area )                                                 
        goto failed;                                                  
      fp_area = _Context_Fp_start( fp_area, 0 );                      
    }                                                                 
    the_thread->fp_context       = fp_area;                           
  10d901:	89 83 dc 00 00 00    	mov    %eax,0xdc(%ebx)                
    the_thread->Start.fp_context = fp_area;                           
  10d907:	89 83 bc 00 00 00    	mov    %eax,0xbc(%ebx)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10d90d:	c7 43 50 00 00 00 00 	movl   $0x0,0x50(%ebx)                
  the_watchdog->routine   = routine;                                  
  10d914:	c7 43 64 00 00 00 00 	movl   $0x0,0x64(%ebx)                
  the_watchdog->id        = id;                                       
  10d91b:	c7 43 68 00 00 00 00 	movl   $0x0,0x68(%ebx)                
  the_watchdog->user_data = user_data;                                
  10d922:	c7 43 6c 00 00 00 00 	movl   $0x0,0x6c(%ebx)                
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
  10d929:	a1 4c 55 12 00       	mov    0x12554c,%eax                  
  10d92e:	85 c0                	test   %eax,%eax                      
  10d930:	0f 85 76 01 00 00    	jne    10daac <_Thread_Initialize+0x21c>
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
  10d936:	c7 83 ec 00 00 00 00 	movl   $0x0,0xec(%ebx)                
  10d93d:	00 00 00                                                    
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
  10d940:	31 f6                	xor    %esi,%esi                      
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  10d942:	8a 45 e4             	mov    -0x1c(%ebp),%al                
  10d945:	88 83 a0 00 00 00    	mov    %al,0xa0(%ebx)                 
  the_thread->Start.budget_algorithm = budget_algorithm;              
  10d94b:	8b 45 24             	mov    0x24(%ebp),%eax                
  10d94e:	89 83 a4 00 00 00    	mov    %eax,0xa4(%ebx)                
  the_thread->Start.budget_callout   = budget_callout;                
  10d954:	8b 45 28             	mov    0x28(%ebp),%eax                
  10d957:	89 83 a8 00 00 00    	mov    %eax,0xa8(%ebx)                
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
  10d95d:	8b 45 2c             	mov    0x2c(%ebp),%eax                
  10d960:	89 83 ac 00 00 00    	mov    %eax,0xac(%ebx)                
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  10d966:	c7 43 10 01 00 00 00 	movl   $0x1,0x10(%ebx)                
  the_thread->Wait.queue              = NULL;                         
  10d96d:	c7 43 44 00 00 00 00 	movl   $0x0,0x44(%ebx)                
  the_thread->resource_count          = 0;                            
  10d974:	c7 43 1c 00 00 00 00 	movl   $0x0,0x1c(%ebx)                
  the_thread->real_priority           = priority;                     
  10d97b:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  10d97e:	89 43 18             	mov    %eax,0x18(%ebx)                
  the_thread->Start.initial_priority  = priority;                     
  10d981:	89 83 b0 00 00 00    	mov    %eax,0xb0(%ebx)                
RTEMS_INLINE_ROUTINE void* _Scheduler_Thread_scheduler_allocate(      
  Scheduler_Control *the_scheduler,                                   
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return                                                              
  10d987:	83 ec 08             	sub    $0x8,%esp                      
  10d98a:	53                   	push   %ebx                           
  10d98b:	68 20 55 12 00       	push   $0x125520                      
  10d990:	ff 15 34 55 12 00    	call   *0x125534                      
  10d996:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  sched =_Scheduler_Thread_scheduler_allocate( &_Scheduler, the_thread );
  if ( !sched )                                                       
  10d999:	83 c4 10             	add    $0x10,%esp                     
  10d99c:	85 c0                	test   %eax,%eax                      
  10d99e:	74 46                	je     10d9e6 <_Thread_Initialize+0x156>
    goto failed;                                                      
  _Thread_Set_priority( the_thread, priority );                       
  10d9a0:	83 ec 08             	sub    $0x8,%esp                      
  10d9a3:	ff 75 1c             	pushl  0x1c(%ebp)                     
  10d9a6:	53                   	push   %ebx                           
  10d9a7:	e8 64 06 00 00       	call   10e010 <_Thread_Set_priority>  
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
  10d9ac:	c7 83 84 00 00 00 00 	movl   $0x0,0x84(%ebx)                
  10d9b3:	00 00 00                                                    
  10d9b6:	c7 83 88 00 00 00 00 	movl   $0x0,0x88(%ebx)                
  10d9bd:	00 00 00                                                    
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
                                                                      
                                                                      
}                                                                     
  10d9c0:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10d9c3:	8b 40 1c             	mov    0x1c(%eax),%eax                
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10d9c6:	0f b7 53 08          	movzwl 0x8(%ebx),%edx                 
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10d9ca:	89 1c 90             	mov    %ebx,(%eax,%edx,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  10d9cd:	8b 45 30             	mov    0x30(%ebp),%eax                
  10d9d0:	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 );    
  10d9d3:	89 1c 24             	mov    %ebx,(%esp)                    
  10d9d6:	e8 b1 0a 00 00       	call   10e48c <_User_extensions_Thread_create>
  if ( extension_status )                                             
  10d9db:	83 c4 10             	add    $0x10,%esp                     
  10d9de:	84 c0                	test   %al,%al                        
  10d9e0:	0f 85 9a 00 00 00    	jne    10da80 <_Thread_Initialize+0x1f0>
    return true;                                                      
                                                                      
failed:                                                               
  if ( the_thread->libc_reent )                                       
  10d9e6:	8b 83 e0 00 00 00    	mov    0xe0(%ebx),%eax                
  10d9ec:	85 c0                	test   %eax,%eax                      
  10d9ee:	74 0c                	je     10d9fc <_Thread_Initialize+0x16c>
    _Workspace_Free( the_thread->libc_reent );                        
  10d9f0:	83 ec 0c             	sub    $0xc,%esp                      
  10d9f3:	50                   	push   %eax                           
  10d9f4:	e8 2b 0e 00 00       	call   10e824 <_Workspace_Free>       
  10d9f9:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
  10d9fc:	8b 83 e4 00 00 00    	mov    0xe4(%ebx),%eax                
  10da02:	85 c0                	test   %eax,%eax                      
  10da04:	74 0c                	je     10da12 <_Thread_Initialize+0x182>
      _Workspace_Free( the_thread->API_Extensions[i] );               
  10da06:	83 ec 0c             	sub    $0xc,%esp                      
  10da09:	50                   	push   %eax                           
  10da0a:	e8 15 0e 00 00       	call   10e824 <_Workspace_Free>       
  10da0f:	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] )                              
  10da12:	8b 83 e8 00 00 00    	mov    0xe8(%ebx),%eax                
  10da18:	85 c0                	test   %eax,%eax                      
  10da1a:	74 0c                	je     10da28 <_Thread_Initialize+0x198><== ALWAYS TAKEN
      _Workspace_Free( the_thread->API_Extensions[i] );               
  10da1c:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10da1f:	50                   	push   %eax                           <== NOT EXECUTED
  10da20:	e8 ff 0d 00 00       	call   10e824 <_Workspace_Free>       <== NOT EXECUTED
  10da25:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
                                                                      
  if ( extensions_area )                                              
  10da28:	85 f6                	test   %esi,%esi                      
  10da2a:	74 0c                	je     10da38 <_Thread_Initialize+0x1a8>
    (void) _Workspace_Free( extensions_area );                        
  10da2c:	83 ec 0c             	sub    $0xc,%esp                      
  10da2f:	56                   	push   %esi                           
  10da30:	e8 ef 0d 00 00       	call   10e824 <_Workspace_Free>       
  10da35:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( fp_area )                                                    
  10da38:	85 ff                	test   %edi,%edi                      
  10da3a:	74 0c                	je     10da48 <_Thread_Initialize+0x1b8>
      (void) _Workspace_Free( fp_area );                              
  10da3c:	83 ec 0c             	sub    $0xc,%esp                      
  10da3f:	57                   	push   %edi                           
  10da40:	e8 df 0d 00 00       	call   10e824 <_Workspace_Free>       
  10da45:	83 c4 10             	add    $0x10,%esp                     
  #endif                                                              
                                                                      
  if ( sched )                                                        
  10da48:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10da4b:	85 c0                	test   %eax,%eax                      
  10da4d:	74 0e                	je     10da5d <_Thread_Initialize+0x1cd>
    (void) _Workspace_Free( sched );                                  
  10da4f:	83 ec 0c             	sub    $0xc,%esp                      
  10da52:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10da55:	e8 ca 0d 00 00       	call   10e824 <_Workspace_Free>       
  10da5a:	83 c4 10             	add    $0x10,%esp                     
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  10da5d:	83 ec 0c             	sub    $0xc,%esp                      
  10da60:	53                   	push   %ebx                           
  10da61:	e8 e2 06 00 00       	call   10e148 <_Thread_Stack_Free>    
  return false;                                                       
  10da66:	83 c4 10             	add    $0x10,%esp                     
  10da69:	31 c0                	xor    %eax,%eax                      
                                                                      
                                                                      
}                                                                     
  10da6b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10da6e:	5b                   	pop    %ebx                           
  10da6f:	5e                   	pop    %esi                           
  10da70:	5f                   	pop    %edi                           
  10da71:	c9                   	leave                                 
  10da72:	c3                   	ret                                   
  10da73:	90                   	nop                                   
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
  10da74:	31 c0                	xor    %eax,%eax                      
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
                                                                      
                                                                      
}                                                                     
  10da76:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10da79:	5b                   	pop    %ebx                           
  10da7a:	5e                   	pop    %esi                           
  10da7b:	5f                   	pop    %edi                           
  10da7c:	c9                   	leave                                 
  10da7d:	c3                   	ret                                   
  10da7e:	66 90                	xchg   %ax,%ax                        
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
    return true;                                                      
  10da80:	b0 01                	mov    $0x1,%al                       
  10da82:	eb f2                	jmp    10da76 <_Thread_Initialize+0x1e6>
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
  10da84:	83 ec 0c             	sub    $0xc,%esp                      
  10da87:	6a 6c                	push   $0x6c                          
  10da89:	e8 7a 0d 00 00       	call   10e808 <_Workspace_Allocate>   
  10da8e:	89 c7                	mov    %eax,%edi                      
      if ( !fp_area )                                                 
  10da90:	83 c4 10             	add    $0x10,%esp                     
  10da93:	85 c0                	test   %eax,%eax                      
  10da95:	0f 85 66 fe ff ff    	jne    10d901 <_Thread_Initialize+0x71>
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
  10da9b:	31 f6                	xor    %esi,%esi                      
  size_t               actual_stack_size = 0;                         
  void                *stack = NULL;                                  
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    void              *fp_area;                                       
  #endif                                                              
  void                *sched = NULL;                                  
  10da9d:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  10daa4:	e9 3d ff ff ff       	jmp    10d9e6 <_Thread_Initialize+0x156>
  10daa9:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
    extensions_area = _Workspace_Allocate(                            
  10daac:	83 ec 0c             	sub    $0xc,%esp                      
  10daaf:	8d 04 85 04 00 00 00 	lea    0x4(,%eax,4),%eax              
  10dab6:	50                   	push   %eax                           
  10dab7:	e8 4c 0d 00 00       	call   10e808 <_Workspace_Allocate>   
  10dabc:	89 c6                	mov    %eax,%esi                      
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
  10dabe:	83 c4 10             	add    $0x10,%esp                     
  10dac1:	85 c0                	test   %eax,%eax                      
  10dac3:	74 26                	je     10daeb <_Thread_Initialize+0x25b>
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
  10dac5:	89 83 ec 00 00 00    	mov    %eax,0xec(%ebx)                
  10dacb:	8b 0d 4c 55 12 00    	mov    0x12554c,%ecx                  
   * 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++ )              
  10dad1:	31 d2                	xor    %edx,%edx                      
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
  10dad3:	31 c0                	xor    %eax,%eax                      
  10dad5:	8d 76 00             	lea    0x0(%esi),%esi                 
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
      the_thread->extensions[i] = NULL;                               
  10dad8:	c7 04 96 00 00 00 00 	movl   $0x0,(%esi,%edx,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++ )              
  10dadf:	40                   	inc    %eax                           
  10dae0:	89 c2                	mov    %eax,%edx                      
  10dae2:	39 c1                	cmp    %eax,%ecx                      
  10dae4:	73 f2                	jae    10dad8 <_Thread_Initialize+0x248>
  10dae6:	e9 57 fe ff ff       	jmp    10d942 <_Thread_Initialize+0xb2>
  size_t               actual_stack_size = 0;                         
  void                *stack = NULL;                                  
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    void              *fp_area;                                       
  #endif                                                              
  void                *sched = NULL;                                  
  10daeb:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  10daf2:	e9 ef fe ff ff       	jmp    10d9e6 <_Thread_Initialize+0x156>
                                                                      

00111a54 <_Thread_Reset>: void _Thread_Reset( Thread_Control *the_thread, void *pointer_argument, Thread_Entry_numeric_type numeric_argument ) {
  111a54:	55                   	push   %ebp                           
  111a55:	89 e5                	mov    %esp,%ebp                      
  111a57:	53                   	push   %ebx                           
  111a58:	83 ec 10             	sub    $0x10,%esp                     
  111a5b:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  the_thread->resource_count   = 0;                                   
  111a5e:	c7 43 1c 00 00 00 00 	movl   $0x0,0x1c(%ebx)                
  the_thread->is_preemptible   = the_thread->Start.is_preemptible;    
  111a65:	8a 83 a0 00 00 00    	mov    0xa0(%ebx),%al                 
  111a6b:	88 43 74             	mov    %al,0x74(%ebx)                 
  the_thread->budget_algorithm = the_thread->Start.budget_algorithm;  
  111a6e:	8b 83 a4 00 00 00    	mov    0xa4(%ebx),%eax                
  111a74:	89 43 7c             	mov    %eax,0x7c(%ebx)                
  the_thread->budget_callout   = the_thread->Start.budget_callout;    
  111a77:	8b 83 a8 00 00 00    	mov    0xa8(%ebx),%eax                
  111a7d:	89 83 80 00 00 00    	mov    %eax,0x80(%ebx)                
                                                                      
  the_thread->Start.pointer_argument = pointer_argument;              
  111a83:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  111a86:	89 83 98 00 00 00    	mov    %eax,0x98(%ebx)                
  the_thread->Start.numeric_argument = numeric_argument;              
  111a8c:	8b 45 10             	mov    0x10(%ebp),%eax                
  111a8f:	89 83 9c 00 00 00    	mov    %eax,0x9c(%ebx)                
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
  111a95:	53                   	push   %ebx                           
  111a96:	e8 5d cf ff ff       	call   10e9f8 <_Thread_queue_Extract_with_proxy>
  111a9b:	83 c4 10             	add    $0x10,%esp                     
  111a9e:	84 c0                	test   %al,%al                        
  111aa0:	75 06                	jne    111aa8 <_Thread_Reset+0x54>    
                                                                      
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
  111aa2:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  111aa6:	74 28                	je     111ad0 <_Thread_Reset+0x7c>    
      (void) _Watchdog_Remove( &the_thread->Timer );                  
  }                                                                   
                                                                      
  if ( the_thread->current_priority != the_thread->Start.initial_priority ) {
  111aa8:	8b 83 b0 00 00 00    	mov    0xb0(%ebx),%eax                
  111aae:	39 43 14             	cmp    %eax,0x14(%ebx)                
  111ab1:	74 15                	je     111ac8 <_Thread_Reset+0x74>    
    the_thread->real_priority = the_thread->Start.initial_priority;   
  111ab3:	89 43 18             	mov    %eax,0x18(%ebx)                
    _Thread_Set_priority( the_thread, the_thread->Start.initial_priority );
  111ab6:	89 45 0c             	mov    %eax,0xc(%ebp)                 
  111ab9:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
}                                                                     
  111abc:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  111abf:	c9                   	leave                                 
      (void) _Watchdog_Remove( &the_thread->Timer );                  
  }                                                                   
                                                                      
  if ( the_thread->current_priority != the_thread->Start.initial_priority ) {
    the_thread->real_priority = the_thread->Start.initial_priority;   
    _Thread_Set_priority( the_thread, the_thread->Start.initial_priority );
  111ac0:	e9 0f d1 ff ff       	jmp    10ebd4 <_Thread_Set_priority>  
  111ac5:	8d 76 00             	lea    0x0(%esi),%esi                 
  }                                                                   
}                                                                     
  111ac8:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  111acb:	c9                   	leave                                 
  111acc:	c3                   	ret                                   
  111acd:	8d 76 00             	lea    0x0(%esi),%esi                 
  the_thread->Start.numeric_argument = numeric_argument;              
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
                                                                      
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
      (void) _Watchdog_Remove( &the_thread->Timer );                  
  111ad0:	83 ec 0c             	sub    $0xc,%esp                      
  111ad3:	8d 43 48             	lea    0x48(%ebx),%eax                
  111ad6:	50                   	push   %eax                           
  111ad7:	e8 08 d8 ff ff       	call   10f2e4 <_Watchdog_Remove>      
  111adc:	83 c4 10             	add    $0x10,%esp                     
  111adf:	eb c7                	jmp    111aa8 <_Thread_Reset+0x54>    
                                                                      

00111348 <_Thread_Resume>: void _Thread_Resume( Thread_Control *the_thread, bool force ) {
  111348:	55                   	push   %ebp                           
  111349:	89 e5                	mov    %esp,%ebp                      
  11134b:	53                   	push   %ebx                           
  11134c:	83 ec 04             	sub    $0x4,%esp                      
  11134f:	8b 45 08             	mov    0x8(%ebp),%eax                 
                                                                      
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
  111352:	9c                   	pushf                                 
  111353:	fa                   	cli                                   
  111354:	5b                   	pop    %ebx                           
                                                                      
  current_state = the_thread->current_state;                          
  111355:	8b 50 10             	mov    0x10(%eax),%edx                
  if ( current_state & STATES_SUSPENDED ) {                           
  111358:	f6 c2 02             	test   $0x2,%dl                       
  11135b:	74 0a                	je     111367 <_Thread_Resume+0x1f>   <== NEVER TAKEN
  11135d:	83 e2 fd             	and    $0xfffffffd,%edx               
    current_state =                                                   
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
  111360:	89 50 10             	mov    %edx,0x10(%eax)                
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
  111363:	85 d2                	test   %edx,%edx                      
  111365:	74 09                	je     111370 <_Thread_Resume+0x28>   
      _Scheduler_Unblock( &_Scheduler, the_thread );                  
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  111367:	53                   	push   %ebx                           
  111368:	9d                   	popf                                  
}                                                                     
  111369:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  11136c:	c9                   	leave                                 
  11136d:	c3                   	ret                                   
  11136e:	66 90                	xchg   %ax,%ax                        
RTEMS_INLINE_ROUTINE void _Scheduler_Unblock(                         
    Scheduler_Control *the_scheduler,                                 
    Thread_Control    *the_thread                                     
)                                                                     
{                                                                     
  the_scheduler->Operations.unblock( the_scheduler, the_thread );     
  111370:	83 ec 08             	sub    $0x8,%esp                      
  111373:	50                   	push   %eax                           
  111374:	68 00 96 12 00       	push   $0x129600                      
  111379:	ff 15 10 96 12 00    	call   *0x129610                      
  11137f:	83 c4 10             	add    $0x10,%esp                     
  111382:	eb e3                	jmp    111367 <_Thread_Resume+0x1f>   
                                                                      

0010e0e4 <_Thread_Stack_Allocate>: size_t _Thread_Stack_Allocate( Thread_Control *the_thread, size_t stack_size ) {
  10e0e4:	55                   	push   %ebp                           
  10e0e5:	89 e5                	mov    %esp,%ebp                      
  10e0e7:	53                   	push   %ebx                           
  10e0e8:	83 ec 04             	sub    $0x4,%esp                      
    the_stack_size = _Stack_Adjust_size( the_stack_size );            
    stack_addr = _Workspace_Allocate( the_stack_size );               
  }                                                                   
                                                                      
  if ( !stack_addr )                                                  
    the_stack_size = 0;                                               
  10e0eb:	a1 10 12 12 00       	mov    0x121210,%eax                  
  10e0f0:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10e0f3:	39 c3                	cmp    %eax,%ebx                      
  10e0f5:	73 02                	jae    10e0f9 <_Thread_Stack_Allocate+0x15>
  10e0f7:	89 c3                	mov    %eax,%ebx                      
   * Call ONLY the CPU table stack allocate hook, _or_ the            
   * the RTEMS workspace allocate.  This is so the stack free         
   * routine can call the correct deallocation routine.               
   */                                                                 
                                                                      
  if ( Configuration.stack_allocate_hook ) {                          
  10e0f9:	a1 44 12 12 00       	mov    0x121244,%eax                  
  10e0fe:	85 c0                	test   %eax,%eax                      
  10e100:	74 32                	je     10e134 <_Thread_Stack_Allocate+0x50>
    stack_addr = (*Configuration.stack_allocate_hook)( the_stack_size );
  10e102:	83 ec 0c             	sub    $0xc,%esp                      
  10e105:	53                   	push   %ebx                           
  10e106:	ff d0                	call   *%eax                          
  10e108:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    the_stack_size = _Stack_Adjust_size( the_stack_size );            
    stack_addr = _Workspace_Allocate( the_stack_size );               
  }                                                                   
                                                                      
  if ( !stack_addr )                                                  
  10e10b:	85 c0                	test   %eax,%eax                      
  10e10d:	74 11                	je     10e120 <_Thread_Stack_Allocate+0x3c>
    the_stack_size = 0;                                               
                                                                      
  the_thread->Start.stack = stack_addr;                               
  10e10f:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10e112:	89 82 c0 00 00 00    	mov    %eax,0xc0(%edx)                
                                                                      
  return the_stack_size;                                              
}                                                                     
  10e118:	89 d8                	mov    %ebx,%eax                      
  10e11a:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10e11d:	c9                   	leave                                 
  10e11e:	c3                   	ret                                   
  10e11f:	90                   	nop                                   
    the_stack_size = _Stack_Adjust_size( the_stack_size );            
    stack_addr = _Workspace_Allocate( the_stack_size );               
  }                                                                   
                                                                      
  if ( !stack_addr )                                                  
    the_stack_size = 0;                                               
  10e120:	31 db                	xor    %ebx,%ebx                      
                                                                      
  the_thread->Start.stack = stack_addr;                               
  10e122:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10e125:	89 82 c0 00 00 00    	mov    %eax,0xc0(%edx)                
                                                                      
  return the_stack_size;                                              
}                                                                     
  10e12b:	89 d8                	mov    %ebx,%eax                      
  10e12d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10e130:	c9                   	leave                                 
  10e131:	c3                   	ret                                   
  10e132:	66 90                	xchg   %ax,%ax                        
                                                                      
RTEMS_INLINE_ROUTINE uint32_t   _Stack_Adjust_size (                  
  size_t size                                                         
)                                                                     
{                                                                     
  return size + CPU_STACK_ALIGNMENT;                                  
  10e134:	83 c3 10             	add    $0x10,%ebx                     
     *  get and keep the stack adjust factor, the stack alignment, and
     *  the context initialization sequence in sync.                  
     */                                                               
                                                                      
    the_stack_size = _Stack_Adjust_size( the_stack_size );            
    stack_addr = _Workspace_Allocate( the_stack_size );               
  10e137:	83 ec 0c             	sub    $0xc,%esp                      
  10e13a:	53                   	push   %ebx                           
  10e13b:	e8 c8 06 00 00       	call   10e808 <_Workspace_Allocate>   
  10e140:	83 c4 10             	add    $0x10,%esp                     
  10e143:	eb c6                	jmp    10e10b <_Thread_Stack_Allocate+0x27>
                                                                      

0010e148 <_Thread_Stack_Free>: */ void _Thread_Stack_Free( Thread_Control *the_thread ) {
  10e148:	55                   	push   %ebp                           
  10e149:	89 e5                	mov    %esp,%ebp                      
  10e14b:	83 ec 08             	sub    $0x8,%esp                      
  10e14e:	8b 55 08             	mov    0x8(%ebp),%edx                 
   * Call ONLY the CPU table stack free hook, or the                  
   * the RTEMS workspace free.  This is so the free                   
   * routine properly matches the allocation of the stack.            
   */                                                                 
                                                                      
  if ( Configuration.stack_free_hook )                                
  10e151:	a1 48 12 12 00       	mov    0x121248,%eax                  
  10e156:	85 c0                	test   %eax,%eax                      
  10e158:	74 0e                	je     10e168 <_Thread_Stack_Free+0x20>
    (*Configuration.stack_free_hook)( the_thread->Start.Initial_stack.area );
  10e15a:	8b 92 b8 00 00 00    	mov    0xb8(%edx),%edx                
  10e160:	89 55 08             	mov    %edx,0x8(%ebp)                 
  else                                                                
    _Workspace_Free( the_thread->Start.Initial_stack.area );          
}                                                                     
  10e163:	c9                   	leave                                 
   * the RTEMS workspace free.  This is so the free                   
   * routine properly matches the allocation of the stack.            
   */                                                                 
                                                                      
  if ( Configuration.stack_free_hook )                                
    (*Configuration.stack_free_hook)( the_thread->Start.Initial_stack.area );
  10e164:	ff e0                	jmp    *%eax                          
  10e166:	66 90                	xchg   %ax,%ax                        
  else                                                                
    _Workspace_Free( the_thread->Start.Initial_stack.area );          
  10e168:	8b 82 b8 00 00 00    	mov    0xb8(%edx),%eax                
  10e16e:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  10e171:	c9                   	leave                                 
   */                                                                 
                                                                      
  if ( Configuration.stack_free_hook )                                
    (*Configuration.stack_free_hook)( the_thread->Start.Initial_stack.area );
  else                                                                
    _Workspace_Free( the_thread->Start.Initial_stack.area );          
  10e172:	e9 ad 06 00 00       	jmp    10e824 <_Workspace_Free>       
                                                                      

00110dcc <_Thread_Suspend>: */ void _Thread_Suspend( Thread_Control *the_thread ) {
  110dcc:	55                   	push   %ebp                           
  110dcd:	89 e5                	mov    %esp,%ebp                      
  110dcf:	53                   	push   %ebx                           
  110dd0:	83 ec 04             	sub    $0x4,%esp                      
  110dd3:	8b 45 08             	mov    0x8(%ebp),%eax                 
  ISR_Level      level;                                               
                                                                      
  _ISR_Disable( level );                                              
  110dd6:	9c                   	pushf                                 
  110dd7:	fa                   	cli                                   
  110dd8:	5b                   	pop    %ebx                           
  if ( !_States_Is_ready( the_thread->current_state ) ) {             
  110dd9:	8b 50 10             	mov    0x10(%eax),%edx                
  110ddc:	85 d2                	test   %edx,%edx                      
  110dde:	74 10                	je     110df0 <_Thread_Suspend+0x24>  
  110de0:	83 ca 02             	or     $0x2,%edx                      
  110de3:	89 50 10             	mov    %edx,0x10(%eax)                
    the_thread->current_state =                                       
       _States_Set( STATES_SUSPENDED, the_thread->current_state );    
    _ISR_Enable( level );                                             
  110de6:	53                   	push   %ebx                           
  110de7:	9d                   	popf                                  
  the_thread->current_state = STATES_SUSPENDED;                       
                                                                      
  _Scheduler_Block(&_Scheduler, the_thread);                          
                                                                      
  _ISR_Enable( level );                                               
}                                                                     
  110de8:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  110deb:	c9                   	leave                                 
  110dec:	c3                   	ret                                   
  110ded:	8d 76 00             	lea    0x0(%esi),%esi                 
       _States_Set( STATES_SUSPENDED, the_thread->current_state );    
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_thread->current_state = STATES_SUSPENDED;                       
  110df0:	c7 40 10 02 00 00 00 	movl   $0x2,0x10(%eax)                
RTEMS_INLINE_ROUTINE void _Scheduler_Block(                           
    Scheduler_Control *the_scheduler,                                 
    Thread_Control    *the_thread                                     
)                                                                     
{                                                                     
  the_scheduler->Operations.block( the_scheduler, the_thread );       
  110df7:	83 ec 08             	sub    $0x8,%esp                      
  110dfa:	50                   	push   %eax                           
  110dfb:	68 20 55 12 00       	push   $0x125520                      
  110e00:	ff 15 2c 55 12 00    	call   *0x12552c                      
                                                                      
  _Scheduler_Block(&_Scheduler, the_thread);                          
                                                                      
  _ISR_Enable( level );                                               
  110e06:	53                   	push   %ebx                           
  110e07:	9d                   	popf                                  
  110e08:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  110e0b:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  110e0e:	c9                   	leave                                 
  110e0f:	c3                   	ret                                   
                                                                      

0010e234 <_Thread_Tickle_timeslice>: * * Output parameters: NONE */ void _Thread_Tickle_timeslice( void ) {
  10e234:	55                   	push   %ebp                           
  10e235:	89 e5                	mov    %esp,%ebp                      
  10e237:	53                   	push   %ebx                           
  10e238:	83 ec 04             	sub    $0x4,%esp                      
  Thread_Control *executing;                                          
                                                                      
  executing = _Thread_Executing;                                      
  10e23b:	8b 1d 38 57 12 00    	mov    0x125738,%ebx                  
  /*                                                                  
   *  If the thread is not preemptible or is not ready, then          
   *  just return.                                                    
   */                                                                 
                                                                      
  if ( !executing->is_preemptible )                                   
  10e241:	80 7b 74 00          	cmpb   $0x0,0x74(%ebx)                
  10e245:	74 0d                	je     10e254 <_Thread_Tickle_timeslice+0x20>
    return;                                                           
                                                                      
  if ( !_States_Is_ready( executing->current_state ) )                
  10e247:	8b 43 10             	mov    0x10(%ebx),%eax                
  10e24a:	85 c0                	test   %eax,%eax                      
  10e24c:	75 06                	jne    10e254 <_Thread_Tickle_timeslice+0x20>
                                                                      
  /*                                                                  
   *  The cpu budget algorithm determines what happens next.          
   */                                                                 
                                                                      
  switch ( executing->budget_algorithm ) {                            
  10e24e:	83 7b 7c 01          	cmpl   $0x1,0x7c(%ebx)                
  10e252:	74 08                	je     10e25c <_Thread_Tickle_timeslice+0x28>
	if ( --executing->cpu_time_budget == 0 )                             
	  (*executing->budget_callout)( executing );                         
	break;                                                               
    #endif                                                            
  }                                                                   
}                                                                     
  10e254:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10e257:	c9                   	leave                                 
  10e258:	c3                   	ret                                   
  10e259:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
    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 ) {               
  10e25c:	8b 43 78             	mov    0x78(%ebx),%eax                
  10e25f:	48                   	dec    %eax                           
  10e260:	89 43 78             	mov    %eax,0x78(%ebx)                
  10e263:	85 c0                	test   %eax,%eax                      
  10e265:	7f ed                	jg     10e254 <_Thread_Tickle_timeslice+0x20>
 *  always operates on the scheduler that 'owns' the currently executing
 *  thread.                                                           
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Yield( void )                    
{                                                                     
  _Scheduler.Operations.yield( &_Scheduler );                         
  10e267:	83 ec 0c             	sub    $0xc,%esp                      
  10e26a:	68 20 55 12 00       	push   $0x125520                      
  10e26f:	ff 15 28 55 12 00    	call   *0x125528                      
         *  executing thread's timeslice is reset.  Otherwise, the    
         *  currently executing thread is placed at the rear of the   
         *  FIFO for this priority and a new heir is selected.        
         */                                                           
        _Scheduler_Yield( );                                          
        executing->cpu_time_budget = _Thread_Ticks_per_timeslice;     
  10e275:	a1 40 54 12 00       	mov    0x125440,%eax                  
  10e27a:	89 43 78             	mov    %eax,0x78(%ebx)                
  10e27d:	83 c4 10             	add    $0x10,%esp                     
  10e280:	eb d2                	jmp    10e254 <_Thread_Tickle_timeslice+0x20>
                                                                      

0010dbd0 <_Thread_queue_Dequeue_priority>: */ Thread_Control *_Thread_queue_Dequeue_priority( Thread_queue_Control *the_thread_queue ) {
  10dbd0:	55                   	push   %ebp                           
  10dbd1:	89 e5                	mov    %esp,%ebp                      
  10dbd3:	57                   	push   %edi                           
  10dbd4:	56                   	push   %esi                           
  10dbd5:	53                   	push   %ebx                           
  10dbd6:	83 ec 2c             	sub    $0x2c,%esp                     
  10dbd9:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  Chain_Node     *new_second_node;                                    
  Chain_Node     *last_node;                                          
  Chain_Node     *next_node;                                          
  Chain_Node     *previous_node;                                      
                                                                      
  _ISR_Disable( level );                                              
  10dbdc:	9c                   	pushf                                 
  10dbdd:	fa                   	cli                                   
  10dbde:	58                   	pop    %eax                           
  10dbdf:	89 f9                	mov    %edi,%ecx                      
  for( index=0 ;                                                      
  10dbe1:	31 d2                	xor    %edx,%edx                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
  return( the_thread );                                               
}                                                                     
  10dbe3:	8b 19                	mov    (%ecx),%ebx                    
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  10dbe5:	8d 34 52             	lea    (%edx,%edx,2),%esi             
  10dbe8:	8d 74 b7 04          	lea    0x4(%edi,%esi,4),%esi          
                                                                      
  _ISR_Disable( level );                                              
  for( index=0 ;                                                      
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
       index++ ) {                                                    
    if ( !_Chain_Is_empty( &the_thread_queue->Queues.Priority[ index ] ) ) {
  10dbec:	39 f3                	cmp    %esi,%ebx                      
  10dbee:	75 18                	jne    10dc08 <_Thread_queue_Dequeue_priority+0x38>
  Chain_Node     *previous_node;                                      
                                                                      
  _ISR_Disable( level );                                              
  for( index=0 ;                                                      
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
       index++ ) {                                                    
  10dbf0:	42                   	inc    %edx                           
  10dbf1:	83 c1 0c             	add    $0xc,%ecx                      
  Chain_Node     *last_node;                                          
  Chain_Node     *next_node;                                          
  Chain_Node     *previous_node;                                      
                                                                      
  _ISR_Disable( level );                                              
  for( index=0 ;                                                      
  10dbf4:	83 fa 04             	cmp    $0x4,%edx                      
  10dbf7:	75 ea                	jne    10dbe3 <_Thread_queue_Dequeue_priority+0x13>
  }                                                                   
                                                                      
  /*                                                                  
   * We did not find a thread to unblock.                             
   */                                                                 
  _ISR_Enable( level );                                               
  10dbf9:	50                   	push   %eax                           
  10dbfa:	9d                   	popf                                  
  return NULL;                                                        
  10dbfb:	31 f6                	xor    %esi,%esi                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
  return( the_thread );                                               
}                                                                     
  10dbfd:	89 f0                	mov    %esi,%eax                      
  10dbff:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10dc02:	5b                   	pop    %ebx                           
  10dc03:	5e                   	pop    %esi                           
  10dc04:	5f                   	pop    %edi                           
  10dc05:	c9                   	leave                                 
  10dc06:	c3                   	ret                                   
  10dc07:	90                   	nop                                   
  _ISR_Disable( level );                                              
  for( index=0 ;                                                      
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
       index++ ) {                                                    
    if ( !_Chain_Is_empty( &the_thread_queue->Queues.Priority[ index ] ) ) {
      the_thread = (Thread_Control *) _Chain_First(                   
  10dc08:	89 de                	mov    %ebx,%esi                      
   */                                                                 
  _ISR_Enable( level );                                               
  return NULL;                                                        
                                                                      
dequeue:                                                              
  the_thread->Wait.queue = NULL;                                      
  10dc0a:	c7 43 44 00 00 00 00 	movl   $0x0,0x44(%ebx)                
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
  return( the_thread );                                               
}                                                                     
  10dc11:	8b 53 38             	mov    0x38(%ebx),%edx                
                                                                      
dequeue:                                                              
  the_thread->Wait.queue = NULL;                                      
  new_first_node   = _Chain_First( &the_thread->Wait.Block2n );       
  new_first_thread = (Thread_Control *) new_first_node;               
  next_node        = the_thread->Object.Node.next;                    
  10dc14:	8b 0b                	mov    (%ebx),%ecx                    
  previous_node    = the_thread->Object.Node.previous;                
  10dc16:	8b 7b 04             	mov    0x4(%ebx),%edi                 
  10dc19:	89 7d d4             	mov    %edi,-0x2c(%ebp)               
  10dc1c:	8d 7b 3c             	lea    0x3c(%ebx),%edi                
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
  10dc1f:	39 fa                	cmp    %edi,%edx                      
  10dc21:	74 7f                	je     10dca2 <_Thread_queue_Dequeue_priority+0xd2>
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
  return( the_thread );                                               
}                                                                     
  10dc23:	8b 7b 40             	mov    0x40(%ebx),%edi                
  10dc26:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
  next_node        = the_thread->Object.Node.next;                    
  previous_node    = the_thread->Object.Node.previous;                
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
    last_node       = _Chain_Last( &the_thread->Wait.Block2n );       
    new_second_node = new_first_node->next;                           
  10dc29:	8b 3a                	mov    (%edx),%edi                    
  10dc2b:	89 7d e0             	mov    %edi,-0x20(%ebp)               
                                                                      
    previous_node->next      = new_first_node;                        
  10dc2e:	8b 7d d4             	mov    -0x2c(%ebp),%edi               
  10dc31:	89 17                	mov    %edx,(%edi)                    
    next_node->previous      = new_first_node;                        
  10dc33:	89 51 04             	mov    %edx,0x4(%ecx)                 
    new_first_node->next     = next_node;                             
  10dc36:	89 0a                	mov    %ecx,(%edx)                    
    new_first_node->previous = previous_node;                         
  10dc38:	89 7a 04             	mov    %edi,0x4(%edx)                 
                                                                      
    if ( !_Chain_Has_only_one_node( &the_thread->Wait.Block2n ) ) {   
  10dc3b:	8b 4b 40             	mov    0x40(%ebx),%ecx                
  10dc3e:	39 4b 38             	cmp    %ecx,0x38(%ebx)                
  10dc41:	74 17                	je     10dc5a <_Thread_queue_Dequeue_priority+0x8a>
                                                /* > two threads on 2-n */
      head = _Chain_Head( &new_first_thread->Wait.Block2n );          
  10dc43:	8d 4a 38             	lea    0x38(%edx),%ecx                
  10dc46:	8b 7d e0             	mov    -0x20(%ebp),%edi               
  10dc49:	89 4f 04             	mov    %ecx,0x4(%edi)                 
      tail = _Chain_Tail( &new_first_thread->Wait.Block2n );          
                                                                      
      new_second_node->previous = head;                               
      head->next = new_second_node;                                   
  10dc4c:	89 7a 38             	mov    %edi,0x38(%edx)                
      tail->previous = last_node;                                     
  10dc4f:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10dc52:	89 4a 40             	mov    %ecx,0x40(%edx)                
    new_first_node->previous = previous_node;                         
                                                                      
    if ( !_Chain_Has_only_one_node( &the_thread->Wait.Block2n ) ) {   
                                                /* > two threads on 2-n */
      head = _Chain_Head( &new_first_thread->Wait.Block2n );          
      tail = _Chain_Tail( &new_first_thread->Wait.Block2n );          
  10dc55:	83 c2 3c             	add    $0x3c,%edx                     
  10dc58:	89 11                	mov    %edx,(%ecx)                    
  } else {                                                            
    previous_node->next = next_node;                                  
    next_node->previous = previous_node;                              
  }                                                                   
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
  10dc5a:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  10dc5e:	74 18                	je     10dc78 <_Thread_queue_Dequeue_priority+0xa8>
    _ISR_Enable( level );                                             
  10dc60:	50                   	push   %eax                           
  10dc61:	9d                   	popf                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  10dc62:	83 ec 08             	sub    $0x8,%esp                      
  10dc65:	68 f8 ff 03 10       	push   $0x1003fff8                    
  10dc6a:	53                   	push   %ebx                           
  10dc6b:	e8 04 f8 ff ff       	call   10d474 <_Thread_Clear_state>   
  10dc70:	83 c4 10             	add    $0x10,%esp                     
  10dc73:	eb 88                	jmp    10dbfd <_Thread_queue_Dequeue_priority+0x2d>
  10dc75:	8d 76 00             	lea    0x0(%esi),%esi                 
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
  10dc78:	c7 43 50 03 00 00 00 	movl   $0x3,0x50(%ebx)                
    _Thread_Unblock( the_thread );                                    
  } else {                                                            
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
  10dc7f:	50                   	push   %eax                           
  10dc80:	9d                   	popf                                  
    (void) _Watchdog_Remove( &the_thread->Timer );                    
  10dc81:	83 ec 0c             	sub    $0xc,%esp                      
  10dc84:	8d 43 48             	lea    0x48(%ebx),%eax                
  10dc87:	50                   	push   %eax                           
  10dc88:	e8 53 0a 00 00       	call   10e6e0 <_Watchdog_Remove>      
  10dc8d:	58                   	pop    %eax                           
  10dc8e:	5a                   	pop    %edx                           
  10dc8f:	68 f8 ff 03 10       	push   $0x1003fff8                    
  10dc94:	53                   	push   %ebx                           
  10dc95:	e8 da f7 ff ff       	call   10d474 <_Thread_Clear_state>   
  10dc9a:	83 c4 10             	add    $0x10,%esp                     
  10dc9d:	e9 5b ff ff ff       	jmp    10dbfd <_Thread_queue_Dequeue_priority+0x2d>
      head->next = new_second_node;                                   
      tail->previous = last_node;                                     
      last_node->next = tail;                                         
    }                                                                 
  } else {                                                            
    previous_node->next = next_node;                                  
  10dca2:	8b 7d d4             	mov    -0x2c(%ebp),%edi               
  10dca5:	89 0f                	mov    %ecx,(%edi)                    
    next_node->previous = previous_node;                              
  10dca7:	89 79 04             	mov    %edi,0x4(%ecx)                 
  10dcaa:	eb ae                	jmp    10dc5a <_Thread_queue_Dequeue_priority+0x8a>
                                                                      

00110c70 <_Thread_queue_Extract>: void _Thread_queue_Extract( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
  110c70:	55                   	push   %ebp                           
  110c71:	89 e5                	mov    %esp,%ebp                      
  110c73:	83 ec 08             	sub    $0x8,%esp                      
  110c76:	8b 45 08             	mov    0x8(%ebp),%eax                 
  110c79:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  /*                                                                  
   * Can not use indirect function pointer here since Extract priority
   * is a macro and the underlying methods do not have the same signature.
   */                                                                 
  if  ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY )
  110c7c:	83 78 34 01          	cmpl   $0x1,0x34(%eax)                
  110c80:	74 0e                	je     110c90 <_Thread_queue_Extract+0x20>
    _Thread_queue_Extract_priority( the_thread_queue, the_thread );   
  else /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                     
    _Thread_queue_Extract_fifo( the_thread_queue, the_thread );       
  110c82:	89 55 0c             	mov    %edx,0xc(%ebp)                 
  110c85:	89 45 08             	mov    %eax,0x8(%ebp)                 
                                                                      
}                                                                     
  110c88:	c9                   	leave                                 
   * is a macro and the underlying methods do not have the same signature.
   */                                                                 
  if  ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY )
    _Thread_queue_Extract_priority( the_thread_queue, the_thread );   
  else /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                     
    _Thread_queue_Extract_fifo( the_thread_queue, the_thread );       
  110c89:	e9 f6 15 00 00       	jmp    112284 <_Thread_queue_Extract_fifo>
  110c8e:	66 90                	xchg   %ax,%ax                        
  /*                                                                  
   * Can not use indirect function pointer here since Extract priority
   * is a macro and the underlying methods do not have the same signature.
   */                                                                 
  if  ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY )
    _Thread_queue_Extract_priority( the_thread_queue, the_thread );   
  110c90:	51                   	push   %ecx                           
  110c91:	6a 00                	push   $0x0                           
  110c93:	52                   	push   %edx                           
  110c94:	50                   	push   %eax                           
  110c95:	e8 06 00 00 00       	call   110ca0 <_Thread_queue_Extract_priority_helper>
  110c9a:	83 c4 10             	add    $0x10,%esp                     
  else /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                     
    _Thread_queue_Extract_fifo( the_thread_queue, the_thread );       
                                                                      
}                                                                     
  110c9d:	c9                   	leave                                 
  110c9e:	c3                   	ret                                   
                                                                      

00112284 <_Thread_queue_Extract_fifo>: void _Thread_queue_Extract_fifo( Thread_queue_Control *the_thread_queue __attribute__((unused)), Thread_Control *the_thread ) {
  112284:	55                   	push   %ebp                           
  112285:	89 e5                	mov    %esp,%ebp                      
  112287:	53                   	push   %ebx                           
  112288:	83 ec 04             	sub    $0x4,%esp                      
  11228b:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
  11228e:	9c                   	pushf                                 
  11228f:	fa                   	cli                                   
  112290:	58                   	pop    %eax                           
                                                                      
  if ( !_States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
  112291:	f7 43 10 e0 be 03 00 	testl  $0x3bee0,0x10(%ebx)            
  112298:	74 2e                	je     1122c8 <_Thread_queue_Extract_fifo+0x44>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  11229a:	8b 0b                	mov    (%ebx),%ecx                    
  previous       = the_node->previous;                                
  11229c:	8b 53 04             	mov    0x4(%ebx),%edx                 
  next->previous = previous;                                          
  11229f:	89 51 04             	mov    %edx,0x4(%ecx)                 
  previous->next = next;                                              
  1122a2:	89 0a                	mov    %ecx,(%edx)                    
    return;                                                           
  }                                                                   
                                                                      
  _Chain_Extract_unprotected( &the_thread->Object.Node );             
                                                                      
  the_thread->Wait.queue = NULL;                                      
  1122a4:	c7 43 44 00 00 00 00 	movl   $0x0,0x44(%ebx)                
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
  1122ab:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  1122af:	74 1f                	je     1122d0 <_Thread_queue_Extract_fifo+0x4c>
    _ISR_Enable( level );                                             
  1122b1:	50                   	push   %eax                           
  1122b2:	9d                   	popf                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  1122b3:	c7 45 0c f8 ff 03 10 	movl   $0x1003fff8,0xc(%ebp)          
  1122ba:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
                                                                      
}                                                                     
  1122bd:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1122c0:	c9                   	leave                                 
  1122c1:	e9 ae b1 ff ff       	jmp    10d474 <_Thread_Clear_state>   
  1122c6:	66 90                	xchg   %ax,%ax                        
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  if ( !_States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
    _ISR_Enable( level );                                             
  1122c8:	50                   	push   %eax                           
  1122c9:	9d                   	popf                                  
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
                                                                      
}                                                                     
  1122ca:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1122cd:	c9                   	leave                                 
  1122ce:	c3                   	ret                                   
  1122cf:	90                   	nop                                   
  1122d0:	c7 43 50 03 00 00 00 	movl   $0x3,0x50(%ebx)                
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
    _ISR_Enable( level );                                             
  } else {                                                            
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
  1122d7:	50                   	push   %eax                           
  1122d8:	9d                   	popf                                  
    (void) _Watchdog_Remove( &the_thread->Timer );                    
  1122d9:	83 ec 0c             	sub    $0xc,%esp                      
  1122dc:	8d 43 48             	lea    0x48(%ebx),%eax                
  1122df:	50                   	push   %eax                           
  1122e0:	e8 fb c3 ff ff       	call   10e6e0 <_Watchdog_Remove>      
  1122e5:	83 c4 10             	add    $0x10,%esp                     
  1122e8:	eb c9                	jmp    1122b3 <_Thread_queue_Extract_fifo+0x2f>
                                                                      

00110ca0 <_Thread_queue_Extract_priority_helper>: void _Thread_queue_Extract_priority_helper( Thread_queue_Control *the_thread_queue __attribute__((unused)), Thread_Control *the_thread, bool requeuing ) {
  110ca0:	55                   	push   %ebp                           
  110ca1:	89 e5                	mov    %esp,%ebp                      
  110ca3:	57                   	push   %edi                           
  110ca4:	56                   	push   %esi                           
  110ca5:	53                   	push   %ebx                           
  110ca6:	83 ec 1c             	sub    $0x1c,%esp                     
  110ca9:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  110cac:	8a 45 10             	mov    0x10(%ebp),%al                 
  110caf:	88 45 e3             	mov    %al,-0x1d(%ebp)                
  Chain_Node     *new_first_node;                                     
  Chain_Node     *new_second_node;                                    
  Chain_Node     *last_node;                                          
                                                                      
  the_node = (Chain_Node *) the_thread;                               
  _ISR_Disable( level );                                              
  110cb2:	9c                   	pushf                                 
  110cb3:	fa                   	cli                                   
  110cb4:	8f 45 e4             	popl   -0x1c(%ebp)                    
  if ( !_States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
  110cb7:	f7 43 10 e0 be 03 00 	testl  $0x3bee0,0x10(%ebx)            
  110cbe:	74 6c                	je     110d2c <_Thread_queue_Extract_priority_helper+0x8c>
                                                                      
  /*                                                                  
   *  The thread was actually waiting on a thread queue so let's remove it.
   */                                                                 
                                                                      
  next_node     = the_node->next;                                     
  110cc0:	8b 13                	mov    (%ebx),%edx                    
  previous_node = the_node->previous;                                 
  110cc2:	8b 4b 04             	mov    0x4(%ebx),%ecx                 
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
  110cc5:	8b 43 38             	mov    0x38(%ebx),%eax                
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  110cc8:	8d 73 3c             	lea    0x3c(%ebx),%esi                
   */                                                                 
                                                                      
  next_node     = the_node->next;                                     
  previous_node = the_node->previous;                                 
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
  110ccb:	39 f0                	cmp    %esi,%eax                      
  110ccd:	74 69                	je     110d38 <_Thread_queue_Extract_priority_helper+0x98>
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
  110ccf:	8b 7b 40             	mov    0x40(%ebx),%edi                
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
    new_first_node   = _Chain_First( &the_thread->Wait.Block2n );     
    new_first_thread = (Thread_Control *) new_first_node;             
    last_node        = _Chain_Last( &the_thread->Wait.Block2n );      
    new_second_node  = new_first_node->next;                          
  110cd2:	8b 30                	mov    (%eax),%esi                    
                                                                      
    previous_node->next      = new_first_node;                        
  110cd4:	89 01                	mov    %eax,(%ecx)                    
    next_node->previous      = new_first_node;                        
  110cd6:	89 42 04             	mov    %eax,0x4(%edx)                 
    new_first_node->next     = next_node;                             
  110cd9:	89 10                	mov    %edx,(%eax)                    
    new_first_node->previous = previous_node;                         
  110cdb:	89 48 04             	mov    %ecx,0x4(%eax)                 
                                                                      
    if ( !_Chain_Has_only_one_node( &the_thread->Wait.Block2n ) ) {   
  110cde:	8b 53 40             	mov    0x40(%ebx),%edx                
  110ce1:	39 53 38             	cmp    %edx,0x38(%ebx)                
  110ce4:	74 11                	je     110cf7 <_Thread_queue_Extract_priority_helper+0x57>
                                        /* > two threads on 2-n */    
      head = _Chain_Head( &new_first_thread->Wait.Block2n );          
  110ce6:	8d 50 38             	lea    0x38(%eax),%edx                
  110ce9:	89 56 04             	mov    %edx,0x4(%esi)                 
      tail = _Chain_Tail( &new_first_thread->Wait.Block2n );          
                                                                      
      new_second_node->previous = head;                               
      head->next = new_second_node;                                   
  110cec:	89 70 38             	mov    %esi,0x38(%eax)                
      tail->previous = last_node;                                     
  110cef:	89 78 40             	mov    %edi,0x40(%eax)                
    new_first_node->previous = previous_node;                         
                                                                      
    if ( !_Chain_Has_only_one_node( &the_thread->Wait.Block2n ) ) {   
                                        /* > two threads on 2-n */    
      head = _Chain_Head( &new_first_thread->Wait.Block2n );          
      tail = _Chain_Tail( &new_first_thread->Wait.Block2n );          
  110cf2:	83 c0 3c             	add    $0x3c,%eax                     
  110cf5:	89 07                	mov    %eax,(%edi)                    
                                                                      
  /*                                                                  
   *  If we are not supposed to touch timers or the thread's state, return.
   */                                                                 
                                                                      
  if ( requeuing ) {                                                  
  110cf7:	80 7d e3 00          	cmpb   $0x0,-0x1d(%ebp)               
  110cfb:	75 23                	jne    110d20 <_Thread_queue_Extract_priority_helper+0x80>
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
  110cfd:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  110d01:	74 3d                	je     110d40 <_Thread_queue_Extract_priority_helper+0xa0>
    _ISR_Enable( level );                                             
  110d03:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  110d06:	9d                   	popf                                  
  110d07:	c7 45 0c f8 ff 03 10 	movl   $0x1003fff8,0xc(%ebp)          
  110d0e:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
  110d11:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110d14:	5b                   	pop    %ebx                           
  110d15:	5e                   	pop    %esi                           
  110d16:	5f                   	pop    %edi                           
  110d17:	c9                   	leave                                 
  110d18:	e9 57 c7 ff ff       	jmp    10d474 <_Thread_Clear_state>   
  110d1d:	8d 76 00             	lea    0x0(%esi),%esi                 
  /*                                                                  
   *  If we are not supposed to touch timers or the thread's state, return.
   */                                                                 
                                                                      
  if ( requeuing ) {                                                  
    _ISR_Enable( level );                                             
  110d20:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  110d23:	9d                   	popf                                  
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
  110d24:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110d27:	5b                   	pop    %ebx                           
  110d28:	5e                   	pop    %esi                           
  110d29:	5f                   	pop    %edi                           
  110d2a:	c9                   	leave                                 
  110d2b:	c3                   	ret                                   
  Chain_Node     *last_node;                                          
                                                                      
  the_node = (Chain_Node *) the_thread;                               
  _ISR_Disable( level );                                              
  if ( !_States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
    _ISR_Enable( level );                                             
  110d2c:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  110d2f:	9d                   	popf                                  
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
  110d30:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110d33:	5b                   	pop    %ebx                           
  110d34:	5e                   	pop    %esi                           
  110d35:	5f                   	pop    %edi                           
  110d36:	c9                   	leave                                 
  110d37:	c3                   	ret                                   
      head->next = new_second_node;                                   
      tail->previous = last_node;                                     
      last_node->next = tail;                                         
    }                                                                 
  } else {                                                            
    previous_node->next = next_node;                                  
  110d38:	89 11                	mov    %edx,(%ecx)                    
    next_node->previous = previous_node;                              
  110d3a:	89 4a 04             	mov    %ecx,0x4(%edx)                 
  110d3d:	eb b8                	jmp    110cf7 <_Thread_queue_Extract_priority_helper+0x57>
  110d3f:	90                   	nop                                   
  110d40:	c7 43 50 03 00 00 00 	movl   $0x3,0x50(%ebx)                
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
    _ISR_Enable( level );                                             
  } else {                                                            
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
  110d47:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  110d4a:	9d                   	popf                                  
    (void) _Watchdog_Remove( &the_thread->Timer );                    
  110d4b:	83 ec 0c             	sub    $0xc,%esp                      
  110d4e:	8d 43 48             	lea    0x48(%ebx),%eax                
  110d51:	50                   	push   %eax                           
  110d52:	e8 89 d9 ff ff       	call   10e6e0 <_Watchdog_Remove>      
  110d57:	83 c4 10             	add    $0x10,%esp                     
  110d5a:	eb ab                	jmp    110d07 <_Thread_queue_Extract_priority_helper+0x67>
                                                                      

0010debc <_Thread_queue_Extract_with_proxy>: */ bool _Thread_queue_Extract_with_proxy( Thread_Control *the_thread ) {
  10debc:	55                   	push   %ebp                           
  10debd:	89 e5                	mov    %esp,%ebp                      
  10debf:	83 ec 08             	sub    $0x8,%esp                      
  10dec2:	8b 45 08             	mov    0x8(%ebp),%eax                 
  States_Control                state;                                
                                                                      
  state = the_thread->current_state;                                  
                                                                      
  if ( _States_Is_waiting_on_thread_queue( state ) ) {                
  10dec5:	f7 40 10 e0 be 03 00 	testl  $0x3bee0,0x10(%eax)            
  10decc:	75 06                	jne    10ded4 <_Thread_queue_Extract_with_proxy+0x18>
    #endif                                                            
    _Thread_queue_Extract( the_thread->Wait.queue, the_thread );      
                                                                      
    return true;                                                      
  }                                                                   
  return false;                                                       
  10dece:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10ded0:	c9                   	leave                                 
  10ded1:	c3                   	ret                                   
  10ded2:	66 90                	xchg   %ax,%ax                        
                                                                      
        if ( proxy_extract_callout )                                  
          (*proxy_extract_callout)( the_thread );                     
      }                                                               
    #endif                                                            
    _Thread_queue_Extract( the_thread->Wait.queue, the_thread );      
  10ded4:	83 ec 08             	sub    $0x8,%esp                      
  10ded7:	50                   	push   %eax                           
  10ded8:	ff 70 44             	pushl  0x44(%eax)                     
  10dedb:	e8 90 2d 00 00       	call   110c70 <_Thread_queue_Extract> 
                                                                      
    return true;                                                      
  10dee0:	83 c4 10             	add    $0x10,%esp                     
  10dee3:	b0 01                	mov    $0x1,%al                       
  }                                                                   
  return false;                                                       
}                                                                     
  10dee5:	c9                   	leave                                 
  10dee6:	c3                   	ret                                   
                                                                      

0011f0bc <_Thread_queue_First>: */ Thread_Control *_Thread_queue_First( Thread_queue_Control *the_thread_queue ) {
  11f0bc:	55                   	push   %ebp                           
  11f0bd:	89 e5                	mov    %esp,%ebp                      
  11f0bf:	83 ec 08             	sub    $0x8,%esp                      
  11f0c2:	8b 45 08             	mov    0x8(%ebp),%eax                 
  Thread_Control * (*first_p)(Thread_queue_Control *);                
                                                                      
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY )
  11f0c5:	83 78 34 01          	cmpl   $0x1,0x34(%eax)                
  11f0c9:	74 0d                	je     11f0d8 <_Thread_queue_First+0x1c>
      first_p = _Thread_queue_First_priority;                         
  else /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                     
      first_p = _Thread_queue_First_fifo;                             
  11f0cb:	ba 50 04 12 00       	mov    $0x120450,%edx                 
                                                                      
  return (*first_p)( the_thread_queue );                              
  11f0d0:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  11f0d3:	c9                   	leave                                 
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY )
      first_p = _Thread_queue_First_priority;                         
  else /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                     
      first_p = _Thread_queue_First_fifo;                             
                                                                      
  return (*first_p)( the_thread_queue );                              
  11f0d4:	ff e2                	jmp    *%edx                          
  11f0d6:	66 90                	xchg   %ax,%ax                        
)                                                                     
{                                                                     
  Thread_Control * (*first_p)(Thread_queue_Control *);                
                                                                      
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY )
      first_p = _Thread_queue_First_priority;                         
  11f0d8:	ba e4 f0 11 00       	mov    $0x11f0e4,%edx                 
  else /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                     
      first_p = _Thread_queue_First_fifo;                             
                                                                      
  return (*first_p)( the_thread_queue );                              
  11f0dd:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  11f0e0:	c9                   	leave                                 
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY )
      first_p = _Thread_queue_First_priority;                         
  else /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                     
      first_p = _Thread_queue_First_fifo;                             
                                                                      
  return (*first_p)( the_thread_queue );                              
  11f0e1:	ff e2                	jmp    *%edx                          
                                                                      

00120450 <_Thread_queue_First_fifo>: */ Thread_Control *_Thread_queue_First_fifo( Thread_queue_Control *the_thread_queue ) {
  120450:	55                   	push   %ebp                           
  120451:	89 e5                	mov    %esp,%ebp                      
  120453:	8b 55 08             	mov    0x8(%ebp),%edx                 
  if ( !_Chain_Is_empty( &the_thread_queue->Queues.Fifo ) )           
    return (Thread_Control *) _Chain_First( &the_thread_queue->Queues.Fifo );
                                                                      
  return NULL;                                                        
}                                                                     
  120456:	8b 02                	mov    (%edx),%eax                    
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  120458:	83 c2 04             	add    $0x4,%edx                      
                                                                      
Thread_Control *_Thread_queue_First_fifo(                             
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty( &the_thread_queue->Queues.Fifo ) )           
  12045b:	39 d0                	cmp    %edx,%eax                      
  12045d:	74 05                	je     120464 <_Thread_queue_First_fifo+0x14>
    return (Thread_Control *) _Chain_First( &the_thread_queue->Queues.Fifo );
                                                                      
  return NULL;                                                        
}                                                                     
  12045f:	c9                   	leave                                 
  120460:	c3                   	ret                                   
  120461:	8d 76 00             	lea    0x0(%esi),%esi                 
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty( &the_thread_queue->Queues.Fifo ) )           
    return (Thread_Control *) _Chain_First( &the_thread_queue->Queues.Fifo );
                                                                      
  return NULL;                                                        
  120464:	31 c0                	xor    %eax,%eax                      
}                                                                     
  120466:	c9                   	leave                                 
  120467:	c3                   	ret                                   
                                                                      

0010dee8 <_Thread_queue_Flush>: #else Thread_queue_Flush_callout remote_extract_callout __attribute__((unused)), #endif uint32_t status ) {
  10dee8:	55                   	push   %ebp                           
  10dee9:	89 e5                	mov    %esp,%ebp                      
  10deeb:	56                   	push   %esi                           
  10deec:	53                   	push   %ebx                           
  10deed:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10def0:	8b 75 10             	mov    0x10(%ebp),%esi                
  Thread_Control *the_thread;                                         
                                                                      
  while ( (the_thread = _Thread_queue_Dequeue( the_thread_queue )) ) {
  10def3:	eb 06                	jmp    10defb <_Thread_queue_Flush+0x13>
  10def5:	8d 76 00             	lea    0x0(%esi),%esi                 
#if defined(RTEMS_MULTIPROCESSING)                                    
    if ( !_Objects_Is_local_id( the_thread->Object.id ) )             
      ( *remote_extract_callout )( the_thread );                      
    else                                                              
#endif                                                                
      the_thread->Wait.return_code = status;                          
  10def8:	89 70 34             	mov    %esi,0x34(%eax)                
  uint32_t                    status                                  
)                                                                     
{                                                                     
  Thread_Control *the_thread;                                         
                                                                      
  while ( (the_thread = _Thread_queue_Dequeue( the_thread_queue )) ) {
  10defb:	83 ec 0c             	sub    $0xc,%esp                      
  10defe:	53                   	push   %ebx                           
  10deff:	e8 80 fc ff ff       	call   10db84 <_Thread_queue_Dequeue> 
  10df04:	83 c4 10             	add    $0x10,%esp                     
  10df07:	85 c0                	test   %eax,%eax                      
  10df09:	75 ed                	jne    10def8 <_Thread_queue_Flush+0x10>
      ( *remote_extract_callout )( the_thread );                      
    else                                                              
#endif                                                                
      the_thread->Wait.return_code = status;                          
  }                                                                   
}                                                                     
  10df0b:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10df0e:	5b                   	pop    %ebx                           
  10df0f:	5e                   	pop    %esi                           
  10df10:	c9                   	leave                                 
  10df11:	c3                   	ret                                   
                                                                      

0010df14 <_Thread_queue_Initialize>: Thread_queue_Control *the_thread_queue, Thread_queue_Disciplines the_discipline, States_Control state, uint32_t timeout_status ) {
  10df14:	55                   	push   %ebp                           
  10df15:	89 e5                	mov    %esp,%ebp                      
  10df17:	56                   	push   %esi                           
  10df18:	53                   	push   %ebx                           
  10df19:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10df1c:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  the_thread_queue->state          = state;                           
  10df1f:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10df22:	89 48 38             	mov    %ecx,0x38(%eax)                
  the_thread_queue->discipline     = the_discipline;                  
  10df25:	89 50 34             	mov    %edx,0x34(%eax)                
  the_thread_queue->timeout_status = timeout_status;                  
  10df28:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  10df2b:	89 48 3c             	mov    %ecx,0x3c(%eax)                
  the_thread_queue->sync_state     = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
  10df2e:	c7 40 30 00 00 00 00 	movl   $0x0,0x30(%eax)                
                                                                      
  if ( the_discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {         
  10df35:	83 fa 01             	cmp    $0x1,%edx                      
  10df38:	74 16                	je     10df50 <_Thread_queue_Initialize+0x3c>
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  10df3a:	8d 50 04             	lea    0x4(%eax),%edx                 
  10df3d:	89 10                	mov    %edx,(%eax)                    
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  10df3f:	c7 40 04 00 00 00 00 	movl   $0x0,0x4(%eax)                 
  tail->previous = head;                                              
  10df46:	89 40 08             	mov    %eax,0x8(%eax)                 
      _Chain_Initialize_empty( &the_thread_queue->Queues.Priority[index] );
  } else { /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                 
    _Chain_Initialize_empty( &the_thread_queue->Queues.Fifo );        
  }                                                                   
                                                                      
}                                                                     
  10df49:	5b                   	pop    %ebx                           
  10df4a:	5e                   	pop    %esi                           
  10df4b:	c9                   	leave                                 
  10df4c:	c3                   	ret                                   
  10df4d:	8d 76 00             	lea    0x0(%esi),%esi                 
  the_thread_queue->state          = state;                           
  the_thread_queue->discipline     = the_discipline;                  
  the_thread_queue->timeout_status = timeout_status;                  
  the_thread_queue->sync_state     = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( the_discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {         
  10df50:	89 c1                	mov    %eax,%ecx                      
  10df52:	30 d2                	xor    %dl,%dl                        
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  10df54:	8d 1c 52             	lea    (%edx,%edx,2),%ebx             
  10df57:	8d 1c 98             	lea    (%eax,%ebx,4),%ebx             
  10df5a:	8d 73 04             	lea    0x4(%ebx),%esi                 
  10df5d:	89 31                	mov    %esi,(%ecx)                    
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  10df5f:	c7 41 04 00 00 00 00 	movl   $0x0,0x4(%ecx)                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  10df66:	89 59 08             	mov    %ebx,0x8(%ecx)                 
    uint32_t   index;                                                 
                                                                      
    for( index=0 ;                                                    
         index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;         
         index++)                                                     
  10df69:	42                   	inc    %edx                           
  10df6a:	83 c1 0c             	add    $0xc,%ecx                      
  the_thread_queue->sync_state     = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( the_discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {         
    uint32_t   index;                                                 
                                                                      
    for( index=0 ;                                                    
  10df6d:	83 fa 04             	cmp    $0x4,%edx                      
  10df70:	75 e2                	jne    10df54 <_Thread_queue_Initialize+0x40>
      _Chain_Initialize_empty( &the_thread_queue->Queues.Priority[index] );
  } else { /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                 
    _Chain_Initialize_empty( &the_thread_queue->Queues.Fifo );        
  }                                                                   
                                                                      
}                                                                     
  10df72:	5b                   	pop    %ebx                           
  10df73:	5e                   	pop    %esi                           
  10df74:	c9                   	leave                                 
  10df75:	c3                   	ret                                   
                                                                      

0010df78 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
  10df78:	55                   	push   %ebp                           
  10df79:	89 e5                	mov    %esp,%ebp                      
  10df7b:	57                   	push   %edi                           
  10df7c:	56                   	push   %esi                           
  10df7d:	53                   	push   %ebx                           
  10df7e:	83 ec 1c             	sub    $0x1c,%esp                     
  10df81:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10df84:	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 )                                            
  10df87:	85 f6                	test   %esi,%esi                      
  10df89:	74 06                	je     10df91 <_Thread_queue_Requeue+0x19><== 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 ) {
  10df8b:	83 7e 34 01          	cmpl   $0x1,0x34(%esi)                
  10df8f:	74 0b                	je     10df9c <_Thread_queue_Requeue+0x24><== ALWAYS TAKEN
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
    }                                                                 
    _ISR_Enable( level );                                             
  }                                                                   
}                                                                     
  10df91:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  10df94:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10df95:	5e                   	pop    %esi                           <== NOT EXECUTED
  10df96:	5f                   	pop    %edi                           <== NOT EXECUTED
  10df97:	c9                   	leave                                 <== NOT EXECUTED
  10df98:	c3                   	ret                                   <== NOT EXECUTED
  10df99:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
  10df9c:	9c                   	pushf                                 
  10df9d:	fa                   	cli                                   
  10df9e:	5b                   	pop    %ebx                           
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
  10df9f:	f7 47 10 e0 be 03 00 	testl  $0x3bee0,0x10(%edi)            
  10dfa6:	75 0c                	jne    10dfb4 <_Thread_queue_Requeue+0x3c><== ALWAYS TAKEN
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
    }                                                                 
    _ISR_Enable( level );                                             
  10dfa8:	53                   	push   %ebx                           
  10dfa9:	9d                   	popf                                  
  }                                                                   
}                                                                     
  10dfaa:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10dfad:	5b                   	pop    %ebx                           
  10dfae:	5e                   	pop    %esi                           
  10dfaf:	5f                   	pop    %edi                           
  10dfb0:	c9                   	leave                                 
  10dfb1:	c3                   	ret                                   
  10dfb2:	66 90                	xchg   %ax,%ax                        
                                                                      
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;
  10dfb4:	c7 46 30 01 00 00 00 	movl   $0x1,0x30(%esi)                
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
  10dfbb:	50                   	push   %eax                           
  10dfbc:	6a 01                	push   $0x1                           
  10dfbe:	57                   	push   %edi                           
  10dfbf:	56                   	push   %esi                           
  10dfc0:	e8 db 2c 00 00       	call   110ca0 <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
  10dfc5:	83 c4 0c             	add    $0xc,%esp                      
  10dfc8:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10dfcb:	50                   	push   %eax                           
  10dfcc:	57                   	push   %edi                           
  10dfcd:	56                   	push   %esi                           
  10dfce:	e8 71 fd ff ff       	call   10dd44 <_Thread_queue_Enqueue_priority>
  10dfd3:	83 c4 10             	add    $0x10,%esp                     
  10dfd6:	eb d0                	jmp    10dfa8 <_Thread_queue_Requeue+0x30>
                                                                      

0010dfd8 <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
  10dfd8:	55                   	push   %ebp                           
  10dfd9:	89 e5                	mov    %esp,%ebp                      
  10dfdb:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10dfde:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10dfe1:	50                   	push   %eax                           
  10dfe2:	ff 75 08             	pushl  0x8(%ebp)                      
  10dfe5:	e8 2e f8 ff ff       	call   10d818 <_Thread_Get>           
  switch ( location ) {                                               
  10dfea:	83 c4 10             	add    $0x10,%esp                     
  10dfed:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10dff0:	85 d2                	test   %edx,%edx                      
  10dff2:	75 17                	jne    10e00b <_Thread_queue_Timeout+0x33><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
  10dff4:	83 ec 0c             	sub    $0xc,%esp                      
  10dff7:	50                   	push   %eax                           
  10dff8:	e8 5f 2d 00 00       	call   110d5c <_Thread_queue_Process_timeout>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10dffd:	a1 70 54 12 00       	mov    0x125470,%eax                  
  10e002:	48                   	dec    %eax                           
  10e003:	a3 70 54 12 00       	mov    %eax,0x125470                  
  10e008:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10e00b:	c9                   	leave                                 
  10e00c:	c3                   	ret                                   
                                                                      

00118dc4 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
  118dc4:	55                   	push   %ebp                           
  118dc5:	89 e5                	mov    %esp,%ebp                      
  118dc7:	57                   	push   %edi                           
  118dc8:	56                   	push   %esi                           
  118dc9:	53                   	push   %ebx                           
  118dca:	83 ec 4c             	sub    $0x4c,%esp                     
  118dcd:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  118dd0:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  118dd3:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
  118dd6:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  head->previous = NULL;                                              
  118dd9:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  tail->previous = head;                                              
  118de0:	8d 4d dc             	lea    -0x24(%ebp),%ecx               
  118de3:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  118de6:	8d 7d d0             	lea    -0x30(%ebp),%edi               
  118de9:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  118dec:	89 45 b0             	mov    %eax,-0x50(%ebp)               
  118def:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  head->previous = NULL;                                              
  118df2:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
  tail->previous = head;                                              
  118df9:	89 7d d8             	mov    %edi,-0x28(%ebp)               
  118dfc:	8d 73 30             	lea    0x30(%ebx),%esi                
  118dff:	8d 4b 68             	lea    0x68(%ebx),%ecx                
  118e02:	89 4d c4             	mov    %ecx,-0x3c(%ebp)               
  118e05:	8d 43 08             	lea    0x8(%ebx),%eax                 
  118e08:	89 45 bc             	mov    %eax,-0x44(%ebp)               
  118e0b:	8d 53 40             	lea    0x40(%ebx),%edx                
  118e0e:	89 55 c0             	mov    %edx,-0x40(%ebp)               
  118e11:	8d 76 00             	lea    0x0(%esi),%esi                 
  Chain_Control *tmp;                                                 
  /*                                                                  
   *  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;                                    
  118e14:	8d 4d dc             	lea    -0x24(%ebp),%ecx               
  118e17:	89 4b 78             	mov    %ecx,0x78(%ebx)                
  118e1a:	66 90                	xchg   %ax,%ax                        
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
  118e1c:	a1 04 0c 14 00       	mov    0x140c04,%eax                  
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
  118e21:	8b 53 3c             	mov    0x3c(%ebx),%edx                
                                                                      
  watchdogs->last_snapshot = snapshot;                                
  118e24:	89 43 3c             	mov    %eax,0x3c(%ebx)                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
  118e27:	51                   	push   %ecx                           
  118e28:	57                   	push   %edi                           
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
  118e29:	29 d0                	sub    %edx,%eax                      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
  118e2b:	50                   	push   %eax                           
  118e2c:	56                   	push   %esi                           
  118e2d:	e8 b6 3d 00 00       	call   11cbe8 <_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();
  118e32:	a1 64 0b 14 00       	mov    0x140b64,%eax                  
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
  118e37:	8b 53 74             	mov    0x74(%ebx),%edx                
  /*                                                                  
   *  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 ) {                                   
  118e3a:	83 c4 10             	add    $0x10,%esp                     
  118e3d:	39 d0                	cmp    %edx,%eax                      
  118e3f:	0f 87 af 00 00 00    	ja     118ef4 <_Timer_server_Body+0x130>
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
  118e45:	0f 82 c9 00 00 00    	jb     118f14 <_Timer_server_Body+0x150>
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
  118e4b:	89 43 74             	mov    %eax,0x74(%ebx)                
  118e4e:	66 90                	xchg   %ax,%ax                        
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
  118e50:	8b 43 78             	mov    0x78(%ebx),%eax                
  118e53:	83 ec 0c             	sub    $0xc,%esp                      
  118e56:	50                   	push   %eax                           
  118e57:	e8 b8 09 00 00       	call   119814 <_Chain_Get>            
                                                                      
    if ( timer == NULL ) {                                            
  118e5c:	83 c4 10             	add    $0x10,%esp                     
  118e5f:	85 c0                	test   %eax,%eax                      
  118e61:	74 35                	je     118e98 <_Timer_server_Body+0xd4><== ALWAYS TAKEN
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
  118e63:	8b 50 38             	mov    0x38(%eax),%edx                <== NOT EXECUTED
  118e66:	83 fa 01             	cmp    $0x1,%edx                      <== NOT EXECUTED
  118e69:	74 19                	je     118e84 <_Timer_server_Body+0xc0><== NOT EXECUTED
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
  118e6b:	83 fa 03             	cmp    $0x3,%edx                      <== NOT EXECUTED
  118e6e:	75 e0                	jne    118e50 <_Timer_server_Body+0x8c><== NOT EXECUTED
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
  118e70:	83 ec 08             	sub    $0x8,%esp                      <== NOT EXECUTED
  118e73:	83 c0 10             	add    $0x10,%eax                     <== NOT EXECUTED
  118e76:	50                   	push   %eax                           <== NOT EXECUTED
  118e77:	ff 75 c4             	pushl  -0x3c(%ebp)                    <== NOT EXECUTED
  118e7a:	e8 f5 3d 00 00       	call   11cc74 <_Watchdog_Insert>      <== NOT EXECUTED
  118e7f:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  118e82:	eb cc                	jmp    118e50 <_Timer_server_Body+0x8c><== NOT EXECUTED
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  118e84:	83 ec 08             	sub    $0x8,%esp                      <== NOT EXECUTED
  118e87:	83 c0 10             	add    $0x10,%eax                     <== NOT EXECUTED
  118e8a:	50                   	push   %eax                           <== NOT EXECUTED
  118e8b:	56                   	push   %esi                           <== NOT EXECUTED
  118e8c:	e8 e3 3d 00 00       	call   11cc74 <_Watchdog_Insert>      <== NOT EXECUTED
  118e91:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  118e94:	eb ba                	jmp    118e50 <_Timer_server_Body+0x8c><== NOT EXECUTED
  118e96:	66 90                	xchg   %ax,%ax                        <== 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 );                                            
  118e98:	9c                   	pushf                                 
  118e99:	fa                   	cli                                   
  118e9a:	58                   	pop    %eax                           
      tmp = ts->insert_chain;                                         
  118e9b:	8b 53 78             	mov    0x78(%ebx),%edx                
      if ( _Chain_Is_empty( insert_chain ) ) {                        
  118e9e:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  118ea1:	39 55 dc             	cmp    %edx,-0x24(%ebp)               
  118ea4:	0f 84 86 00 00 00    	je     118f30 <_Timer_server_Body+0x16c><== ALWAYS TAKEN
  118eaa:	b2 01                	mov    $0x1,%dl                       <== NOT EXECUTED
        ts->insert_chain = NULL;                                      
        do_loop          = false;                                     
      }                                                               
    _ISR_Enable( level );                                             
  118eac:	50                   	push   %eax                           
  118ead:	9d                   	popf                                  
   *  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;                                    
                                                                      
  while ( do_loop ) {                                                 
  118eae:	84 d2                	test   %dl,%dl                        
  118eb0:	0f 85 66 ff ff ff    	jne    118e1c <_Timer_server_Body+0x58><== NEVER TAKEN
  _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 ) ) {                          
  118eb6:	8b 4d b0             	mov    -0x50(%ebp),%ecx               
  118eb9:	39 4d d0             	cmp    %ecx,-0x30(%ebp)               
  118ebc:	75 22                	jne    118ee0 <_Timer_server_Body+0x11c>
  118ebe:	eb 7e                	jmp    118f3e <_Timer_server_Body+0x17a>
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
  118ec0:	8b 10                	mov    (%eax),%edx                    
                                                                      
  head->next = new_first;                                             
  118ec2:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  new_first->previous = head;                                         
  118ec5:	89 7a 04             	mov    %edi,0x4(%edx)                 
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
  118ec8:	c7 40 08 00 00 00 00 	movl   $0x0,0x8(%eax)                 
          _ISR_Enable( level );                                       
  118ecf:	51                   	push   %ecx                           
  118ed0:	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 );    
  118ed1:	83 ec 08             	sub    $0x8,%esp                      
  118ed4:	ff 70 24             	pushl  0x24(%eax)                     
  118ed7:	ff 70 20             	pushl  0x20(%eax)                     
  118eda:	ff 50 1c             	call   *0x1c(%eax)                    
      }                                                               
  118edd:	83 c4 10             	add    $0x10,%esp                     
                                                                      
        /*                                                            
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
  118ee0:	9c                   	pushf                                 
  118ee1:	fa                   	cli                                   
  118ee2:	59                   	pop    %ecx                           
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
  118ee3:	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))                                   
  118ee6:	3b 45 b0             	cmp    -0x50(%ebp),%eax               
  118ee9:	75 d5                	jne    118ec0 <_Timer_server_Body+0xfc>
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
          _ISR_Enable( level );                                       
        } else {                                                      
          _ISR_Enable( level );                                       
  118eeb:	51                   	push   %ecx                           
  118eec:	9d                   	popf                                  
  118eed:	e9 22 ff ff ff       	jmp    118e14 <_Timer_server_Body+0x50>
  118ef2:	66 90                	xchg   %ax,%ax                        
    /*                                                                
     *  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 );
  118ef4:	51                   	push   %ecx                           
  118ef5:	57                   	push   %edi                           
  if ( snapshot > last_snapshot ) {                                   
    /*                                                                
     *  This path is for normal forward movement and cases where the  
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
  118ef6:	89 c1                	mov    %eax,%ecx                      
  118ef8:	29 d1                	sub    %edx,%ecx                      
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
  118efa:	51                   	push   %ecx                           
  118efb:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  118efe:	89 45 b8             	mov    %eax,-0x48(%ebp)               
  118f01:	e8 e2 3c 00 00       	call   11cbe8 <_Watchdog_Adjust_to_chain>
  118f06:	83 c4 10             	add    $0x10,%esp                     
  118f09:	8b 45 b8             	mov    -0x48(%ebp),%eax               
  118f0c:	e9 3a ff ff ff       	jmp    118e4b <_Timer_server_Body+0x87>
  118f11:	8d 76 00             	lea    0x0(%esi),%esi                 
     /*                                                               
      *  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 ); 
  118f14:	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;                                
  118f15:	29 c2                	sub    %eax,%edx                      
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  118f17:	52                   	push   %edx                           
  118f18:	6a 01                	push   $0x1                           
  118f1a:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  118f1d:	89 45 b8             	mov    %eax,-0x48(%ebp)               
  118f20:	e8 4b 3c 00 00       	call   11cb70 <_Watchdog_Adjust>      
  118f25:	83 c4 10             	add    $0x10,%esp                     
  118f28:	8b 45 b8             	mov    -0x48(%ebp),%eax               
  118f2b:	e9 1b ff ff ff       	jmp    118e4b <_Timer_server_Body+0x87>
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
      tmp = ts->insert_chain;                                         
      if ( _Chain_Is_empty( insert_chain ) ) {                        
        ts->insert_chain = NULL;                                      
  118f30:	c7 43 78 00 00 00 00 	movl   $0x0,0x78(%ebx)                
        do_loop          = false;                                     
  118f37:	31 d2                	xor    %edx,%edx                      
  118f39:	e9 6e ff ff ff       	jmp    118eac <_Timer_server_Body+0xe8>
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
  118f3e:	c6 43 7c 00          	movb   $0x0,0x7c(%ebx)                
  118f42:	a1 90 0a 14 00       	mov    0x140a90,%eax                  
  118f47:	40                   	inc    %eax                           
  118f48:	a3 90 0a 14 00       	mov    %eax,0x140a90                  
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
  118f4d:	83 ec 08             	sub    $0x8,%esp                      
  118f50:	6a 08                	push   $0x8                           
  118f52:	ff 33                	pushl  (%ebx)                         
  118f54:	e8 df 35 00 00       	call   11c538 <_Thread_Set_state>     
        _Timer_server_Reset_interval_system_watchdog( ts );           
  118f59:	89 d8                	mov    %ebx,%eax                      
  118f5b:	e8 c4 fd ff ff       	call   118d24 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
  118f60:	89 d8                	mov    %ebx,%eax                      
  118f62:	e8 0d fe ff ff       	call   118d74 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
  118f67:	e8 c8 2c 00 00       	call   11bc34 <_Thread_Enable_dispatch>
                                                                      
      ts->active = true;                                              
  118f6c:	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 );        
  118f70:	5a                   	pop    %edx                           
  118f71:	ff 75 bc             	pushl  -0x44(%ebp)                    
  118f74:	e8 3b 3e 00 00       	call   11cdb4 <_Watchdog_Remove>      
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
  118f79:	58                   	pop    %eax                           
  118f7a:	ff 75 c0             	pushl  -0x40(%ebp)                    
  118f7d:	e8 32 3e 00 00       	call   11cdb4 <_Watchdog_Remove>      
  118f82:	83 c4 10             	add    $0x10,%esp                     
  118f85:	e9 8a fe ff ff       	jmp    118e14 <_Timer_server_Body+0x50>
                                                                      

00118f8c <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
  118f8c:	55                   	push   %ebp                           
  118f8d:	89 e5                	mov    %esp,%ebp                      
  118f8f:	57                   	push   %edi                           
  118f90:	56                   	push   %esi                           
  118f91:	53                   	push   %ebx                           
  118f92:	83 ec 2c             	sub    $0x2c,%esp                     
  118f95:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  118f98:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  if ( ts->insert_chain == NULL ) {                                   
  118f9b:	8b 53 78             	mov    0x78(%ebx),%edx                
  118f9e:	85 d2                	test   %edx,%edx                      
  118fa0:	74 16                	je     118fb8 <_Timer_server_Schedule_operation_method+0x2c><== ALWAYS TAKEN
     *  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 );           
  118fa2:	8b 53 78             	mov    0x78(%ebx),%edx                <== NOT EXECUTED
  118fa5:	89 45 0c             	mov    %eax,0xc(%ebp)                 <== NOT EXECUTED
  118fa8:	89 55 08             	mov    %edx,0x8(%ebp)                 <== NOT EXECUTED
  }                                                                   
}                                                                     
  118fab:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  118fae:	5b                   	pop    %ebx                           <== NOT EXECUTED
  118faf:	5e                   	pop    %esi                           <== NOT EXECUTED
  118fb0:	5f                   	pop    %edi                           <== NOT EXECUTED
  118fb1:	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 );           
  118fb2:	e9 21 08 00 00       	jmp    1197d8 <_Chain_Append>         <== NOT EXECUTED
  118fb7:	90                   	nop                                   <== NOT EXECUTED
  118fb8:	8b 15 90 0a 14 00    	mov    0x140a90,%edx                  
  118fbe:	42                   	inc    %edx                           
  118fbf:	89 15 90 0a 14 00    	mov    %edx,0x140a90                  
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
  118fc5:	8b 50 38             	mov    0x38(%eax),%edx                
  118fc8:	83 fa 01             	cmp    $0x1,%edx                      
  118fcb:	74 7b                	je     119048 <_Timer_server_Schedule_operation_method+0xbc>
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
                                                                      
    if ( !ts->active ) {                                              
      _Timer_server_Reset_interval_system_watchdog( ts );             
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
  118fcd:	83 fa 03             	cmp    $0x3,%edx                      
  118fd0:	74 0e                	je     118fe0 <_Timer_server_Schedule_operation_method+0x54>
     *  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 );           
  }                                                                   
}                                                                     
  118fd2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  118fd5:	5b                   	pop    %ebx                           
  118fd6:	5e                   	pop    %esi                           
  118fd7:	5f                   	pop    %edi                           
  118fd8:	c9                   	leave                                 
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
  118fd9:	e9 56 2c 00 00       	jmp    11bc34 <_Thread_Enable_dispatch>
  118fde:	66 90                	xchg   %ax,%ax                        
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
  118fe0:	9c                   	pushf                                 
  118fe1:	fa                   	cli                                   
  118fe2:	8f 45 e4             	popl   -0x1c(%ebp)                    
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
  118fe5:	8b 0d 64 0b 14 00    	mov    0x140b64,%ecx                  
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
  118feb:	8b 53 74             	mov    0x74(%ebx),%edx                
  118fee:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
  118ff1:	8b 53 68             	mov    0x68(%ebx),%edx                
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  118ff4:	8d 7b 6c             	lea    0x6c(%ebx),%edi                
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
  118ff7:	39 fa                	cmp    %edi,%edx                      
  118ff9:	74 21                	je     11901c <_Timer_server_Schedule_operation_method+0x90>
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
  118ffb:	8b 7a 10             	mov    0x10(%edx),%edi                
      if ( snapshot > last_snapshot ) {                               
  118ffe:	3b 4d d4             	cmp    -0x2c(%ebp),%ecx               
  119001:	0f 86 a1 00 00 00    	jbe    1190a8 <_Timer_server_Schedule_operation_method+0x11c>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
  119007:	89 ce                	mov    %ecx,%esi                      
  119009:	2b 75 d4             	sub    -0x2c(%ebp),%esi               
  11900c:	89 75 d4             	mov    %esi,-0x2c(%ebp)               
        if (delta_interval > delta) {                                 
  11900f:	39 f7                	cmp    %esi,%edi                      
  119011:	0f 86 9b 00 00 00    	jbe    1190b2 <_Timer_server_Schedule_operation_method+0x126><== NEVER TAKEN
          delta_interval -= delta;                                    
  119017:	29 f7                	sub    %esi,%edi                      
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
        delta_interval += delta;                                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
  119019:	89 7a 10             	mov    %edi,0x10(%edx)                
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
  11901c:	89 4b 74             	mov    %ecx,0x74(%ebx)                
    _ISR_Enable( level );                                             
  11901f:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  119022:	9d                   	popf                                  
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
  119023:	83 ec 08             	sub    $0x8,%esp                      
  119026:	83 c0 10             	add    $0x10,%eax                     
  119029:	50                   	push   %eax                           
  11902a:	8d 43 68             	lea    0x68(%ebx),%eax                
  11902d:	50                   	push   %eax                           
  11902e:	e8 41 3c 00 00       	call   11cc74 <_Watchdog_Insert>      
                                                                      
    if ( !ts->active ) {                                              
  119033:	8a 43 7c             	mov    0x7c(%ebx),%al                 
  119036:	83 c4 10             	add    $0x10,%esp                     
  119039:	84 c0                	test   %al,%al                        
  11903b:	75 95                	jne    118fd2 <_Timer_server_Schedule_operation_method+0x46>
      _Timer_server_Reset_tod_system_watchdog( ts );                  
  11903d:	89 d8                	mov    %ebx,%eax                      
  11903f:	e8 30 fd ff ff       	call   118d74 <_Timer_server_Reset_tod_system_watchdog>
  119044:	eb 8c                	jmp    118fd2 <_Timer_server_Schedule_operation_method+0x46>
  119046:	66 90                	xchg   %ax,%ax                        
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
  119048:	9c                   	pushf                                 
  119049:	fa                   	cli                                   
  11904a:	8f 45 e4             	popl   -0x1c(%ebp)                    
    snapshot = _Watchdog_Ticks_since_boot;                            
  11904d:	8b 0d 04 0c 14 00    	mov    0x140c04,%ecx                  
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
  119053:	8b 7b 3c             	mov    0x3c(%ebx),%edi                
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
  119056:	8b 53 30             	mov    0x30(%ebx),%edx                
  119059:	8d 73 34             	lea    0x34(%ebx),%esi                
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = _Watchdog_Ticks_since_boot;                            
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
  11905c:	39 f2                	cmp    %esi,%edx                      
  11905e:	74 10                	je     119070 <_Timer_server_Schedule_operation_method+0xe4>
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
  119060:	89 ce                	mov    %ecx,%esi                      
  119062:	29 fe                	sub    %edi,%esi                      
                                                                      
      delta_interval = first_watchdog->delta_interval;                
  119064:	8b 7a 10             	mov    0x10(%edx),%edi                
      if (delta_interval > delta) {                                   
  119067:	39 fe                	cmp    %edi,%esi                      
  119069:	73 39                	jae    1190a4 <_Timer_server_Schedule_operation_method+0x118>
        delta_interval -= delta;                                      
  11906b:	29 f7                	sub    %esi,%edi                      
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
  11906d:	89 7a 10             	mov    %edi,0x10(%edx)                
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
  119070:	89 4b 3c             	mov    %ecx,0x3c(%ebx)                
    _ISR_Enable( level );                                             
  119073:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  119076:	9d                   	popf                                  
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  119077:	83 ec 08             	sub    $0x8,%esp                      
  11907a:	83 c0 10             	add    $0x10,%eax                     
  11907d:	50                   	push   %eax                           
  11907e:	8d 43 30             	lea    0x30(%ebx),%eax                
  119081:	50                   	push   %eax                           
  119082:	e8 ed 3b 00 00       	call   11cc74 <_Watchdog_Insert>      
                                                                      
    if ( !ts->active ) {                                              
  119087:	8a 43 7c             	mov    0x7c(%ebx),%al                 
  11908a:	83 c4 10             	add    $0x10,%esp                     
  11908d:	84 c0                	test   %al,%al                        
  11908f:	0f 85 3d ff ff ff    	jne    118fd2 <_Timer_server_Schedule_operation_method+0x46>
      _Timer_server_Reset_interval_system_watchdog( ts );             
  119095:	89 d8                	mov    %ebx,%eax                      
  119097:	e8 88 fc ff ff       	call   118d24 <_Timer_server_Reset_interval_system_watchdog>
  11909c:	e9 31 ff ff ff       	jmp    118fd2 <_Timer_server_Schedule_operation_method+0x46>
  1190a1:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
        delta_interval -= delta;                                      
      } else {                                                        
        delta_interval = 0;                                           
  1190a4:	31 ff                	xor    %edi,%edi                      
  1190a6:	eb c5                	jmp    11906d <_Timer_server_Schedule_operation_method+0xe1>
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
  1190a8:	03 7d d4             	add    -0x2c(%ebp),%edi               
        delta_interval += delta;                                      
  1190ab:	29 cf                	sub    %ecx,%edi                      
  1190ad:	e9 67 ff ff ff       	jmp    119019 <_Timer_server_Schedule_operation_method+0x8d>
         */                                                           
        delta = snapshot - last_snapshot;                             
        if (delta_interval > delta) {                                 
          delta_interval -= delta;                                    
        } else {                                                      
          delta_interval = 0;                                         
  1190b2:	31 ff                	xor    %edi,%edi                      <== NOT EXECUTED
  1190b4:	e9 60 ff ff ff       	jmp    119019 <_Timer_server_Schedule_operation_method+0x8d><== NOT EXECUTED
                                                                      

0010e284 <_Timespec_Add_to>: uint32_t _Timespec_Add_to( struct timespec *time, const struct timespec *add ) {
  10e284:	55                   	push   %ebp                           
  10e285:	89 e5                	mov    %esp,%ebp                      
  10e287:	53                   	push   %ebx                           
  10e288:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10e28b:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  uint32_t seconds = add->tv_sec;                                     
  10e28e:	8b 02                	mov    (%edx),%eax                    
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  10e290:	01 03                	add    %eax,(%ebx)                    
  time->tv_nsec += add->tv_nsec;                                      
  10e292:	8b 52 04             	mov    0x4(%edx),%edx                 
  10e295:	03 53 04             	add    0x4(%ebx),%edx                 
  10e298:	89 53 04             	mov    %edx,0x4(%ebx)                 
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
  10e29b:	81 fa ff c9 9a 3b    	cmp    $0x3b9ac9ff,%edx               
  10e2a1:	76 1a                	jbe    10e2bd <_Timespec_Add_to+0x39> 
  10e2a3:	8b 0b                	mov    (%ebx),%ecx                    
  10e2a5:	8d 76 00             	lea    0x0(%esi),%esi                 
    time->tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                      
  10e2a8:	81 ea 00 ca 9a 3b    	sub    $0x3b9aca00,%edx               
 *                                                                    
 *  This routines adds two timespecs.  The second argument is added   
 *  to the first.                                                     
 */                                                                   
                                                                      
uint32_t _Timespec_Add_to(                                            
  10e2ae:	41                   	inc    %ecx                           
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
    time->tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                      
    time->tv_sec++;                                                   
    seconds++;                                                        
  10e2af:	40                   	inc    %eax                           
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
  10e2b0:	81 fa ff c9 9a 3b    	cmp    $0x3b9ac9ff,%edx               
  10e2b6:	77 f0                	ja     10e2a8 <_Timespec_Add_to+0x24> <== NEVER TAKEN
  10e2b8:	89 53 04             	mov    %edx,0x4(%ebx)                 
  10e2bb:	89 0b                	mov    %ecx,(%ebx)                    
    time->tv_sec++;                                                   
    seconds++;                                                        
  }                                                                   
                                                                      
  return seconds;                                                     
}                                                                     
  10e2bd:	5b                   	pop    %ebx                           
  10e2be:	c9                   	leave                                 
  10e2bf:	c3                   	ret                                   
                                                                      

0010fab4 <_Timespec_Divide>: const struct timespec *lhs, const struct timespec *rhs, uint32_t *ival_percentage, uint32_t *fval_percentage ) {
  10fab4:	55                   	push   %ebp                           
  10fab5:	89 e5                	mov    %esp,%ebp                      
  10fab7:	57                   	push   %edi                           
  10fab8:	56                   	push   %esi                           
  10fab9:	53                   	push   %ebx                           
  10faba:	83 ec 2c             	sub    $0x2c,%esp                     
  10fabd:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10fac0:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
                                                                      
  /*                                                                  
   *  For math simplicity just convert the timespec to nanoseconds    
   *  in a 64-bit integer.                                            
   */                                                                 
  left   = lhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  10fac3:	8b 38                	mov    (%eax),%edi                    
  left  += lhs->tv_nsec;                                              
  10fac5:	8b 70 04             	mov    0x4(%eax),%esi                 
  right  = rhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  10fac8:	bb 00 ca 9a 3b       	mov    $0x3b9aca00,%ebx               
  10facd:	8b 01                	mov    (%ecx),%eax                    
  10facf:	f7 eb                	imul   %ebx                           
  10fad1:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  10fad4:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  right += rhs->tv_nsec;                                              
  10fad7:	8b 41 04             	mov    0x4(%ecx),%eax                 
  10fada:	99                   	cltd                                  
  10fadb:	01 45 e0             	add    %eax,-0x20(%ebp)               
  10fade:	11 55 e4             	adc    %edx,-0x1c(%ebp)               
                                                                      
  if ( right == 0 ) {                                                 
  10fae1:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10fae4:	0b 55 e0             	or     -0x20(%ebp),%edx               
  10fae7:	74 73                	je     10fb5c <_Timespec_Divide+0xa8> 
                                                                      
  /*                                                                  
   *  For math simplicity just convert the timespec to nanoseconds    
   *  in a 64-bit integer.                                            
   */                                                                 
  left   = lhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  10fae9:	89 f8                	mov    %edi,%eax                      
  10faeb:	f7 eb                	imul   %ebx                           
  10faed:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  10faf0:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  left  += lhs->tv_nsec;                                              
  10faf3:	89 f7                	mov    %esi,%edi                      
  10faf5:	c1 ff 1f             	sar    $0x1f,%edi                     
  10faf8:	01 75 d0             	add    %esi,-0x30(%ebp)               
  10fafb:	11 7d d4             	adc    %edi,-0x2c(%ebp)               
   *  Put it back in the timespec result.                             
   *                                                                  
   *  TODO: Rounding on the last digit of the fval.                   
   */                                                                 
                                                                      
  answer = (left * 100000) / right;                                   
  10fafe:	69 4d d4 a0 86 01 00 	imul   $0x186a0,-0x2c(%ebp),%ecx      
  10fb05:	bb a0 86 01 00       	mov    $0x186a0,%ebx                  
  10fb0a:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10fb0d:	f7 e3                	mul    %ebx                           
  10fb0f:	8d 34 11             	lea    (%ecx,%edx,1),%esi             
  10fb12:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10fb15:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10fb18:	56                   	push   %esi                           
  10fb19:	50                   	push   %eax                           
  10fb1a:	e8 b1 fb 00 00       	call   11f6d0 <__udivdi3>             
  10fb1f:	83 c4 10             	add    $0x10,%esp                     
  10fb22:	89 c3                	mov    %eax,%ebx                      
  10fb24:	89 d6                	mov    %edx,%esi                      
                                                                      
  *ival_percentage = answer / 1000;                                   
  10fb26:	6a 00                	push   $0x0                           
  10fb28:	68 e8 03 00 00       	push   $0x3e8                         
  10fb2d:	52                   	push   %edx                           
  10fb2e:	50                   	push   %eax                           
  10fb2f:	e8 9c fb 00 00       	call   11f6d0 <__udivdi3>             
  10fb34:	83 c4 10             	add    $0x10,%esp                     
  10fb37:	8b 55 10             	mov    0x10(%ebp),%edx                
  10fb3a:	89 02                	mov    %eax,(%edx)                    
  *fval_percentage = answer % 1000;                                   
  10fb3c:	6a 00                	push   $0x0                           
  10fb3e:	68 e8 03 00 00       	push   $0x3e8                         
  10fb43:	56                   	push   %esi                           
  10fb44:	53                   	push   %ebx                           
  10fb45:	e8 96 fc 00 00       	call   11f7e0 <__umoddi3>             
  10fb4a:	83 c4 10             	add    $0x10,%esp                     
  10fb4d:	8b 55 14             	mov    0x14(%ebp),%edx                
  10fb50:	89 02                	mov    %eax,(%edx)                    
}                                                                     
  10fb52:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10fb55:	5b                   	pop    %ebx                           
  10fb56:	5e                   	pop    %esi                           
  10fb57:	5f                   	pop    %edi                           
  10fb58:	c9                   	leave                                 
  10fb59:	c3                   	ret                                   
  10fb5a:	66 90                	xchg   %ax,%ax                        
  left  += lhs->tv_nsec;                                              
  right  = rhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  right += rhs->tv_nsec;                                              
                                                                      
  if ( right == 0 ) {                                                 
    *ival_percentage = 0;                                             
  10fb5c:	8b 45 10             	mov    0x10(%ebp),%eax                
  10fb5f:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
    *fval_percentage = 0;                                             
  10fb65:	8b 55 14             	mov    0x14(%ebp),%edx                
  10fb68:	c7 02 00 00 00 00    	movl   $0x0,(%edx)                    
                                                                      
  answer = (left * 100000) / right;                                   
                                                                      
  *ival_percentage = answer / 1000;                                   
  *fval_percentage = answer % 1000;                                   
}                                                                     
  10fb6e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10fb71:	5b                   	pop    %ebx                           
  10fb72:	5e                   	pop    %esi                           
  10fb73:	5f                   	pop    %edi                           
  10fb74:	c9                   	leave                                 
  10fb75:	c3                   	ret                                   
                                                                      

0010fd60 <_Timespec_Greater_than>: bool _Timespec_Greater_than( const struct timespec *lhs, const struct timespec *rhs ) {
  10fd60:	55                   	push   %ebp                           
  10fd61:	89 e5                	mov    %esp,%ebp                      
  10fd63:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10fd66:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  if ( lhs->tv_sec > rhs->tv_sec )                                    
  10fd69:	8b 08                	mov    (%eax),%ecx                    
  10fd6b:	39 0a                	cmp    %ecx,(%edx)                    
  10fd6d:	7f 11                	jg     10fd80 <_Timespec_Greater_than+0x20>
    return true;                                                      
                                                                      
  if ( lhs->tv_sec < rhs->tv_sec )                                    
  10fd6f:	7c 0b                	jl     10fd7c <_Timespec_Greater_than+0x1c><== NEVER TAKEN
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/timespec.h>                                     
#include <rtems/score/tod.h>                                          
                                                                      
bool _Timespec_Greater_than(                                          
  10fd71:	8b 48 04             	mov    0x4(%eax),%ecx                 
  10fd74:	39 4a 04             	cmp    %ecx,0x4(%edx)                 
  10fd77:	0f 9f c0             	setg   %al                            
  /* ASSERT: lhs->tv_sec == rhs->tv_sec */                            
  if ( lhs->tv_nsec > rhs->tv_nsec )                                  
    return true;                                                      
                                                                      
  return false;                                                       
}                                                                     
  10fd7a:	c9                   	leave                                 
  10fd7b:	c3                   	ret                                   
{                                                                     
  if ( lhs->tv_sec > rhs->tv_sec )                                    
    return true;                                                      
                                                                      
  if ( lhs->tv_sec < rhs->tv_sec )                                    
    return false;                                                     
  10fd7c:	31 c0                	xor    %eax,%eax                      
  /* ASSERT: lhs->tv_sec == rhs->tv_sec */                            
  if ( lhs->tv_nsec > rhs->tv_nsec )                                  
    return true;                                                      
                                                                      
  return false;                                                       
}                                                                     
  10fd7e:	c9                   	leave                                 <== NOT EXECUTED
  10fd7f:	c3                   	ret                                   <== NOT EXECUTED
  const struct timespec *lhs,                                         
  const struct timespec *rhs                                          
)                                                                     
{                                                                     
  if ( lhs->tv_sec > rhs->tv_sec )                                    
    return true;                                                      
  10fd80:	b0 01                	mov    $0x1,%al                       
  /* ASSERT: lhs->tv_sec == rhs->tv_sec */                            
  if ( lhs->tv_nsec > rhs->tv_nsec )                                  
    return true;                                                      
                                                                      
  return false;                                                       
}                                                                     
  10fd82:	c9                   	leave                                 
  10fd83:	c3                   	ret                                   
                                                                      

0010eee8 <_Timespec_Is_valid>: #include <rtems/score/tod.h> bool _Timespec_Is_valid( const struct timespec *time ) {
  10eee8:	55                   	push   %ebp                           
  10eee9:	89 e5                	mov    %esp,%ebp                      
  10eeeb:	8b 45 08             	mov    0x8(%ebp),%eax                 
  if ( !time )                                                        
  10eeee:	85 c0                	test   %eax,%eax                      
  10eef0:	74 1a                	je     10ef0c <_Timespec_Is_valid+0x24>
    return false;                                                     
                                                                      
  if ( time->tv_sec < 0 )                                             
  10eef2:	8b 10                	mov    (%eax),%edx                    
  10eef4:	85 d2                	test   %edx,%edx                      
  10eef6:	78 14                	js     10ef0c <_Timespec_Is_valid+0x24>
    return false;                                                     
                                                                      
  if ( time->tv_nsec < 0 )                                            
  10eef8:	8b 40 04             	mov    0x4(%eax),%eax                 
  10eefb:	85 c0                	test   %eax,%eax                      
  10eefd:	78 0d                	js     10ef0c <_Timespec_Is_valid+0x24>
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/timespec.h>                                     
#include <rtems/score/tod.h>                                          
                                                                      
bool _Timespec_Is_valid(                                              
  10eeff:	3d ff c9 9a 3b       	cmp    $0x3b9ac9ff,%eax               
  10ef04:	0f 96 c0             	setbe  %al                            
                                                                      
  if ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND )                  
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
  10ef07:	c9                   	leave                                 
  10ef08:	c3                   	ret                                   
  10ef09:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( time->tv_sec < 0 )                                             
    return false;                                                     
                                                                      
  if ( time->tv_nsec < 0 )                                            
    return false;                                                     
  10ef0c:	31 c0                	xor    %eax,%eax                      
                                                                      
  if ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND )                  
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
  10ef0e:	c9                   	leave                                 
  10ef0f:	c3                   	ret                                   
                                                                      

0010ef50 <_Timespec_To_ticks>: */ uint32_t _Timespec_To_ticks( const struct timespec *time ) {
  10ef50:	55                   	push   %ebp                           
  10ef51:	89 e5                	mov    %esp,%ebp                      
  10ef53:	56                   	push   %esi                           
  10ef54:	53                   	push   %ebx                           
  10ef55:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  uint32_t  ticks;                                                    
                                                                      
  if ( (time->tv_sec == 0) && (time->tv_nsec == 0) )                  
  10ef58:	8b 33                	mov    (%ebx),%esi                    
  10ef5a:	85 f6                	test   %esi,%esi                      
  10ef5c:	75 07                	jne    10ef65 <_Timespec_To_ticks+0x15>
  10ef5e:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10ef61:	85 c0                	test   %eax,%eax                      
  10ef63:	74 37                	je     10ef9c <_Timespec_To_ticks+0x4c>
    return 0;                                                         
                                                                      
  ticks  = time->tv_sec * TOD_TICKS_PER_SECOND;                       
  10ef65:	e8 ee 24 00 00       	call   111458 <TOD_TICKS_PER_SECOND_method>
  10ef6a:	89 c1                	mov    %eax,%ecx                      
  10ef6c:	0f af ce             	imul   %esi,%ecx                      
                                                                      
  ticks += time->tv_nsec / rtems_configuration_get_nanoseconds_per_tick();
  10ef6f:	a1 2c 32 12 00       	mov    0x12322c,%eax                  
  10ef74:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10ef77:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10ef7a:	8d 34 80             	lea    (%eax,%eax,4),%esi             
  10ef7d:	c1 e6 03             	shl    $0x3,%esi                      
  10ef80:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10ef83:	31 d2                	xor    %edx,%edx                      
  10ef85:	f7 f6                	div    %esi                           
                                                                      
  if (ticks)                                                          
  10ef87:	01 c8                	add    %ecx,%eax                      
  10ef89:	74 05                	je     10ef90 <_Timespec_To_ticks+0x40>
    return ticks;                                                     
                                                                      
  return 1;                                                           
}                                                                     
  10ef8b:	5b                   	pop    %ebx                           
  10ef8c:	5e                   	pop    %esi                           
  10ef8d:	c9                   	leave                                 
  10ef8e:	c3                   	ret                                   
  10ef8f:	90                   	nop                                   
  ticks += time->tv_nsec / rtems_configuration_get_nanoseconds_per_tick();
                                                                      
  if (ticks)                                                          
    return ticks;                                                     
                                                                      
  return 1;                                                           
  10ef90:	b8 01 00 00 00       	mov    $0x1,%eax                      
}                                                                     
  10ef95:	5b                   	pop    %ebx                           
  10ef96:	5e                   	pop    %esi                           
  10ef97:	c9                   	leave                                 
  10ef98:	c3                   	ret                                   
  10ef99:	8d 76 00             	lea    0x0(%esi),%esi                 
)                                                                     
{                                                                     
  uint32_t  ticks;                                                    
                                                                      
  if ( (time->tv_sec == 0) && (time->tv_nsec == 0) )                  
    return 0;                                                         
  10ef9c:	31 c0                	xor    %eax,%eax                      
                                                                      
  if (ticks)                                                          
    return ticks;                                                     
                                                                      
  return 1;                                                           
}                                                                     
  10ef9e:	5b                   	pop    %ebx                           
  10ef9f:	5e                   	pop    %esi                           
  10efa0:	c9                   	leave                                 
  10efa1:	c3                   	ret                                   
                                                                      

0010e43c <_User_extensions_Fatal>: void _User_extensions_Fatal ( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
  10e43c:	55                   	push   %ebp                           
  10e43d:	89 e5                	mov    %esp,%ebp                      
  10e43f:	57                   	push   %edi                           
  10e440:	56                   	push   %esi                           
  10e441:	53                   	push   %ebx                           
  10e442:	83 ec 1c             	sub    $0x1c,%esp                     
  10e445:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10e448:	8b 7d 10             	mov    0x10(%ebp),%edi                
  10e44b:	8a 45 0c             	mov    0xc(%ebp),%al                  
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
  10e44e:	8b 1d d4 56 12 00    	mov    0x1256d4,%ebx                  
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
  10e454:	81 fb cc 56 12 00    	cmp    $0x1256cc,%ebx                 
  10e45a:	74 25                	je     10e481 <_User_extensions_Fatal+0x45><== NEVER TAKEN
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  10e45c:	0f b6 c0             	movzbl %al,%eax                       
  10e45f:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  10e462:	66 90                	xchg   %ax,%ax                        
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
  10e464:	8b 43 30             	mov    0x30(%ebx),%eax                
  10e467:	85 c0                	test   %eax,%eax                      
  10e469:	74 0b                	je     10e476 <_User_extensions_Fatal+0x3a>
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  10e46b:	52                   	push   %edx                           
  10e46c:	57                   	push   %edi                           
  10e46d:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10e470:	56                   	push   %esi                           
  10e471:	ff d0                	call   *%eax                          
  10e473:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
  10e476:	8b 5b 04             	mov    0x4(%ebx),%ebx                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
  10e479:	81 fb cc 56 12 00    	cmp    $0x1256cc,%ebx                 
  10e47f:	75 e3                	jne    10e464 <_User_extensions_Fatal+0x28><== ALWAYS TAKEN
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
  10e481:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  10e484:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10e485:	5e                   	pop    %esi                           <== NOT EXECUTED
  10e486:	5f                   	pop    %edi                           <== NOT EXECUTED
  10e487:	c9                   	leave                                 <== NOT EXECUTED
  10e488:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010e300 <_User_extensions_Handler_initialization>: #include <rtems/score/userext.h> #include <rtems/score/wkspace.h> #include <string.h> void _User_extensions_Handler_initialization(void) {
  10e300:	55                   	push   %ebp                           
  10e301:	89 e5                	mov    %esp,%ebp                      
  10e303:	57                   	push   %edi                           
  10e304:	56                   	push   %esi                           
  10e305:	53                   	push   %ebx                           
  10e306:	83 ec 1c             	sub    $0x1c,%esp                     
  User_extensions_Control *extension;                                 
  uint32_t                 i;                                         
  uint32_t                 number_of_extensions;                      
  User_extensions_Table   *initial_extensions;                        
                                                                      
  number_of_extensions = Configuration.number_of_initial_extensions;  
  10e309:	a1 5c 12 12 00       	mov    0x12125c,%eax                  
  10e30e:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  initial_extensions   = Configuration.User_extension_table;          
  10e311:	8b 35 60 12 12 00    	mov    0x121260,%esi                  
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  10e317:	c7 05 cc 56 12 00 d0 	movl   $0x1256d0,0x1256cc             
  10e31e:	56 12 00                                                    
  head->previous = NULL;                                              
  10e321:	c7 05 d0 56 12 00 00 	movl   $0x0,0x1256d0                  
  10e328:	00 00 00                                                    
  tail->previous = head;                                              
  10e32b:	c7 05 d4 56 12 00 cc 	movl   $0x1256cc,0x1256d4             
  10e332:	56 12 00                                                    
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  10e335:	c7 05 74 54 12 00 78 	movl   $0x125478,0x125474             
  10e33c:	54 12 00                                                    
  head->previous = NULL;                                              
  10e33f:	c7 05 78 54 12 00 00 	movl   $0x0,0x125478                  
  10e346:	00 00 00                                                    
  tail->previous = head;                                              
  10e349:	c7 05 7c 54 12 00 74 	movl   $0x125474,0x12547c             
  10e350:	54 12 00                                                    
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
  10e353:	85 f6                	test   %esi,%esi                      
  10e355:	74 64                	je     10e3bb <_User_extensions_Handler_initialization+0xbb><== NEVER TAKEN
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
  10e357:	89 c2                	mov    %eax,%edx                      
  10e359:	8d 04 40             	lea    (%eax,%eax,2),%eax             
  10e35c:	8d 0c 82             	lea    (%edx,%eax,4),%ecx             
  10e35f:	c1 e1 02             	shl    $0x2,%ecx                      
  10e362:	83 ec 0c             	sub    $0xc,%esp                      
  10e365:	51                   	push   %ecx                           
  10e366:	89 4d d8             	mov    %ecx,-0x28(%ebp)               
  10e369:	e8 ce 04 00 00       	call   10e83c <_Workspace_Allocate_or_fatal_error>
  10e36e:	89 c3                	mov    %eax,%ebx                      
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
  10e370:	31 c0                	xor    %eax,%eax                      
  10e372:	8b 4d d8             	mov    -0x28(%ebp),%ecx               
  10e375:	89 df                	mov    %ebx,%edi                      
  10e377:	f3 aa                	rep stos %al,%es:(%edi)               
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
  10e379:	83 c4 10             	add    $0x10,%esp                     
  10e37c:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10e37f:	85 c0                	test   %eax,%eax                      
  10e381:	74 38                	je     10e3bb <_User_extensions_Handler_initialization+0xbb><== NEVER TAKEN
  10e383:	89 75 e4             	mov    %esi,-0x1c(%ebp)               
  10e386:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  10e38d:	8d 76 00             	lea    0x0(%esi),%esi                 
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
  10e390:	8d 7b 14             	lea    0x14(%ebx),%edi                
  10e393:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
  10e396:	b9 08 00 00 00       	mov    $0x8,%ecx                      
  10e39b:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  _User_extensions_Add_set( extension );                              
  10e39d:	83 ec 0c             	sub    $0xc,%esp                      
  10e3a0:	53                   	push   %ebx                           
  10e3a1:	e8 6a 2a 00 00       	call   110e10 <_User_extensions_Add_set>
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
  10e3a6:	83 c3 34             	add    $0x34,%ebx                     
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
  10e3a9:	ff 45 e0             	incl   -0x20(%ebp)                    
  10e3ac:	83 45 e4 20          	addl   $0x20,-0x1c(%ebp)              
  10e3b0:	83 c4 10             	add    $0x10,%esp                     
  10e3b3:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10e3b6:	39 45 dc             	cmp    %eax,-0x24(%ebp)               
  10e3b9:	77 d5                	ja     10e390 <_User_extensions_Handler_initialization+0x90>
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
    }                                                                 
  }                                                                   
}                                                                     
  10e3bb:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e3be:	5b                   	pop    %ebx                           
  10e3bf:	5e                   	pop    %esi                           
  10e3c0:	5f                   	pop    %edi                           
  10e3c1:	c9                   	leave                                 
  10e3c2:	c3                   	ret                                   
                                                                      

0010f888 <_User_extensions_Remove_set>: #include <rtems/score/userext.h> void _User_extensions_Remove_set ( User_extensions_Control *the_extension ) {
  10f888:	55                   	push   %ebp                           
  10f889:	89 e5                	mov    %esp,%ebp                      
  10f88b:	53                   	push   %ebx                           
  10f88c:	83 ec 10             	sub    $0x10,%esp                     
  10f88f:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  _Chain_Extract( &the_extension->Node );                             
  10f892:	53                   	push   %ebx                           
  10f893:	e8 b8 da ff ff       	call   10d350 <_Chain_Extract>        
                                                                      
  /*                                                                  
   * If a switch handler is present, remove it.                       
   */                                                                 
                                                                      
  if ( the_extension->Callouts.thread_switch != NULL )                
  10f898:	83 c4 10             	add    $0x10,%esp                     
  10f89b:	8b 43 24             	mov    0x24(%ebx),%eax                
  10f89e:	85 c0                	test   %eax,%eax                      
  10f8a0:	74 12                	je     10f8b4 <_User_extensions_Remove_set+0x2c>
    _Chain_Extract( &the_extension->Switch.Node );                    
  10f8a2:	83 c3 08             	add    $0x8,%ebx                      
  10f8a5:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
}                                                                     
  10f8a8:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10f8ab:	c9                   	leave                                 
  /*                                                                  
   * If a switch handler is present, remove it.                       
   */                                                                 
                                                                      
  if ( the_extension->Callouts.thread_switch != NULL )                
    _Chain_Extract( &the_extension->Switch.Node );                    
  10f8ac:	e9 9f da ff ff       	jmp    10d350 <_Chain_Extract>        
  10f8b1:	8d 76 00             	lea    0x0(%esi),%esi                 
}                                                                     
  10f8b4:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10f8b7:	c9                   	leave                                 
  10f8b8:	c3                   	ret                                   
                                                                      

0010e3c4 <_User_extensions_Thread_begin>: #include <rtems/score/userext.h> void _User_extensions_Thread_begin ( Thread_Control *executing ) {
  10e3c4:	55                   	push   %ebp                           
  10e3c5:	89 e5                	mov    %esp,%ebp                      
  10e3c7:	56                   	push   %esi                           
  10e3c8:	53                   	push   %ebx                           
  10e3c9:	8b 75 08             	mov    0x8(%ebp),%esi                 
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
  10e3cc:	8b 1d cc 56 12 00    	mov    0x1256cc,%ebx                  
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
  10e3d2:	81 fb d0 56 12 00    	cmp    $0x1256d0,%ebx                 
  10e3d8:	74 1c                	je     10e3f6 <_User_extensions_Thread_begin+0x32><== NEVER TAKEN
  10e3da:	66 90                	xchg   %ax,%ax                        
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_begin != NULL )               
  10e3dc:	8b 43 28             	mov    0x28(%ebx),%eax                
  10e3df:	85 c0                	test   %eax,%eax                      
  10e3e1:	74 09                	je     10e3ec <_User_extensions_Thread_begin+0x28>
      (*the_extension->Callouts.thread_begin)( executing );           
  10e3e3:	83 ec 0c             	sub    $0xc,%esp                      
  10e3e6:	56                   	push   %esi                           
  10e3e7:	ff d0                	call   *%eax                          
  10e3e9:	83 c4 10             	add    $0x10,%esp                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
  10e3ec:	8b 1b                	mov    (%ebx),%ebx                    
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
  10e3ee:	81 fb d0 56 12 00    	cmp    $0x1256d0,%ebx                 
  10e3f4:	75 e6                	jne    10e3dc <_User_extensions_Thread_begin+0x18>
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_begin != NULL )               
      (*the_extension->Callouts.thread_begin)( executing );           
  }                                                                   
}                                                                     
  10e3f6:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10e3f9:	5b                   	pop    %ebx                           
  10e3fa:	5e                   	pop    %esi                           
  10e3fb:	c9                   	leave                                 
  10e3fc:	c3                   	ret                                   
                                                                      

0010e48c <_User_extensions_Thread_create>: #include <rtems/score/userext.h> bool _User_extensions_Thread_create ( Thread_Control *the_thread ) {
  10e48c:	55                   	push   %ebp                           
  10e48d:	89 e5                	mov    %esp,%ebp                      
  10e48f:	56                   	push   %esi                           
  10e490:	53                   	push   %ebx                           
  10e491:	8b 75 08             	mov    0x8(%ebp),%esi                 
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
  10e494:	8b 1d cc 56 12 00    	mov    0x1256cc,%ebx                  
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
  10e49a:	81 fb d0 56 12 00    	cmp    $0x1256d0,%ebx                 
  10e4a0:	74 26                	je     10e4c8 <_User_extensions_Thread_create+0x3c><== NEVER TAKEN
  10e4a2:	66 90                	xchg   %ax,%ax                        
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_create != NULL ) {            
  10e4a4:	8b 43 14             	mov    0x14(%ebx),%eax                
  10e4a7:	85 c0                	test   %eax,%eax                      
  10e4a9:	74 13                	je     10e4be <_User_extensions_Thread_create+0x32>
      status = (*the_extension->Callouts.thread_create)(              
  10e4ab:	83 ec 08             	sub    $0x8,%esp                      
  10e4ae:	56                   	push   %esi                           
  10e4af:	ff 35 38 57 12 00    	pushl  0x125738                       
  10e4b5:	ff d0                	call   *%eax                          
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
      if ( !status )                                                  
  10e4b7:	83 c4 10             	add    $0x10,%esp                     
  10e4ba:	84 c0                	test   %al,%al                        
  10e4bc:	74 16                	je     10e4d4 <_User_extensions_Thread_create+0x48>
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
  10e4be:	8b 1b                	mov    (%ebx),%ebx                    
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
  10e4c0:	81 fb d0 56 12 00    	cmp    $0x1256d0,%ebx                 
  10e4c6:	75 dc                	jne    10e4a4 <_User_extensions_Thread_create+0x18>
      if ( !status )                                                  
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
  10e4c8:	b0 01                	mov    $0x1,%al                       
}                                                                     
  10e4ca:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10e4cd:	5b                   	pop    %ebx                           
  10e4ce:	5e                   	pop    %esi                           
  10e4cf:	c9                   	leave                                 
  10e4d0:	c3                   	ret                                   
  10e4d1:	8d 76 00             	lea    0x0(%esi),%esi                 
      status = (*the_extension->Callouts.thread_create)(              
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
      if ( !status )                                                  
        return false;                                                 
  10e4d4:	31 c0                	xor    %eax,%eax                      
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
  10e4d6:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10e4d9:	5b                   	pop    %ebx                           
  10e4da:	5e                   	pop    %esi                           
  10e4db:	c9                   	leave                                 
  10e4dc:	c3                   	ret                                   
                                                                      

0010e4e0 <_User_extensions_Thread_delete>: #include <rtems/score/userext.h> void _User_extensions_Thread_delete ( Thread_Control *the_thread ) {
  10e4e0:	55                   	push   %ebp                           
  10e4e1:	89 e5                	mov    %esp,%ebp                      
  10e4e3:	56                   	push   %esi                           
  10e4e4:	53                   	push   %ebx                           
  10e4e5:	8b 75 08             	mov    0x8(%ebp),%esi                 
      (*the_extension->Callouts.thread_delete)(                       
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
  10e4e8:	8b 1d d4 56 12 00    	mov    0x1256d4,%ebx                  
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
  10e4ee:	81 fb cc 56 12 00    	cmp    $0x1256cc,%ebx                 
  10e4f4:	74 23                	je     10e519 <_User_extensions_Thread_delete+0x39><== NEVER TAKEN
  10e4f6:	66 90                	xchg   %ax,%ax                        
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_delete != NULL )              
  10e4f8:	8b 43 20             	mov    0x20(%ebx),%eax                
  10e4fb:	85 c0                	test   %eax,%eax                      
  10e4fd:	74 0f                	je     10e50e <_User_extensions_Thread_delete+0x2e>
      (*the_extension->Callouts.thread_delete)(                       
  10e4ff:	83 ec 08             	sub    $0x8,%esp                      
  10e502:	56                   	push   %esi                           
  10e503:	ff 35 38 57 12 00    	pushl  0x125738                       
  10e509:	ff d0                	call   *%eax                          
  10e50b:	83 c4 10             	add    $0x10,%esp                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
  10e50e:	8b 5b 04             	mov    0x4(%ebx),%ebx                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
  10e511:	81 fb cc 56 12 00    	cmp    $0x1256cc,%ebx                 
  10e517:	75 df                	jne    10e4f8 <_User_extensions_Thread_delete+0x18>
      (*the_extension->Callouts.thread_delete)(                       
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
  10e519:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10e51c:	5b                   	pop    %ebx                           
  10e51d:	5e                   	pop    %esi                           
  10e51e:	c9                   	leave                                 
  10e51f:	c3                   	ret                                   
                                                                      

0010e400 <_User_extensions_Thread_exitted>: void _User_extensions_Thread_exitted ( Thread_Control *executing ) {
  10e400:	55                   	push   %ebp                           
  10e401:	89 e5                	mov    %esp,%ebp                      
  10e403:	56                   	push   %esi                           
  10e404:	53                   	push   %ebx                           
  10e405:	8b 75 08             	mov    0x8(%ebp),%esi                 
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
  10e408:	8b 1d d4 56 12 00    	mov    0x1256d4,%ebx                  
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
  10e40e:	81 fb cc 56 12 00    	cmp    $0x1256cc,%ebx                 
  10e414:	74 1d                	je     10e433 <_User_extensions_Thread_exitted+0x33><== NEVER TAKEN
  10e416:	66 90                	xchg   %ax,%ax                        
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
  10e418:	8b 43 2c             	mov    0x2c(%ebx),%eax                
  10e41b:	85 c0                	test   %eax,%eax                      
  10e41d:	74 09                	je     10e428 <_User_extensions_Thread_exitted+0x28>
      (*the_extension->Callouts.thread_exitted)( executing );         
  10e41f:	83 ec 0c             	sub    $0xc,%esp                      
  10e422:	56                   	push   %esi                           
  10e423:	ff d0                	call   *%eax                          
  10e425:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
  10e428:	8b 5b 04             	mov    0x4(%ebx),%ebx                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
  10e42b:	81 fb cc 56 12 00    	cmp    $0x1256cc,%ebx                 
  10e431:	75 e5                	jne    10e418 <_User_extensions_Thread_exitted+0x18>
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
      (*the_extension->Callouts.thread_exitted)( executing );         
  }                                                                   
}                                                                     
  10e433:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10e436:	5b                   	pop    %ebx                           
  10e437:	5e                   	pop    %esi                           
  10e438:	c9                   	leave                                 
  10e439:	c3                   	ret                                   
                                                                      

0010f0e4 <_User_extensions_Thread_restart>: #include <rtems/score/userext.h> void _User_extensions_Thread_restart ( Thread_Control *the_thread ) {
  10f0e4:	55                   	push   %ebp                           
  10f0e5:	89 e5                	mov    %esp,%ebp                      
  10f0e7:	56                   	push   %esi                           
  10f0e8:	53                   	push   %ebx                           
  10f0e9:	8b 75 08             	mov    0x8(%ebp),%esi                 
      (*the_extension->Callouts.thread_restart)(                      
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
  10f0ec:	8b 1d 4c 77 12 00    	mov    0x12774c,%ebx                  
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
  10f0f2:	81 fb 50 77 12 00    	cmp    $0x127750,%ebx                 
  10f0f8:	74 22                	je     10f11c <_User_extensions_Thread_restart+0x38><== NEVER TAKEN
  10f0fa:	66 90                	xchg   %ax,%ax                        
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_restart != NULL )             
  10f0fc:	8b 43 1c             	mov    0x1c(%ebx),%eax                
  10f0ff:	85 c0                	test   %eax,%eax                      
  10f101:	74 0f                	je     10f112 <_User_extensions_Thread_restart+0x2e>
      (*the_extension->Callouts.thread_restart)(                      
  10f103:	83 ec 08             	sub    $0x8,%esp                      
  10f106:	56                   	push   %esi                           
  10f107:	ff 35 b8 77 12 00    	pushl  0x1277b8                       
  10f10d:	ff d0                	call   *%eax                          
  10f10f:	83 c4 10             	add    $0x10,%esp                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
  10f112:	8b 1b                	mov    (%ebx),%ebx                    
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
  10f114:	81 fb 50 77 12 00    	cmp    $0x127750,%ebx                 
  10f11a:	75 e0                	jne    10f0fc <_User_extensions_Thread_restart+0x18>
      (*the_extension->Callouts.thread_restart)(                      
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
  10f11c:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10f11f:	5b                   	pop    %ebx                           
  10f120:	5e                   	pop    %esi                           
  10f121:	c9                   	leave                                 
  10f122:	c3                   	ret                                   
                                                                      

0010e520 <_User_extensions_Thread_start>: #include <rtems/score/userext.h> void _User_extensions_Thread_start ( Thread_Control *the_thread ) {
  10e520:	55                   	push   %ebp                           
  10e521:	89 e5                	mov    %esp,%ebp                      
  10e523:	56                   	push   %esi                           
  10e524:	53                   	push   %ebx                           
  10e525:	8b 75 08             	mov    0x8(%ebp),%esi                 
      (*the_extension->Callouts.thread_start)(                        
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
  10e528:	8b 1d cc 56 12 00    	mov    0x1256cc,%ebx                  
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
  10e52e:	81 fb d0 56 12 00    	cmp    $0x1256d0,%ebx                 
  10e534:	74 22                	je     10e558 <_User_extensions_Thread_start+0x38><== NEVER TAKEN
  10e536:	66 90                	xchg   %ax,%ax                        
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_start != NULL )               
  10e538:	8b 43 18             	mov    0x18(%ebx),%eax                
  10e53b:	85 c0                	test   %eax,%eax                      
  10e53d:	74 0f                	je     10e54e <_User_extensions_Thread_start+0x2e>
      (*the_extension->Callouts.thread_start)(                        
  10e53f:	83 ec 08             	sub    $0x8,%esp                      
  10e542:	56                   	push   %esi                           
  10e543:	ff 35 38 57 12 00    	pushl  0x125738                       
  10e549:	ff d0                	call   *%eax                          
  10e54b:	83 c4 10             	add    $0x10,%esp                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
  10e54e:	8b 1b                	mov    (%ebx),%ebx                    
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
  10e550:	81 fb d0 56 12 00    	cmp    $0x1256d0,%ebx                 
  10e556:	75 e0                	jne    10e538 <_User_extensions_Thread_start+0x18>
      (*the_extension->Callouts.thread_start)(                        
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
  10e558:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10e55b:	5b                   	pop    %ebx                           
  10e55c:	5e                   	pop    %esi                           
  10e55d:	c9                   	leave                                 
  10e55e:	c3                   	ret                                   
                                                                      

0010e560 <_User_extensions_Thread_switch>: void _User_extensions_Thread_switch ( Thread_Control *executing, Thread_Control *heir ) {
  10e560:	55                   	push   %ebp                           
  10e561:	89 e5                	mov    %esp,%ebp                      
  10e563:	57                   	push   %edi                           
  10e564:	56                   	push   %esi                           
  10e565:	53                   	push   %ebx                           
  10e566:	83 ec 0c             	sub    $0xc,%esp                      
  10e569:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10e56c:	8b 75 0c             	mov    0xc(%ebp),%esi                 
                                                                      
    the_extension_switch = (User_extensions_Switch_control *) the_node;
                                                                      
    (*the_extension_switch->thread_switch)( executing, heir );        
  }                                                                   
}                                                                     
  10e56f:	8b 1d 74 54 12 00    	mov    0x125474,%ebx                  
)                                                                     
{                                                                     
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
  10e575:	81 fb 78 54 12 00    	cmp    $0x125478,%ebx                 
  10e57b:	74 18                	je     10e595 <_User_extensions_Thread_switch+0x35><== NEVER TAKEN
  10e57d:	8d 76 00             	lea    0x0(%esi),%esi                 
        !_Chain_Is_tail( &_User_extensions_Switches_list, the_node ) ;
        the_node = the_node->next ) {                                 
                                                                      
    the_extension_switch = (User_extensions_Switch_control *) the_node;
                                                                      
    (*the_extension_switch->thread_switch)( executing, heir );        
  10e580:	83 ec 08             	sub    $0x8,%esp                      
  10e583:	56                   	push   %esi                           
  10e584:	57                   	push   %edi                           
  10e585:	ff 53 08             	call   *0x8(%ebx)                     
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
        !_Chain_Is_tail( &_User_extensions_Switches_list, the_node ) ;
        the_node = the_node->next ) {                                 
  10e588:	8b 1b                	mov    (%ebx),%ebx                    
)                                                                     
{                                                                     
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
  10e58a:	83 c4 10             	add    $0x10,%esp                     
  10e58d:	81 fb 78 54 12 00    	cmp    $0x125478,%ebx                 
  10e593:	75 eb                	jne    10e580 <_User_extensions_Thread_switch+0x20>
                                                                      
    the_extension_switch = (User_extensions_Switch_control *) the_node;
                                                                      
    (*the_extension_switch->thread_switch)( executing, heir );        
  }                                                                   
}                                                                     
  10e595:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e598:	5b                   	pop    %ebx                           
  10e599:	5e                   	pop    %esi                           
  10e59a:	5f                   	pop    %edi                           
  10e59b:	c9                   	leave                                 
  10e59c:	c3                   	ret                                   
                                                                      

0010fe94 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
  10fe94:	55                   	push   %ebp                           
  10fe95:	89 e5                	mov    %esp,%ebp                      
  10fe97:	57                   	push   %edi                           
  10fe98:	56                   	push   %esi                           
  10fe99:	53                   	push   %ebx                           
  10fe9a:	83 ec 1c             	sub    $0x1c,%esp                     
  10fe9d:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10fea0:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10fea3:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
  10fea6:	9c                   	pushf                                 
  10fea7:	fa                   	cli                                   
  10fea8:	58                   	pop    %eax                           
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
  10fea9:	8b 16                	mov    (%esi),%edx                    
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  10feab:	8d 7e 04             	lea    0x4(%esi),%edi                 
  10feae:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
  10feb1:	39 fa                	cmp    %edi,%edx                      
  10feb3:	74 3d                	je     10fef2 <_Watchdog_Adjust+0x5e> 
    switch ( direction ) {                                            
  10feb5:	85 c9                	test   %ecx,%ecx                      
  10feb7:	75 43                	jne    10fefc <_Watchdog_Adjust+0x68> 
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
  10feb9:	85 db                	test   %ebx,%ebx                      
  10febb:	74 35                	je     10fef2 <_Watchdog_Adjust+0x5e> <== NEVER TAKEN
          if ( units < _Watchdog_First( header )->delta_interval ) {  
  10febd:	8b 7a 10             	mov    0x10(%edx),%edi                
  10fec0:	39 fb                	cmp    %edi,%ebx                      
  10fec2:	73 0f                	jae    10fed3 <_Watchdog_Adjust+0x3f> <== ALWAYS TAKEN
  10fec4:	eb 3e                	jmp    10ff04 <_Watchdog_Adjust+0x70> <== NOT EXECUTED
  10fec6:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
  10fec8:	29 fb                	sub    %edi,%ebx                      
  10feca:	74 26                	je     10fef2 <_Watchdog_Adjust+0x5e> <== NEVER TAKEN
          if ( units < _Watchdog_First( header )->delta_interval ) {  
  10fecc:	8b 7a 10             	mov    0x10(%edx),%edi                
  10fecf:	39 df                	cmp    %ebx,%edi                      
  10fed1:	77 31                	ja     10ff04 <_Watchdog_Adjust+0x70> 
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
  10fed3:	c7 42 10 01 00 00 00 	movl   $0x1,0x10(%edx)                
                                                                      
            _ISR_Enable( level );                                     
  10feda:	50                   	push   %eax                           
  10fedb:	9d                   	popf                                  
                                                                      
            _Watchdog_Tickle( header );                               
  10fedc:	83 ec 0c             	sub    $0xc,%esp                      
  10fedf:	56                   	push   %esi                           
  10fee0:	e8 d3 01 00 00       	call   1100b8 <_Watchdog_Tickle>      
                                                                      
            _ISR_Disable( level );                                    
  10fee5:	9c                   	pushf                                 
  10fee6:	fa                   	cli                                   
  10fee7:	58                   	pop    %eax                           
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
  10fee8:	8b 16                	mov    (%esi),%edx                    
                                                                      
            _Watchdog_Tickle( header );                               
                                                                      
            _ISR_Disable( level );                                    
                                                                      
            if ( _Chain_Is_empty( header ) )                          
  10feea:	83 c4 10             	add    $0x10,%esp                     
  10feed:	39 55 e4             	cmp    %edx,-0x1c(%ebp)               
  10fef0:	75 d6                	jne    10fec8 <_Watchdog_Adjust+0x34> 
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  10fef2:	50                   	push   %eax                           
  10fef3:	9d                   	popf                                  
                                                                      
}                                                                     
  10fef4:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10fef7:	5b                   	pop    %ebx                           
  10fef8:	5e                   	pop    %esi                           
  10fef9:	5f                   	pop    %edi                           
  10fefa:	c9                   	leave                                 
  10fefb:	c3                   	ret                                   
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
    switch ( direction ) {                                            
  10fefc:	49                   	dec    %ecx                           
  10fefd:	75 f3                	jne    10fef2 <_Watchdog_Adjust+0x5e> <== NEVER TAKEN
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
  10feff:	01 5a 10             	add    %ebx,0x10(%edx)                
        break;                                                        
  10ff02:	eb ee                	jmp    10fef2 <_Watchdog_Adjust+0x5e> 
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
  10ff04:	29 df                	sub    %ebx,%edi                      
  10ff06:	89 7a 10             	mov    %edi,0x10(%edx)                
            break;                                                    
  10ff09:	eb e7                	jmp    10fef2 <_Watchdog_Adjust+0x5e> 
                                                                      

0010e5a0 <_Watchdog_Insert>: void _Watchdog_Insert( Chain_Control *header, Watchdog_Control *the_watchdog ) {
  10e5a0:	55                   	push   %ebp                           
  10e5a1:	89 e5                	mov    %esp,%ebp                      
  10e5a3:	57                   	push   %edi                           
  10e5a4:	56                   	push   %esi                           
  10e5a5:	53                   	push   %ebx                           
  10e5a6:	83 ec 04             	sub    $0x4,%esp                      
  10e5a9:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Watchdog_Control  *after;                                           
  uint32_t           insert_isr_nest_level;                           
  Watchdog_Interval  delta_interval;                                  
                                                                      
                                                                      
  insert_isr_nest_level   = _ISR_Nest_level;                          
  10e5ac:	8b 3d 34 57 12 00    	mov    0x125734,%edi                  
                                                                      
  _ISR_Disable( level );                                              
  10e5b2:	9c                   	pushf                                 
  10e5b3:	fa                   	cli                                   
  10e5b4:	8f 45 f0             	popl   -0x10(%ebp)                    
  /*                                                                  
   *  Check to see if the watchdog has just been inserted by a        
   *  higher priority interrupt.  If so, abandon this insert.         
   */                                                                 
                                                                      
  if ( the_watchdog->state != WATCHDOG_INACTIVE ) {                   
  10e5b7:	8b 43 08             	mov    0x8(%ebx),%eax                 
  10e5ba:	85 c0                	test   %eax,%eax                      
  10e5bc:	0f 85 9e 00 00 00    	jne    10e660 <_Watchdog_Insert+0xc0> 
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
  10e5c2:	c7 43 08 01 00 00 00 	movl   $0x1,0x8(%ebx)                 
  _Watchdog_Sync_count++;                                             
  10e5c9:	a1 e0 55 12 00       	mov    0x1255e0,%eax                  
  10e5ce:	40                   	inc    %eax                           
  10e5cf:	a3 e0 55 12 00       	mov    %eax,0x1255e0                  
                                                                      
restart:                                                              
  delta_interval = the_watchdog->initial;                             
  10e5d4:	8b 43 0c             	mov    0xc(%ebx),%eax                 
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) _Chain_First( header ) );             
  10e5d7:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10e5da:	8b 11                	mov    (%ecx),%edx                    
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
  10e5dc:	85 c0                	test   %eax,%eax                      
  10e5de:	74 5d                	je     10e63d <_Watchdog_Insert+0x9d> 
  10e5e0:	8b 32                	mov    (%edx),%esi                    
  10e5e2:	85 f6                	test   %esi,%esi                      
  10e5e4:	74 57                	je     10e63d <_Watchdog_Insert+0x9d> 
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
  10e5e6:	8b 4a 10             	mov    0x10(%edx),%ecx                
  10e5e9:	39 c8                	cmp    %ecx,%eax                      
  10e5eb:	73 22                	jae    10e60f <_Watchdog_Insert+0x6f> 
  10e5ed:	eb 49                	jmp    10e638 <_Watchdog_Insert+0x98> 
  10e5ef:	90                   	nop                                   
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
  10e5f0:	8b 35 60 55 12 00    	mov    0x125560,%esi                  
  10e5f6:	39 f7                	cmp    %esi,%edi                      
  10e5f8:	72 72                	jb     10e66c <_Watchdog_Insert+0xcc> 
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
  10e5fa:	29 c8                	sub    %ecx,%eax                      
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
  _Watchdog_Sync_count--;                                             
  _ISR_Enable( level );                                               
}                                                                     
  10e5fc:	8b 12                	mov    (%edx),%edx                    
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
  10e5fe:	85 c0                	test   %eax,%eax                      
  10e600:	74 3b                	je     10e63d <_Watchdog_Insert+0x9d> 
  10e602:	8b 0a                	mov    (%edx),%ecx                    
  10e604:	85 c9                	test   %ecx,%ecx                      
  10e606:	74 35                	je     10e63d <_Watchdog_Insert+0x9d> 
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
  10e608:	8b 4a 10             	mov    0x10(%edx),%ecx                
  10e60b:	39 c1                	cmp    %eax,%ecx                      
  10e60d:	77 29                	ja     10e638 <_Watchdog_Insert+0x98> 
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
                                                                      
     _ISR_Flash( level );                                             
  10e60f:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10e612:	9d                   	popf                                  
  10e613:	fa                   	cli                                   
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
  10e614:	83 7b 08 01          	cmpl   $0x1,0x8(%ebx)                 
  10e618:	74 d6                	je     10e5f0 <_Watchdog_Insert+0x50> 
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
  10e61a:	89 3d 60 55 12 00    	mov    %edi,0x125560                  
  _Watchdog_Sync_count--;                                             
  10e620:	a1 e0 55 12 00       	mov    0x1255e0,%eax                  
  10e625:	48                   	dec    %eax                           
  10e626:	a3 e0 55 12 00       	mov    %eax,0x1255e0                  
  _ISR_Enable( level );                                               
  10e62b:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10e62e:	9d                   	popf                                  
}                                                                     
  10e62f:	58                   	pop    %eax                           
  10e630:	5b                   	pop    %ebx                           
  10e631:	5e                   	pop    %esi                           
  10e632:	5f                   	pop    %edi                           
  10e633:	c9                   	leave                                 
  10e634:	c3                   	ret                                   
  10e635:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
  10e638:	29 c1                	sub    %eax,%ecx                      
  10e63a:	89 4a 10             	mov    %ecx,0x10(%edx)                
RTEMS_INLINE_ROUTINE void _Watchdog_Activate(                         
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_ACTIVE;                              
  10e63d:	c7 43 08 02 00 00 00 	movl   $0x2,0x8(%ebx)                 
     }                                                                
  }                                                                   
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
  10e644:	89 43 10             	mov    %eax,0x10(%ebx)                
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
  10e647:	8b 42 04             	mov    0x4(%edx),%eax                 
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  10e64a:	89 43 04             	mov    %eax,0x4(%ebx)                 
  before_node           = after_node->next;                           
  10e64d:	8b 10                	mov    (%eax),%edx                    
  after_node->next      = the_node;                                   
  10e64f:	89 18                	mov    %ebx,(%eax)                    
  the_node->next        = before_node;                                
  10e651:	89 13                	mov    %edx,(%ebx)                    
  before_node->previous = the_node;                                   
  10e653:	89 5a 04             	mov    %ebx,0x4(%edx)                 
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
  10e656:	a1 e4 55 12 00       	mov    0x1255e4,%eax                  
  10e65b:	89 43 14             	mov    %eax,0x14(%ebx)                
  10e65e:	eb ba                	jmp    10e61a <_Watchdog_Insert+0x7a> 
   *  Check to see if the watchdog has just been inserted by a        
   *  higher priority interrupt.  If so, abandon this insert.         
   */                                                                 
                                                                      
  if ( the_watchdog->state != WATCHDOG_INACTIVE ) {                   
    _ISR_Enable( level );                                             
  10e660:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10e663:	9d                   	popf                                  
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
  _Watchdog_Sync_count--;                                             
  _ISR_Enable( level );                                               
}                                                                     
  10e664:	58                   	pop    %eax                           
  10e665:	5b                   	pop    %ebx                           
  10e666:	5e                   	pop    %esi                           
  10e667:	5f                   	pop    %edi                           
  10e668:	c9                   	leave                                 
  10e669:	c3                   	ret                                   
  10e66a:	66 90                	xchg   %ax,%ax                        
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
       _Watchdog_Sync_level = insert_isr_nest_level;                  
  10e66c:	89 3d 60 55 12 00    	mov    %edi,0x125560                  
       goto restart;                                                  
  10e672:	e9 5d ff ff ff       	jmp    10e5d4 <_Watchdog_Insert+0x34> 
                                                                      

0010e6e0 <_Watchdog_Remove>: */ Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog ) {
  10e6e0:	55                   	push   %ebp                           
  10e6e1:	89 e5                	mov    %esp,%ebp                      
  10e6e3:	56                   	push   %esi                           
  10e6e4:	53                   	push   %ebx                           
  10e6e5:	8b 55 08             	mov    0x8(%ebp),%edx                 
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  10e6e8:	9c                   	pushf                                 
  10e6e9:	fa                   	cli                                   
  10e6ea:	59                   	pop    %ecx                           
  previous_state = the_watchdog->state;                               
  10e6eb:	8b 42 08             	mov    0x8(%edx),%eax                 
  switch ( previous_state ) {                                         
  10e6ee:	83 f8 01             	cmp    $0x1,%eax                      
  10e6f1:	74 4d                	je     10e740 <_Watchdog_Remove+0x60> 
  10e6f3:	73 0f                	jae    10e704 <_Watchdog_Remove+0x24> 
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
  10e6f5:	8b 1d e4 55 12 00    	mov    0x1255e4,%ebx                  
  10e6fb:	89 5a 18             	mov    %ebx,0x18(%edx)                
                                                                      
  _ISR_Enable( level );                                               
  10e6fe:	51                   	push   %ecx                           
  10e6ff:	9d                   	popf                                  
  return( previous_state );                                           
}                                                                     
  10e700:	5b                   	pop    %ebx                           
  10e701:	5e                   	pop    %esi                           
  10e702:	c9                   	leave                                 
  10e703:	c3                   	ret                                   
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  previous_state = the_watchdog->state;                               
  switch ( previous_state ) {                                         
  10e704:	83 f8 03             	cmp    $0x3,%eax                      
  10e707:	77 ec                	ja     10e6f5 <_Watchdog_Remove+0x15> <== NEVER TAKEN
      break;                                                          
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
  10e709:	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 );                                           
}                                                                     
  10e710:	8b 1a                	mov    (%edx),%ebx                    
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
  10e712:	8b 33                	mov    (%ebx),%esi                    
  10e714:	85 f6                	test   %esi,%esi                      
  10e716:	74 06                	je     10e71e <_Watchdog_Remove+0x3e> 
        next_watchdog->delta_interval += the_watchdog->delta_interval;
  10e718:	8b 72 10             	mov    0x10(%edx),%esi                
  10e71b:	01 73 10             	add    %esi,0x10(%ebx)                
                                                                      
      if ( _Watchdog_Sync_count )                                     
  10e71e:	8b 35 e0 55 12 00    	mov    0x1255e0,%esi                  
  10e724:	85 f6                	test   %esi,%esi                      
  10e726:	74 0c                	je     10e734 <_Watchdog_Remove+0x54> 
        _Watchdog_Sync_level = _ISR_Nest_level;                       
  10e728:	8b 35 34 57 12 00    	mov    0x125734,%esi                  
  10e72e:	89 35 60 55 12 00    	mov    %esi,0x125560                  
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  10e734:	8b 72 04             	mov    0x4(%edx),%esi                 
  next->previous = previous;                                          
  10e737:	89 73 04             	mov    %esi,0x4(%ebx)                 
  previous->next = next;                                              
  10e73a:	89 1e                	mov    %ebx,(%esi)                    
  10e73c:	eb b7                	jmp    10e6f5 <_Watchdog_Remove+0x15> 
  10e73e:	66 90                	xchg   %ax,%ax                        
                                                                      
      /*                                                              
       *  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;                        
  10e740:	c7 42 08 00 00 00 00 	movl   $0x0,0x8(%edx)                 
      break;                                                          
  10e747:	eb ac                	jmp    10e6f5 <_Watchdog_Remove+0x15> 
                                                                      

0010fa94 <_Watchdog_Report>: void _Watchdog_Report( const char *name, Watchdog_Control *watch ) {
  10fa94:	55                   	push   %ebp                           
  10fa95:	89 e5                	mov    %esp,%ebp                      
  10fa97:	57                   	push   %edi                           
  10fa98:	56                   	push   %esi                           
  10fa99:	53                   	push   %ebx                           
  10fa9a:	83 ec 2c             	sub    $0x2c,%esp                     
  10fa9d:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10faa0:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  printk(                                                             
  10faa3:	8b 78 24             	mov    0x24(%eax),%edi                
  10faa6:	8b 70 20             	mov    0x20(%eax),%esi                
  10faa9:	8b 58 1c             	mov    0x1c(%eax),%ebx                
  10faac:	8b 48 0c             	mov    0xc(%eax),%ecx                 
  10faaf:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  10fab2:	8b 48 10             	mov    0x10(%eax),%ecx                
  10fab5:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  10fab8:	85 d2                	test   %edx,%edx                      
  10faba:	74 2c                	je     10fae8 <_Watchdog_Report+0x54> 
  10fabc:	b9 03 18 12 00       	mov    $0x121803,%ecx                 
  10fac1:	83 ec 0c             	sub    $0xc,%esp                      
  10fac4:	57                   	push   %edi                           
  10fac5:	56                   	push   %esi                           
  10fac6:	53                   	push   %ebx                           
  10fac7:	50                   	push   %eax                           
  10fac8:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10facb:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10face:	51                   	push   %ecx                           
  10facf:	52                   	push   %edx                           
  10fad0:	68 66 22 12 00       	push   $0x122266                      
  10fad5:	e8 be 9f ff ff       	call   109a98 <printk>                
  10fada:	83 c4 30             	add    $0x30,%esp                     
    watch,                                                            
    watch->routine,                                                   
    watch->id,                                                        
    watch->user_data                                                  
  );                                                                  
}                                                                     
  10fadd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10fae0:	5b                   	pop    %ebx                           
  10fae1:	5e                   	pop    %esi                           
  10fae2:	5f                   	pop    %edi                           
  10fae3:	c9                   	leave                                 
  10fae4:	c3                   	ret                                   
  10fae5:	8d 76 00             	lea    0x0(%esi),%esi                 
void _Watchdog_Report(                                                
  const char        *name,                                            
  Watchdog_Control  *watch                                            
)                                                                     
{                                                                     
  printk(                                                             
  10fae8:	b9 c9 20 12 00       	mov    $0x1220c9,%ecx                 
  10faed:	89 ca                	mov    %ecx,%edx                      
  10faef:	eb d0                	jmp    10fac1 <_Watchdog_Report+0x2d> 
                                                                      

0010fa24 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
  10fa24:	55                   	push   %ebp                           
  10fa25:	89 e5                	mov    %esp,%ebp                      
  10fa27:	57                   	push   %edi                           
  10fa28:	56                   	push   %esi                           
  10fa29:	53                   	push   %ebx                           
  10fa2a:	83 ec 20             	sub    $0x20,%esp                     
  10fa2d:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10fa30:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
  10fa33:	9c                   	pushf                                 
  10fa34:	fa                   	cli                                   
  10fa35:	8f 45 e4             	popl   -0x1c(%ebp)                    
    printk( "Watchdog Chain: %s %p\n", name, header );                
  10fa38:	56                   	push   %esi                           
  10fa39:	57                   	push   %edi                           
  10fa3a:	68 30 22 12 00       	push   $0x122230                      
  10fa3f:	e8 54 a0 ff ff       	call   109a98 <printk>                
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
  10fa44:	8b 1e                	mov    (%esi),%ebx                    
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  10fa46:	83 c6 04             	add    $0x4,%esi                      
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
  10fa49:	83 c4 10             	add    $0x10,%esp                     
  10fa4c:	39 f3                	cmp    %esi,%ebx                      
  10fa4e:	74 31                	je     10fa81 <_Watchdog_Report_chain+0x5d>
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
  10fa50:	83 ec 08             	sub    $0x8,%esp                      
  10fa53:	53                   	push   %ebx                           
  10fa54:	6a 00                	push   $0x0                           
  10fa56:	e8 39 00 00 00       	call   10fa94 <_Watchdog_Report>      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = _Chain_First( header ) ;                           
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
  10fa5b:	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 = _Chain_First( header ) ;                           
  10fa5d:	83 c4 10             	add    $0x10,%esp                     
  10fa60:	39 f3                	cmp    %esi,%ebx                      
  10fa62:	75 ec                	jne    10fa50 <_Watchdog_Report_chain+0x2c><== NEVER TAKEN
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
  10fa64:	83 ec 08             	sub    $0x8,%esp                      
  10fa67:	57                   	push   %edi                           
  10fa68:	68 47 22 12 00       	push   $0x122247                      
  10fa6d:	e8 26 a0 ff ff       	call   109a98 <printk>                
  10fa72:	83 c4 10             	add    $0x10,%esp                     
    } else {                                                          
      printk( "Chain is empty\n" );                                   
    }                                                                 
  _ISR_Enable( level );                                               
  10fa75:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10fa78:	9d                   	popf                                  
}                                                                     
  10fa79:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10fa7c:	5b                   	pop    %ebx                           
  10fa7d:	5e                   	pop    %esi                           
  10fa7e:	5f                   	pop    %edi                           
  10fa7f:	c9                   	leave                                 
  10fa80:	c3                   	ret                                   
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
  10fa81:	83 ec 0c             	sub    $0xc,%esp                      
  10fa84:	68 56 22 12 00       	push   $0x122256                      
  10fa89:	e8 0a a0 ff ff       	call   109a98 <printk>                
  10fa8e:	83 c4 10             	add    $0x10,%esp                     
  10fa91:	eb e2                	jmp    10fa75 <_Watchdog_Report_chain+0x51>
                                                                      

0010e7b8 <_Workspace_Handler_initialization>: /* * _Workspace_Handler_initialization */ void _Workspace_Handler_initialization(void) {
  10e7b8:	55                   	push   %ebp                           
  10e7b9:	89 e5                	mov    %esp,%ebp                      
  10e7bb:	57                   	push   %edi                           
  10e7bc:	53                   	push   %ebx                           
  uintptr_t memory_available = 0;                                     
  void *starting_address = Configuration.work_space_start;            
  10e7bd:	8b 1d 20 12 12 00    	mov    0x121220,%ebx                  
  uintptr_t size = Configuration.work_space_size;                     
  10e7c3:	8b 15 24 12 12 00    	mov    0x121224,%edx                  
                                                                      
  if ( Configuration.do_zero_of_workspace )                           
  10e7c9:	80 3d 4c 12 12 00 00 	cmpb   $0x0,0x12124c                  
  10e7d0:	75 1e                	jne    10e7f0 <_Workspace_Handler_initialization+0x38>
   memset( starting_address, 0, size );                               
                                                                      
  memory_available = _Heap_Initialize(                                
  10e7d2:	6a 04                	push   $0x4                           
  10e7d4:	52                   	push   %edx                           
  10e7d5:	53                   	push   %ebx                           
  10e7d6:	68 a0 54 12 00       	push   $0x1254a0                      
  10e7db:	e8 3c de ff ff       	call   10c61c <_Heap_Initialize>      
    starting_address,                                                 
    size,                                                             
    CPU_HEAP_ALIGNMENT                                                
  );                                                                  
                                                                      
  if ( memory_available == 0 )                                        
  10e7e0:	83 c4 10             	add    $0x10,%esp                     
  10e7e3:	85 c0                	test   %eax,%eax                      
  10e7e5:	74 13                	je     10e7fa <_Workspace_Handler_initialization+0x42>
    _Internal_error_Occurred(                                         
      INTERNAL_ERROR_CORE,                                            
      true,                                                           
      INTERNAL_ERROR_TOO_LITTLE_WORKSPACE                             
    );                                                                
}                                                                     
  10e7e7:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10e7ea:	5b                   	pop    %ebx                           
  10e7eb:	5f                   	pop    %edi                           
  10e7ec:	c9                   	leave                                 
  10e7ed:	c3                   	ret                                   
  10e7ee:	66 90                	xchg   %ax,%ax                        
  uintptr_t memory_available = 0;                                     
  void *starting_address = Configuration.work_space_start;            
  uintptr_t size = Configuration.work_space_size;                     
                                                                      
  if ( Configuration.do_zero_of_workspace )                           
   memset( starting_address, 0, size );                               
  10e7f0:	31 c0                	xor    %eax,%eax                      
  10e7f2:	89 df                	mov    %ebx,%edi                      
  10e7f4:	89 d1                	mov    %edx,%ecx                      
  10e7f6:	f3 aa                	rep stos %al,%es:(%edi)               
  10e7f8:	eb d8                	jmp    10e7d2 <_Workspace_Handler_initialization+0x1a>
    size,                                                             
    CPU_HEAP_ALIGNMENT                                                
  );                                                                  
                                                                      
  if ( memory_available == 0 )                                        
    _Internal_error_Occurred(                                         
  10e7fa:	50                   	push   %eax                           
  10e7fb:	6a 02                	push   $0x2                           
  10e7fd:	6a 01                	push   $0x1                           
  10e7ff:	6a 00                	push   $0x0                           
  10e801:	e8 1e e0 ff ff       	call   10c824 <_Internal_error_Occurred>
                                                                      

00122f14 <__kill>: #endif int __kill( pid_t pid, int sig ) {
  122f14:	55                   	push   %ebp                           <== NOT EXECUTED
  122f15:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  return 0;                                                           
}                                                                     
  122f17:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  122f19:	c9                   	leave                                 <== NOT EXECUTED
  122f1a:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

001081a4 <_gettimeofday>: int _gettimeofday( struct timeval *tp, struct timezone *tzp ) {
  1081a4:	55                   	push   %ebp                           <== NOT EXECUTED
  1081a5:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  1081a7:	83 ec 08             	sub    $0x8,%esp                      <== NOT EXECUTED
  return gettimeofday( tp, tzp );                                     
}                                                                     
  1081aa:	c9                   	leave                                 <== NOT EXECUTED
int _gettimeofday(                                                    
  struct timeval  *tp,                                                
  struct timezone *tzp                                                
)                                                                     
{                                                                     
  return gettimeofday( tp, tzp );                                     
  1081ab:	e9 80 ff ff ff       	jmp    108130 <gettimeofday>          <== NOT EXECUTED
                                                                      

0010c4ac <_rename_r>: int _rename_r( struct _reent *ptr __attribute__((unused)), const char *old, const char *new ) {
  10c4ac:	55                   	push   %ebp                           
  10c4ad:	89 e5                	mov    %esp,%ebp                      
  10c4af:	57                   	push   %edi                           
  10c4b0:	56                   	push   %esi                           
  10c4b1:	53                   	push   %ebx                           
  10c4b2:	83 ec 78             	sub    $0x78,%esp                     
  10c4b5:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
  10c4b8:	53                   	push   %ebx                           
  10c4b9:	e8 52 ea ff ff       	call   10af10 <rtems_filesystem_dirname>
                                                                      
  if ( old_parent_pathlen == 0 )                                      
  10c4be:	83 c4 10             	add    $0x10,%esp                     
  10c4c1:	85 c0                	test   %eax,%eax                      
  10c4c3:	0f 85 57 01 00 00    	jne    10c620 <_rename_r+0x174>       
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
  10c4c9:	52                   	push   %edx                           
  10c4ca:	8d 45 b8             	lea    -0x48(%ebp),%eax               
  10c4cd:	89 45 94             	mov    %eax,-0x6c(%ebp)               
  10c4d0:	50                   	push   %eax                           
  10c4d1:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10c4d4:	50                   	push   %eax                           
  10c4d5:	53                   	push   %ebx                           
  10c4d6:	e8 e1 03 00 00       	call   10c8bc <rtems_filesystem_get_start_loc>
  10c4db:	83 c4 10             	add    $0x10,%esp                     
  10c4de:	31 d2                	xor    %edx,%edx                      
  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;     
  10c4e0:	c6 45 93 00          	movb   $0x0,-0x6d(%ebp)               
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
  10c4e4:	8d 7d cc             	lea    -0x34(%ebp),%edi               
  10c4e7:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  10c4ec:	8b 75 94             	mov    -0x6c(%ebp),%esi               
  10c4ef:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  name = old + old_parent_pathlen;                                    
  10c4f1:	01 d3                	add    %edx,%ebx                      
  10c4f3:	89 5d e0             	mov    %ebx,-0x20(%ebp)               
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
  10c4f6:	be ff ff ff ff       	mov    $0xffffffff,%esi               
  10c4fb:	89 f1                	mov    %esi,%ecx                      
  10c4fd:	89 df                	mov    %ebx,%edi                      
  10c4ff:	31 c0                	xor    %eax,%eax                      
  10c501:	f2 ae                	repnz scas %es:(%edi),%al             
  10c503:	f7 d1                	not    %ecx                           
  10c505:	49                   	dec    %ecx                           
  10c506:	83 ec 08             	sub    $0x8,%esp                      
  10c509:	51                   	push   %ecx                           
  10c50a:	53                   	push   %ebx                           
  10c50b:	e8 44 ea ff ff       	call   10af54 <rtems_filesystem_prefix_separators>
  10c510:	01 c3                	add    %eax,%ebx                      
  10c512:	89 5d e0             	mov    %ebx,-0x20(%ebp)               
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
  10c515:	89 f1                	mov    %esi,%ecx                      
  10c517:	89 df                	mov    %ebx,%edi                      
  10c519:	31 c0                	xor    %eax,%eax                      
  10c51b:	f2 ae                	repnz scas %es:(%edi),%al             
  10c51d:	f7 d1                	not    %ecx                           
  10c51f:	49                   	dec    %ecx                           
  10c520:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  10c527:	8d 75 cc             	lea    -0x34(%ebp),%esi               
  10c52a:	56                   	push   %esi                           
  10c52b:	6a 00                	push   $0x0                           
  10c52d:	51                   	push   %ecx                           
  10c52e:	53                   	push   %ebx                           
  10c52f:	e8 30 e9 ff ff       	call   10ae64 <rtems_filesystem_evaluate_relative_path>
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
  10c534:	83 c4 20             	add    $0x20,%esp                     
  10c537:	85 c0                	test   %eax,%eax                      
  10c539:	0f 85 c9 00 00 00    	jne    10c608 <_rename_r+0x15c>       
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
  10c53f:	50                   	push   %eax                           
  10c540:	8d 5d a4             	lea    -0x5c(%ebp),%ebx               
  10c543:	53                   	push   %ebx                           
  10c544:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10c547:	50                   	push   %eax                           
  10c548:	ff 75 10             	pushl  0x10(%ebp)                     
  10c54b:	e8 6c 03 00 00       	call   10c8bc <rtems_filesystem_get_start_loc>
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
  10c550:	83 c4 0c             	add    $0xc,%esp                      
  10c553:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10c556:	50                   	push   %eax                           
  10c557:	53                   	push   %ebx                           
  10c558:	8b 45 10             	mov    0x10(%ebp),%eax                
  10c55b:	03 45 e4             	add    -0x1c(%ebp),%eax               
  10c55e:	50                   	push   %eax                           
  10c55f:	8b 45 b0             	mov    -0x50(%ebp),%eax               
  10c562:	ff 50 04             	call   *0x4(%eax)                     
  if ( result != 0 ) {                                                
  10c565:	83 c4 10             	add    $0x10,%esp                     
  10c568:	85 c0                	test   %eax,%eax                      
  10c56a:	0f 85 e0 00 00 00    	jne    10c650 <_rename_r+0x1a4>       
  /*                                                                  
   *  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 ) {         
  10c570:	8b 45 b4             	mov    -0x4c(%ebp),%eax               
  10c573:	39 45 c8             	cmp    %eax,-0x38(%ebp)               
  10c576:	75 48                	jne    10c5c0 <_rename_r+0x114>       
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
  10c578:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10c57b:	53                   	push   %ebx                           
  10c57c:	56                   	push   %esi                           
  10c57d:	ff 75 94             	pushl  -0x6c(%ebp)                    
  10c580:	8b 45 b0             	mov    -0x50(%ebp),%eax               
  10c583:	ff 50 40             	call   *0x40(%eax)                    
  10c586:	89 c7                	mov    %eax,%edi                      
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
  10c588:	89 1c 24             	mov    %ebx,(%esp)                    
  10c58b:	e8 f0 eb ff ff       	call   10b180 <rtems_filesystem_freenode>
  if ( free_old_parentloc )                                           
  10c590:	83 c4 10             	add    $0x10,%esp                     
  10c593:	80 7d 93 00          	cmpb   $0x0,-0x6d(%ebp)               
  10c597:	75 17                	jne    10c5b0 <_rename_r+0x104>       
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
  10c599:	83 ec 0c             	sub    $0xc,%esp                      
  10c59c:	56                   	push   %esi                           
  10c59d:	e8 de eb ff ff       	call   10b180 <rtems_filesystem_freenode>
                                                                      
  return result;                                                      
  10c5a2:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10c5a5:	89 f8                	mov    %edi,%eax                      
  10c5a7:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c5aa:	5b                   	pop    %ebx                           
  10c5ab:	5e                   	pop    %esi                           
  10c5ac:	5f                   	pop    %edi                           
  10c5ad:	c9                   	leave                                 
  10c5ae:	c3                   	ret                                   
  10c5af:	90                   	nop                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
  if ( free_old_parentloc )                                           
    rtems_filesystem_freenode( &old_parent_loc );                     
  10c5b0:	83 ec 0c             	sub    $0xc,%esp                      
  10c5b3:	ff 75 94             	pushl  -0x6c(%ebp)                    
  10c5b6:	e8 c5 eb ff ff       	call   10b180 <rtems_filesystem_freenode>
  10c5bb:	83 c4 10             	add    $0x10,%esp                     
  10c5be:	eb d9                	jmp    10c599 <_rename_r+0xed>        
   *  Check to see if the caller is trying to rename across file system
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
    rtems_filesystem_freenode( &new_parent_loc );                     
  10c5c0:	83 ec 0c             	sub    $0xc,%esp                      
  10c5c3:	53                   	push   %ebx                           
  10c5c4:	e8 b7 eb ff ff       	call   10b180 <rtems_filesystem_freenode>
    if ( free_old_parentloc )                                         
  10c5c9:	83 c4 10             	add    $0x10,%esp                     
  10c5cc:	80 7d 93 00          	cmpb   $0x0,-0x6d(%ebp)               
  10c5d0:	74 0e                	je     10c5e0 <_rename_r+0x134>       
      rtems_filesystem_freenode( &old_parent_loc );                   
  10c5d2:	83 ec 0c             	sub    $0xc,%esp                      
  10c5d5:	ff 75 94             	pushl  -0x6c(%ebp)                    
  10c5d8:	e8 a3 eb ff ff       	call   10b180 <rtems_filesystem_freenode>
  10c5dd:	83 c4 10             	add    $0x10,%esp                     
    rtems_filesystem_freenode( &old_loc );                            
  10c5e0:	83 ec 0c             	sub    $0xc,%esp                      
  10c5e3:	56                   	push   %esi                           
  10c5e4:	e8 97 eb ff ff       	call   10b180 <rtems_filesystem_freenode>
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  10c5e9:	e8 9e 99 00 00       	call   115f8c <__errno>               
  10c5ee:	c7 00 12 00 00 00    	movl   $0x12,(%eax)                   
  10c5f4:	83 c4 10             	add    $0x10,%esp                     
  10c5f7:	bf ff ff ff ff       	mov    $0xffffffff,%edi               
  if ( free_old_parentloc )                                           
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
                                                                      
  return result;                                                      
}                                                                     
  10c5fc:	89 f8                	mov    %edi,%eax                      
  10c5fe:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c601:	5b                   	pop    %ebx                           
  10c602:	5e                   	pop    %esi                           
  10c603:	5f                   	pop    %edi                           
  10c604:	c9                   	leave                                 
  10c605:	c3                   	ret                                   
  10c606:	66 90                	xchg   %ax,%ax                        
  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 )                                         
  10c608:	80 7d 93 00          	cmpb   $0x0,-0x6d(%ebp)               
  10c60c:	75 78                	jne    10c686 <_rename_r+0x1da>       <== ALWAYS TAKEN
      rtems_filesystem_freenode( &old_parent_loc );                   
    return -1;                                                        
  10c60e:	bf ff ff ff ff       	mov    $0xffffffff,%edi               <== NOT EXECUTED
  if ( free_old_parentloc )                                           
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
                                                                      
  return result;                                                      
}                                                                     
  10c613:	89 f8                	mov    %edi,%eax                      <== NOT EXECUTED
  10c615:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  10c618:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10c619:	5e                   	pop    %esi                           <== NOT EXECUTED
  10c61a:	5f                   	pop    %edi                           <== NOT EXECUTED
  10c61b:	c9                   	leave                                 <== NOT EXECUTED
  10c61c:	c3                   	ret                                   <== NOT EXECUTED
  10c61d:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
  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, 
  10c620:	89 c2                	mov    %eax,%edx                      
  10c622:	83 ec 0c             	sub    $0xc,%esp                      
  10c625:	6a 00                	push   $0x0                           
  10c627:	8d 45 b8             	lea    -0x48(%ebp),%eax               
  10c62a:	89 45 94             	mov    %eax,-0x6c(%ebp)               
  10c62d:	50                   	push   %eax                           
  10c62e:	6a 02                	push   $0x2                           
  10c630:	52                   	push   %edx                           
  10c631:	53                   	push   %ebx                           
  10c632:	89 55 8c             	mov    %edx,-0x74(%ebp)               
  10c635:	e8 92 e8 ff ff       	call   10aecc <rtems_filesystem_evaluate_path>
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
  10c63a:	83 c4 20             	add    $0x20,%esp                     
  10c63d:	85 c0                	test   %eax,%eax                      
  10c63f:	8b 55 8c             	mov    -0x74(%ebp),%edx               
  10c642:	75 ca                	jne    10c60e <_rename_r+0x162>       <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_old_parentloc = true;                                        
  10c644:	c6 45 93 01          	movb   $0x1,-0x6d(%ebp)               
  10c648:	e9 97 fe ff ff       	jmp    10c4e4 <_rename_r+0x38>        
  10c64d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
  if ( result != 0 ) {                                                
    rtems_filesystem_freenode( &new_parent_loc );                     
  10c650:	83 ec 0c             	sub    $0xc,%esp                      
  10c653:	53                   	push   %ebx                           
  10c654:	e8 27 eb ff ff       	call   10b180 <rtems_filesystem_freenode>
    if ( free_old_parentloc )                                         
  10c659:	83 c4 10             	add    $0x10,%esp                     
  10c65c:	80 7d 93 00          	cmpb   $0x0,-0x6d(%ebp)               
  10c660:	74 0e                	je     10c670 <_rename_r+0x1c4>       <== NEVER TAKEN
      rtems_filesystem_freenode( &old_parent_loc );                   
  10c662:	83 ec 0c             	sub    $0xc,%esp                      
  10c665:	ff 75 94             	pushl  -0x6c(%ebp)                    
  10c668:	e8 13 eb ff ff       	call   10b180 <rtems_filesystem_freenode>
  10c66d:	83 c4 10             	add    $0x10,%esp                     
    rtems_filesystem_freenode( &old_loc );                            
  10c670:	83 ec 0c             	sub    $0xc,%esp                      
  10c673:	56                   	push   %esi                           
  10c674:	e8 07 eb ff ff       	call   10b180 <rtems_filesystem_freenode>
    return -1;                                                        
  10c679:	83 c4 10             	add    $0x10,%esp                     
  10c67c:	bf ff ff ff ff       	mov    $0xffffffff,%edi               
  10c681:	e9 1f ff ff ff       	jmp    10c5a5 <_rename_r+0xf9>        
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
    if ( free_old_parentloc )                                         
      rtems_filesystem_freenode( &old_parent_loc );                   
  10c686:	83 ec 0c             	sub    $0xc,%esp                      
  10c689:	ff 75 94             	pushl  -0x6c(%ebp)                    
  10c68c:	e8 ef ea ff ff       	call   10b180 <rtems_filesystem_freenode>
  10c691:	83 c4 10             	add    $0x10,%esp                     
    return -1;                                                        
  10c694:	bf ff ff ff ff       	mov    $0xffffffff,%edi               
  10c699:	e9 07 ff ff ff       	jmp    10c5a5 <_rename_r+0xf9>        
                                                                      

0010ad6c <_times>: #endif clock_t _times( struct tms *ptms ) {
  10ad6c:	55                   	push   %ebp                           
  10ad6d:	89 e5                	mov    %esp,%ebp                      
  10ad6f:	56                   	push   %esi                           
  10ad70:	53                   	push   %ebx                           
  10ad71:	83 ec 10             	sub    $0x10,%esp                     
  10ad74:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  rtems_interval ticks;                                               
                                                                      
  if ( !ptms )                                                        
  10ad77:	85 db                	test   %ebx,%ebx                      
  10ad79:	74 75                	je     10adf0 <_times+0x84>           
                                                                      
  /*                                                                  
   *  This call does not depend on TOD being initialized and can't fail.
   */                                                                 
                                                                      
  ticks = rtems_clock_get_ticks_since_boot();                         
  10ad7b:	e8 84 04 00 00       	call   10b204 <rtems_clock_get_ticks_since_boot>
  10ad80:	89 c6                	mov    %eax,%esi                      
    {                                                                 
      Timestamp_Control per_tick;                                     
      uint32_t          ticks;                                        
      uint32_t          fractional_ticks;                             
                                                                      
      _Timestamp_Set(                                                 
  10ad82:	8b 0d ec 23 12 00    	mov    0x1223ec,%ecx                  
  10ad88:	ba 83 de 1b 43       	mov    $0x431bde83,%edx               
  10ad8d:	89 c8                	mov    %ecx,%eax                      
  10ad8f:	f7 e2                	mul    %edx                           
  10ad91:	c1 ea 12             	shr    $0x12,%edx                     
  10ad94:	89 55 e8             	mov    %edx,-0x18(%ebp)               
  10ad97:	8d 04 89             	lea    (%ecx,%ecx,4),%eax             
  10ad9a:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10ad9d:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10ada0:	c1 e0 03             	shl    $0x3,%eax                      
  10ada3:	b9 00 ca 9a 3b       	mov    $0x3b9aca00,%ecx               
  10ada8:	31 d2                	xor    %edx,%edx                      
  10adaa:	f7 f1                	div    %ecx                           
  10adac:	89 55 ec             	mov    %edx,-0x14(%ebp)               
            TOD_MICROSECONDS_PER_SECOND,                              
        (rtems_configuration_get_nanoseconds_per_tick() %             
            TOD_NANOSECONDS_PER_SECOND)                               
      );                                                              
                                                                      
      _Timestamp_Divide(                                              
  10adaf:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  10adb2:	50                   	push   %eax                           
  10adb3:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10adb6:	50                   	push   %eax                           
  10adb7:	8d 45 e8             	lea    -0x18(%ebp),%eax               
  10adba:	50                   	push   %eax                           
  10adbb:	a1 f8 68 12 00       	mov    0x1268f8,%eax                  
  10adc0:	05 84 00 00 00       	add    $0x84,%eax                     
  10adc5:	50                   	push   %eax                           
  10adc6:	e8 09 37 00 00       	call   10e4d4 <_Timespec_Divide>      
        &_Thread_Executing->cpu_time_used,                            
        &per_tick,                                                    
        &ticks,                                                       
        &fractional_ticks                                             
      );                                                              
      ptms->tms_utime = ticks;                                        
  10adcb:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  10adce:	89 03                	mov    %eax,(%ebx)                    
    }                                                                 
  #else                                                               
    ptms->tms_utime  = _Thread_Executing->cpu_time_used;              
  #endif                                                              
  ptms->tms_stime  = ticks;                                           
  10add0:	89 73 04             	mov    %esi,0x4(%ebx)                 
  ptms->tms_cutime = 0;                                               
  10add3:	c7 43 08 00 00 00 00 	movl   $0x0,0x8(%ebx)                 
  ptms->tms_cstime = 0;                                               
  10adda:	c7 43 0c 00 00 00 00 	movl   $0x0,0xc(%ebx)                 
                                                                      
  return ticks;                                                       
  10ade1:	83 c4 10             	add    $0x10,%esp                     
  10ade4:	89 f0                	mov    %esi,%eax                      
}                                                                     
  10ade6:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ade9:	5b                   	pop    %ebx                           
  10adea:	5e                   	pop    %esi                           
  10adeb:	c9                   	leave                                 
  10adec:	c3                   	ret                                   
  10aded:	8d 76 00             	lea    0x0(%esi),%esi                 
)                                                                     
{                                                                     
  rtems_interval ticks;                                               
                                                                      
  if ( !ptms )                                                        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
  10adf0:	e8 17 78 00 00       	call   11260c <__errno>               
  10adf5:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    
  10adfb:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  ptms->tms_stime  = ticks;                                           
  ptms->tms_cutime = 0;                                               
  ptms->tms_cstime = 0;                                               
                                                                      
  return ticks;                                                       
}                                                                     
  10ae00:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ae03:	5b                   	pop    %ebx                           
  10ae04:	5e                   	pop    %esi                           
  10ae05:	c9                   	leave                                 
  10ae06:	c3                   	ret                                   
                                                                      

00109b3c <access>: int access( const char *path, int amode ) {
  109b3c:	55                   	push   %ebp                           
  109b3d:	89 e5                	mov    %esp,%ebp                      
  109b3f:	53                   	push   %ebx                           
  109b40:	83 ec 5c             	sub    $0x5c,%esp                     
  109b43:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  struct stat statbuf;                                                
                                                                      
  if ( stat(path, &statbuf) )                                         
  109b46:	8d 45 b0             	lea    -0x50(%ebp),%eax               
  109b49:	50                   	push   %eax                           
  109b4a:	ff 75 08             	pushl  0x8(%ebp)                      
  109b4d:	e8 42 17 00 00       	call   10b294 <stat>                  
  109b52:	83 c4 10             	add    $0x10,%esp                     
  109b55:	85 c0                	test   %eax,%eax                      
  109b57:	75 1f                	jne    109b78 <access+0x3c>           
    return -1;                                                        
                                                                      
  if ( amode & R_OK ) {                                               
  109b59:	f6 c3 04             	test   $0x4,%bl                       
  109b5c:	75 26                	jne    109b84 <access+0x48>           
    if (!( statbuf.st_mode & S_IREAD ))                               
      return -1;                                                      
  }                                                                   
                                                                      
  if ( amode & W_OK ) {                                               
  109b5e:	f6 c3 02             	test   $0x2,%bl                       
  109b61:	75 0d                	jne    109b70 <access+0x34>           
    if ( !( statbuf.st_mode & S_IWRITE ) )                            
      return -1;                                                      
  }                                                                   
                                                                      
  if ( amode & X_OK ) {                                               
  109b63:	83 e3 01             	and    $0x1,%ebx                      
  109b66:	75 24                	jne    109b8c <access+0x50>           
    if ( !( statbuf.st_mode & S_IEXEC ) )                             
      return -1;                                                      
  }                                                                   
                                                                      
  return 0;                                                           
  109b68:	31 c0                	xor    %eax,%eax                      
}                                                                     
  109b6a:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  109b6d:	c9                   	leave                                 
  109b6e:	c3                   	ret                                   
  109b6f:	90                   	nop                                   
    if (!( statbuf.st_mode & S_IREAD ))                               
      return -1;                                                      
  }                                                                   
                                                                      
  if ( amode & W_OK ) {                                               
    if ( !( statbuf.st_mode & S_IWRITE ) )                            
  109b70:	f6 45 bc 80          	testb  $0x80,-0x44(%ebp)              
  109b74:	75 ed                	jne    109b63 <access+0x27>           
  109b76:	66 90                	xchg   %ax,%ax                        
      return -1;                                                      
  109b78:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
    if ( !( statbuf.st_mode & S_IEXEC ) )                             
      return -1;                                                      
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
  109b7d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  109b80:	c9                   	leave                                 
  109b81:	c3                   	ret                                   
  109b82:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( stat(path, &statbuf) )                                         
    return -1;                                                        
                                                                      
  if ( amode & R_OK ) {                                               
    if (!( statbuf.st_mode & S_IREAD ))                               
  109b84:	f6 45 bd 01          	testb  $0x1,-0x43(%ebp)               
  109b88:	75 d4                	jne    109b5e <access+0x22>           
  109b8a:	eb ec                	jmp    109b78 <access+0x3c>           
    if ( !( statbuf.st_mode & S_IWRITE ) )                            
      return -1;                                                      
  }                                                                   
                                                                      
  if ( amode & X_OK ) {                                               
    if ( !( statbuf.st_mode & S_IEXEC ) )                             
  109b8c:	8b 45 bc             	mov    -0x44(%ebp),%eax               
  109b8f:	83 e0 40             	and    $0x40,%eax                     
      return -1;                                                      
  }                                                                   
                                                                      
  return 0;                                                           
  109b92:	83 f8 01             	cmp    $0x1,%eax                      
  109b95:	19 c0                	sbb    %eax,%eax                      
  109b97:	eb d1                	jmp    109b6a <access+0x2e>           
                                                                      

001092f0 <cfsetospeed>: int cfsetospeed( struct termios *tp, speed_t speed ) {
  1092f0:	55                   	push   %ebp                           
  1092f1:	89 e5                	mov    %esp,%ebp                      
  1092f3:	83 ec 08             	sub    $0x8,%esp                      
  1092f6:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  1092f9:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( speed & ~CBAUD )                                               
  1092fc:	f7 c2 f0 ef ff ff    	test   $0xffffeff0,%edx               
  109302:	75 14                	jne    109318 <cfsetospeed+0x28>      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  tp->c_cflag = (tp->c_cflag & ~CBAUD) | speed;                       
  109304:	8b 41 08             	mov    0x8(%ecx),%eax                 
  109307:	25 f0 ef ff ff       	and    $0xffffeff0,%eax               
  10930c:	09 d0                	or     %edx,%eax                      
  10930e:	89 41 08             	mov    %eax,0x8(%ecx)                 
  return 0;                                                           
  109311:	31 c0                	xor    %eax,%eax                      
}                                                                     
  109313:	c9                   	leave                                 
  109314:	c3                   	ret                                   
  109315:	8d 76 00             	lea    0x0(%esi),%esi                 
  struct termios *tp,                                                 
  speed_t         speed                                               
)                                                                     
{                                                                     
  if ( speed & ~CBAUD )                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  109318:	e8 97 ab 00 00       	call   113eb4 <__errno>               
  10931d:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  109323:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
                                                                      
  tp->c_cflag = (tp->c_cflag & ~CBAUD) | speed;                       
  return 0;                                                           
}                                                                     
  109328:	c9                   	leave                                 
  109329:	c3                   	ret                                   
                                                                      

001104e4 <chdir>: #include <rtems/seterr.h> int chdir( const char *pathname ) {
  1104e4:	55                   	push   %ebp                           
  1104e5:	89 e5                	mov    %esp,%ebp                      
  1104e7:	57                   	push   %edi                           
  1104e8:	56                   	push   %esi                           
  1104e9:	83 ec 20             	sub    $0x20,%esp                     
  1104ec:	8b 55 08             	mov    0x8(%ebp),%edx                 
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
  1104ef:	85 d2                	test   %edx,%edx                      
  1104f1:	74 75                	je     110568 <chdir+0x84>            
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
  result = rtems_filesystem_evaluate_path(                            
  1104f3:	31 c0                	xor    %eax,%eax                      
  1104f5:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  1104fa:	89 d7                	mov    %edx,%edi                      
  1104fc:	f2 ae                	repnz scas %es:(%edi),%al             
  1104fe:	f7 d1                	not    %ecx                           
  110500:	49                   	dec    %ecx                           
  110501:	83 ec 0c             	sub    $0xc,%esp                      
  110504:	6a 01                	push   $0x1                           
  110506:	8d 75 e4             	lea    -0x1c(%ebp),%esi               
  110509:	56                   	push   %esi                           
  11050a:	6a 01                	push   $0x1                           
  11050c:	51                   	push   %ecx                           
  11050d:	52                   	push   %edx                           
  11050e:	e8 f5 7e ff ff       	call   108408 <rtems_filesystem_evaluate_path>
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
  if ( result != 0 )                                                  
  110513:	83 c4 20             	add    $0x20,%esp                     
  110516:	85 c0                	test   %eax,%eax                      
  110518:	74 0e                	je     110528 <chdir+0x44>            
     return -1;                                                       
  11051a:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  rtems_filesystem_freenode( &rtems_filesystem_current );             
                                                                      
  rtems_filesystem_current = loc;                                     
                                                                      
  return 0;                                                           
}                                                                     
  11051f:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  110522:	5e                   	pop    %esi                           
  110523:	5f                   	pop    %edi                           
  110524:	c9                   	leave                                 
  110525:	c3                   	ret                                   
  110526:	66 90                	xchg   %ax,%ax                        
     return -1;                                                       
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
  110528:	83 ec 0c             	sub    $0xc,%esp                      
  11052b:	56                   	push   %esi                           
  11052c:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  11052f:	ff 50 10             	call   *0x10(%eax)                    
  110532:	83 c4 10             	add    $0x10,%esp                     
  110535:	48                   	dec    %eax                           
  110536:	75 48                	jne    110580 <chdir+0x9c>            
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  }                                                                   
                                                                      
  rtems_filesystem_freenode( &rtems_filesystem_current );             
  110538:	83 ec 0c             	sub    $0xc,%esp                      
  11053b:	a1 30 41 12 00       	mov    0x124130,%eax                  
  110540:	83 c0 04             	add    $0x4,%eax                      
  110543:	50                   	push   %eax                           
  110544:	e8 97 7f ff ff       	call   1084e0 <rtems_filesystem_freenode>
                                                                      
  rtems_filesystem_current = loc;                                     
  110549:	8b 3d 30 41 12 00    	mov    0x124130,%edi                  
  11054f:	83 c7 04             	add    $0x4,%edi                      
  110552:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  110557:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  return 0;                                                           
  110559:	83 c4 10             	add    $0x10,%esp                     
  11055c:	31 c0                	xor    %eax,%eax                      
}                                                                     
  11055e:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  110561:	5e                   	pop    %esi                           
  110562:	5f                   	pop    %edi                           
  110563:	c9                   	leave                                 
  110564:	c3                   	ret                                   
  110565:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
    rtems_set_errno_and_return_minus_one( EFAULT );                   
  110568:	e8 6b 26 00 00       	call   112bd8 <__errno>               
  11056d:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    
  110573:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  rtems_filesystem_freenode( &rtems_filesystem_current );             
                                                                      
  rtems_filesystem_current = loc;                                     
                                                                      
  return 0;                                                           
}                                                                     
  110578:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  11057b:	5e                   	pop    %esi                           
  11057c:	5f                   	pop    %edi                           
  11057d:	c9                   	leave                                 
  11057e:	c3                   	ret                                   
  11057f:	90                   	nop                                   
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
  110580:	83 ec 0c             	sub    $0xc,%esp                      
  110583:	56                   	push   %esi                           
  110584:	e8 57 7f ff ff       	call   1084e0 <rtems_filesystem_freenode>
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  110589:	e8 4a 26 00 00       	call   112bd8 <__errno>               
  11058e:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   
  110594:	83 c4 10             	add    $0x10,%esp                     
  110597:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  11059c:	eb 81                	jmp    11051f <chdir+0x3b>            
                                                                      

00108270 <chroot>: #include <rtems/seterr.h> int chroot( const char *pathname ) {
  108270:	55                   	push   %ebp                           
  108271:	89 e5                	mov    %esp,%ebp                      
  108273:	57                   	push   %edi                           
  108274:	56                   	push   %esi                           
  108275:	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) {             
  108278:	81 3d 30 41 12 00 40 	cmpl   $0x126340,0x124130             
  10827f:	63 12 00                                                    
  108282:	74 60                	je     1082e4 <chroot+0x74>           
   rtems_libio_set_private_env(); /* try to set a new private env*/   
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = chdir(pathname);                                           
  108284:	83 ec 0c             	sub    $0xc,%esp                      
  108287:	ff 75 08             	pushl  0x8(%ebp)                      
  10828a:	e8 55 82 00 00       	call   1104e4 <chdir>                 
  if (result) {                                                       
  10828f:	83 c4 10             	add    $0x10,%esp                     
  108292:	85 c0                	test   %eax,%eax                      
  108294:	75 72                	jne    108308 <chroot+0x98>           
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
  108296:	83 ec 0c             	sub    $0xc,%esp                      
  108299:	6a 00                	push   $0x0                           
  10829b:	8d 75 e4             	lea    -0x1c(%ebp),%esi               
  10829e:	56                   	push   %esi                           
  10829f:	6a 00                	push   $0x0                           
  1082a1:	6a 01                	push   $0x1                           
  1082a3:	68 d6 09 12 00       	push   $0x1209d6                      
  1082a8:	e8 5b 01 00 00       	call   108408 <rtems_filesystem_evaluate_path>
  1082ad:	83 c4 20             	add    $0x20,%esp                     
  1082b0:	85 c0                	test   %eax,%eax                      
  1082b2:	75 54                	jne    108308 <chroot+0x98>           <== 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);                  
  1082b4:	83 ec 0c             	sub    $0xc,%esp                      
  1082b7:	a1 30 41 12 00       	mov    0x124130,%eax                  
  1082bc:	83 c0 18             	add    $0x18,%eax                     
  1082bf:	50                   	push   %eax                           
  1082c0:	e8 1b 02 00 00       	call   1084e0 <rtems_filesystem_freenode>
  rtems_filesystem_root = loc;                                        
  1082c5:	8b 3d 30 41 12 00    	mov    0x124130,%edi                  
  1082cb:	83 c7 18             	add    $0x18,%edi                     
  1082ce:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  1082d3:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  return 0;                                                           
  1082d5:	83 c4 10             	add    $0x10,%esp                     
  1082d8:	31 c0                	xor    %eax,%eax                      
}                                                                     
  1082da:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1082dd:	5e                   	pop    %esi                           
  1082de:	5f                   	pop    %edi                           
  1082df:	c9                   	leave                                 
  1082e0:	c3                   	ret                                   
  1082e1:	8d 76 00             	lea    0x0(%esi),%esi                 
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
   rtems_libio_set_private_env(); /* try to set a new private env*/   
  1082e4:	e8 a7 12 00 00       	call   109590 <rtems_libio_set_private_env>
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
  1082e9:	81 3d 30 41 12 00 40 	cmpl   $0x126340,0x124130             
  1082f0:	63 12 00                                                    
  1082f3:	75 8f                	jne    108284 <chroot+0x14>           
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  1082f5:	e8 de a8 00 00       	call   112bd8 <__errno>               
  1082fa:	c7 00 86 00 00 00    	movl   $0x86,(%eax)                   
  108300:	83 c8 ff             	or     $0xffffffff,%eax               
  108303:	eb d5                	jmp    1082da <chroot+0x6a>           
  108305:	8d 76 00             	lea    0x0(%esi),%esi                 
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
  108308:	e8 cb a8 00 00       	call   112bd8 <__errno>               
  10830d:	89 c6                	mov    %eax,%esi                      
  10830f:	e8 c4 a8 00 00       	call   112bd8 <__errno>               
  108314:	8b 00                	mov    (%eax),%eax                    
  108316:	89 06                	mov    %eax,(%esi)                    
  108318:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10831d:	eb bb                	jmp    1082da <chroot+0x6a>           
                                                                      

0010fa58 <close>: #include <rtems/libio_.h> int close( int fd ) {
  10fa58:	55                   	push   %ebp                           
  10fa59:	89 e5                	mov    %esp,%ebp                      
  10fa5b:	53                   	push   %ebx                           
  10fa5c:	83 ec 14             	sub    $0x14,%esp                     
  10fa5f:	8b 45 08             	mov    0x8(%ebp),%eax                 
  rtems_libio_t      *iop;                                            
  rtems_status_code   rc;                                             
                                                                      
  rtems_libio_check_fd(fd);                                           
  10fa62:	3b 05 4c 11 12 00    	cmp    0x12114c,%eax                  
  10fa68:	73 46                	jae    10fab0 <close+0x58>            
  iop = rtems_libio_iop(fd);                                          
  10fa6a:	c1 e0 03             	shl    $0x3,%eax                      
  10fa6d:	8d 1c c5 00 00 00 00 	lea    0x0(,%eax,8),%ebx              
  10fa74:	29 c3                	sub    %eax,%ebx                      
  10fa76:	03 1d 00 53 12 00    	add    0x125300,%ebx                  
  rtems_libio_check_is_open(iop);                                     
  10fa7c:	f6 43 15 01          	testb  $0x1,0x15(%ebx)                
  10fa80:	74 2e                	je     10fab0 <close+0x58>            
                                                                      
  rc = RTEMS_SUCCESSFUL;                                              
  rc = (*iop->pathinfo.handlers->close_h)( iop );                     
  10fa82:	83 ec 0c             	sub    $0xc,%esp                      
  10fa85:	8b 43 20             	mov    0x20(%ebx),%eax                
  10fa88:	53                   	push   %ebx                           
  10fa89:	ff 50 04             	call   *0x4(%eax)                     
                                                                      
  rtems_filesystem_freenode( &iop->pathinfo );                        
  10fa8c:	8d 53 18             	lea    0x18(%ebx),%edx                
  10fa8f:	89 14 24             	mov    %edx,(%esp)                    
  10fa92:	89 45 f4             	mov    %eax,-0xc(%ebp)                
  10fa95:	e8 06 86 ff ff       	call   1080a0 <rtems_filesystem_freenode>
  rtems_libio_free( iop );                                            
  10fa9a:	89 1c 24             	mov    %ebx,(%esp)                    
  10fa9d:	e8 06 02 00 00       	call   10fca8 <rtems_libio_free>      
                                                                      
  return rc;                                                          
  10faa2:	83 c4 10             	add    $0x10,%esp                     
  10faa5:	8b 45 f4             	mov    -0xc(%ebp),%eax                
}                                                                     
  10faa8:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10faab:	c9                   	leave                                 
  10faac:	c3                   	ret                                   
  10faad:	8d 76 00             	lea    0x0(%esi),%esi                 
  rtems_libio_t      *iop;                                            
  rtems_status_code   rc;                                             
                                                                      
  rtems_libio_check_fd(fd);                                           
  iop = rtems_libio_iop(fd);                                          
  rtems_libio_check_is_open(iop);                                     
  10fab0:	e8 87 28 00 00       	call   11233c <__errno>               
  10fab5:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  10fabb:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10fac0:	eb e6                	jmp    10faa8 <close+0x50>            
                                                                      

0010820c <ctermid>: static char *ctermid_name = "/dev/console"; char *ctermid( char *s ) {
  10820c:	55                   	push   %ebp                           
  10820d:	89 e5                	mov    %esp,%ebp                      
  10820f:	57                   	push   %edi                           
  108210:	56                   	push   %esi                           
  108211:	8b 45 08             	mov    0x8(%ebp),%eax                 
  if ( !s )                                                           
  108214:	85 c0                	test   %eax,%eax                      
  108216:	74 14                	je     10822c <ctermid+0x20>          
  /*                                                                  
   *  We have no way of knowing the length of the user provided buffer.
   *  It may not be large enough but there is no way to know that. :( 
   *  So this is a potential buffer owerrun that we can do nothing about.
   */                                                                 
  strcpy( s, ctermid_name );                                          
  108218:	be 2b c7 11 00       	mov    $0x11c72b,%esi                 
  10821d:	b9 0d 00 00 00       	mov    $0xd,%ecx                      
  108222:	89 c7                	mov    %eax,%edi                      
  108224:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
  return s;                                                           
}                                                                     
  108226:	5e                   	pop    %esi                           
  108227:	5f                   	pop    %edi                           
  108228:	c9                   	leave                                 
  108229:	c3                   	ret                                   
  10822a:	66 90                	xchg   %ax,%ax                        
char *ctermid(                                                        
  char *s                                                             
)                                                                     
{                                                                     
  if ( !s )                                                           
    return ctermid_name;                                              
  10822c:	b8 2b c7 11 00       	mov    $0x11c72b,%eax                 
   *  It may not be large enough but there is no way to know that. :( 
   *  So this is a potential buffer owerrun that we can do nothing about.
   */                                                                 
  strcpy( s, ctermid_name );                                          
  return s;                                                           
}                                                                     
  108231:	5e                   	pop    %esi                           
  108232:	5f                   	pop    %edi                           
  108233:	c9                   	leave                                 
  108234:	c3                   	ret                                   
                                                                      

0010ed08 <devFS_evaluate_path>: const char *pathname, size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc ) {
  10ed08:	55                   	push   %ebp                           
  10ed09:	89 e5                	mov    %esp,%ebp                      
  10ed0b:	57                   	push   %edi                           
  10ed0c:	56                   	push   %esi                           
  10ed0d:	53                   	push   %ebx                           
  10ed0e:	83 ec 1c             	sub    $0x1c,%esp                     
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
  10ed11:	f7 45 10 f8 ff ff ff 	testl  $0xfffffff8,0x10(%ebp)         
  10ed18:	0f 85 96 00 00 00    	jne    10edb4 <devFS_evaluate_path+0xac><== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EPERM );                    
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  10ed1e:	8b 45 14             	mov    0x14(%ebp),%eax                
  10ed21:	8b 00                	mov    (%eax),%eax                    
  10ed23:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  if (!device_name_table)                                             
  10ed26:	85 c0                	test   %eax,%eax                      
  10ed28:	0f 84 98 00 00 00    	je     10edc6 <devFS_evaluate_path+0xbe><== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
  10ed2e:	8b 15 50 f1 11 00    	mov    0x11f150,%edx                  
  10ed34:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  10ed37:	85 d2                	test   %edx,%edx                      
  10ed39:	74 38                	je     10ed73 <devFS_evaluate_path+0x6b><== NEVER TAKEN
  10ed3b:	31 c0                	xor    %eax,%eax                      
  10ed3d:	31 db                	xor    %ebx,%ebx                      
    if (!device_name_table[i].device_name)                            
  10ed3f:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10ed42:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10ed45:	8d 3c 82             	lea    (%edx,%eax,4),%edi             
  10ed48:	8b 37                	mov    (%edi),%esi                    
  10ed4a:	85 f6                	test   %esi,%esi                      
  10ed4c:	74 1d                	je     10ed6b <devFS_evaluate_path+0x63>
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
  10ed4e:	50                   	push   %eax                           
  10ed4f:	ff 75 0c             	pushl  0xc(%ebp)                      
  10ed52:	56                   	push   %esi                           
  10ed53:	ff 75 08             	pushl  0x8(%ebp)                      
  10ed56:	e8 99 24 00 00       	call   1111f4 <strncmp>               
  10ed5b:	83 c4 10             	add    $0x10,%esp                     
  10ed5e:	85 c0                	test   %eax,%eax                      
  10ed60:	75 09                	jne    10ed6b <devFS_evaluate_path+0x63>
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
  10ed62:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10ed65:	80 3c 06 00          	cmpb   $0x0,(%esi,%eax,1)             
  10ed69:	74 21                	je     10ed8c <devFS_evaluate_path+0x84><== ALWAYS TAKEN
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
  10ed6b:	43                   	inc    %ebx                           
  10ed6c:	89 d8                	mov    %ebx,%eax                      
  10ed6e:	39 5d e0             	cmp    %ebx,-0x20(%ebp)               
  10ed71:	77 cc                	ja     10ed3f <devFS_evaluate_path+0x37>
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
  10ed73:	e8 44 18 00 00       	call   1105bc <__errno>               
  10ed78:	c7 00 02 00 00 00    	movl   $0x2,(%eax)                    
  10ed7e:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
}                                                                     
  10ed83:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ed86:	5b                   	pop    %ebx                           
  10ed87:	5e                   	pop    %esi                           
  10ed88:	5f                   	pop    %edi                           
  10ed89:	c9                   	leave                                 
  10ed8a:	c3                   	ret                                   
  10ed8b:	90                   	nop                                   
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
  10ed8c:	8b 55 14             	mov    0x14(%ebp),%edx                
  10ed8f:	89 3a                	mov    %edi,(%edx)                    
    pathloc->handlers = &devFS_file_handlers;                         
  10ed91:	c7 42 08 a0 10 12 00 	movl   $0x1210a0,0x8(%edx)            
    pathloc->ops = &devFS_ops;                                        
  10ed98:	c7 42 0c 40 10 12 00 	movl   $0x121040,0xc(%edx)            
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
  10ed9f:	a1 10 12 12 00       	mov    0x121210,%eax                  
  10eda4:	8b 40 28             	mov    0x28(%eax),%eax                
  10eda7:	89 42 10             	mov    %eax,0x10(%edx)                
    return 0;                                                         
  10edaa:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
  10edac:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10edaf:	5b                   	pop    %ebx                           
  10edb0:	5e                   	pop    %esi                           
  10edb1:	5f                   	pop    %edi                           
  10edb2:	c9                   	leave                                 
  10edb3:	c3                   	ret                                   
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
  10edb4:	e8 03 18 00 00       	call   1105bc <__errno>               <== NOT EXECUTED
  10edb9:	c7 00 01 00 00 00    	movl   $0x1,(%eax)                    <== NOT EXECUTED
  10edbf:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
  10edc4:	eb e6                	jmp    10edac <devFS_evaluate_path+0xa4><== NOT EXECUTED
                                                                      
  /* 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 );                   
  10edc6:	e8 f1 17 00 00       	call   1105bc <__errno>               
  10edcb:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    
  10edd1:	83 c8 ff             	or     $0xffffffff,%eax               
  10edd4:	eb d6                	jmp    10edac <devFS_evaluate_path+0xa4>
                                                                      

00107ae0 <devFS_ioctl>: int devFS_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
  107ae0:	55                   	push   %ebp                           
  107ae1:	89 e5                	mov    %esp,%ebp                      
  107ae3:	83 ec 1c             	sub    $0x1c,%esp                     
  107ae6:	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->pathinfo.node_access;    
  107ae9:	8b 42 18             	mov    0x18(%edx),%eax                
                                                                      
  args.iop     = iop;                                                 
  107aec:	89 55 e8             	mov    %edx,-0x18(%ebp)               
  args.command = command;                                             
  107aef:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  107af2:	89 55 ec             	mov    %edx,-0x14(%ebp)               
  args.buffer  = buffer;                                              
  107af5:	8b 55 10             	mov    0x10(%ebp),%edx                
  107af8:	89 55 f0             	mov    %edx,-0x10(%ebp)               
                                                                      
  status = rtems_io_control(                                          
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  107afb:	8d 55 e8             	lea    -0x18(%ebp),%edx               
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
  107afe:	52                   	push   %edx                           
  107aff:	ff 70 0c             	pushl  0xc(%eax)                      
  107b02:	ff 70 08             	pushl  0x8(%eax)                      
  107b05:	e8 1e 40 00 00       	call   10bb28 <rtems_io_control>      
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
  107b0a:	83 c4 10             	add    $0x10,%esp                     
  107b0d:	85 c0                	test   %eax,%eax                      
  107b0f:	75 07                	jne    107b18 <devFS_ioctl+0x38>      
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
  107b11:	8b 45 f4             	mov    -0xc(%ebp),%eax                
}                                                                     
  107b14:	c9                   	leave                                 
  107b15:	c3                   	ret                                   
  107b16:	66 90                	xchg   %ax,%ax                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
  107b18:	83 ec 0c             	sub    $0xc,%esp                      
  107b1b:	50                   	push   %eax                           
  107b1c:	e8 c7 72 00 00       	call   10ede8 <rtems_deviceio_errno>  
  107b21:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  return args.ioctl_return;                                           
}                                                                     
  107b24:	c9                   	leave                                 
  107b25:	c3                   	ret                                   
                                                                      

00107924 <devFS_mknod>: const char *path, mode_t mode, dev_t dev, rtems_filesystem_location_info_t *pathloc ) {
  107924:	55                   	push   %ebp                           
  107925:	89 e5                	mov    %esp,%ebp                      
  107927:	57                   	push   %edi                           
  107928:	56                   	push   %esi                           
  107929:	53                   	push   %ebx                           
  10792a:	83 ec 1c             	sub    $0x1c,%esp                     
  10792d:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  107930:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  107933:	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') &&                         
  107936:	80 3f 64             	cmpb   $0x64,(%edi)                   
  107939:	0f 84 dd 00 00 00    	je     107a1c <devFS_mknod+0xf8>      
      (path[2] == 'v') && (path[3] == '\0'))                          
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
  10793f:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  107942:	25 00 f0 00 00       	and    $0xf000,%eax                   
  107947:	3d 00 60 00 00       	cmp    $0x6000,%eax                   
  10794c:	74 0b                	je     107959 <devFS_mknod+0x35>      
  10794e:	3d 00 20 00 00       	cmp    $0x2000,%eax                   
  107953:	0f 85 e5 00 00 00    	jne    107a3e <devFS_mknod+0x11a>     
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.device = device;                                               
  return temp.__overlay.major;                                        
  107959:	89 4d dc             	mov    %ecx,-0x24(%ebp)               
  dev_t device                                                        
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.device = device;                                               
  10795c:	89 55 d8             	mov    %edx,-0x28(%ebp)               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  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;    
  10795f:	8b 45 18             	mov    0x18(%ebp),%eax                
  107962:	8b 30                	mov    (%eax),%esi                    
  if (!device_name_table)                                             
  107964:	85 f6                	test   %esi,%esi                      
  107966:	0f 84 f4 00 00 00    	je     107a60 <devFS_mknod+0x13c>     
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
  10796c:	8b 15 50 f1 11 00    	mov    0x11f150,%edx                  
  107972:	85 d2                	test   %edx,%edx                      
  107974:	0f 84 d6 00 00 00    	je     107a50 <devFS_mknod+0x12c>     
  10797a:	31 c0                	xor    %eax,%eax                      
  10797c:	c7 45 e0 ff ff ff ff 	movl   $0xffffffff,-0x20(%ebp)        
  107983:	31 db                	xor    %ebx,%ebx                      
  107985:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
  107988:	89 d7                	mov    %edx,%edi                      
  10798a:	eb 1a                	jmp    1079a6 <devFS_mknod+0x82>      
      if (device_name_table[i].device_name == NULL)                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
  10798c:	83 ec 08             	sub    $0x8,%esp                      
  10798f:	50                   	push   %eax                           
  107990:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  107993:	e8 04 98 00 00       	call   11119c <strcmp>                
  107998:	83 c4 10             	add    $0x10,%esp                     
  10799b:	85 c0                	test   %eax,%eax                      
  10799d:	74 65                	je     107a04 <devFS_mknod+0xe0>      
  /* 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++){           
  10799f:	43                   	inc    %ebx                           
  1079a0:	89 d8                	mov    %ebx,%eax                      
  1079a2:	39 fb                	cmp    %edi,%ebx                      
  1079a4:	73 16                	jae    1079bc <devFS_mknod+0x98>      
      if (device_name_table[i].device_name == NULL)                   
  1079a6:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  1079a9:	8b 04 86             	mov    (%esi,%eax,4),%eax             
  1079ac:	85 c0                	test   %eax,%eax                      
  1079ae:	75 dc                	jne    10798c <devFS_mknod+0x68>      
  1079b0:	89 5d e0             	mov    %ebx,-0x20(%ebp)               
  /* 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++){           
  1079b3:	43                   	inc    %ebx                           
  1079b4:	89 d8                	mov    %ebx,%eax                      
  1079b6:	39 fb                	cmp    %edi,%ebx                      
  1079b8:	72 ec                	jb     1079a6 <devFS_mknod+0x82>      
  1079ba:	66 90                	xchg   %ax,%ax                        
  1079bc:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
  1079bf:	83 7d e0 ff          	cmpl   $0xffffffff,-0x20(%ebp)        
  1079c3:	0f 84 87 00 00 00    	je     107a50 <devFS_mknod+0x12c>     <== NEVER TAKEN
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  1079c9:	9c                   	pushf                                 
  1079ca:	fa                   	cli                                   
  1079cb:	5b                   	pop    %ebx                           
  device_name_table[slot].device_name  = (char *)path;                
  1079cc:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  1079cf:	8d 04 92             	lea    (%edx,%edx,4),%eax             
  1079d2:	8d 14 86             	lea    (%esi,%eax,4),%edx             
  1079d5:	89 3a                	mov    %edi,(%edx)                    
  device_name_table[slot].device_name_length = strlen(path);          
  1079d7:	31 c0                	xor    %eax,%eax                      
  1079d9:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  1079de:	f2 ae                	repnz scas %es:(%edi),%al             
  1079e0:	f7 d1                	not    %ecx                           
  1079e2:	49                   	dec    %ecx                           
  1079e3:	89 4a 04             	mov    %ecx,0x4(%edx)                 
  device_name_table[slot].major = major;                              
  1079e6:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  1079e9:	89 42 08             	mov    %eax,0x8(%edx)                 
  device_name_table[slot].minor = minor;                              
  1079ec:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  1079ef:	89 42 0c             	mov    %eax,0xc(%edx)                 
  device_name_table[slot].mode  = mode;                               
  1079f2:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  1079f5:	89 42 10             	mov    %eax,0x10(%edx)                
  _ISR_Enable(level);                                                 
  1079f8:	53                   	push   %ebx                           
  1079f9:	9d                   	popf                                  
                                                                      
  return 0;                                                           
  1079fa:	31 c0                	xor    %eax,%eax                      
}                                                                     
  1079fc:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1079ff:	5b                   	pop    %ebx                           
  107a00:	5e                   	pop    %esi                           
  107a01:	5f                   	pop    %edi                           
  107a02:	c9                   	leave                                 
  107a03:	c3                   	ret                                   
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  107a04:	e8 b3 8b 00 00       	call   1105bc <__errno>               
  107a09:	c7 00 11 00 00 00    	movl   $0x11,(%eax)                   
  107a0f:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
  _ISR_Enable(level);                                                 
                                                                      
  return 0;                                                           
}                                                                     
  107a14:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107a17:	5b                   	pop    %ebx                           
  107a18:	5e                   	pop    %esi                           
  107a19:	5f                   	pop    %edi                           
  107a1a:	c9                   	leave                                 
  107a1b:	c3                   	ret                                   
   * 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') &&                         
  107a1c:	80 7f 01 65          	cmpb   $0x65,0x1(%edi)                
  107a20:	0f 85 19 ff ff ff    	jne    10793f <devFS_mknod+0x1b>      <== NEVER TAKEN
  107a26:	80 7f 02 76          	cmpb   $0x76,0x2(%edi)                
  107a2a:	0f 85 0f ff ff ff    	jne    10793f <devFS_mknod+0x1b>      <== NEVER TAKEN
      (path[2] == 'v') && (path[3] == '\0'))                          
  107a30:	80 7f 03 00          	cmpb   $0x0,0x3(%edi)                 
  107a34:	0f 85 05 ff ff ff    	jne    10793f <devFS_mknod+0x1b>      
      return 0;                                                       
  107a3a:	31 c0                	xor    %eax,%eax                      
  107a3c:	eb be                	jmp    1079fc <devFS_mknod+0xd8>      
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  107a3e:	e8 79 8b 00 00       	call   1105bc <__errno>               
  107a43:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  107a49:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  107a4e:	eb ac                	jmp    1079fc <devFS_mknod+0xd8>      
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
  107a50:	e8 67 8b 00 00       	call   1105bc <__errno>               
  107a55:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    
  107a5b:	83 c8 ff             	or     $0xffffffff,%eax               
  107a5e:	eb 9c                	jmp    1079fc <devFS_mknod+0xd8>      
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
  107a60:	e8 57 8b 00 00       	call   1105bc <__errno>               
  107a65:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    
  107a6b:	83 c8 ff             	or     $0xffffffff,%eax               
  107a6e:	eb 8c                	jmp    1079fc <devFS_mknod+0xd8>      
                                                                      

00111b14 <device_ioctl>: int device_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
  111b14:	55                   	push   %ebp                           
  111b15:	89 e5                	mov    %esp,%ebp                      
  111b17:	83 ec 1c             	sub    $0x1c,%esp                     
  111b1a:	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;                                                 
  111b1d:	89 45 e8             	mov    %eax,-0x18(%ebp)               
  args.command = command;                                             
  111b20:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  111b23:	89 55 ec             	mov    %edx,-0x14(%ebp)               
  args.buffer  = buffer;                                              
  111b26:	8b 55 10             	mov    0x10(%ebp),%edx                
  111b29:	89 55 f0             	mov    %edx,-0x10(%ebp)               
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
  111b2c:	8b 40 18             	mov    0x18(%eax),%eax                
                                                                      
  status = rtems_io_control(                                          
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  111b2f:	8d 55 e8             	lea    -0x18(%ebp),%edx               
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  status = rtems_io_control(                                          
  111b32:	52                   	push   %edx                           
  111b33:	ff 70 54             	pushl  0x54(%eax)                     
  111b36:	ff 70 50             	pushl  0x50(%eax)                     
  111b39:	e8 8a 05 00 00       	call   1120c8 <rtems_io_control>      
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
  111b3e:	83 c4 10             	add    $0x10,%esp                     
  111b41:	85 c0                	test   %eax,%eax                      
  111b43:	75 07                	jne    111b4c <device_ioctl+0x38>     
    return rtems_deviceio_errno(status);                              
                                                                      
  return args.ioctl_return;                                           
  111b45:	8b 45 f4             	mov    -0xc(%ebp),%eax                
}                                                                     
  111b48:	c9                   	leave                                 
  111b49:	c3                   	ret                                   
  111b4a:	66 90                	xchg   %ax,%ax                        
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
    return rtems_deviceio_errno(status);                              
  111b4c:	83 ec 0c             	sub    $0xc,%esp                      
  111b4f:	50                   	push   %eax                           
  111b50:	e8 97 07 00 00       	call   1122ec <rtems_deviceio_errno>  
  111b55:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  return args.ioctl_return;                                           
}                                                                     
  111b58:	c9                   	leave                                 
  111b59:	c3                   	ret                                   
                                                                      

00108fa4 <drainOutput>: /* * Drain output queue */ static void drainOutput (struct rtems_termios_tty *tty) {
  108fa4:	55                   	push   %ebp                           
  108fa5:	89 e5                	mov    %esp,%ebp                      
  108fa7:	53                   	push   %ebx                           
  108fa8:	83 ec 04             	sub    $0x4,%esp                      
  108fab:	89 c3                	mov    %eax,%ebx                      
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
  108fad:	8b 90 b4 00 00 00    	mov    0xb4(%eax),%edx                
  108fb3:	85 d2                	test   %edx,%edx                      
  108fb5:	74 4d                	je     109004 <drainOutput+0x60>      
    rtems_interrupt_disable (level);                                  
  108fb7:	9c                   	pushf                                 
  108fb8:	fa                   	cli                                   
  108fb9:	58                   	pop    %eax                           
    while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {              
  108fba:	8b 8b 84 00 00 00    	mov    0x84(%ebx),%ecx                
  108fc0:	8b 93 80 00 00 00    	mov    0x80(%ebx),%edx                
  108fc6:	39 d1                	cmp    %edx,%ecx                      
  108fc8:	74 38                	je     109002 <drainOutput+0x5e>      
  108fca:	66 90                	xchg   %ax,%ax                        
      tty->rawOutBufState = rob_wait;                                 
  108fcc:	c7 83 94 00 00 00 02 	movl   $0x2,0x94(%ebx)                
  108fd3:	00 00 00                                                    
      rtems_interrupt_enable (level);                                 
  108fd6:	50                   	push   %eax                           
  108fd7:	9d                   	popf                                  
      sc = rtems_semaphore_obtain(                                    
  108fd8:	50                   	push   %eax                           
  108fd9:	6a 00                	push   $0x0                           
  108fdb:	6a 00                	push   $0x0                           
  108fdd:	ff b3 8c 00 00 00    	pushl  0x8c(%ebx)                     
  108fe3:	e8 c8 26 00 00       	call   10b6b0 <rtems_semaphore_obtain>
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
  108fe8:	83 c4 10             	add    $0x10,%esp                     
  108feb:	85 c0                	test   %eax,%eax                      
  108fed:	75 1a                	jne    109009 <drainOutput+0x65>      <== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
  108fef:	9c                   	pushf                                 
  108ff0:	fa                   	cli                                   
  108ff1:	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) {              
  108ff2:	8b 8b 84 00 00 00    	mov    0x84(%ebx),%ecx                
  108ff8:	8b 93 80 00 00 00    	mov    0x80(%ebx),%edx                
  108ffe:	39 d1                	cmp    %edx,%ecx                      
  109000:	75 ca                	jne    108fcc <drainOutput+0x28>      <== NEVER TAKEN
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    rtems_interrupt_enable (level);                                   
  109002:	50                   	push   %eax                           
  109003:	9d                   	popf                                  
  }                                                                   
}                                                                     
  109004:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  109007:	c9                   	leave                                 
  109008:	c3                   	ret                                   
      tty->rawOutBufState = rob_wait;                                 
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
  109009:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10900c:	50                   	push   %eax                           <== NOT EXECUTED
  10900d:	e8 ea 2c 00 00       	call   10bcfc <rtems_fatal_error_occurred><== NOT EXECUTED
                                                                      

00109d3c <echo>: /* * Echo a typed character */ static void echo (unsigned char c, struct rtems_termios_tty *tty) {
  109d3c:	55                   	push   %ebp                           
  109d3d:	89 e5                	mov    %esp,%ebp                      
  109d3f:	53                   	push   %ebx                           
  109d40:	83 ec 24             	sub    $0x24,%esp                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
  109d43:	f6 42 3d 02          	testb  $0x2,0x3d(%edx)                
  109d47:	74 1b                	je     109d64 <echo+0x28>             <== NEVER TAKEN
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
  109d49:	0f b6 c8             	movzbl %al,%ecx                       
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
  109d4c:	8b 1d f4 31 12 00    	mov    0x1231f4,%ebx                  
  109d52:	f6 44 0b 01 20       	testb  $0x20,0x1(%ebx,%ecx,1)         
  109d57:	74 0b                	je     109d64 <echo+0x28>             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
  109d59:	3c 09                	cmp    $0x9,%al                       
  109d5b:	74 07                	je     109d64 <echo+0x28>             
  109d5d:	3c 0a                	cmp    $0xa,%al                       
  109d5f:	75 13                	jne    109d74 <echo+0x38>             
  109d61:	8d 76 00             	lea    0x0(%esi),%esi                 
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
    tty->column += 2;                                                 
  } else {                                                            
    oproc (c, tty);                                                   
  109d64:	0f b6 c0             	movzbl %al,%eax                       
  109d67:	e8 94 fe ff ff       	call   109c00 <oproc>                 
  }                                                                   
}                                                                     
  109d6c:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  109d6f:	c9                   	leave                                 
  109d70:	c3                   	ret                                   
  109d71:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
  109d74:	c6 45 f6 5e          	movb   $0x5e,-0xa(%ebp)               
    echobuf[1] = c ^ 0x40;                                            
  109d78:	83 f0 40             	xor    $0x40,%eax                     
  109d7b:	88 45 f7             	mov    %al,-0x9(%ebp)                 
    rtems_termios_puts (echobuf, 2, tty);                             
  109d7e:	53                   	push   %ebx                           
  109d7f:	52                   	push   %edx                           
  109d80:	6a 02                	push   $0x2                           
  109d82:	8d 45 f6             	lea    -0xa(%ebp),%eax                
  109d85:	50                   	push   %eax                           
  109d86:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  109d89:	e8 3e fd ff ff       	call   109acc <rtems_termios_puts>    
    tty->column += 2;                                                 
  109d8e:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  109d91:	83 42 28 02          	addl   $0x2,0x28(%edx)                
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
  109d95:	83 c4 10             	add    $0x10,%esp                     
    rtems_termios_puts (echobuf, 2, tty);                             
    tty->column += 2;                                                 
  } else {                                                            
    oproc (c, tty);                                                   
  }                                                                   
}                                                                     
  109d98:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  109d9b:	c9                   	leave                                 
  109d9c:	c3                   	ret                                   
                                                                      

00108f64 <endgrent>: void endgrent(void) {
  108f64:	55                   	push   %ebp                           
  108f65:	89 e5                	mov    %esp,%ebp                      
  108f67:	83 ec 08             	sub    $0x8,%esp                      
  if (group_fp != NULL)                                               
  108f6a:	a1 e0 6f 12 00       	mov    0x126fe0,%eax                  
  108f6f:	85 c0                	test   %eax,%eax                      
  108f71:	74 0c                	je     108f7f <endgrent+0x1b>         <== NEVER TAKEN
    fclose(group_fp);                                                 
  108f73:	83 ec 0c             	sub    $0xc,%esp                      
  108f76:	50                   	push   %eax                           
  108f77:	e8 98 a3 00 00       	call   113314 <fclose>                
  108f7c:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  108f7f:	c9                   	leave                                 
  108f80:	c3                   	ret                                   
                                                                      

00108e0c <endpwent>: void endpwent(void) {
  108e0c:	55                   	push   %ebp                           
  108e0d:	89 e5                	mov    %esp,%ebp                      
  108e0f:	83 ec 08             	sub    $0x8,%esp                      
  if (passwd_fp != NULL)                                              
  108e12:	a1 c8 70 12 00       	mov    0x1270c8,%eax                  
  108e17:	85 c0                	test   %eax,%eax                      
  108e19:	74 0c                	je     108e27 <endpwent+0x1b>         <== NEVER TAKEN
    fclose(passwd_fp);                                                
  108e1b:	83 ec 0c             	sub    $0xc,%esp                      
  108e1e:	50                   	push   %eax                           
  108e1f:	e8 f0 a4 00 00       	call   113314 <fclose>                
  108e24:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  108e27:	c9                   	leave                                 
  108e28:	c3                   	ret                                   
                                                                      

00109da0 <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) {
  109da0:	55                   	push   %ebp                           
  109da1:	89 e5                	mov    %esp,%ebp                      
  109da3:	57                   	push   %edi                           
  109da4:	56                   	push   %esi                           
  109da5:	53                   	push   %ebx                           
  109da6:	83 ec 1c             	sub    $0x1c,%esp                     
  109da9:	89 c3                	mov    %eax,%ebx                      
  109dab:	89 d7                	mov    %edx,%edi                      
  if (tty->ccount == 0)                                               
  109dad:	8b 48 20             	mov    0x20(%eax),%ecx                
  109db0:	85 c9                	test   %ecx,%ecx                      
  109db2:	0f 84 84 00 00 00    	je     109e3c <erase+0x9c>            
    return;                                                           
  if (lineFlag) {                                                     
  109db8:	85 d2                	test   %edx,%edx                      
  109dba:	0f 85 84 00 00 00    	jne    109e44 <erase+0xa4>            
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
  109dc0:	8b 50 3c             	mov    0x3c(%eax),%edx                
  109dc3:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
  109dc6:	eb 1d                	jmp    109de5 <erase+0x45>            
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
  109dc8:	80 e6 02             	and    $0x2,%dh                       <== NOT EXECUTED
  109dcb:	0f 85 37 01 00 00    	jne    109f08 <erase+0x168>           <== NOT EXECUTED
  109dd1:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
  109dd4:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
  109dd7:	85 f6                	test   %esi,%esi                      
  109dd9:	74 61                	je     109e3c <erase+0x9c>            <== NEVER TAKEN
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
  109ddb:	8b 4b 20             	mov    0x20(%ebx),%ecx                
  109dde:	85 c9                	test   %ecx,%ecx                      
  109de0:	74 5a                	je     109e3c <erase+0x9c>            
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
      tty->ccount = 0;                                                
      echo (tty->termios.c_cc[VKILL], tty);                           
      if (tty->termios.c_lflag & ECHOK)                               
        echo ('\n', tty);                                             
  109de2:	8b 53 3c             	mov    0x3c(%ebx),%edx                
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
  109de5:	8b 7b 1c             	mov    0x1c(%ebx),%edi                
  109de8:	49                   	dec    %ecx                           
  109de9:	89 4b 20             	mov    %ecx,0x20(%ebx)                
  109dec:	8a 04 0f             	mov    (%edi,%ecx,1),%al              
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
  109def:	f6 c2 08             	test   $0x8,%dl                       
  109df2:	74 e0                	je     109dd4 <erase+0x34>            <== NEVER TAKEN
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
  109df4:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
  109df7:	85 f6                	test   %esi,%esi                      
  109df9:	75 09                	jne    109e04 <erase+0x64>            
  109dfb:	f6 c2 10             	test   $0x10,%dl                      
  109dfe:	0f 84 f0 00 00 00    	je     109ef4 <erase+0x154>           <== NEVER TAKEN
        echo (tty->termios.c_cc[VERASE], tty);                        
      } else if (c == '\t') {                                         
  109e04:	3c 09                	cmp    $0x9,%al                       
  109e06:	74 58                	je     109e60 <erase+0xc0>            
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
  109e08:	0f b6 c0             	movzbl %al,%eax                       
  109e0b:	8d 70 01             	lea    0x1(%eax),%esi                 
  109e0e:	a1 f4 31 12 00       	mov    0x1231f4,%eax                  
  109e13:	f6 04 30 20          	testb  $0x20,(%eax,%esi,1)            
  109e17:	75 af                	jne    109dc8 <erase+0x28>            <== NEVER TAKEN
          rtems_termios_puts ("\b \b", 3, tty);                       
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
          rtems_termios_puts ("\b \b", 3, tty);                       
  109e19:	57                   	push   %edi                           
  109e1a:	53                   	push   %ebx                           
  109e1b:	6a 03                	push   $0x3                           
  109e1d:	68 26 fc 11 00       	push   $0x11fc26                      
  109e22:	e8 a5 fc ff ff       	call   109acc <rtems_termios_puts>    
          if (tty->column)                                            
  109e27:	8b 43 28             	mov    0x28(%ebx),%eax                
  109e2a:	83 c4 10             	add    $0x10,%esp                     
  109e2d:	85 c0                	test   %eax,%eax                      
  109e2f:	74 a3                	je     109dd4 <erase+0x34>            <== NEVER TAKEN
            tty->column--;                                            
  109e31:	48                   	dec    %eax                           
  109e32:	89 43 28             	mov    %eax,0x28(%ebx)                
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
  109e35:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
  109e38:	85 f6                	test   %esi,%esi                      
  109e3a:	75 9f                	jne    109ddb <erase+0x3b>            
      break;                                                          
  }                                                                   
}                                                                     
  109e3c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109e3f:	5b                   	pop    %ebx                           
  109e40:	5e                   	pop    %esi                           
  109e41:	5f                   	pop    %edi                           
  109e42:	c9                   	leave                                 
  109e43:	c3                   	ret                                   
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
  if (tty->ccount == 0)                                               
    return;                                                           
  if (lineFlag) {                                                     
    if (!(tty->termios.c_lflag & ECHO)) {                             
  109e44:	8b 50 3c             	mov    0x3c(%eax),%edx                
  109e47:	f6 c2 08             	test   $0x8,%dl                       
  109e4a:	0f 84 94 00 00 00    	je     109ee4 <erase+0x144>           <== NEVER TAKEN
      tty->ccount = 0;                                                
      return;                                                         
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
  109e50:	f6 c2 10             	test   $0x10,%dl                      
  109e53:	0f 84 eb 00 00 00    	je     109f44 <erase+0x1a4>           <== NEVER TAKEN
  109e59:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
  109e5c:	eb 87                	jmp    109de5 <erase+0x45>            
  109e5e:	66 90                	xchg   %ax,%ax                        
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
        echo (tty->termios.c_cc[VERASE], tty);                        
      } else if (c == '\t') {                                         
        int col = tty->read_start_column;                             
  109e60:	8b 73 2c             	mov    0x2c(%ebx),%esi                
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
  109e63:	85 c9                	test   %ecx,%ecx                      
  109e65:	74 46                	je     109ead <erase+0x10d>           
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
  109e67:	a1 f4 31 12 00       	mov    0x1231f4,%eax                  
  109e6c:	89 45 dc             	mov    %eax,-0x24(%ebp)               
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
        echo (tty->termios.c_cc[VERASE], tty);                        
      } else if (c == '\t') {                                         
        int col = tty->read_start_column;                             
        int i = 0;                                                    
  109e6f:	31 c0                	xor    %eax,%eax                      
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
            if (tty->termios.c_lflag & ECHOCTL)                       
  109e71:	81 e2 00 02 00 00    	and    $0x200,%edx                    
  109e77:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  109e7a:	89 5d d8             	mov    %ebx,-0x28(%ebp)               
  109e7d:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
  109e80:	eb 10                	jmp    109e92 <erase+0xf2>            
  109e82:	66 90                	xchg   %ax,%ax                        
  109e84:	8b 55 e0             	mov    -0x20(%ebp),%edx               <== NOT EXECUTED
  109e87:	85 d2                	test   %edx,%edx                      <== NOT EXECUTED
  109e89:	74 03                	je     109e8e <erase+0xee>            <== NOT EXECUTED
              col += 2;                                               
  109e8b:	83 c6 02             	add    $0x2,%esi                      <== NOT EXECUTED
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
  109e8e:	39 c1                	cmp    %eax,%ecx                      
  109e90:	74 18                	je     109eaa <erase+0x10a>           <== NEVER TAKEN
          c = tty->cbuf[i++];                                         
  109e92:	8a 14 07             	mov    (%edi,%eax,1),%dl              
  109e95:	40                   	inc    %eax                           
          if (c == '\t') {                                            
  109e96:	80 fa 09             	cmp    $0x9,%dl                       
  109e99:	74 41                	je     109edc <erase+0x13c>           
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
  109e9b:	0f b6 d2             	movzbl %dl,%edx                       
  109e9e:	f6 44 13 01 20       	testb  $0x20,0x1(%ebx,%edx,1)         
  109ea3:	75 df                	jne    109e84 <erase+0xe4>            <== NEVER TAKEN
            if (tty->termios.c_lflag & ECHOCTL)                       
              col += 2;                                               
          } else {                                                    
            col++;                                                    
  109ea5:	46                   	inc    %esi                           
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
  109ea6:	39 c1                	cmp    %eax,%ecx                      
  109ea8:	75 e8                	jne    109e92 <erase+0xf2>            
  109eaa:	8b 5d d8             	mov    -0x28(%ebp),%ebx               
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
  109ead:	3b 73 28             	cmp    0x28(%ebx),%esi                
  109eb0:	0f 8d 1e ff ff ff    	jge    109dd4 <erase+0x34>            <== NEVER TAKEN
  109eb6:	66 90                	xchg   %ax,%ax                        
          rtems_termios_puts ("\b", 1, tty);                          
  109eb8:	52                   	push   %edx                           
  109eb9:	53                   	push   %ebx                           
  109eba:	6a 01                	push   $0x1                           
  109ebc:	68 28 fc 11 00       	push   $0x11fc28                      
  109ec1:	e8 06 fc ff ff       	call   109acc <rtems_termios_puts>    
          tty->column--;                                              
  109ec6:	8b 43 28             	mov    0x28(%ebx),%eax                
  109ec9:	48                   	dec    %eax                           
  109eca:	89 43 28             	mov    %eax,0x28(%ebx)                
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
  109ecd:	83 c4 10             	add    $0x10,%esp                     
  109ed0:	39 f0                	cmp    %esi,%eax                      
  109ed2:	7f e4                	jg     109eb8 <erase+0x118>           
  109ed4:	e9 fb fe ff ff       	jmp    109dd4 <erase+0x34>            
  109ed9:	8d 76 00             	lea    0x0(%esi),%esi                 
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
  109edc:	83 ce 07             	or     $0x7,%esi                      
  109edf:	46                   	inc    %esi                           
  109ee0:	eb ac                	jmp    109e8e <erase+0xee>            
  109ee2:	66 90                	xchg   %ax,%ax                        
{                                                                     
  if (tty->ccount == 0)                                               
    return;                                                           
  if (lineFlag) {                                                     
    if (!(tty->termios.c_lflag & ECHO)) {                             
      tty->ccount = 0;                                                
  109ee4:	c7 40 20 00 00 00 00 	movl   $0x0,0x20(%eax)                <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
  109eeb:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  109eee:	5b                   	pop    %ebx                           <== NOT EXECUTED
  109eef:	5e                   	pop    %esi                           <== NOT EXECUTED
  109ef0:	5f                   	pop    %edi                           <== NOT EXECUTED
  109ef1:	c9                   	leave                                 <== NOT EXECUTED
  109ef2:	c3                   	ret                                   <== NOT EXECUTED
  109ef3:	90                   	nop                                   <== 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);                        
  109ef4:	0f b6 43 43          	movzbl 0x43(%ebx),%eax                <== NOT EXECUTED
  109ef8:	89 da                	mov    %ebx,%edx                      <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
  109efa:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  109efd:	5b                   	pop    %ebx                           <== NOT EXECUTED
  109efe:	5e                   	pop    %esi                           <== NOT EXECUTED
  109eff:	5f                   	pop    %edi                           <== NOT EXECUTED
  109f00:	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);                        
  109f01:	e9 36 fe ff ff       	jmp    109d3c <echo>                  <== NOT EXECUTED
  109f06:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
          rtems_termios_puts ("\b \b", 3, tty);                       
  109f08:	50                   	push   %eax                           <== NOT EXECUTED
  109f09:	53                   	push   %ebx                           <== NOT EXECUTED
  109f0a:	6a 03                	push   $0x3                           <== NOT EXECUTED
  109f0c:	68 26 fc 11 00       	push   $0x11fc26                      <== NOT EXECUTED
  109f11:	e8 b6 fb ff ff       	call   109acc <rtems_termios_puts>    <== NOT EXECUTED
          if (tty->column)                                            
  109f16:	8b 43 28             	mov    0x28(%ebx),%eax                <== NOT EXECUTED
  109f19:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  109f1c:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  109f1e:	74 04                	je     109f24 <erase+0x184>           <== NOT EXECUTED
            tty->column--;                                            
  109f20:	48                   	dec    %eax                           <== NOT EXECUTED
  109f21:	89 43 28             	mov    %eax,0x28(%ebx)                <== NOT EXECUTED
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
  109f24:	a1 f4 31 12 00       	mov    0x1231f4,%eax                  <== NOT EXECUTED
  109f29:	f6 04 30 20          	testb  $0x20,(%eax,%esi,1)            <== NOT EXECUTED
  109f2d:	0f 84 e6 fe ff ff    	je     109e19 <erase+0x79>            <== NOT EXECUTED
  109f33:	f6 43 3d 02          	testb  $0x2,0x3d(%ebx)                <== NOT EXECUTED
  109f37:	0f 85 dc fe ff ff    	jne    109e19 <erase+0x79>            <== NOT EXECUTED
  109f3d:	e9 92 fe ff ff       	jmp    109dd4 <erase+0x34>            <== NOT EXECUTED
  109f42:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
    if (!(tty->termios.c_lflag & ECHO)) {                             
      tty->ccount = 0;                                                
      return;                                                         
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
      tty->ccount = 0;                                                
  109f44:	c7 40 20 00 00 00 00 	movl   $0x0,0x20(%eax)                <== NOT EXECUTED
      echo (tty->termios.c_cc[VKILL], tty);                           
  109f4b:	0f b6 40 44          	movzbl 0x44(%eax),%eax                <== NOT EXECUTED
  109f4f:	89 da                	mov    %ebx,%edx                      <== NOT EXECUTED
  109f51:	e8 e6 fd ff ff       	call   109d3c <echo>                  <== NOT EXECUTED
      if (tty->termios.c_lflag & ECHOK)                               
  109f56:	f6 43 3c 20          	testb  $0x20,0x3c(%ebx)               <== NOT EXECUTED
  109f5a:	0f 84 dc fe ff ff    	je     109e3c <erase+0x9c>            <== NOT EXECUTED
        echo ('\n', tty);                                             
  109f60:	89 da                	mov    %ebx,%edx                      <== NOT EXECUTED
  109f62:	b8 0a 00 00 00       	mov    $0xa,%eax                      <== NOT EXECUTED
  109f67:	eb 91                	jmp    109efa <erase+0x15a>           <== NOT EXECUTED
                                                                      

00108b30 <fchdir>: #include <rtems/seterr.h> int fchdir( int fd ) {
  108b30:	55                   	push   %ebp                           
  108b31:	89 e5                	mov    %esp,%ebp                      
  108b33:	57                   	push   %edi                           
  108b34:	56                   	push   %esi                           
  108b35:	53                   	push   %ebx                           
  108b36:	83 ec 4c             	sub    $0x4c,%esp                     
  108b39:	8b 45 08             	mov    0x8(%ebp),%eax                 
  rtems_libio_t *iop;                                                 
  rtems_filesystem_location_info_t loc, saved;                        
                                                                      
  rtems_libio_check_fd( fd );                                         
  108b3c:	3b 05 2c 34 12 00    	cmp    0x12342c,%eax                  
  108b42:	0f 83 d0 00 00 00    	jae    108c18 <fchdir+0xe8>           
  iop = rtems_libio_iop( fd );                                        
  108b48:	c1 e0 03             	shl    $0x3,%eax                      
  108b4b:	8d 1c c5 00 00 00 00 	lea    0x0(,%eax,8),%ebx              
  108b52:	29 c3                	sub    %eax,%ebx                      
  108b54:	03 1d e0 75 12 00    	add    0x1275e0,%ebx                  
  rtems_libio_check_is_open(iop);                                     
  108b5a:	8b 43 14             	mov    0x14(%ebx),%eax                
  108b5d:	f6 c4 01             	test   $0x1,%ah                       
  108b60:	0f 84 b2 00 00 00    	je     108c18 <fchdir+0xe8>           
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
  108b66:	a8 02                	test   $0x2,%al                       
  108b68:	0f 84 be 00 00 00    	je     108c2c <fchdir+0xfc>           
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
                                                                      
  if (  (*iop->pathinfo.ops->node_type_h)( &iop->pathinfo ) !=        
  108b6e:	83 ec 0c             	sub    $0xc,%esp                      
  108b71:	8b 43 24             	mov    0x24(%ebx),%eax                
  108b74:	83 c3 18             	add    $0x18,%ebx                     
  108b77:	53                   	push   %ebx                           
  108b78:	ff 50 10             	call   *0x10(%eax)                    
  108b7b:	83 c4 10             	add    $0x10,%esp                     
  108b7e:	48                   	dec    %eax                           
  108b7f:	75 67                	jne    108be8 <fchdir+0xb8>           
   *         but note the race condition. Threads who                 
   *         share their rtems_filesystem_current better              
   *         be synchronized!                                         
   */                                                                 
                                                                      
  saved                    = rtems_filesystem_current;                
  108b81:	a1 30 54 12 00       	mov    0x125430,%eax                  
  108b86:	8d 55 c0             	lea    -0x40(%ebp),%edx               
  108b89:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
  108b8c:	8d 70 04             	lea    0x4(%eax),%esi                 
  108b8f:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  108b94:	89 d7                	mov    %edx,%edi                      
  108b96:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  rtems_filesystem_current = iop->pathinfo;                           
  108b98:	8d 78 04             	lea    0x4(%eax),%edi                 
  108b9b:	b1 05                	mov    $0x5,%cl                       
  108b9d:	89 de                	mov    %ebx,%esi                      
  108b9f:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
  108ba1:	83 ec 0c             	sub    $0xc,%esp                      
  108ba4:	6a 00                	push   $0x0                           
  108ba6:	8d 75 d4             	lea    -0x2c(%ebp),%esi               
  108ba9:	56                   	push   %esi                           
  108baa:	6a 00                	push   $0x0                           
  108bac:	6a 01                	push   $0x1                           
  108bae:	68 f6 14 12 00       	push   $0x1214f6                      
  108bb3:	e8 a0 fe ff ff       	call   108a58 <rtems_filesystem_evaluate_path>
  108bb8:	83 c4 20             	add    $0x20,%esp                     
  108bbb:	85 c0                	test   %eax,%eax                      
  108bbd:	75 3d                	jne    108bfc <fchdir+0xcc>           
    /* cloning failed; restore original and bail out */               
    rtems_filesystem_current = saved;                                 
    return -1;                                                        
  }                                                                   
  /* release the old one */                                           
  rtems_filesystem_freenode( &saved );                                
  108bbf:	83 ec 0c             	sub    $0xc,%esp                      
  108bc2:	8d 45 c0             	lea    -0x40(%ebp),%eax               
  108bc5:	50                   	push   %eax                           
  108bc6:	e8 61 01 00 00       	call   108d2c <rtems_filesystem_freenode>
                                                                      
  rtems_filesystem_current = loc;                                     
  108bcb:	8b 3d 30 54 12 00    	mov    0x125430,%edi                  
  108bd1:	83 c7 04             	add    $0x4,%edi                      
  108bd4:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  108bd9:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  return 0;                                                           
  108bdb:	83 c4 10             	add    $0x10,%esp                     
  108bde:	31 c0                	xor    %eax,%eax                      
}                                                                     
  108be0:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108be3:	5b                   	pop    %ebx                           
  108be4:	5e                   	pop    %esi                           
  108be5:	5f                   	pop    %edi                           
  108be6:	c9                   	leave                                 
  108be7:	c3                   	ret                                   
   * Verify you can change directory into this node.                  
   */                                                                 
                                                                      
  if (  (*iop->pathinfo.ops->node_type_h)( &iop->pathinfo ) !=        
                                          RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  108be8:	e8 ff a5 00 00       	call   1131ec <__errno>               
  108bed:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   
  108bf3:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  108bf8:	eb e6                	jmp    108be0 <fchdir+0xb0>           
  108bfa:	66 90                	xchg   %ax,%ax                        
  rtems_filesystem_current = iop->pathinfo;                           
                                                                      
  /* clone the current node */                                        
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
    /* cloning failed; restore original and bail out */               
    rtems_filesystem_current = saved;                                 
  108bfc:	8b 3d 30 54 12 00    	mov    0x125430,%edi                  
  108c02:	83 c7 04             	add    $0x4,%edi                      
  108c05:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  108c0a:	8b 75 b4             	mov    -0x4c(%ebp),%esi               
  108c0d:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
    return -1;                                                        
  108c0f:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  108c14:	eb ca                	jmp    108be0 <fchdir+0xb0>           
  108c16:	66 90                	xchg   %ax,%ax                        
  rtems_libio_t *iop;                                                 
  rtems_filesystem_location_info_t loc, saved;                        
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
  108c18:	e8 cf a5 00 00       	call   1131ec <__errno>               
  108c1d:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  108c23:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  108c28:	eb b6                	jmp    108be0 <fchdir+0xb0>           
  108c2a:	66 90                	xchg   %ax,%ax                        
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
  108c2c:	e8 bb a5 00 00       	call   1131ec <__errno>               
  108c31:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  108c37:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  108c3c:	eb a2                	jmp    108be0 <fchdir+0xb0>           
                                                                      

00108c40 <fchmod>: int fchmod( int fd, mode_t mode ) {
  108c40:	55                   	push   %ebp                           
  108c41:	89 e5                	mov    %esp,%ebp                      
  108c43:	83 ec 08             	sub    $0x8,%esp                      
  108c46:	8b 45 08             	mov    0x8(%ebp),%eax                 
  108c49:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  108c4c:	3b 05 2c 34 12 00    	cmp    0x12342c,%eax                  
  108c52:	73 38                	jae    108c8c <fchmod+0x4c>           
  iop = rtems_libio_iop( fd );                                        
  108c54:	8d 14 c5 00 00 00 00 	lea    0x0(,%eax,8),%edx              
  108c5b:	8d 04 d5 00 00 00 00 	lea    0x0(,%edx,8),%eax              
  108c62:	29 d0                	sub    %edx,%eax                      
  108c64:	03 05 e0 75 12 00    	add    0x1275e0,%eax                  
  rtems_libio_check_is_open(iop);                                     
  108c6a:	8b 50 14             	mov    0x14(%eax),%edx                
  108c6d:	f6 c6 01             	test   $0x1,%dh                       
  108c70:	74 1a                	je     108c8c <fchmod+0x4c>           
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
  108c72:	83 e2 04             	and    $0x4,%edx                      
  108c75:	74 29                	je     108ca0 <fchmod+0x60>           
                                                                      
  return (*iop->pathinfo.handlers->fchmod_h)( &iop->pathinfo, mode ); 
  108c77:	8b 50 20             	mov    0x20(%eax),%edx                
  108c7a:	89 4d 0c             	mov    %ecx,0xc(%ebp)                 
  108c7d:	83 c0 18             	add    $0x18,%eax                     
  108c80:	89 45 08             	mov    %eax,0x8(%ebp)                 
  108c83:	8b 42 1c             	mov    0x1c(%edx),%eax                
}                                                                     
  108c86:	c9                   	leave                                 
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
                                                                      
  return (*iop->pathinfo.handlers->fchmod_h)( &iop->pathinfo, mode ); 
  108c87:	ff e0                	jmp    *%eax                          
  108c89:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
  108c8c:	e8 5b a5 00 00       	call   1131ec <__errno>               
  108c91:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
                                                                      
  return (*iop->pathinfo.handlers->fchmod_h)( &iop->pathinfo, mode ); 
}                                                                     
  108c97:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  108c9c:	c9                   	leave                                 
  108c9d:	c3                   	ret                                   
  108c9e:	66 90                	xchg   %ax,%ax                        
                                                                      
  /*                                                                  
   *  Now process the fchmod().                                       
   */                                                                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
  108ca0:	e8 47 a5 00 00       	call   1131ec <__errno>               
  108ca5:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  108cab:	eb ea                	jmp    108c97 <fchmod+0x57>           
                                                                      

00108ae0 <fcntl>: int fcntl( int fd, int cmd, ... ) {
  108ae0:	55                   	push   %ebp                           
  108ae1:	89 e5                	mov    %esp,%ebp                      
  108ae3:	57                   	push   %edi                           
  108ae4:	56                   	push   %esi                           
  108ae5:	53                   	push   %ebx                           
  108ae6:	83 ec 1c             	sub    $0x1c,%esp                     
  108ae9:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  108aec:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  108aef:	8d 7d 10             	lea    0x10(%ebp),%edi                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  108af2:	8b 0d 4c 31 12 00    	mov    0x12314c,%ecx                  
  108af8:	39 cb                	cmp    %ecx,%ebx                      
  108afa:	0f 83 5c 01 00 00    	jae    108c5c <fcntl+0x17c>           
  iop = rtems_libio_iop( fd );                                        
  108b00:	a1 00 73 12 00       	mov    0x127300,%eax                  
  108b05:	8d 34 dd 00 00 00 00 	lea    0x0(,%ebx,8),%esi              
  108b0c:	8d 1c f5 00 00 00 00 	lea    0x0(,%esi,8),%ebx              
  108b13:	29 f3                	sub    %esi,%ebx                      
  108b15:	8d 1c 18             	lea    (%eax,%ebx,1),%ebx             
  rtems_libio_check_is_open(iop);                                     
  108b18:	8b 73 14             	mov    0x14(%ebx),%esi                
  108b1b:	f7 c6 00 01 00 00    	test   $0x100,%esi                    
  108b21:	0f 84 35 01 00 00    	je     108c5c <fcntl+0x17c>           
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
  108b27:	83 fa 09             	cmp    $0x9,%edx                      
  108b2a:	76 10                	jbe    108b3c <fcntl+0x5c>            
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
  108b2c:	e8 6b a9 00 00       	call   11349c <__errno>               
  108b31:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  108b37:	eb 16                	jmp    108b4f <fcntl+0x6f>            
  108b39:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
  108b3c:	ff 24 95 f0 16 12 00 	jmp    *0x1216f0(,%edx,4)             
  108b43:	90                   	nop                                   
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
  108b44:	e8 53 a9 00 00       	call   11349c <__errno>               
  108b49:	c7 00 86 00 00 00    	movl   $0x86,(%eax)                   
                                                                      
  if (ret >= 0) {                                                     
    int err = (*iop->pathinfo.handlers->fcntl_h)( cmd, iop );         
    if (err) {                                                        
      errno = err;                                                    
      ret = -1;                                                       
  108b4f:	be ff ff ff ff       	mov    $0xffffffff,%esi               
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
  108b54:	89 f0                	mov    %esi,%eax                      
  108b56:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108b59:	5b                   	pop    %ebx                           
  108b5a:	5e                   	pop    %esi                           
  108b5b:	5f                   	pop    %edi                           
  108b5c:	c9                   	leave                                 
  108b5d:	c3                   	ret                                   
  108b5e:	66 90                	xchg   %ax,%ax                        
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
  108b60:	83 ec 0c             	sub    $0xc,%esp                      
  108b63:	ff 37                	pushl  (%edi)                         
  108b65:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  108b68:	e8 33 05 00 00       	call   1090a0 <rtems_libio_fcntl_flags>
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
  108b6d:	25 01 02 00 00       	and    $0x201,%eax                    
  108b72:	8b 4b 14             	mov    0x14(%ebx),%ecx                
  108b75:	81 e1 fe fd ff ff    	and    $0xfffffdfe,%ecx               
  108b7b:	09 c8                	or     %ecx,%eax                      
  108b7d:	89 43 14             	mov    %eax,0x14(%ebx)                
  108b80:	83 c4 10             	add    $0x10,%esp                     
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
  108b83:	31 f6                	xor    %esi,%esi                      
  108b85:	8b 55 e0             	mov    -0x20(%ebp),%edx               
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
    int err = (*iop->pathinfo.handlers->fcntl_h)( cmd, iop );         
  108b88:	83 ec 08             	sub    $0x8,%esp                      
  108b8b:	8b 43 20             	mov    0x20(%ebx),%eax                
  108b8e:	53                   	push   %ebx                           
  108b8f:	52                   	push   %edx                           
  108b90:	ff 50 30             	call   *0x30(%eax)                    
  108b93:	89 c3                	mov    %eax,%ebx                      
    if (err) {                                                        
  108b95:	83 c4 10             	add    $0x10,%esp                     
  108b98:	85 c0                	test   %eax,%eax                      
  108b9a:	74 b8                	je     108b54 <fcntl+0x74>            <== ALWAYS TAKEN
      errno = err;                                                    
  108b9c:	e8 fb a8 00 00       	call   11349c <__errno>               <== NOT EXECUTED
  108ba1:	89 18                	mov    %ebx,(%eax)                    <== NOT EXECUTED
  108ba3:	eb aa                	jmp    108b4f <fcntl+0x6f>            <== NOT EXECUTED
  108ba5:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
  108ba8:	83 ec 0c             	sub    $0xc,%esp                      
  108bab:	56                   	push   %esi                           
  108bac:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  108baf:	e8 24 05 00 00       	call   1090d8 <rtems_libio_to_fcntl_flags>
  108bb4:	89 c6                	mov    %eax,%esi                      
  108bb6:	83 c4 10             	add    $0x10,%esp                     
  108bb9:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
  108bbc:	85 f6                	test   %esi,%esi                      
  108bbe:	79 c8                	jns    108b88 <fcntl+0xa8>            <== ALWAYS TAKEN
  108bc0:	eb 92                	jmp    108b54 <fcntl+0x74>            <== NOT EXECUTED
  108bc2:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
       *  if a new process is exec()'ed.  Since RTEMS does not support
       *  processes, then we can ignore this one except to make       
       *  F_GETFD work.                                               
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
  108bc4:	8b 07                	mov    (%edi),%eax                    
  108bc6:	85 c0                	test   %eax,%eax                      
  108bc8:	74 6a                	je     108c34 <fcntl+0x154>           
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
  108bca:	81 ce 00 08 00 00    	or     $0x800,%esi                    
  108bd0:	89 73 14             	mov    %esi,0x14(%ebx)                
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
  108bd3:	31 f6                	xor    %esi,%esi                      
  108bd5:	eb b1                	jmp    108b88 <fcntl+0xa8>            
  108bd7:	90                   	nop                                   
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
      break;                                                          
                                                                      
    case F_GETFD:        /* get f_flags */                            
      ret = ((iop->flags & LIBIO_FLAGS_CLOSE_ON_EXEC) != 0);          
  108bd8:	31 c0                	xor    %eax,%eax                      
  108bda:	f7 c6 00 08 00 00    	test   $0x800,%esi                    
  108be0:	0f 95 c0             	setne  %al                            
  108be3:	89 c6                	mov    %eax,%esi                      
  108be5:	eb a1                	jmp    108b88 <fcntl+0xa8>            
  108be7:	90                   	nop                                   
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
  108be8:	8b 3f                	mov    (%edi),%edi                    
      if ( fd2 )                                                      
  108bea:	85 ff                	test   %edi,%edi                      
  108bec:	0f 84 82 00 00 00    	je     108c74 <fcntl+0x194>           
        diop = rtems_libio_iop( fd2 );                                
  108bf2:	39 f9                	cmp    %edi,%ecx                      
  108bf4:	77 4e                	ja     108c44 <fcntl+0x164>           <== ALWAYS TAKEN
  108bf6:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               <== NOT EXECUTED
  108bfd:	31 ff                	xor    %edi,%edi                      <== NOT EXECUTED
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
  108bff:	89 77 14             	mov    %esi,0x14(%edi)                
      diop->pathinfo   = iop->pathinfo;                               
  108c02:	83 c7 18             	add    $0x18,%edi                     
  108c05:	8d 73 18             	lea    0x18(%ebx),%esi                
  108c08:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  108c0d:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
      ret = (int) (diop - rtems_libio_iops);                          
  108c0f:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  108c12:	29 c1                	sub    %eax,%ecx                      
  108c14:	89 c8                	mov    %ecx,%eax                      
  108c16:	c1 f8 03             	sar    $0x3,%eax                      
  108c19:	8d 0c c0             	lea    (%eax,%eax,8),%ecx             
  108c1c:	8d 0c c8             	lea    (%eax,%ecx,8),%ecx             
  108c1f:	8d 0c c8             	lea    (%eax,%ecx,8),%ecx             
  108c22:	8d 0c c8             	lea    (%eax,%ecx,8),%ecx             
  108c25:	89 ce                	mov    %ecx,%esi                      
  108c27:	c1 e6 0f             	shl    $0xf,%esi                      
  108c2a:	01 f1                	add    %esi,%ecx                      
  108c2c:	8d 34 c8             	lea    (%eax,%ecx,8),%esi             
  108c2f:	f7 de                	neg    %esi                           
  108c31:	eb 89                	jmp    108bbc <fcntl+0xdc>            
  108c33:	90                   	nop                                   
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
  108c34:	81 e6 ff f7 ff ff    	and    $0xfffff7ff,%esi               
  108c3a:	89 73 14             	mov    %esi,0x14(%ebx)                
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
  108c3d:	31 f6                	xor    %esi,%esi                      
  108c3f:	e9 44 ff ff ff       	jmp    108b88 <fcntl+0xa8>            
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
      if ( fd2 )                                                      
        diop = rtems_libio_iop( fd2 );                                
  108c44:	8d 0c fd 00 00 00 00 	lea    0x0(,%edi,8),%ecx              
  108c4b:	8d 3c cd 00 00 00 00 	lea    0x0(,%ecx,8),%edi              
  108c52:	29 cf                	sub    %ecx,%edi                      
  108c54:	8d 3c 38             	lea    (%eax,%edi,1),%edi             
  108c57:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
  108c5a:	eb a3                	jmp    108bff <fcntl+0x11f>           
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
  108c5c:	e8 3b a8 00 00       	call   11349c <__errno>               
  108c61:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  108c67:	be ff ff ff ff       	mov    $0xffffffff,%esi               
  108c6c:	e9 e3 fe ff ff       	jmp    108b54 <fcntl+0x74>            
  108c71:	8d 76 00             	lea    0x0(%esi),%esi                 
      fd2 = va_arg( ap, int );                                        
      if ( fd2 )                                                      
        diop = rtems_libio_iop( fd2 );                                
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
  108c74:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  108c77:	e8 a0 04 00 00       	call   10911c <rtems_libio_allocate>  
  108c7c:	89 c7                	mov    %eax,%edi                      
        if ( diop == 0 ) {                                            
  108c7e:	85 c0                	test   %eax,%eax                      
  108c80:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  108c83:	0f 84 c6 fe ff ff    	je     108b4f <fcntl+0x6f>            <== NEVER TAKEN
  108c89:	8b 73 14             	mov    0x14(%ebx),%esi                
  108c8c:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  108c8f:	a1 00 73 12 00       	mov    0x127300,%eax                  
  108c94:	e9 66 ff ff ff       	jmp    108bff <fcntl+0x11f>           
                                                                      

00108cbc <fdatasync>: #include <rtems/seterr.h> int fdatasync( int fd ) {
  108cbc:	55                   	push   %ebp                           
  108cbd:	89 e5                	mov    %esp,%ebp                      
  108cbf:	83 ec 08             	sub    $0x8,%esp                      
  108cc2:	8b 45 08             	mov    0x8(%ebp),%eax                 
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  108cc5:	3b 05 4c 31 12 00    	cmp    0x12314c,%eax                  
  108ccb:	73 2f                	jae    108cfc <fdatasync+0x40>        
  iop = rtems_libio_iop( fd );                                        
  108ccd:	8d 14 c5 00 00 00 00 	lea    0x0(,%eax,8),%edx              
  108cd4:	8d 04 d5 00 00 00 00 	lea    0x0(,%edx,8),%eax              
  108cdb:	29 d0                	sub    %edx,%eax                      
  108cdd:	03 05 00 73 12 00    	add    0x127300,%eax                  
  rtems_libio_check_is_open(iop);                                     
  108ce3:	8b 50 14             	mov    0x14(%eax),%edx                
  108ce6:	f6 c6 01             	test   $0x1,%dh                       
  108ce9:	74 11                	je     108cfc <fdatasync+0x40>        
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
  108ceb:	83 e2 04             	and    $0x4,%edx                      
  108cee:	74 20                	je     108d10 <fdatasync+0x54>        
                                                                      
  /*                                                                  
   *  Now process the fdatasync().                                    
   */                                                                 
                                                                      
  return (*iop->pathinfo.handlers->fdatasync_h)( iop );               
  108cf0:	8b 50 20             	mov    0x20(%eax),%edx                
  108cf3:	89 45 08             	mov    %eax,0x8(%ebp)                 
  108cf6:	8b 42 2c             	mov    0x2c(%edx),%eax                
}                                                                     
  108cf9:	c9                   	leave                                 
                                                                      
  /*                                                                  
   *  Now process the fdatasync().                                    
   */                                                                 
                                                                      
  return (*iop->pathinfo.handlers->fdatasync_h)( iop );               
  108cfa:	ff e0                	jmp    *%eax                          
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
  108cfc:	e8 9b a7 00 00       	call   11349c <__errno>               
  108d01:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  /*                                                                  
   *  Now process the fdatasync().                                    
   */                                                                 
                                                                      
  return (*iop->pathinfo.handlers->fdatasync_h)( iop );               
}                                                                     
  108d07:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  108d0c:	c9                   	leave                                 
  108d0d:	c3                   	ret                                   
  108d0e:	66 90                	xchg   %ax,%ax                        
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
  108d10:	e8 87 a7 00 00       	call   11349c <__errno>               
  108d15:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  108d1b:	eb ea                	jmp    108d07 <fdatasync+0x4b>        
                                                                      

001118a0 <fifo_open>: */ int fifo_open( pipe_control_t **pipep, rtems_libio_t *iop ) {
  1118a0:	55                   	push   %ebp                           
  1118a1:	89 e5                	mov    %esp,%ebp                      
  1118a3:	57                   	push   %edi                           
  1118a4:	56                   	push   %esi                           
  1118a5:	53                   	push   %ebx                           
  1118a6:	83 ec 2c             	sub    $0x2c,%esp                     
  1118a9:	8b 75 08             	mov    0x8(%ebp),%esi                 
                                                                      
static rtems_status_code pipe_lock(void)                              
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
  1118ac:	a1 8c 84 12 00       	mov    0x12848c,%eax                  
  1118b1:	85 c0                	test   %eax,%eax                      
  1118b3:	0f 84 8b 00 00 00    	je     111944 <fifo_open+0xa4>        
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
    sc = rtems_semaphore_obtain(pipe_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  1118b9:	51                   	push   %ecx                           
  1118ba:	6a 00                	push   $0x0                           
  1118bc:	6a 00                	push   $0x0                           
  1118be:	50                   	push   %eax                           
  1118bf:	e8 90 bb ff ff       	call   10d454 <rtems_semaphore_obtain>
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
  1118c4:	83 c4 10             	add    $0x10,%esp                     
  1118c7:	85 c0                	test   %eax,%eax                      
  1118c9:	0f 85 0c 03 00 00    	jne    111bdb <fifo_open+0x33b>       <== NEVER TAKEN
                                                                      
  err = pipe_lock();                                                  
  if (err)                                                            
    return err;                                                       
                                                                      
  pipe = *pipep;                                                      
  1118cf:	8b 1e                	mov    (%esi),%ebx                    
  if (pipe == NULL) {                                                 
  1118d1:	85 db                	test   %ebx,%ebx                      
  1118d3:	0f 84 df 01 00 00    	je     111ab8 <fifo_open+0x218>       
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
  1118d9:	52                   	push   %edx                           
  1118da:	6a 00                	push   $0x0                           
  1118dc:	6a 00                	push   $0x0                           
  1118de:	ff 73 28             	pushl  0x28(%ebx)                     
  1118e1:	e8 6e bb ff ff       	call   10d454 <rtems_semaphore_obtain>
  1118e6:	83 c4 10             	add    $0x10,%esp                     
  1118e9:	83 f8 01             	cmp    $0x1,%eax                      
  1118ec:	19 ff                	sbb    %edi,%edi                      
  1118ee:	f7 d7                	not    %edi                           
  1118f0:	83 e7 fc             	and    $0xfffffffc,%edi               
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
  1118f3:	8b 06                	mov    (%esi),%eax                    
  1118f5:	85 c0                	test   %eax,%eax                      
  1118f7:	0f 84 97 02 00 00    	je     111b94 <fifo_open+0x2f4>       
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
  1118fd:	e8 aa fe ff ff       	call   1117ac <pipe_unlock>           
  pipe_control_t *pipe;                                               
  unsigned int prevCounter;                                           
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
  111902:	85 ff                	test   %edi,%edi                      
  111904:	75 32                	jne    111938 <fifo_open+0x98>        <== NEVER TAKEN
    return err;                                                       
  pipe = *pipep;                                                      
  111906:	8b 1e                	mov    (%esi),%ebx                    
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
  111908:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  11190b:	8b 42 14             	mov    0x14(%edx),%eax                
  11190e:	83 e0 06             	and    $0x6,%eax                      
  111911:	83 f8 04             	cmp    $0x4,%eax                      
  111914:	74 6a                	je     111980 <fifo_open+0xe0>        
  111916:	83 f8 06             	cmp    $0x6,%eax                      
  111919:	0f 84 59 01 00 00    	je     111a78 <fifo_open+0x1d8>       
  11191f:	83 f8 02             	cmp    $0x2,%eax                      
  111922:	0f 84 dc 00 00 00    	je     111a04 <fifo_open+0x164>       <== ALWAYS TAKEN
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  111928:	83 ec 0c             	sub    $0xc,%esp                      
  11192b:	ff 73 28             	pushl  0x28(%ebx)                     
  11192e:	e8 1d bc ff ff       	call   10d550 <rtems_semaphore_release>
  return 0;                                                           
  111933:	83 c4 10             	add    $0x10,%esp                     
  111936:	31 ff                	xor    %edi,%edi                      
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
  return err;                                                         
}                                                                     
  111938:	89 f8                	mov    %edi,%eax                      
  11193a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11193d:	5b                   	pop    %ebx                           
  11193e:	5e                   	pop    %esi                           
  11193f:	5f                   	pop    %edi                           
  111940:	c9                   	leave                                 
  111941:	c3                   	ret                                   
  111942:	66 90                	xchg   %ax,%ax                        
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 );
  111944:	57                   	push   %edi                           
  111945:	6a 00                	push   $0x0                           
  111947:	6a 00                	push   $0x0                           
  111949:	ff 35 a8 86 12 00    	pushl  0x1286a8                       
  11194f:	e8 00 bb ff ff       	call   10d454 <rtems_semaphore_obtain>
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
  111954:	83 c4 10             	add    $0x10,%esp                     
  111957:	8b 1d 8c 84 12 00    	mov    0x12848c,%ebx                  
  11195d:	85 db                	test   %ebx,%ebx                      
  11195f:	0f 84 43 02 00 00    	je     111ba8 <fifo_open+0x308>       <== ALWAYS TAKEN
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
  111965:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  111968:	ff 35 a8 86 12 00    	pushl  0x1286a8                       <== NOT EXECUTED
  11196e:	e8 dd bb ff ff       	call   10d550 <rtems_semaphore_release><== NOT EXECUTED
  111973:	a1 8c 84 12 00       	mov    0x12848c,%eax                  <== NOT EXECUTED
  111978:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  11197b:	e9 39 ff ff ff       	jmp    1118b9 <fifo_open+0x19>        <== NOT EXECUTED
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
  111980:	ff 43 24             	incl   0x24(%ebx)                     
                                                                      
      if (pipe->Writers ++ == 0)                                      
  111983:	8b 43 14             	mov    0x14(%ebx),%eax                
  111986:	8d 50 01             	lea    0x1(%eax),%edx                 
  111989:	89 53 14             	mov    %edx,0x14(%ebx)                
  11198c:	85 c0                	test   %eax,%eax                      
  11198e:	0f 84 84 02 00 00    	je     111c18 <fifo_open+0x378>       <== ALWAYS TAKEN
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
  111994:	8b 4b 10             	mov    0x10(%ebx),%ecx                
  111997:	85 c9                	test   %ecx,%ecx                      
  111999:	75 8d                	jne    111928 <fifo_open+0x88>        
  11199b:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  11199e:	f6 42 14 01          	testb  $0x1,0x14(%edx)                
  1119a2:	0f 85 c4 02 00 00    	jne    111c6c <fifo_open+0x3cc>       
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
  1119a8:	8b 7b 20             	mov    0x20(%ebx),%edi                
  1119ab:	eb 20                	jmp    1119cd <fifo_open+0x12d>       
  1119ad:	8d 76 00             	lea    0x0(%esi),%esi                 
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
  1119b0:	51                   	push   %ecx                           
  1119b1:	6a 00                	push   $0x0                           
  1119b3:	6a 00                	push   $0x0                           
  1119b5:	ff 73 28             	pushl  0x28(%ebx)                     
  1119b8:	e8 97 ba ff ff       	call   10d454 <rtems_semaphore_obtain>
  1119bd:	83 c4 10             	add    $0x10,%esp                     
  1119c0:	85 c0                	test   %eax,%eax                      
  1119c2:	75 27                	jne    1119eb <fifo_open+0x14b>       <== NEVER TAKEN
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
  1119c4:	39 7b 20             	cmp    %edi,0x20(%ebx)                
  1119c7:	0f 85 5b ff ff ff    	jne    111928 <fifo_open+0x88>        <== ALWAYS TAKEN
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
  1119cd:	83 ec 0c             	sub    $0xc,%esp                      
  1119d0:	ff 73 28             	pushl  0x28(%ebx)                     
  1119d3:	e8 78 bb ff ff       	call   10d550 <rtems_semaphore_release>
          if (! PIPE_WRITEWAIT(pipe))                                 
  1119d8:	58                   	pop    %eax                           
  1119d9:	5a                   	pop    %edx                           
  1119da:	6a 00                	push   $0x0                           
  1119dc:	ff 73 30             	pushl  0x30(%ebx)                     
  1119df:	e8 b0 12 00 00       	call   112c94 <rtems_barrier_wait>    
  1119e4:	83 c4 10             	add    $0x10,%esp                     
  1119e7:	85 c0                	test   %eax,%eax                      
  1119e9:	74 c5                	je     1119b0 <fifo_open+0x110>       <== ALWAYS TAKEN
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
  1119eb:	bf fc ff ff ff       	mov    $0xfffffffc,%edi               <== NOT EXECUTED
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
  1119f0:	83 ec 08             	sub    $0x8,%esp                      
  1119f3:	ff 75 0c             	pushl  0xc(%ebp)                      
  1119f6:	56                   	push   %esi                           
  1119f7:	e8 c8 fd ff ff       	call   1117c4 <pipe_release>          
  return err;                                                         
  1119fc:	83 c4 10             	add    $0x10,%esp                     
  1119ff:	e9 34 ff ff ff       	jmp    111938 <fifo_open+0x98>        
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
  111a04:	ff 43 20             	incl   0x20(%ebx)                     
      if (pipe->Readers ++ == 0)                                      
  111a07:	8b 43 10             	mov    0x10(%ebx),%eax                
  111a0a:	8d 50 01             	lea    0x1(%eax),%edx                 
  111a0d:	89 53 10             	mov    %edx,0x10(%ebx)                
  111a10:	85 c0                	test   %eax,%eax                      
  111a12:	0f 84 d0 01 00 00    	je     111be8 <fifo_open+0x348>       <== ALWAYS TAKEN
        PIPE_WAKEUPWRITERS(pipe);                                     
                                                                      
      if (pipe->Writers == 0) {                                       
  111a18:	8b 7b 14             	mov    0x14(%ebx),%edi                
  111a1b:	85 ff                	test   %edi,%edi                      
  111a1d:	0f 85 05 ff ff ff    	jne    111928 <fifo_open+0x88>        
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
  111a23:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  111a26:	f6 40 14 01          	testb  $0x1,0x14(%eax)                
  111a2a:	0f 85 f8 fe ff ff    	jne    111928 <fifo_open+0x88>        
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
  111a30:	8b 7b 24             	mov    0x24(%ebx),%edi                
  111a33:	eb 20                	jmp    111a55 <fifo_open+0x1b5>       
  111a35:	8d 76 00             	lea    0x0(%esi),%esi                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
  111a38:	50                   	push   %eax                           
  111a39:	6a 00                	push   $0x0                           
  111a3b:	6a 00                	push   $0x0                           
  111a3d:	ff 73 28             	pushl  0x28(%ebx)                     
  111a40:	e8 0f ba ff ff       	call   10d454 <rtems_semaphore_obtain>
  111a45:	83 c4 10             	add    $0x10,%esp                     
  111a48:	85 c0                	test   %eax,%eax                      
  111a4a:	75 9f                	jne    1119eb <fifo_open+0x14b>       <== NEVER TAKEN
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
  111a4c:	39 7b 24             	cmp    %edi,0x24(%ebx)                
  111a4f:	0f 85 d3 fe ff ff    	jne    111928 <fifo_open+0x88>        <== ALWAYS TAKEN
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
  111a55:	83 ec 0c             	sub    $0xc,%esp                      
  111a58:	ff 73 28             	pushl  0x28(%ebx)                     
  111a5b:	e8 f0 ba ff ff       	call   10d550 <rtems_semaphore_release>
          if (! PIPE_READWAIT(pipe))                                  
  111a60:	5a                   	pop    %edx                           
  111a61:	59                   	pop    %ecx                           
  111a62:	6a 00                	push   $0x0                           
  111a64:	ff 73 2c             	pushl  0x2c(%ebx)                     
  111a67:	e8 28 12 00 00       	call   112c94 <rtems_barrier_wait>    
  111a6c:	83 c4 10             	add    $0x10,%esp                     
  111a6f:	85 c0                	test   %eax,%eax                      
  111a71:	74 c5                	je     111a38 <fifo_open+0x198>       <== ALWAYS TAKEN
  111a73:	e9 73 ff ff ff       	jmp    1119eb <fifo_open+0x14b>       <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
  111a78:	ff 43 20             	incl   0x20(%ebx)                     
      if (pipe->Readers ++ == 0)                                      
  111a7b:	8b 43 10             	mov    0x10(%ebx),%eax                
  111a7e:	8d 50 01             	lea    0x1(%eax),%edx                 
  111a81:	89 53 10             	mov    %edx,0x10(%ebx)                
  111a84:	85 c0                	test   %eax,%eax                      
  111a86:	0f 84 74 01 00 00    	je     111c00 <fifo_open+0x360>       <== ALWAYS TAKEN
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
  111a8c:	ff 43 24             	incl   0x24(%ebx)                     
      if (pipe->Writers ++ == 0)                                      
  111a8f:	8b 43 14             	mov    0x14(%ebx),%eax                
  111a92:	8d 50 01             	lea    0x1(%eax),%edx                 
  111a95:	89 53 14             	mov    %edx,0x14(%ebx)                
  111a98:	85 c0                	test   %eax,%eax                      
  111a9a:	0f 85 88 fe ff ff    	jne    111928 <fifo_open+0x88>        <== NEVER TAKEN
        PIPE_WAKEUPREADERS(pipe);                                     
  111aa0:	83 ec 08             	sub    $0x8,%esp                      
  111aa3:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  111aa6:	50                   	push   %eax                           
  111aa7:	ff 73 2c             	pushl  0x2c(%ebx)                     
  111aaa:	e8 81 11 00 00       	call   112c30 <rtems_barrier_release> 
  111aaf:	83 c4 10             	add    $0x10,%esp                     
  111ab2:	e9 71 fe ff ff       	jmp    111928 <fifo_open+0x88>        
  111ab7:	90                   	nop                                   
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
  111ab8:	83 ec 0c             	sub    $0xc,%esp                      
  111abb:	6a 34                	push   $0x34                          
  111abd:	e8 7e 85 ff ff       	call   10a040 <malloc>                
  111ac2:	89 c3                	mov    %eax,%ebx                      
  111ac4:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  if (pipe == NULL)                                                   
  111ac7:	83 c4 10             	add    $0x10,%esp                     
  111aca:	85 c0                	test   %eax,%eax                      
  111acc:	0f 84 f2 01 00 00    	je     111cc4 <fifo_open+0x424>       
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
  111ad2:	b9 34 00 00 00       	mov    $0x34,%ecx                     
  111ad7:	31 c0                	xor    %eax,%eax                      
  111ad9:	89 df                	mov    %ebx,%edi                      
  111adb:	f3 aa                	rep stos %al,%es:(%edi)               
                                                                      
  pipe->Size = PIPE_BUF;                                              
  111add:	c7 43 04 00 02 00 00 	movl   $0x200,0x4(%ebx)               
  pipe->Buffer = malloc(pipe->Size);                                  
  111ae4:	83 ec 0c             	sub    $0xc,%esp                      
  111ae7:	68 00 02 00 00       	push   $0x200                         
  111aec:	e8 4f 85 ff ff       	call   10a040 <malloc>                
  111af1:	89 03                	mov    %eax,(%ebx)                    
  if (! pipe->Buffer)                                                 
  111af3:	83 c4 10             	add    $0x10,%esp                     
  111af6:	85 c0                	test   %eax,%eax                      
  111af8:	0f 84 b8 01 00 00    	je     111cb6 <fifo_open+0x416>       <== NEVER TAKEN
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
  111afe:	8d 43 2c             	lea    0x2c(%ebx),%eax                
  111b01:	50                   	push   %eax                           
  111b02:	6a 00                	push   $0x0                           
  111b04:	6a 00                	push   $0x0                           
        rtems_build_name ('P', 'I', 'r', c),                          
  111b06:	0f be 05 f8 64 12 00 	movsbl 0x1264f8,%eax                  
  if (! pipe->Buffer)                                                 
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
  111b0d:	0d 00 72 49 50       	or     $0x50497200,%eax               
  111b12:	50                   	push   %eax                           
  111b13:	e8 9c 0f 00 00       	call   112ab4 <rtems_barrier_create>  
  111b18:	83 c4 10             	add    $0x10,%esp                     
  111b1b:	85 c0                	test   %eax,%eax                      
  111b1d:	0f 85 83 01 00 00    	jne    111ca6 <fifo_open+0x406>       
        rtems_build_name ('P', 'I', 'r', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->readBarrier) != RTEMS_SUCCESSFUL)                      
    goto err_rbar;                                                    
  if (rtems_barrier_create(                                           
  111b23:	8d 43 30             	lea    0x30(%ebx),%eax                
  111b26:	50                   	push   %eax                           
  111b27:	6a 00                	push   $0x0                           
  111b29:	6a 00                	push   $0x0                           
        rtems_build_name ('P', 'I', 'w', c),                          
  111b2b:	0f be 05 f8 64 12 00 	movsbl 0x1264f8,%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(                                           
  111b32:	0d 00 77 49 50       	or     $0x50497700,%eax               
  111b37:	50                   	push   %eax                           
  111b38:	e8 77 0f 00 00       	call   112ab4 <rtems_barrier_create>  
  111b3d:	83 c4 10             	add    $0x10,%esp                     
  111b40:	85 c0                	test   %eax,%eax                      
  111b42:	0f 85 4d 01 00 00    	jne    111c95 <fifo_open+0x3f5>       
        rtems_build_name ('P', 'I', 'w', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->writeBarrier) != RTEMS_SUCCESSFUL)                     
    goto err_wbar;                                                    
  if (rtems_semaphore_create(                                         
  111b48:	83 ec 0c             	sub    $0xc,%esp                      
  111b4b:	8d 43 28             	lea    0x28(%ebx),%eax                
  111b4e:	50                   	push   %eax                           
  111b4f:	6a 00                	push   $0x0                           
  111b51:	6a 10                	push   $0x10                          
  111b53:	6a 01                	push   $0x1                           
        rtems_build_name ('P', 'I', 's', c), 1,                       
  111b55:	0f be 05 f8 64 12 00 	movsbl 0x1264f8,%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(                                         
  111b5c:	0d 00 73 49 50       	or     $0x50497300,%eax               
  111b61:	50                   	push   %eax                           
  111b62:	e8 71 b6 ff ff       	call   10d1d8 <rtems_semaphore_create>
  111b67:	83 c4 20             	add    $0x20,%esp                     
  111b6a:	85 c0                	test   %eax,%eax                      
  111b6c:	0f 85 12 01 00 00    	jne    111c84 <fifo_open+0x3e4>       
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
  111b72:	a0 f8 64 12 00       	mov    0x1264f8,%al                   
  111b77:	8d 50 01             	lea    0x1(%eax),%edx                 
  111b7a:	88 15 f8 64 12 00    	mov    %dl,0x1264f8                   
  111b80:	3c 7a                	cmp    $0x7a,%al                      
  111b82:	0f 85 51 fd ff ff    	jne    1118d9 <fifo_open+0x39>        
    c = 'a';                                                          
  111b88:	c6 05 f8 64 12 00 61 	movb   $0x61,0x1264f8                 
  111b8f:	e9 45 fd ff ff       	jmp    1118d9 <fifo_open+0x39>        
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
    if (err)                                                          
  111b94:	85 ff                	test   %edi,%edi                      
  111b96:	0f 85 94 00 00 00    	jne    111c30 <fifo_open+0x390>       <== NEVER TAKEN
      pipe_free(pipe);                                                
    else                                                              
      *pipep = pipe;                                                  
  111b9c:	89 1e                	mov    %ebx,(%esi)                    
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
  111b9e:	e8 09 fc ff ff       	call   1117ac <pipe_unlock>           
  111ba3:	e9 5e fd ff ff       	jmp    111906 <fifo_open+0x66>        
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
      sc = rtems_semaphore_create(                                    
  111ba8:	83 ec 0c             	sub    $0xc,%esp                      
  111bab:	68 8c 84 12 00       	push   $0x12848c                      
  111bb0:	6a 00                	push   $0x0                           
  111bb2:	6a 54                	push   $0x54                          
  111bb4:	6a 01                	push   $0x1                           
  111bb6:	68 45 50 49 50       	push   $0x50495045                    
  111bbb:	e8 18 b6 ff ff       	call   10d1d8 <rtems_semaphore_create>
  111bc0:	89 c3                	mov    %eax,%ebx                      
  111bc2:	83 c4 14             	add    $0x14,%esp                     
  111bc5:	ff 35 a8 86 12 00    	pushl  0x1286a8                       
  111bcb:	e8 80 b9 ff ff       	call   10d550 <rtems_semaphore_release>
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
  111bd0:	83 c4 10             	add    $0x10,%esp                     
  111bd3:	85 db                	test   %ebx,%ebx                      
  111bd5:	0f 84 f0 00 00 00    	je     111ccb <fifo_open+0x42b>       
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  err = pipe_lock();                                                  
  111bdb:	bf f4 ff ff ff       	mov    $0xfffffff4,%edi               
  111be0:	e9 53 fd ff ff       	jmp    111938 <fifo_open+0x98>        
  111be5:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
  111be8:	83 ec 08             	sub    $0x8,%esp                      
  111beb:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  111bee:	50                   	push   %eax                           
  111bef:	ff 73 30             	pushl  0x30(%ebx)                     
  111bf2:	e8 39 10 00 00       	call   112c30 <rtems_barrier_release> 
  111bf7:	83 c4 10             	add    $0x10,%esp                     
  111bfa:	e9 19 fe ff ff       	jmp    111a18 <fifo_open+0x178>       
  111bff:	90                   	nop                                   
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
  111c00:	83 ec 08             	sub    $0x8,%esp                      
  111c03:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  111c06:	50                   	push   %eax                           
  111c07:	ff 73 30             	pushl  0x30(%ebx)                     
  111c0a:	e8 21 10 00 00       	call   112c30 <rtems_barrier_release> 
  111c0f:	83 c4 10             	add    $0x10,%esp                     
  111c12:	e9 75 fe ff ff       	jmp    111a8c <fifo_open+0x1ec>       
  111c17:	90                   	nop                                   
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
  111c18:	83 ec 08             	sub    $0x8,%esp                      
  111c1b:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  111c1e:	50                   	push   %eax                           
  111c1f:	ff 73 2c             	pushl  0x2c(%ebx)                     
  111c22:	e8 09 10 00 00       	call   112c30 <rtems_barrier_release> 
  111c27:	83 c4 10             	add    $0x10,%esp                     
  111c2a:	e9 65 fd ff ff       	jmp    111994 <fifo_open+0xf4>        
  111c2f:	90                   	nop                                   
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
  111c30:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  111c33:	ff 73 2c             	pushl  0x2c(%ebx)                     <== NOT EXECUTED
  111c36:	e8 65 0f 00 00       	call   112ba0 <rtems_barrier_delete>  <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
  111c3b:	59                   	pop    %ecx                           <== NOT EXECUTED
  111c3c:	ff 73 30             	pushl  0x30(%ebx)                     <== NOT EXECUTED
  111c3f:	e8 5c 0f 00 00       	call   112ba0 <rtems_barrier_delete>  <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
  111c44:	5a                   	pop    %edx                           <== NOT EXECUTED
  111c45:	ff 73 28             	pushl  0x28(%ebx)                     <== NOT EXECUTED
  111c48:	e8 63 b7 ff ff       	call   10d3b0 <rtems_semaphore_delete><== NOT EXECUTED
  free(pipe->Buffer);                                                 
  111c4d:	58                   	pop    %eax                           <== NOT EXECUTED
  111c4e:	ff 33                	pushl  (%ebx)                         <== NOT EXECUTED
  111c50:	e8 1b 7d ff ff       	call   109970 <free>                  <== NOT EXECUTED
  free(pipe);                                                         
  111c55:	89 1c 24             	mov    %ebx,(%esp)                    <== NOT EXECUTED
  111c58:	e8 13 7d ff ff       	call   109970 <free>                  <== NOT EXECUTED
  111c5d:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
  111c60:	e8 47 fb ff ff       	call   1117ac <pipe_unlock>           
  111c65:	e9 ce fc ff ff       	jmp    111938 <fifo_open+0x98>        
  111c6a:	66 90                	xchg   %ax,%ax                        
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
  111c6c:	83 ec 0c             	sub    $0xc,%esp                      
  111c6f:	ff 73 28             	pushl  0x28(%ebx)                     
  111c72:	e8 d9 b8 ff ff       	call   10d550 <rtems_semaphore_release>
        err = -ENXIO;                                                 
        goto out_error;                                               
  111c77:	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;                                                 
  111c7a:	bf fa ff ff ff       	mov    $0xfffffffa,%edi               
        goto out_error;                                               
  111c7f:	e9 6c fd ff ff       	jmp    1119f0 <fifo_open+0x150>       
  if (c ++ == 'z')                                                    
    c = 'a';                                                          
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
  111c84:	83 ec 0c             	sub    $0xc,%esp                      
  111c87:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  111c8a:	ff 70 30             	pushl  0x30(%eax)                     
  111c8d:	e8 0e 0f 00 00       	call   112ba0 <rtems_barrier_delete>  
  111c92:	83 c4 10             	add    $0x10,%esp                     
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
  111c95:	83 ec 0c             	sub    $0xc,%esp                      
  111c98:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  111c9b:	ff 72 2c             	pushl  0x2c(%edx)                     
  111c9e:	e8 fd 0e 00 00       	call   112ba0 <rtems_barrier_delete>  
  111ca3:	83 c4 10             	add    $0x10,%esp                     
err_rbar:                                                             
  free(pipe->Buffer);                                                 
  111ca6:	83 ec 0c             	sub    $0xc,%esp                      
  111ca9:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  111cac:	ff 30                	pushl  (%eax)                         
  111cae:	e8 bd 7c ff ff       	call   109970 <free>                  
  111cb3:	83 c4 10             	add    $0x10,%esp                     
err_buf:                                                              
  free(pipe);                                                         
  111cb6:	83 ec 0c             	sub    $0xc,%esp                      
  111cb9:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  111cbc:	e8 af 7c ff ff       	call   109970 <free>                  
  111cc1:	83 c4 10             	add    $0x10,%esp                     
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  err = pipe_lock();                                                  
  111cc4:	bf f4 ff ff ff       	mov    $0xfffffff4,%edi               
  111cc9:	eb 95                	jmp    111c60 <fifo_open+0x3c0>       
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
  111ccb:	a1 8c 84 12 00       	mov    0x12848c,%eax                  
  111cd0:	e9 e4 fb ff ff       	jmp    1118b9 <fifo_open+0x19>        
                                                                      

0010fdc8 <find_handler>: const char *type; rtems_filesystem_fsmount_me_t mount_h; } find_arg; static bool find_handler(const rtems_filesystem_table_t *entry, void *arg) {
  10fdc8:	55                   	push   %ebp                           
  10fdc9:	89 e5                	mov    %esp,%ebp                      
  10fdcb:	56                   	push   %esi                           
  10fdcc:	53                   	push   %ebx                           
  10fdcd:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10fdd0:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  find_arg *fa = arg;                                                 
                                                                      
  if ( strcmp( entry->type, fa->type ) != 0 ) {                       
  10fdd3:	83 ec 08             	sub    $0x8,%esp                      
  10fdd6:	ff 33                	pushl  (%ebx)                         
  10fdd8:	ff 36                	pushl  (%esi)                         
  10fdda:	e8 cd 31 00 00       	call   112fac <strcmp>                
  10fddf:	83 c4 10             	add    $0x10,%esp                     
  10fde2:	85 c0                	test   %eax,%eax                      
  10fde4:	75 12                	jne    10fdf8 <find_handler+0x30>     
    return false;                                                     
  } else {                                                            
    fa->mount_h = entry->mount_h;                                     
  10fde6:	8b 46 04             	mov    0x4(%esi),%eax                 
  10fde9:	89 43 04             	mov    %eax,0x4(%ebx)                 
                                                                      
    return true;                                                      
  10fdec:	b0 01                	mov    $0x1,%al                       
  }                                                                   
}                                                                     
  10fdee:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10fdf1:	5b                   	pop    %ebx                           
  10fdf2:	5e                   	pop    %esi                           
  10fdf3:	c9                   	leave                                 
  10fdf4:	c3                   	ret                                   
  10fdf5:	8d 76 00             	lea    0x0(%esi),%esi                 
static bool find_handler(const rtems_filesystem_table_t *entry, void *arg)
{                                                                     
  find_arg *fa = arg;                                                 
                                                                      
  if ( strcmp( entry->type, fa->type ) != 0 ) {                       
    return false;                                                     
  10fdf8:	31 c0                	xor    %eax,%eax                      
  } else {                                                            
    fa->mount_h = entry->mount_h;                                     
                                                                      
    return true;                                                      
  }                                                                   
}                                                                     
  10fdfa:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10fdfd:	5b                   	pop    %ebx                           
  10fdfe:	5e                   	pop    %esi                           
  10fdff:	c9                   	leave                                 
  10fe00:	c3                   	ret                                   
                                                                      

00108d20 <fpathconf>: long fpathconf( int fd, int name ) {
  108d20:	55                   	push   %ebp                           
  108d21:	89 e5                	mov    %esp,%ebp                      
  108d23:	83 ec 08             	sub    $0x8,%esp                      
  108d26:	8b 45 08             	mov    0x8(%ebp),%eax                 
  108d29:	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);                                           
  108d2c:	3b 05 4c 31 12 00    	cmp    0x12314c,%eax                  
  108d32:	0f 83 ac 00 00 00    	jae    108de4 <fpathconf+0xc4>        
  iop = rtems_libio_iop(fd);                                          
  108d38:	8d 0c c5 00 00 00 00 	lea    0x0(,%eax,8),%ecx              
  108d3f:	8d 04 cd 00 00 00 00 	lea    0x0(,%ecx,8),%eax              
  108d46:	29 c8                	sub    %ecx,%eax                      
  108d48:	03 05 00 73 12 00    	add    0x127300,%eax                  
  rtems_libio_check_is_open(iop);                                     
  108d4e:	8b 48 14             	mov    0x14(%eax),%ecx                
  108d51:	f6 c5 01             	test   $0x1,%ch                       
  108d54:	0f 84 8a 00 00 00    	je     108de4 <fpathconf+0xc4>        <== NEVER TAKEN
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
  108d5a:	83 e1 02             	and    $0x2,%ecx                      
  108d5d:	74 08                	je     108d67 <fpathconf+0x47>        
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
  108d5f:	8b 40 28             	mov    0x28(%eax),%eax                
                                                                      
  switch ( name ) {                                                   
  108d62:	83 fa 0b             	cmp    $0xb,%edx                      
  108d65:	76 15                	jbe    108d7c <fpathconf+0x5c>        
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  108d67:	e8 30 a7 00 00       	call   11349c <__errno>               
  108d6c:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  108d72:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
  108d77:	c9                   	leave                                 
  108d78:	c3                   	ret                                   
  108d79:	8d 76 00             	lea    0x0(%esi),%esi                 
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
  108d7c:	ff 24 95 18 17 12 00 	jmp    *0x121718(,%edx,4)             
  108d83:	90                   	nop                                   
      break;                                                          
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
  108d84:	8b 40 5c             	mov    0x5c(%eax),%eax                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
  108d87:	c9                   	leave                                 
  108d88:	c3                   	ret                                   
  108d89:	8d 76 00             	lea    0x0(%esi),%esi                 
      break;                                                          
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
      break;                                                          
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
  108d8c:	8b 40 50             	mov    0x50(%eax),%eax                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
  108d8f:	c9                   	leave                                 
  108d90:	c3                   	ret                                   
  108d91:	8d 76 00             	lea    0x0(%esi),%esi                 
      break;                                                          
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
      break;                                                          
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
  108d94:	8b 40 64             	mov    0x64(%eax),%eax                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
  108d97:	c9                   	leave                                 
  108d98:	c3                   	ret                                   
  108d99:	8d 76 00             	lea    0x0(%esi),%esi                 
      break;                                                          
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
      break;                                                          
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
  108d9c:	8b 40 58             	mov    0x58(%eax),%eax                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
  108d9f:	c9                   	leave                                 
  108da0:	c3                   	ret                                   
  108da1:	8d 76 00             	lea    0x0(%esi),%esi                 
      break;                                                          
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
      break;                                                          
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
  108da4:	8b 40 54             	mov    0x54(%eax),%eax                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
  108da7:	c9                   	leave                                 
  108da8:	c3                   	ret                                   
  108da9:	8d 76 00             	lea    0x0(%esi),%esi                 
      break;                                                          
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
      break;                                                          
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
  108dac:	8b 40 4c             	mov    0x4c(%eax),%eax                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
  108daf:	c9                   	leave                                 
  108db0:	c3                   	ret                                   
  108db1:	8d 76 00             	lea    0x0(%esi),%esi                 
      break;                                                          
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
      break;                                                          
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
  108db4:	8b 40 48             	mov    0x48(%eax),%eax                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
  108db7:	c9                   	leave                                 
  108db8:	c3                   	ret                                   
  108db9:	8d 76 00             	lea    0x0(%esi),%esi                 
      break;                                                          
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
      break;                                                          
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
  108dbc:	8b 40 44             	mov    0x44(%eax),%eax                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
  108dbf:	c9                   	leave                                 
  108dc0:	c3                   	ret                                   
  108dc1:	8d 76 00             	lea    0x0(%esi),%esi                 
      break;                                                          
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
      break;                                                          
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
  108dc4:	8b 40 40             	mov    0x40(%eax),%eax                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
  108dc7:	c9                   	leave                                 
  108dc8:	c3                   	ret                                   
  108dc9:	8d 76 00             	lea    0x0(%esi),%esi                 
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
      break;                                                          
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
  108dcc:	8b 40 3c             	mov    0x3c(%eax),%eax                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
  108dcf:	c9                   	leave                                 
  108dd0:	c3                   	ret                                   
  108dd1:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
  108dd4:	8b 40 38             	mov    0x38(%eax),%eax                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
  108dd7:	c9                   	leave                                 
  108dd8:	c3                   	ret                                   
  108dd9:	8d 76 00             	lea    0x0(%esi),%esi                 
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
  108ddc:	8b 40 60             	mov    0x60(%eax),%eax                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
  108ddf:	c9                   	leave                                 
  108de0:	c3                   	ret                                   
  108de1:	8d 76 00             	lea    0x0(%esi),%esi                 
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
  iop = rtems_libio_iop(fd);                                          
  rtems_libio_check_is_open(iop);                                     
  108de4:	e8 b3 a6 00 00       	call   11349c <__errno>               
  108de9:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  108def:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
  108df4:	c9                   	leave                                 
  108df5:	c3                   	ret                                   
                                                                      

001080b4 <free>: #include <stdlib.h> void free( void *ptr ) {
  1080b4:	55                   	push   %ebp                           
  1080b5:	89 e5                	mov    %esp,%ebp                      
  1080b7:	53                   	push   %ebx                           
  1080b8:	83 ec 04             	sub    $0x4,%esp                      
  1080bb:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  MSBUMP(free_calls, 1);                                              
  1080be:	ff 05 2c 53 12 00    	incl   0x12532c                       
                                                                      
  if ( !ptr )                                                         
  1080c4:	85 db                	test   %ebx,%ebx                      
  1080c6:	74 4b                	je     108113 <free+0x5f>             
    return;                                                           
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
  1080c8:	83 3d 40 56 12 00 03 	cmpl   $0x3,0x125640                  
  1080cf:	74 47                	je     108118 <free+0x64>             <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
  1080d1:	a1 08 37 12 00       	mov    0x123708,%eax                  
  1080d6:	85 c0                	test   %eax,%eax                      
  1080d8:	74 0a                	je     1080e4 <free+0x30>             
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
  1080da:	83 ec 0c             	sub    $0xc,%esp                      
  1080dd:	53                   	push   %ebx                           
  1080de:	ff 50 08             	call   *0x8(%eax)                     
  1080e1:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
  1080e4:	83 ec 08             	sub    $0x8,%esp                      
  1080e7:	53                   	push   %ebx                           
  1080e8:	ff 35 58 11 12 00    	pushl  0x121158                       
  1080ee:	e8 4d 4f 00 00       	call   10d040 <_Protected_heap_Free>  
  1080f3:	83 c4 10             	add    $0x10,%esp                     
  1080f6:	84 c0                	test   %al,%al                        
  1080f8:	75 19                	jne    108113 <free+0x5f>             
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
  1080fa:	a1 58 11 12 00       	mov    0x121158,%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",
  1080ff:	ff 70 1c             	pushl  0x1c(%eax)                     
  108102:	ff 70 18             	pushl  0x18(%eax)                     
  108105:	53                   	push   %ebx                           
  108106:	68 30 fb 11 00       	push   $0x11fb30                      
  10810b:	e8 8c 0d 00 00       	call   108e9c <printk>                
  108110:	83 c4 10             	add    $0x10,%esp                     
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
  108113:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108116:	c9                   	leave                                 
  108117:	c3                   	ret                                   
                                                                      
  /*                                                                  
   *  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() ) {                               
  108118:	e8 3b 01 00 00       	call   108258 <malloc_is_system_state_OK>
    return;                                                           
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
  10811d:	84 c0                	test   %al,%al                        
  10811f:	75 b0                	jne    1080d1 <free+0x1d>             
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
  108121:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
  108124:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108127:	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);                                      
  108128:	e9 97 01 00 00       	jmp    1082c4 <malloc_deferred_free>  
                                                                      

00109550 <free_user_env>: * NOTE: this must be called with * thread dispatching disabled! */ static void free_user_env(void *venv) {
  109550:	55                   	push   %ebp                           
  109551:	89 e5                	mov    %esp,%ebp                      
  109553:	53                   	push   %ebx                           
  109554:	83 ec 04             	sub    $0x4,%esp                      
  109557:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
  if (env != &rtems_global_user_env                                   
  10955a:	81 fb 40 63 12 00    	cmp    $0x126340,%ebx                 
  109560:	74 26                	je     109588 <free_user_env+0x38>    <== NEVER TAKEN
  #ifdef HAVE_USERENV_REFCNT                                          
      && --env->refcnt <= 0                                           
  #endif                                                              
  ) {                                                                 
    rtems_filesystem_freenode( &env->current_directory);              
  109562:	83 ec 0c             	sub    $0xc,%esp                      
  109565:	8d 43 04             	lea    0x4(%ebx),%eax                 
  109568:	50                   	push   %eax                           
  109569:	e8 72 ef ff ff       	call   1084e0 <rtems_filesystem_freenode>
    rtems_filesystem_freenode( &env->root_directory);                 
  10956e:	8d 43 18             	lea    0x18(%ebx),%eax                
  109571:	89 04 24             	mov    %eax,(%esp)                    
  109574:	e8 67 ef ff ff       	call   1084e0 <rtems_filesystem_freenode>
    free(env);                                                        
  109579:	83 c4 10             	add    $0x10,%esp                     
  10957c:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
}                                                                     
  10957f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  109582:	c9                   	leave                                 
      && --env->refcnt <= 0                                           
  #endif                                                              
  ) {                                                                 
    rtems_filesystem_freenode( &env->current_directory);              
    rtems_filesystem_freenode( &env->root_directory);                 
    free(env);                                                        
  109583:	e9 6c ef ff ff       	jmp    1084f4 <free>                  
  }                                                                   
}                                                                     
  109588:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  10958b:	c9                   	leave                                 <== NOT EXECUTED
  10958c:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0011d7d0 <fstat>: int fstat( int fd, struct stat *sbuf ) {
  11d7d0:	55                   	push   %ebp                           
  11d7d1:	89 e5                	mov    %esp,%ebp                      
  11d7d3:	57                   	push   %edi                           
  11d7d4:	53                   	push   %ebx                           
  11d7d5:	8b 45 08             	mov    0x8(%ebp),%eax                 
  11d7d8:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  rtems_libio_t *iop;                                                 
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
  if ( !sbuf )                                                        
  11d7db:	85 db                	test   %ebx,%ebx                      
  11d7dd:	74 55                	je     11d834 <fstat+0x64>            
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
  iop = rtems_libio_iop( fd );                                        
  11d7df:	3b 05 4c 11 12 00    	cmp    0x12114c,%eax                  
  11d7e5:	73 39                	jae    11d820 <fstat+0x50>            
  11d7e7:	c1 e0 03             	shl    $0x3,%eax                      
  11d7ea:	8d 14 c5 00 00 00 00 	lea    0x0(,%eax,8),%edx              
  11d7f1:	29 c2                	sub    %eax,%edx                      
  11d7f3:	03 15 00 53 12 00    	add    0x125300,%edx                  
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
  11d7f9:	f6 42 15 01          	testb  $0x1,0x15(%edx)                
  11d7fd:	74 21                	je     11d820 <fstat+0x50>            
                                                                      
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
  11d7ff:	b9 48 00 00 00       	mov    $0x48,%ecx                     
  11d804:	31 c0                	xor    %eax,%eax                      
  11d806:	89 df                	mov    %ebx,%edi                      
  11d808:	f3 aa                	rep stos %al,%es:(%edi)               
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
  11d80a:	8b 42 20             	mov    0x20(%edx),%eax                
  11d80d:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  11d810:	83 c2 18             	add    $0x18,%edx                     
  11d813:	89 55 08             	mov    %edx,0x8(%ebp)                 
  11d816:	8b 40 18             	mov    0x18(%eax),%eax                
}                                                                     
  11d819:	5b                   	pop    %ebx                           
  11d81a:	5f                   	pop    %edi                           
  11d81b:	c9                   	leave                                 
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
  11d81c:	ff e0                	jmp    *%eax                          
  11d81e:	66 90                	xchg   %ax,%ax                        
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
  11d820:	e8 17 4b ff ff       	call   11233c <__errno>               
  11d825:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
}                                                                     
  11d82b:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  11d830:	5b                   	pop    %ebx                           
  11d831:	5f                   	pop    %edi                           
  11d832:	c9                   	leave                                 
  11d833:	c3                   	ret                                   
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
  if ( !sbuf )                                                        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
  11d834:	e8 03 4b ff ff       	call   11233c <__errno>               
  11d839:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    
  11d83f:	eb ea                	jmp    11d82b <fstat+0x5b>            
                                                                      

00108f14 <fsync>: #include <rtems/seterr.h> int fsync( int fd ) {
  108f14:	55                   	push   %ebp                           
  108f15:	89 e5                	mov    %esp,%ebp                      
  108f17:	83 ec 08             	sub    $0x8,%esp                      
  108f1a:	8b 45 08             	mov    0x8(%ebp),%eax                 
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  108f1d:	3b 05 4c 31 12 00    	cmp    0x12314c,%eax                  
  108f23:	73 2f                	jae    108f54 <fsync+0x40>            
  iop = rtems_libio_iop( fd );                                        
  108f25:	8d 14 c5 00 00 00 00 	lea    0x0(,%eax,8),%edx              
  108f2c:	8d 04 d5 00 00 00 00 	lea    0x0(,%edx,8),%eax              
  108f33:	29 d0                	sub    %edx,%eax                      
  108f35:	03 05 00 73 12 00    	add    0x127300,%eax                  
  rtems_libio_check_is_open(iop);                                     
  108f3b:	8b 50 14             	mov    0x14(%eax),%edx                
  108f3e:	f6 c6 01             	test   $0x1,%dh                       
  108f41:	74 11                	je     108f54 <fsync+0x40>            
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
  108f43:	83 e2 04             	and    $0x4,%edx                      
  108f46:	74 20                	je     108f68 <fsync+0x54>            
                                                                      
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  return (*iop->pathinfo.handlers->fsync_h)( iop );                   
  108f48:	8b 50 20             	mov    0x20(%eax),%edx                
  108f4b:	89 45 08             	mov    %eax,0x8(%ebp)                 
  108f4e:	8b 42 28             	mov    0x28(%edx),%eax                
}                                                                     
  108f51:	c9                   	leave                                 
                                                                      
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  return (*iop->pathinfo.handlers->fsync_h)( iop );                   
  108f52:	ff e0                	jmp    *%eax                          
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
  108f54:	e8 43 a5 00 00       	call   11349c <__errno>               
  108f59:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  return (*iop->pathinfo.handlers->fsync_h)( iop );                   
}                                                                     
  108f5f:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  108f64:	c9                   	leave                                 
  108f65:	c3                   	ret                                   
  108f66:	66 90                	xchg   %ax,%ax                        
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
  108f68:	e8 2f a5 00 00       	call   11349c <__errno>               
  108f6d:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  108f73:	eb ea                	jmp    108f5f <fsync+0x4b>            
                                                                      

0010fad8 <ftruncate>: int ftruncate( int fd, off_t length ) {
  10fad8:	55                   	push   %ebp                           
  10fad9:	89 e5                	mov    %esp,%ebp                      
  10fadb:	57                   	push   %edi                           
  10fadc:	56                   	push   %esi                           
  10fadd:	53                   	push   %ebx                           
  10fade:	83 ec 3c             	sub    $0x3c,%esp                     
  10fae1:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10fae4:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10fae7:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10faea:	89 55 c0             	mov    %edx,-0x40(%ebp)               
  10faed:	89 4d c4             	mov    %ecx,-0x3c(%ebp)               
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  10faf0:	3b 05 4c 11 12 00    	cmp    0x12114c,%eax                  
  10faf6:	73 58                	jae    10fb50 <ftruncate+0x78>        
  iop = rtems_libio_iop( fd );                                        
  10faf8:	c1 e0 03             	shl    $0x3,%eax                      
  10fafb:	8d 1c c5 00 00 00 00 	lea    0x0(,%eax,8),%ebx              
  10fb02:	29 c3                	sub    %eax,%ebx                      
  10fb04:	03 1d 00 53 12 00    	add    0x125300,%ebx                  
  rtems_libio_check_is_open(iop);                                     
  10fb0a:	f6 43 15 01          	testb  $0x1,0x15(%ebx)                
  10fb0e:	74 40                	je     10fb50 <ftruncate+0x78>        
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
  10fb10:	8d 7d d4             	lea    -0x2c(%ebp),%edi               
  10fb13:	8d 73 18             	lea    0x18(%ebx),%esi                
  10fb16:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  10fb1b:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
  10fb1d:	83 ec 0c             	sub    $0xc,%esp                      
  10fb20:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  10fb23:	50                   	push   %eax                           
  10fb24:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10fb27:	ff 50 10             	call   *0x10(%eax)                    
  10fb2a:	83 c4 10             	add    $0x10,%esp                     
  10fb2d:	48                   	dec    %eax                           
  10fb2e:	74 46                	je     10fb76 <ftruncate+0x9e>        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
  10fb30:	f6 43 14 04          	testb  $0x4,0x14(%ebx)                
  10fb34:	74 2e                	je     10fb64 <ftruncate+0x8c>        
                                                                      
  return (*iop->pathinfo.handlers->ftruncate_h)( iop, length );       
  10fb36:	50                   	push   %eax                           
  10fb37:	8b 43 20             	mov    0x20(%ebx),%eax                
  10fb3a:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  10fb3d:	ff 75 c0             	pushl  -0x40(%ebp)                    
  10fb40:	53                   	push   %ebx                           
  10fb41:	ff 50 20             	call   *0x20(%eax)                    
  10fb44:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10fb47:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10fb4a:	5b                   	pop    %ebx                           
  10fb4b:	5e                   	pop    %esi                           
  10fb4c:	5f                   	pop    %edi                           
  10fb4d:	c9                   	leave                                 
  10fb4e:	c3                   	ret                                   
  10fb4f:	90                   	nop                                   
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
  10fb50:	e8 e7 27 00 00       	call   11233c <__errno>               
  10fb55:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  10fb5b:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10fb60:	eb e5                	jmp    10fb47 <ftruncate+0x6f>        
  10fb62:	66 90                	xchg   %ax,%ax                        
                                                                      
  loc = iop->pathinfo;                                                
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
    rtems_set_errno_and_return_minus_one( EISDIR );                   
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
  10fb64:	e8 d3 27 00 00       	call   11233c <__errno>               
  10fb69:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10fb6f:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10fb74:	eb d1                	jmp    10fb47 <ftruncate+0x6f>        
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  10fb76:	e8 c1 27 00 00       	call   11233c <__errno>               
  10fb7b:	c7 00 15 00 00 00    	movl   $0x15,(%eax)                   
  10fb81:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10fb86:	eb bf                	jmp    10fb47 <ftruncate+0x6f>        
                                                                      

00108300 <getchark>: #include <rtems.h> #include <rtems/bspIo.h> int getchark(void) {
  108300:	55                   	push   %ebp                           
  108301:	89 e5                	mov    %esp,%ebp                      
  108303:	83 ec 08             	sub    $0x8,%esp                      
  if ( BSP_poll_char )                                                
  108306:	a1 ac 24 12 00       	mov    0x1224ac,%eax                  
  10830b:	85 c0                	test   %eax,%eax                      
  10830d:	74 05                	je     108314 <getchark+0x14>         
    return (*BSP_poll_char)();                                        
                                                                      
  return -1;                                                          
}                                                                     
  10830f:	c9                   	leave                                 
#include <rtems/bspIo.h>                                              
                                                                      
int getchark(void)                                                    
{                                                                     
  if ( BSP_poll_char )                                                
    return (*BSP_poll_char)();                                        
  108310:	ff e0                	jmp    *%eax                          
  108312:	66 90                	xchg   %ax,%ax                        
                                                                      
  return -1;                                                          
}                                                                     
  108314:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  108319:	c9                   	leave                                 
  10831a:	c3                   	ret                                   
                                                                      

0011f1c4 <getdents>: int getdents( int dd_fd, char *dd_buf, int dd_len ) {
  11f1c4:	55                   	push   %ebp                           
  11f1c5:	89 e5                	mov    %esp,%ebp                      
  11f1c7:	57                   	push   %edi                           
  11f1c8:	56                   	push   %esi                           
  11f1c9:	53                   	push   %ebx                           
  11f1ca:	83 ec 2c             	sub    $0x2c,%esp                     
  11f1cd:	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 );                                     
  11f1d0:	3b 05 4c 41 12 00    	cmp    0x12414c,%eax                  
  11f1d6:	73 4c                	jae    11f224 <getdents+0x60>         <== NEVER TAKEN
  11f1d8:	c1 e0 03             	shl    $0x3,%eax                      
  11f1db:	8d 1c c5 00 00 00 00 	lea    0x0(,%eax,8),%ebx              
  11f1e2:	29 c3                	sub    %eax,%ebx                      
  11f1e4:	03 1d 20 84 12 00    	add    0x128420,%ebx                  
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
  11f1ea:	8d 7d d4             	lea    -0x2c(%ebp),%edi               
  11f1ed:	8d 73 18             	lea    0x18(%ebx),%esi                
  11f1f0:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  11f1f5:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
  11f1f7:	83 ec 0c             	sub    $0xc,%esp                      
  11f1fa:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  11f1fd:	50                   	push   %eax                           
  11f1fe:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  11f201:	ff 50 10             	call   *0x10(%eax)                    
  11f204:	83 c4 10             	add    $0x10,%esp                     
  11f207:	48                   	dec    %eax                           
  11f208:	75 1e                	jne    11f228 <getdents+0x64>         
                                                                      
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
  return (*iop->pathinfo.handlers->read_h)( iop, dd_buf, dd_len  );   
  11f20a:	50                   	push   %eax                           
  11f20b:	8b 43 20             	mov    0x20(%ebx),%eax                
  11f20e:	ff 75 10             	pushl  0x10(%ebp)                     
  11f211:	ff 75 0c             	pushl  0xc(%ebp)                      
  11f214:	53                   	push   %ebx                           
  11f215:	ff 50 08             	call   *0x8(%eax)                     
  11f218:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  11f21b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11f21e:	5b                   	pop    %ebx                           
  11f21f:	5e                   	pop    %esi                           
  11f220:	5f                   	pop    %edi                           
  11f221:	c9                   	leave                                 
  11f222:	c3                   	ret                                   
  11f223:	90                   	nop                                   
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
  iop = rtems_libio_iop( dd_fd );                                     
  11f224:	31 db                	xor    %ebx,%ebx                      
  11f226:	eb c2                	jmp    11f1ea <getdents+0x26>         <== NOT EXECUTED
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  11f228:	e8 5f 41 ff ff       	call   11338c <__errno>               
  11f22d:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   
  11f233:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  11f238:	eb e1                	jmp    11f21b <getdents+0x57>         
                                                                      

00108b34 <getgr_r>: struct group *grp, char *buffer, size_t bufsize, struct group **result ) {
  108b34:	55                   	push   %ebp                           
  108b35:	89 e5                	mov    %esp,%ebp                      
  108b37:	57                   	push   %edi                           
  108b38:	56                   	push   %esi                           
  108b39:	53                   	push   %ebx                           
  108b3a:	83 ec 1c             	sub    $0x1c,%esp                     
  108b3d:	89 c3                	mov    %eax,%ebx                      
  108b3f:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  108b42:	89 ce                	mov    %ecx,%esi                      
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
  108b44:	e8 eb fe ff ff       	call   108a34 <init_etc_passwd_group> 
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL)                        
  108b49:	83 ec 08             	sub    $0x8,%esp                      
  108b4c:	68 12 00 12 00       	push   $0x120012                      
  108b51:	68 f9 14 12 00       	push   $0x1214f9                      
  108b56:	e8 bd ae 00 00       	call   113a18 <fopen>                 
  108b5b:	89 c7                	mov    %eax,%edi                      
  108b5d:	83 c4 10             	add    $0x10,%esp                     
  108b60:	85 c0                	test   %eax,%eax                      
  108b62:	75 22                	jne    108b86 <getgr_r+0x52>          
  108b64:	e9 8b 00 00 00       	jmp    108bf4 <getgr_r+0xc0>          
  108b69:	8d 76 00             	lea    0x0(%esi),%esi                 
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize))                            
      goto error_einval;                                              
                                                                      
    if (name) {                                                       
      match = (strcmp(grp->gr_name, name) == 0);                      
  108b6c:	83 ec 08             	sub    $0x8,%esp                      
  108b6f:	53                   	push   %ebx                           
  108b70:	ff 36                	pushl  (%esi)                         
  108b72:	e8 15 bd 00 00       	call   11488c <strcmp>                
  108b77:	83 c4 10             	add    $0x10,%esp                     
  108b7a:	85 c0                	test   %eax,%eax                      
  108b7c:	0f 94 c0             	sete   %al                            
  108b7f:	0f b6 c0             	movzbl %al,%eax                       
    } else {                                                          
      match = (grp->gr_gid == gid);                                   
    }                                                                 
                                                                      
    if (match) {                                                      
  108b82:	85 c0                	test   %eax,%eax                      
  108b84:	75 2e                	jne    108bb4 <getgr_r+0x80>          
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL)                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize))                            
  108b86:	83 ec 0c             	sub    $0xc,%esp                      
  108b89:	ff 75 0c             	pushl  0xc(%ebp)                      
  108b8c:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  108b8f:	89 f2                	mov    %esi,%edx                      
  108b91:	89 f8                	mov    %edi,%eax                      
  108b93:	e8 88 fc ff ff       	call   108820 <scangr>                
  108b98:	83 c4 10             	add    $0x10,%esp                     
  108b9b:	85 c0                	test   %eax,%eax                      
  108b9d:	74 31                	je     108bd0 <getgr_r+0x9c>          
      goto error_einval;                                              
                                                                      
    if (name) {                                                       
  108b9f:	85 db                	test   %ebx,%ebx                      
  108ba1:	75 c9                	jne    108b6c <getgr_r+0x38>          
      match = (strcmp(grp->gr_name, name) == 0);                      
    } else {                                                          
      match = (grp->gr_gid == gid);                                   
  108ba3:	0f b7 46 08          	movzwl 0x8(%esi),%eax                 
  108ba7:	3b 45 e4             	cmp    -0x1c(%ebp),%eax               
  108baa:	0f 94 c0             	sete   %al                            
  108bad:	0f b6 c0             	movzbl %al,%eax                       
    }                                                                 
                                                                      
    if (match) {                                                      
  108bb0:	85 c0                	test   %eax,%eax                      
  108bb2:	74 d2                	je     108b86 <getgr_r+0x52>          
      fclose(fp);                                                     
  108bb4:	83 ec 0c             	sub    $0xc,%esp                      
  108bb7:	57                   	push   %edi                           
  108bb8:	e8 57 a7 00 00       	call   113314 <fclose>                
      *result = grp;                                                  
  108bbd:	8b 45 10             	mov    0x10(%ebp),%eax                
  108bc0:	89 30                	mov    %esi,(%eax)                    
      return 0;                                                       
  108bc2:	83 c4 10             	add    $0x10,%esp                     
  108bc5:	31 c0                	xor    %eax,%eax                      
    }                                                                 
  }                                                                   
error_einval:                                                         
  fclose(fp);                                                         
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  108bc7:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108bca:	5b                   	pop    %ebx                           
  108bcb:	5e                   	pop    %esi                           
  108bcc:	5f                   	pop    %edi                           
  108bcd:	c9                   	leave                                 
  108bce:	c3                   	ret                                   
  108bcf:	90                   	nop                                   
      *result = grp;                                                  
      return 0;                                                       
    }                                                                 
  }                                                                   
error_einval:                                                         
  fclose(fp);                                                         
  108bd0:	83 ec 0c             	sub    $0xc,%esp                      
  108bd3:	57                   	push   %edi                           
  108bd4:	e8 3b a7 00 00       	call   113314 <fclose>                
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  108bd9:	e8 de a5 00 00       	call   1131bc <__errno>               
  108bde:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  108be4:	83 c4 10             	add    $0x10,%esp                     
  108be7:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
}                                                                     
  108bec:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108bef:	5b                   	pop    %ebx                           
  108bf0:	5e                   	pop    %esi                           
  108bf1:	5f                   	pop    %edi                           
  108bf2:	c9                   	leave                                 
  108bf3:	c3                   	ret                                   
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL)                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  108bf4:	e8 c3 a5 00 00       	call   1131bc <__errno>               
  108bf9:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  108bff:	83 c8 ff             	or     $0xffffffff,%eax               
  108c02:	eb c3                	jmp    108bc7 <getgr_r+0x93>          
                                                                      

00108e58 <getgrnam>: } struct group *getgrnam( const char *name ) {
  108e58:	55                   	push   %ebp                           
  108e59:	89 e5                	mov    %esp,%ebp                      
  108e5b:	83 ec 24             	sub    $0x24,%esp                     
  struct group *p;                                                    
                                                                      
  if(getgrnam_r(name, &grent, grbuf, sizeof grbuf, &p))               
  108e5e:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  108e61:	50                   	push   %eax                           
  108e62:	68 c8 00 00 00       	push   $0xc8                          
  108e67:	68 00 70 12 00       	push   $0x127000                      
  108e6c:	68 e4 6f 12 00       	push   $0x126fe4                      
  108e71:	ff 75 08             	pushl  0x8(%ebp)                      
  108e74:	e8 b3 ff ff ff       	call   108e2c <getgrnam_r>            
  108e79:	83 c4 20             	add    $0x20,%esp                     
  108e7c:	85 c0                	test   %eax,%eax                      
  108e7e:	75 08                	jne    108e88 <getgrnam+0x30>         
    return NULL;                                                      
  return p;                                                           
  108e80:	8b 45 f4             	mov    -0xc(%ebp),%eax                
}                                                                     
  108e83:	c9                   	leave                                 
  108e84:	c3                   	ret                                   
  108e85:	8d 76 00             	lea    0x0(%esi),%esi                 
)                                                                     
{                                                                     
  struct group *p;                                                    
                                                                      
  if(getgrnam_r(name, &grent, grbuf, sizeof grbuf, &p))               
    return NULL;                                                      
  108e88:	31 c0                	xor    %eax,%eax                      
  return p;                                                           
}                                                                     
  108e8a:	c9                   	leave                                 
  108e8b:	c3                   	ret                                   
                                                                      

001085f8 <getlogin_r>: */ int getlogin_r( char *name, size_t namesize ) {
  1085f8:	55                   	push   %ebp                           
  1085f9:	89 e5                	mov    %esp,%ebp                      
  1085fb:	53                   	push   %ebx                           
  1085fc:	83 ec 04             	sub    $0x4,%esp                      
  1085ff:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  struct passwd *pw;                                                  
  char          *pname;                                               
                                                                      
  if ( !name )                                                        
  108602:	85 db                	test   %ebx,%ebx                      
  108604:	74 42                	je     108648 <getlogin_r+0x50>       
    return EFAULT;                                                    
                                                                      
  if ( namesize < LOGIN_NAME_MAX )                                    
  108606:	83 7d 0c 08          	cmpl   $0x8,0xc(%ebp)                 
  10860a:	77 0c                	ja     108618 <getlogin_r+0x20>       
    return ERANGE;                                                    
  10860c:	b8 22 00 00 00       	mov    $0x22,%eax                     
  if ( pw )                                                           
   pname = pw->pw_name;                                               
                                                                      
  strncpy( name, pname, LOGIN_NAME_MAX );                             
  return 0;                                                           
}                                                                     
  108611:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108614:	c9                   	leave                                 
  108615:	c3                   	ret                                   
  108616:	66 90                	xchg   %ax,%ax                        
    return ERANGE;                                                    
                                                                      
  /* Set the pointer to a default name */                             
  pname = "";                                                         
                                                                      
  pw = getpwuid(getuid());                                            
  108618:	e8 e7 09 00 00       	call   109004 <getuid>                
  10861d:	83 ec 0c             	sub    $0xc,%esp                      
  108620:	0f b7 c0             	movzwl %ax,%eax                       
  108623:	50                   	push   %eax                           
  108624:	e8 37 07 00 00       	call   108d60 <getpwuid>              
  if ( pw )                                                           
  108629:	83 c4 10             	add    $0x10,%esp                     
  10862c:	85 c0                	test   %eax,%eax                      
  10862e:	74 20                	je     108650 <getlogin_r+0x58>       
   pname = pw->pw_name;                                               
  108630:	8b 00                	mov    (%eax),%eax                    
                                                                      
  strncpy( name, pname, LOGIN_NAME_MAX );                             
  108632:	52                   	push   %edx                           
  108633:	6a 09                	push   $0x9                           
  108635:	50                   	push   %eax                           
  108636:	53                   	push   %ebx                           
  108637:	e8 d0 c3 00 00       	call   114a0c <strncpy>               
  return 0;                                                           
  10863c:	83 c4 10             	add    $0x10,%esp                     
  10863f:	31 c0                	xor    %eax,%eax                      
}                                                                     
  108641:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108644:	c9                   	leave                                 
  108645:	c3                   	ret                                   
  108646:	66 90                	xchg   %ax,%ax                        
{                                                                     
  struct passwd *pw;                                                  
  char          *pname;                                               
                                                                      
  if ( !name )                                                        
    return EFAULT;                                                    
  108648:	b8 0e 00 00 00       	mov    $0xe,%eax                      
  10864d:	eb c2                	jmp    108611 <getlogin_r+0x19>       
  10864f:	90                   	nop                                   
                                                                      
  if ( namesize < LOGIN_NAME_MAX )                                    
    return ERANGE;                                                    
                                                                      
  /* Set the pointer to a default name */                             
  pname = "";                                                         
  108650:	b8 49 16 12 00       	mov    $0x121649,%eax                 
  108655:	eb db                	jmp    108632 <getlogin_r+0x3a>       
                                                                      

00108c04 <getpw_r>: struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result ) {
  108c04:	55                   	push   %ebp                           
  108c05:	89 e5                	mov    %esp,%ebp                      
  108c07:	57                   	push   %edi                           
  108c08:	56                   	push   %esi                           
  108c09:	53                   	push   %ebx                           
  108c0a:	83 ec 1c             	sub    $0x1c,%esp                     
  108c0d:	89 c3                	mov    %eax,%ebx                      
  108c0f:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  108c12:	89 ce                	mov    %ecx,%esi                      
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
  108c14:	e8 1b fe ff ff       	call   108a34 <init_etc_passwd_group> 
                                                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL)                       
  108c19:	83 ec 08             	sub    $0x8,%esp                      
  108c1c:	68 12 00 12 00       	push   $0x120012                      
  108c21:	68 ed 14 12 00       	push   $0x1214ed                      
  108c26:	e8 ed ad 00 00       	call   113a18 <fopen>                 
  108c2b:	89 c7                	mov    %eax,%edi                      
  108c2d:	83 c4 10             	add    $0x10,%esp                     
  108c30:	85 c0                	test   %eax,%eax                      
  108c32:	75 22                	jne    108c56 <getpw_r+0x52>          
  108c34:	e9 8b 00 00 00       	jmp    108cc4 <getpw_r+0xc0>          
  108c39:	8d 76 00             	lea    0x0(%esi),%esi                 
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize))                            
      goto error_einval;                                              
                                                                      
    if (name) {                                                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
  108c3c:	83 ec 08             	sub    $0x8,%esp                      
  108c3f:	53                   	push   %ebx                           
  108c40:	ff 36                	pushl  (%esi)                         
  108c42:	e8 45 bc 00 00       	call   11488c <strcmp>                
  108c47:	83 c4 10             	add    $0x10,%esp                     
  108c4a:	85 c0                	test   %eax,%eax                      
  108c4c:	0f 94 c0             	sete   %al                            
  108c4f:	0f b6 c0             	movzbl %al,%eax                       
    } else {                                                          
      match = (pwd->pw_uid == uid);                                   
    }                                                                 
                                                                      
    if (match) {                                                      
  108c52:	85 c0                	test   %eax,%eax                      
  108c54:	75 2e                	jne    108c84 <getpw_r+0x80>          
                                                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL)                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize))                            
  108c56:	83 ec 0c             	sub    $0xc,%esp                      
  108c59:	ff 75 0c             	pushl  0xc(%ebp)                      
  108c5c:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  108c5f:	89 f2                	mov    %esi,%edx                      
  108c61:	89 f8                	mov    %edi,%eax                      
  108c63:	e8 d0 fc ff ff       	call   108938 <scanpw>                
  108c68:	83 c4 10             	add    $0x10,%esp                     
  108c6b:	85 c0                	test   %eax,%eax                      
  108c6d:	74 31                	je     108ca0 <getpw_r+0x9c>          
      goto error_einval;                                              
                                                                      
    if (name) {                                                       
  108c6f:	85 db                	test   %ebx,%ebx                      
  108c71:	75 c9                	jne    108c3c <getpw_r+0x38>          
      match = (strcmp(pwd->pw_name, name) == 0);                      
    } else {                                                          
      match = (pwd->pw_uid == uid);                                   
  108c73:	0f b7 46 08          	movzwl 0x8(%esi),%eax                 
  108c77:	3b 45 e4             	cmp    -0x1c(%ebp),%eax               
  108c7a:	0f 94 c0             	sete   %al                            
  108c7d:	0f b6 c0             	movzbl %al,%eax                       
    }                                                                 
                                                                      
    if (match) {                                                      
  108c80:	85 c0                	test   %eax,%eax                      
  108c82:	74 d2                	je     108c56 <getpw_r+0x52>          
      fclose(fp);                                                     
  108c84:	83 ec 0c             	sub    $0xc,%esp                      
  108c87:	57                   	push   %edi                           
  108c88:	e8 87 a6 00 00       	call   113314 <fclose>                
      *result = pwd;                                                  
  108c8d:	8b 45 10             	mov    0x10(%ebp),%eax                
  108c90:	89 30                	mov    %esi,(%eax)                    
      return 0;                                                       
  108c92:	83 c4 10             	add    $0x10,%esp                     
  108c95:	31 c0                	xor    %eax,%eax                      
    }                                                                 
  }                                                                   
error_einval:                                                         
  fclose(fp);                                                         
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  108c97:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108c9a:	5b                   	pop    %ebx                           
  108c9b:	5e                   	pop    %esi                           
  108c9c:	5f                   	pop    %edi                           
  108c9d:	c9                   	leave                                 
  108c9e:	c3                   	ret                                   
  108c9f:	90                   	nop                                   
      *result = pwd;                                                  
      return 0;                                                       
    }                                                                 
  }                                                                   
error_einval:                                                         
  fclose(fp);                                                         
  108ca0:	83 ec 0c             	sub    $0xc,%esp                      
  108ca3:	57                   	push   %edi                           
  108ca4:	e8 6b a6 00 00       	call   113314 <fclose>                
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  108ca9:	e8 0e a5 00 00       	call   1131bc <__errno>               
  108cae:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  108cb4:	83 c4 10             	add    $0x10,%esp                     
  108cb7:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
}                                                                     
  108cbc:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108cbf:	5b                   	pop    %ebx                           
  108cc0:	5e                   	pop    %esi                           
  108cc1:	5f                   	pop    %edi                           
  108cc2:	c9                   	leave                                 
  108cc3:	c3                   	ret                                   
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
                                                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL)                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  108cc4:	e8 f3 a4 00 00       	call   1131bc <__errno>               
  108cc9:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  108ccf:	83 c8 ff             	or     $0xffffffff,%eax               
  108cd2:	eb c3                	jmp    108c97 <getpw_r+0x93>          
                                                                      

00108d00 <getpwnam>: } struct passwd *getpwnam( const char *name ) {
  108d00:	55                   	push   %ebp                           
  108d01:	89 e5                	mov    %esp,%ebp                      
  108d03:	83 ec 24             	sub    $0x24,%esp                     
  struct passwd *p;                                                   
                                                                      
  if(getpwnam_r(name, &pwent, pwbuf, sizeof pwbuf, &p))               
  108d06:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  108d09:	50                   	push   %eax                           
  108d0a:	68 c8 00 00 00       	push   $0xc8                          
  108d0f:	68 00 71 12 00       	push   $0x127100                      
  108d14:	68 cc 70 12 00       	push   $0x1270cc                      
  108d19:	ff 75 08             	pushl  0x8(%ebp)                      
  108d1c:	e8 b3 ff ff ff       	call   108cd4 <getpwnam_r>            
  108d21:	83 c4 20             	add    $0x20,%esp                     
  108d24:	85 c0                	test   %eax,%eax                      
  108d26:	75 08                	jne    108d30 <getpwnam+0x30>         
    return NULL;                                                      
  return p;                                                           
  108d28:	8b 45 f4             	mov    -0xc(%ebp),%eax                
}                                                                     
  108d2b:	c9                   	leave                                 
  108d2c:	c3                   	ret                                   
  108d2d:	8d 76 00             	lea    0x0(%esi),%esi                 
)                                                                     
{                                                                     
  struct passwd *p;                                                   
                                                                      
  if(getpwnam_r(name, &pwent, pwbuf, sizeof pwbuf, &p))               
    return NULL;                                                      
  108d30:	31 c0                	xor    %eax,%eax                      
  return p;                                                           
}                                                                     
  108d32:	c9                   	leave                                 
  108d33:	c3                   	ret                                   
                                                                      

00108130 <gettimeofday>: */ int gettimeofday( struct timeval *tp, void * __tz __attribute__((unused)) ) {
  108130:	55                   	push   %ebp                           
  108131:	89 e5                	mov    %esp,%ebp                      
  108133:	56                   	push   %esi                           
  108134:	53                   	push   %ebx                           
  108135:	83 ec 10             	sub    $0x10,%esp                     
  108138:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp )                                                          
  10813b:	85 db                	test   %ebx,%ebx                      
  10813d:	74 39                	je     108178 <gettimeofday+0x48>     <== NEVER TAKEN
{                                                                     
  ISR_Level       level;                                              
  struct timespec now;                                                
  suseconds_t     useconds;                                           
                                                                      
  _ISR_Disable(level);                                                
  10813f:	9c                   	pushf                                 
  108140:	fa                   	cli                                   
  108141:	5e                   	pop    %esi                           
    _TOD_Get( &now );                                                 
  108142:	83 ec 0c             	sub    $0xc,%esp                      
  108145:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  108148:	50                   	push   %eax                           
  108149:	e8 6e 42 00 00       	call   10c3bc <_TOD_Get>              
  _ISR_Enable(level);                                                 
  10814e:	56                   	push   %esi                           
  10814f:	9d                   	popf                                  
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  108150:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
  108153:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  108156:	89 03                	mov    %eax,(%ebx)                    
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
  108158:	b8 d3 4d 62 10       	mov    $0x10624dd3,%eax               
  10815d:	f7 e9                	imul   %ecx                           
  10815f:	89 d0                	mov    %edx,%eax                      
  108161:	c1 f8 06             	sar    $0x6,%eax                      
  108164:	c1 f9 1f             	sar    $0x1f,%ecx                     
  108167:	29 c8                	sub    %ecx,%eax                      
  108169:	89 43 04             	mov    %eax,0x4(%ebx)                 
   *  Timezone information ignored by the OS proper.   Per email      
   *  with Eric Norum, this is how GNU/Linux, Solaris, and MacOS X    
   *  do it.  This puts us in good company.                           
   */                                                                 
                                                                      
  return 0;                                                           
  10816c:	83 c4 10             	add    $0x10,%esp                     
  10816f:	31 c0                	xor    %eax,%eax                      
}                                                                     
  108171:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  108174:	5b                   	pop    %ebx                           
  108175:	5e                   	pop    %esi                           
  108176:	c9                   	leave                                 
  108177:	c3                   	ret                                   
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp )                                                          
    rtems_set_errno_and_return_minus_one( EFAULT );                   
  108178:	e8 bf a1 00 00       	call   11233c <__errno>               <== NOT EXECUTED
  10817d:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    <== NOT EXECUTED
  108183:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
  108188:	eb e7                	jmp    108171 <gettimeofday+0x41>     <== NOT EXECUTED
                                                                      

00111b70 <imfs_dir_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
  111b70:	55                   	push   %ebp                           
  111b71:	89 e5                	mov    %esp,%ebp                      
  111b73:	8b 45 08             	mov    0x8(%ebp),%eax                 
  IMFS_jnode_t      *the_jnode;                                       
                                                                      
  /* Is the node a directory ? */                                     
  the_jnode = (IMFS_jnode_t *) iop->pathinfo.node_access;             
                                                                      
  if ( the_jnode->type != IMFS_DIRECTORY )                            
  111b76:	8b 50 18             	mov    0x18(%eax),%edx                
  111b79:	83 7a 4c 01          	cmpl   $0x1,0x4c(%edx)                
  111b7d:	74 09                	je     111b88 <imfs_dir_open+0x18>    <== ALWAYS TAKEN
     return -1;      /* It wasn't a directory --> return error */     
  111b7f:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
                                                                      
  iop->offset = 0;                                                    
  return 0;                                                           
}                                                                     
  111b84:	c9                   	leave                                 <== NOT EXECUTED
  111b85:	c3                   	ret                                   <== NOT EXECUTED
  111b86:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
  the_jnode = (IMFS_jnode_t *) iop->pathinfo.node_access;             
                                                                      
  if ( the_jnode->type != IMFS_DIRECTORY )                            
     return -1;      /* It wasn't a directory --> return error */     
                                                                      
  iop->offset = 0;                                                    
  111b88:	c7 40 0c 00 00 00 00 	movl   $0x0,0xc(%eax)                 
  111b8f:	c7 40 10 00 00 00 00 	movl   $0x0,0x10(%eax)                
  return 0;                                                           
  111b96:	31 c0                	xor    %eax,%eax                      
}                                                                     
  111b98:	c9                   	leave                                 
  111b99:	c3                   	ret                                   
                                                                      

00111b9c <imfs_dir_read>: ssize_t imfs_dir_read( rtems_libio_t *iop, void *buffer, size_t count ) {
  111b9c:	55                   	push   %ebp                           
  111b9d:	89 e5                	mov    %esp,%ebp                      
  111b9f:	57                   	push   %edi                           
  111ba0:	56                   	push   %esi                           
  111ba1:	53                   	push   %ebx                           
  111ba2:	81 ec 4c 01 00 00    	sub    $0x14c,%esp                    
   int                  current_entry;                                
   int                  first_entry;                                  
   int                  last_entry;                                   
   struct dirent        tmp_dirent;                                   
                                                                      
   the_jnode = (IMFS_jnode_t *)iop->pathinfo.node_access;             
  111ba8:	8b 55 08             	mov    0x8(%ebp),%edx                 
  111bab:	8b 42 18             	mov    0x18(%edx),%eax                
                                                                      
  IMFS_create_orphan( the_jnode );                                    
  IMFS_check_node_remove( the_jnode );                                
                                                                      
  return 0;                                                           
}                                                                     
  111bae:	8b 58 50             	mov    0x50(%eax),%ebx                
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  111bb1:	83 c0 54             	add    $0x54,%eax                     
  111bb4:	89 85 cc fe ff ff    	mov    %eax,-0x134(%ebp)              
   struct dirent        tmp_dirent;                                   
                                                                      
   the_jnode = (IMFS_jnode_t *)iop->pathinfo.node_access;             
   the_chain = &the_jnode->info.directory.Entries;                    
                                                                      
   if ( rtems_chain_is_empty( the_chain ) )                           
  111bba:	39 c3                	cmp    %eax,%ebx                      
  111bbc:	0f 84 2a 01 00 00    	je     111cec <imfs_dir_read+0x150>   
                                                                      
   /* Move to the first of the desired directory entries */           
   the_node = rtems_chain_first( the_chain );                         
                                                                      
   bytes_transferred = 0;                                             
   first_entry = iop->offset;                                         
  111bc2:	8b 42 0c             	mov    0xc(%edx),%eax                 
  111bc5:	89 85 d4 fe ff ff    	mov    %eax,-0x12c(%ebp)              
   /* protect against using sizes that are not exact multiples of the */
   /* -dirent- size. These could result in unexpected results          */
   last_entry = first_entry + (count/sizeof(struct dirent)) * sizeof(struct dirent);
  111bcb:	ba f1 f0 f0 f0       	mov    $0xf0f0f0f1,%edx               
  111bd0:	8b 45 10             	mov    0x10(%ebp),%eax                
  111bd3:	f7 e2                	mul    %edx                           
  111bd5:	c1 ea 08             	shr    $0x8,%edx                      
  111bd8:	89 d0                	mov    %edx,%eax                      
  111bda:	c1 e0 04             	shl    $0x4,%eax                      
  111bdd:	c1 e2 08             	shl    $0x8,%edx                      
  111be0:	8d 14 10             	lea    (%eax,%edx,1),%edx             
  111be3:	03 95 d4 fe ff ff    	add    -0x12c(%ebp),%edx              
  111be9:	89 95 d0 fe ff ff    	mov    %edx,-0x130(%ebp)              
                                                                      
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
  111bef:	85 d2                	test   %edx,%edx                      
  111bf1:	0f 8e f5 00 00 00    	jle    111cec <imfs_dir_read+0x150>   <== NEVER TAKEN
  111bf7:	31 d2                	xor    %edx,%edx                      
  111bf9:	c7 85 c8 fe ff ff 00 	movl   $0x0,-0x138(%ebp)              
  111c00:	00 00 00                                                    
         tmp_dirent.d_off = current_entry;                            
         tmp_dirent.d_reclen = sizeof( struct dirent );               
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
         tmp_dirent.d_namlen = strlen( the_jnode->name );             
         strcpy( tmp_dirent.d_name, the_jnode->name );                
  111c03:	8d 85 d8 fe ff ff    	lea    -0x128(%ebp),%eax              
  111c09:	89 85 b4 fe ff ff    	mov    %eax,-0x14c(%ebp)              
  111c0f:	eb 23                	jmp    111c34 <imfs_dir_read+0x98>    
  111c11:	8d 76 00             	lea    0x0(%esi),%esi                 
         );                                                           
         iop->offset = iop->offset + sizeof(struct dirent);           
         bytes_transferred = bytes_transferred + sizeof( struct dirent );
      }                                                               
                                                                      
      the_node = the_node->next;                                      
  111c14:	8b 1b                	mov    (%ebx),%ebx                    
 *  to the end of the exisiting file, the remaining entries will be placed in
 *  the buffer and the returned value will be equal to -m actual- times the
 *  size of a directory entry.                                        
 */                                                                   
                                                                      
ssize_t imfs_dir_read(                                                
  111c16:	81 c2 10 01 00 00    	add    $0x110,%edx                    
   /* protect against using sizes that are not exact multiples of the */
   /* -dirent- size. These could result in unexpected results          */
   last_entry = first_entry + (count/sizeof(struct dirent)) * sizeof(struct dirent);
                                                                      
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
  111c1c:	39 95 d0 fe ff ff    	cmp    %edx,-0x130(%ebp)              
  111c22:	0f 8e b4 00 00 00    	jle    111cdc <imfs_dir_read+0x140>   <== NEVER TAKEN
      current_entry = 0;                                              
      current_entry < last_entry;                                     
      current_entry = current_entry + sizeof(struct dirent) ){        
                                                                      
      if ( rtems_chain_is_tail( the_chain, the_node ) ){              
  111c28:	3b 9d cc fe ff ff    	cmp    -0x134(%ebp),%ebx              
  111c2e:	0f 84 a8 00 00 00    	je     111cdc <imfs_dir_read+0x140>   
         /* entry in the read */                                      
         return bytes_transferred;  /* Indicate that there are no more */
                                    /* entries to return */           
      }                                                               
                                                                      
      if( current_entry >= first_entry ) {                            
  111c34:	39 95 d4 fe ff ff    	cmp    %edx,-0x12c(%ebp)              
  111c3a:	7f d8                	jg     111c14 <imfs_dir_read+0x78>    
         /* Move the entry to the return buffer */                    
         tmp_dirent.d_off = current_entry;                            
  111c3c:	89 95 dc fe ff ff    	mov    %edx,-0x124(%ebp)              
  111c42:	89 d0                	mov    %edx,%eax                      
  111c44:	c1 f8 1f             	sar    $0x1f,%eax                     
  111c47:	89 85 e0 fe ff ff    	mov    %eax,-0x120(%ebp)              
         tmp_dirent.d_reclen = sizeof( struct dirent );               
  111c4d:	66 c7 85 e4 fe ff ff 	movw   $0x110,-0x11c(%ebp)            
  111c54:	10 01                                                       
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
  111c56:	8b 43 38             	mov    0x38(%ebx),%eax                
  111c59:	89 85 d8 fe ff ff    	mov    %eax,-0x128(%ebp)              
         tmp_dirent.d_namlen = strlen( the_jnode->name );             
  111c5f:	8d 73 0c             	lea    0xc(%ebx),%esi                 
  111c62:	31 c0                	xor    %eax,%eax                      
  111c64:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  111c69:	89 f7                	mov    %esi,%edi                      
  111c6b:	f2 ae                	repnz scas %es:(%edi),%al             
  111c6d:	f7 d1                	not    %ecx                           
  111c6f:	49                   	dec    %ecx                           
  111c70:	66 89 8d e6 fe ff ff 	mov    %cx,-0x11a(%ebp)               
         strcpy( tmp_dirent.d_name, the_jnode->name );                
  111c77:	83 ec 08             	sub    $0x8,%esp                      
  111c7a:	56                   	push   %esi                           
  111c7b:	8d 85 e8 fe ff ff    	lea    -0x118(%ebp),%eax              
  111c81:	50                   	push   %eax                           
  111c82:	89 95 c4 fe ff ff    	mov    %edx,-0x13c(%ebp)              
  111c88:	e8 77 13 00 00       	call   113004 <strcpy>                
         memcpy(                                                      
  111c8d:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  111c90:	03 85 c8 fe ff ff    	add    -0x138(%ebp),%eax              
  111c96:	b9 44 00 00 00       	mov    $0x44,%ecx                     
  111c9b:	89 c7                	mov    %eax,%edi                      
  111c9d:	8b b5 b4 fe ff ff    	mov    -0x14c(%ebp),%esi              
  111ca3:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
            buffer + bytes_transferred,                               
            (void *)&tmp_dirent,                                      
            sizeof( struct dirent )                                   
         );                                                           
         iop->offset = iop->offset + sizeof(struct dirent);           
  111ca5:	8b 45 08             	mov    0x8(%ebp),%eax                 
  111ca8:	81 40 0c 10 01 00 00 	addl   $0x110,0xc(%eax)               
  111caf:	83 50 10 00          	adcl   $0x0,0x10(%eax)                
         bytes_transferred = bytes_transferred + sizeof( struct dirent );
  111cb3:	81 85 c8 fe ff ff 10 	addl   $0x110,-0x138(%ebp)            
  111cba:	01 00 00                                                    
  111cbd:	83 c4 10             	add    $0x10,%esp                     
  111cc0:	8b 95 c4 fe ff ff    	mov    -0x13c(%ebp),%edx              
      }                                                               
                                                                      
      the_node = the_node->next;                                      
  111cc6:	8b 1b                	mov    (%ebx),%ebx                    
 *  to the end of the exisiting file, the remaining entries will be placed in
 *  the buffer and the returned value will be equal to -m actual- times the
 *  size of a directory entry.                                        
 */                                                                   
                                                                      
ssize_t imfs_dir_read(                                                
  111cc8:	81 c2 10 01 00 00    	add    $0x110,%edx                    
   /* protect against using sizes that are not exact multiples of the */
   /* -dirent- size. These could result in unexpected results          */
   last_entry = first_entry + (count/sizeof(struct dirent)) * sizeof(struct dirent);
                                                                      
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
  111cce:	39 95 d0 fe ff ff    	cmp    %edx,-0x130(%ebp)              
  111cd4:	0f 8f 4e ff ff ff    	jg     111c28 <imfs_dir_read+0x8c>    <== NEVER TAKEN
  111cda:	66 90                	xchg   %ax,%ax                        
      current_entry = 0;                                              
      current_entry < last_entry;                                     
      current_entry = current_entry + sizeof(struct dirent) ){        
                                                                      
      if ( rtems_chain_is_tail( the_chain, the_node ) ){              
  111cdc:	8b 85 c8 fe ff ff    	mov    -0x138(%ebp),%eax              
      the_node = the_node->next;                                      
   }                                                                  
                                                                      
   /* Success */                                                      
   return bytes_transferred;                                          
}                                                                     
  111ce2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  111ce5:	5b                   	pop    %ebx                           
  111ce6:	5e                   	pop    %esi                           
  111ce7:	5f                   	pop    %edi                           
  111ce8:	c9                   	leave                                 
  111ce9:	c3                   	ret                                   
  111cea:	66 90                	xchg   %ax,%ax                        
                                                                      
   the_jnode = (IMFS_jnode_t *)iop->pathinfo.node_access;             
   the_chain = &the_jnode->info.directory.Entries;                    
                                                                      
   if ( rtems_chain_is_empty( the_chain ) )                           
      return 0;                                                       
  111cec:	31 c0                	xor    %eax,%eax                      
      the_node = the_node->next;                                      
   }                                                                  
                                                                      
   /* Success */                                                      
   return bytes_transferred;                                          
}                                                                     
  111cee:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  111cf1:	5b                   	pop    %ebx                           
  111cf2:	5e                   	pop    %esi                           
  111cf3:	5f                   	pop    %edi                           
  111cf4:	c9                   	leave                                 
  111cf5:	c3                   	ret                                   
                                                                      

00111e28 <imfs_dir_rmnod>: int imfs_dir_rmnod( rtems_filesystem_location_info_t *parent_pathloc, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN */ ) {
  111e28:	55                   	push   %ebp                           
  111e29:	89 e5                	mov    %esp,%ebp                      
  111e2b:	53                   	push   %ebx                           
  111e2c:	83 ec 04             	sub    $0x4,%esp                      
  111e2f:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
  111e32:	8b 18                	mov    (%eax),%ebx                    
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
  111e34:	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 ) ) 
  111e37:	39 53 50             	cmp    %edx,0x50(%ebx)                
  111e3a:	75 44                	jne    111e80 <imfs_dir_rmnod+0x58>   
                                                                      
  /*                                                                  
   * You cannot remove the file system root node.                     
   */                                                                 
                                                                      
  if ( pathloc->mt_entry->mt_fs_root.node_access == pathloc->node_access )
  111e3c:	8b 40 10             	mov    0x10(%eax),%eax                
  111e3f:	3b 58 1c             	cmp    0x1c(%eax),%ebx                
  111e42:	74 24                	je     111e68 <imfs_dir_rmnod+0x40>   
                                                                      
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
  111e44:	8b 4b 5c             	mov    0x5c(%ebx),%ecx                
  111e47:	85 c9                	test   %ecx,%ecx                      
  111e49:	75 1d                	jne    111e68 <imfs_dir_rmnod+0x40>   <== NEVER TAKEN
     rtems_set_errno_and_return_minus_one( EBUSY );                   
                                                                      
  IMFS_create_orphan( the_jnode );                                    
  111e4b:	83 ec 0c             	sub    $0xc,%esp                      
  111e4e:	53                   	push   %ebx                           
  111e4f:	e8 e4 d9 ff ff       	call   10f838 <IMFS_create_orphan>    
  IMFS_check_node_remove( the_jnode );                                
  111e54:	89 1c 24             	mov    %ebx,(%esp)                    
  111e57:	e8 20 da ff ff       	call   10f87c <IMFS_check_node_remove>
                                                                      
  return 0;                                                           
  111e5c:	83 c4 10             	add    $0x10,%esp                     
  111e5f:	31 c0                	xor    %eax,%eax                      
}                                                                     
  111e61:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  111e64:	c9                   	leave                                 
  111e65:	c3                   	ret                                   
  111e66:	66 90                	xchg   %ax,%ax                        
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
     rtems_set_errno_and_return_minus_one( EBUSY );                   
  111e68:	e8 cf 04 00 00       	call   11233c <__errno>               
  111e6d:	c7 00 10 00 00 00    	movl   $0x10,(%eax)                   
  111e73:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
                                                                      
  IMFS_create_orphan( the_jnode );                                    
  IMFS_check_node_remove( the_jnode );                                
                                                                      
  return 0;                                                           
}                                                                     
  111e78:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  111e7b:	c9                   	leave                                 
  111e7c:	c3                   	ret                                   
  111e7d:	8d 76 00             	lea    0x0(%esi),%esi                 
  /*                                                                  
   * You cannot remove a node that still has children                 
   */                                                                 
                                                                      
  if ( ! rtems_chain_is_empty( &the_jnode->info.directory.Entries ) ) 
     rtems_set_errno_and_return_minus_one( ENOTEMPTY );               
  111e80:	e8 b7 04 00 00       	call   11233c <__errno>               
  111e85:	c7 00 5a 00 00 00    	movl   $0x5a,(%eax)                   
  111e8b:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  111e90:	eb cf                	jmp    111e61 <imfs_dir_rmnod+0x39>   
                                                                      

00108a34 <init_etc_passwd_group>: /* * Initialize useable but dummy databases */ void init_etc_passwd_group(void) {
  108a34:	55                   	push   %ebp                           
  108a35:	89 e5                	mov    %esp,%ebp                      
  108a37:	53                   	push   %ebx                           
  108a38:	83 ec 04             	sub    $0x4,%esp                      
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
  108a3b:	80 3d c8 71 12 00 00 	cmpb   $0x0,0x1271c8                  
  108a42:	74 08                	je     108a4c <init_etc_passwd_group+0x18>
    fprintf( fp, "root:x:0:root\n"                                    
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
  }                                                                   
}                                                                     
  108a44:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108a47:	c9                   	leave                                 
  108a48:	c3                   	ret                                   
  108a49:	8d 76 00             	lea    0x0(%esi),%esi                 
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
  108a4c:	c6 05 c8 71 12 00 01 	movb   $0x1,0x1271c8                  
  mkdir("/etc", 0777);                                                
  108a53:	83 ec 08             	sub    $0x8,%esp                      
  108a56:	68 ff 01 00 00       	push   $0x1ff                         
  108a5b:	68 e8 14 12 00       	push   $0x1214e8                      
  108a60:	e8 37 08 00 00       	call   10929c <mkdir>                 
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
  108a65:	59                   	pop    %ecx                           
  108a66:	5b                   	pop    %ebx                           
  108a67:	68 12 00 12 00       	push   $0x120012                      
  108a6c:	68 ed 14 12 00       	push   $0x1214ed                      
  108a71:	e8 a2 af 00 00       	call   113a18 <fopen>                 
  108a76:	83 c4 10             	add    $0x10,%esp                     
  108a79:	85 c0                	test   %eax,%eax                      
  108a7b:	74 77                	je     108af4 <init_etc_passwd_group+0xc0>
    fclose(fp);                                                       
  108a7d:	83 ec 0c             	sub    $0xc,%esp                      
  108a80:	50                   	push   %eax                           
  108a81:	e8 8e a8 00 00       	call   113314 <fclose>                
  108a86:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
  108a89:	83 ec 08             	sub    $0x8,%esp                      
  108a8c:	68 12 00 12 00       	push   $0x120012                      
  108a91:	68 f9 14 12 00       	push   $0x1214f9                      
  108a96:	e8 7d af 00 00       	call   113a18 <fopen>                 
  108a9b:	83 c4 10             	add    $0x10,%esp                     
  108a9e:	85 c0                	test   %eax,%eax                      
  108aa0:	74 12                	je     108ab4 <init_etc_passwd_group+0x80>
    fclose(fp);                                                       
  108aa2:	83 ec 0c             	sub    $0xc,%esp                      
  108aa5:	50                   	push   %eax                           
  108aa6:	e8 69 a8 00 00       	call   113314 <fclose>                
  108aab:	83 c4 10             	add    $0x10,%esp                     
    fprintf( fp, "root:x:0:root\n"                                    
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
  }                                                                   
}                                                                     
  108aae:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108ab1:	c9                   	leave                                 
  108ab2:	c3                   	ret                                   
  108ab3:	90                   	nop                                   
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/group", "w")) != NULL) {                 
  108ab4:	83 ec 08             	sub    $0x8,%esp                      
  108ab7:	68 f4 fe 11 00       	push   $0x11fef4                      
  108abc:	68 f9 14 12 00       	push   $0x1214f9                      
  108ac1:	e8 52 af 00 00       	call   113a18 <fopen>                 
  108ac6:	89 c3                	mov    %eax,%ebx                      
  108ac8:	83 c4 10             	add    $0x10,%esp                     
  108acb:	85 c0                	test   %eax,%eax                      
  108acd:	0f 84 71 ff ff ff    	je     108a44 <init_etc_passwd_group+0x10><== NEVER TAKEN
    fprintf( fp, "root:x:0:root\n"                                    
  108ad3:	50                   	push   %eax                           
  108ad4:	6a 2a                	push   $0x2a                          
  108ad6:	6a 01                	push   $0x1                           
  108ad8:	68 6c 15 12 00       	push   $0x12156c                      
  108add:	e8 0a b7 00 00       	call   1141ec <fwrite>                
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
  108ae2:	89 1c 24             	mov    %ebx,(%esp)                    
  108ae5:	e8 2a a8 00 00       	call   113314 <fclose>                
  108aea:	83 c4 10             	add    $0x10,%esp                     
  108aed:	e9 52 ff ff ff       	jmp    108a44 <init_etc_passwd_group+0x10>
  108af2:	66 90                	xchg   %ax,%ax                        
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/passwd", "w")) != NULL) {                
  108af4:	83 ec 08             	sub    $0x8,%esp                      
  108af7:	68 f4 fe 11 00       	push   $0x11fef4                      
  108afc:	68 ed 14 12 00       	push   $0x1214ed                      
  108b01:	e8 12 af 00 00       	call   113a18 <fopen>                 
  108b06:	89 c3                	mov    %eax,%ebx                      
  108b08:	83 c4 10             	add    $0x10,%esp                     
  108b0b:	85 c0                	test   %eax,%eax                      
  108b0d:	0f 84 76 ff ff ff    	je     108a89 <init_etc_passwd_group+0x55><== NEVER TAKEN
    fprintf(fp, "root:*:0:0:root::/:/bin/sh\n"                        
  108b13:	50                   	push   %eax                           
  108b14:	6a 66                	push   $0x66                          
  108b16:	6a 01                	push   $0x1                           
  108b18:	68 04 15 12 00       	push   $0x121504                      
  108b1d:	e8 ca b6 00 00       	call   1141ec <fwrite>                
                 "rtems:*:1:1:RTEMS Application::/:/bin/sh\n"         
                 "tty:!:2:2:tty owner::/:/bin/false\n" );             
    fclose(fp);                                                       
  108b22:	89 1c 24             	mov    %ebx,(%esp)                    
  108b25:	e8 ea a7 00 00       	call   113314 <fclose>                
  108b2a:	83 c4 10             	add    $0x10,%esp                     
  108b2d:	e9 57 ff ff ff       	jmp    108a89 <init_etc_passwd_group+0x55>
                                                                      

00109f6c <iproc>: /* * Process a single input character */ static int iproc (unsigned char c, struct rtems_termios_tty *tty) {
  109f6c:	55                   	push   %ebp                           
  109f6d:	89 e5                	mov    %esp,%ebp                      
  109f6f:	56                   	push   %esi                           
  109f70:	53                   	push   %ebx                           
  109f71:	89 d6                	mov    %edx,%esi                      
  109f73:	88 c3                	mov    %al,%bl                        
  if (tty->termios.c_iflag & ISTRIP)                                  
  109f75:	8b 42 30             	mov    0x30(%edx),%eax                
  109f78:	a8 20                	test   $0x20,%al                      
  109f7a:	74 03                	je     109f7f <iproc+0x13>            <== ALWAYS TAKEN
    c &= 0x7f;                                                        
  109f7c:	83 e3 7f             	and    $0x7f,%ebx                     <== NOT EXECUTED
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
  109f7f:	f6 c4 02             	test   $0x2,%ah                       
  109f82:	74 18                	je     109f9c <iproc+0x30>            
    c = tolower (c);                                                  
  109f84:	0f b6 db             	movzbl %bl,%ebx                       
  109f87:	8b 15 f4 31 12 00    	mov    0x1231f4,%edx                  
  109f8d:	0f be 54 1a 01       	movsbl 0x1(%edx,%ebx,1),%edx          
  109f92:	83 e2 03             	and    $0x3,%edx                      
  109f95:	4a                   	dec    %edx                           
  109f96:	0f 84 9c 00 00 00    	je     10a038 <iproc+0xcc>            
                                                                      
  if (c == '\r') {                                                    
  109f9c:	80 fb 0d             	cmp    $0xd,%bl                       
  109f9f:	74 33                	je     109fd4 <iproc+0x68>            
    if (tty->termios.c_iflag & IGNCR)                                 
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
      c = '\n';                                                       
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
  109fa1:	80 fb 0a             	cmp    $0xa,%bl                       
  109fa4:	0f 84 86 00 00 00    	je     10a030 <iproc+0xc4>            
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
  109faa:	84 db                	test   %bl,%bl                        
  109fac:	75 3a                	jne    109fe8 <iproc+0x7c>            <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
  109fae:	8b 46 20             	mov    0x20(%esi),%eax                
  109fb1:	8b 15 40 31 12 00    	mov    0x123140,%edx                  
  109fb7:	4a                   	dec    %edx                           
  109fb8:	39 d0                	cmp    %edx,%eax                      
  109fba:	7d 1c                	jge    109fd8 <iproc+0x6c>            <== NEVER TAKEN
    if (tty->termios.c_lflag & ECHO)                                  
  109fbc:	f6 46 3c 08          	testb  $0x8,0x3c(%esi)                
  109fc0:	75 7e                	jne    10a040 <iproc+0xd4>            <== ALWAYS TAKEN
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  109fc2:	8b 56 1c             	mov    0x1c(%esi),%edx                
  109fc5:	88 1c 02             	mov    %bl,(%edx,%eax,1)              
  109fc8:	40                   	inc    %eax                           
  109fc9:	89 46 20             	mov    %eax,0x20(%esi)                
  }                                                                   
  return 0;                                                           
  109fcc:	31 c0                	xor    %eax,%eax                      
}                                                                     
  109fce:	5b                   	pop    %ebx                           
  109fcf:	5e                   	pop    %esi                           
  109fd0:	c9                   	leave                                 
  109fd1:	c3                   	ret                                   
  109fd2:	66 90                	xchg   %ax,%ax                        
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
    c = tolower (c);                                                  
                                                                      
  if (c == '\r') {                                                    
    if (tty->termios.c_iflag & IGNCR)                                 
  109fd4:	a8 80                	test   $0x80,%al                      
  109fd6:	74 08                	je     109fe0 <iproc+0x74>            <== ALWAYS TAKEN
  if (tty->ccount < (CBUFSIZE-1)) {                                   
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
  109fd8:	31 c0                	xor    %eax,%eax                      
}                                                                     
  109fda:	5b                   	pop    %ebx                           <== NOT EXECUTED
  109fdb:	5e                   	pop    %esi                           <== NOT EXECUTED
  109fdc:	c9                   	leave                                 <== NOT EXECUTED
  109fdd:	c3                   	ret                                   <== NOT EXECUTED
  109fde:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
    c = tolower (c);                                                  
                                                                      
  if (c == '\r') {                                                    
    if (tty->termios.c_iflag & IGNCR)                                 
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
  109fe0:	f6 c4 01             	test   $0x1,%ah                       
  109fe3:	74 03                	je     109fe8 <iproc+0x7c>            <== NEVER TAKEN
      c = '\n';                                                       
  109fe5:	b3 0a                	mov    $0xa,%bl                       
  109fe7:	90                   	nop                                   
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
  109fe8:	8b 46 3c             	mov    0x3c(%esi),%eax                
  109feb:	a8 02                	test   $0x2,%al                       
  109fed:	74 bf                	je     109fae <iproc+0x42>            
    if (c == tty->termios.c_cc[VERASE]) {                             
  109fef:	38 5e 43             	cmp    %bl,0x43(%esi)                 
  109ff2:	0f 84 b0 00 00 00    	je     10a0a8 <iproc+0x13c>           
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
  109ff8:	38 5e 44             	cmp    %bl,0x44(%esi)                 
  109ffb:	74 63                	je     10a060 <iproc+0xf4>            
      erase (tty, 1);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
  109ffd:	38 5e 45             	cmp    %bl,0x45(%esi)                 
  10a000:	0f 84 96 00 00 00    	je     10a09c <iproc+0x130>           <== NEVER TAKEN
      return 1;                                                       
    } else if (c == '\n') {                                           
  10a006:	80 fb 0a             	cmp    $0xa,%bl                       
  10a009:	74 69                	je     10a074 <iproc+0x108>           
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
  10a00b:	38 5e 4c             	cmp    %bl,0x4c(%esi)                 
  10a00e:	74 05                	je     10a015 <iproc+0xa9>            <== NEVER TAKEN
  10a010:	38 5e 51             	cmp    %bl,0x51(%esi)                 
  10a013:	75 99                	jne    109fae <iproc+0x42>            <== ALWAYS TAKEN
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
  10a015:	a8 08                	test   $0x8,%al                       <== NOT EXECUTED
  10a017:	75 3b                	jne    10a054 <iproc+0xe8>            <== NOT EXECUTED
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
  10a019:	8b 46 20             	mov    0x20(%esi),%eax                <== NOT EXECUTED
  10a01c:	8b 56 1c             	mov    0x1c(%esi),%edx                <== NOT EXECUTED
  10a01f:	88 1c 02             	mov    %bl,(%edx,%eax,1)              <== NOT EXECUTED
  10a022:	40                   	inc    %eax                           <== NOT EXECUTED
  10a023:	89 46 20             	mov    %eax,0x20(%esi)                <== NOT EXECUTED
      return 1;                                                       
  10a026:	b8 01 00 00 00       	mov    $0x1,%eax                      <== NOT EXECUTED
  10a02b:	eb a1                	jmp    109fce <iproc+0x62>            <== NOT EXECUTED
  10a02d:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
  if (c == '\r') {                                                    
    if (tty->termios.c_iflag & IGNCR)                                 
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
      c = '\n';                                                       
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
  10a030:	a8 40                	test   $0x40,%al                      
  10a032:	74 b4                	je     109fe8 <iproc+0x7c>            <== ALWAYS TAKEN
    c = '\r';                                                         
  10a034:	b3 0d                	mov    $0xd,%bl                       <== NOT EXECUTED
  10a036:	eb b0                	jmp    109fe8 <iproc+0x7c>            <== NOT EXECUTED
{                                                                     
  if (tty->termios.c_iflag & ISTRIP)                                  
    c &= 0x7f;                                                        
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
    c = tolower (c);                                                  
  10a038:	83 c3 20             	add    $0x20,%ebx                     
  10a03b:	e9 5c ff ff ff       	jmp    109f9c <iproc+0x30>            
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
  10a040:	0f b6 c3             	movzbl %bl,%eax                       
  10a043:	89 f2                	mov    %esi,%edx                      
  10a045:	e8 f2 fc ff ff       	call   109d3c <echo>                  
  10a04a:	8b 46 20             	mov    0x20(%esi),%eax                
  10a04d:	e9 70 ff ff ff       	jmp    109fc2 <iproc+0x56>            
  10a052:	66 90                	xchg   %ax,%ax                        
      tty->cbuf[tty->ccount++] = c;                                   
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
        echo (c, tty);                                                
  10a054:	0f b6 c3             	movzbl %bl,%eax                       <== NOT EXECUTED
  10a057:	89 f2                	mov    %esi,%edx                      <== NOT EXECUTED
  10a059:	e8 de fc ff ff       	call   109d3c <echo>                  <== NOT EXECUTED
  10a05e:	eb b9                	jmp    10a019 <iproc+0xad>            <== NOT EXECUTED
    if (c == tty->termios.c_cc[VERASE]) {                             
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
  10a060:	ba 01 00 00 00       	mov    $0x1,%edx                      
  10a065:	89 f0                	mov    %esi,%eax                      
  10a067:	e8 34 fd ff ff       	call   109da0 <erase>                 
      return 0;                                                       
  10a06c:	31 c0                	xor    %eax,%eax                      
  10a06e:	e9 5b ff ff ff       	jmp    109fce <iproc+0x62>            
  10a073:	90                   	nop                                   
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
    } else if (c == '\n') {                                           
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
  10a074:	a8 48                	test   $0x48,%al                      
  10a076:	74 0c                	je     10a084 <iproc+0x118>           <== NEVER TAKEN
        echo (c, tty);                                                
  10a078:	89 f2                	mov    %esi,%edx                      
  10a07a:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  10a07f:	e8 b8 fc ff ff       	call   109d3c <echo>                  
      tty->cbuf[tty->ccount++] = c;                                   
  10a084:	8b 46 20             	mov    0x20(%esi),%eax                
  10a087:	8b 56 1c             	mov    0x1c(%esi),%edx                
  10a08a:	c6 04 02 0a          	movb   $0xa,(%edx,%eax,1)             
  10a08e:	40                   	inc    %eax                           
  10a08f:	89 46 20             	mov    %eax,0x20(%esi)                
      return 1;                                                       
  10a092:	b8 01 00 00 00       	mov    $0x1,%eax                      
  10a097:	e9 32 ff ff ff       	jmp    109fce <iproc+0x62>            
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
  10a09c:	b8 01 00 00 00       	mov    $0x1,%eax                      <== NOT EXECUTED
  10a0a1:	e9 28 ff ff ff       	jmp    109fce <iproc+0x62>            <== NOT EXECUTED
  10a0a6:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
    if (c == tty->termios.c_cc[VERASE]) {                             
      erase (tty, 0);                                                 
  10a0a8:	31 d2                	xor    %edx,%edx                      
  10a0aa:	89 f0                	mov    %esi,%eax                      
  10a0ac:	e8 ef fc ff ff       	call   109da0 <erase>                 
      return 0;                                                       
  10a0b1:	31 c0                	xor    %eax,%eax                      
  10a0b3:	e9 16 ff ff ff       	jmp    109fce <iproc+0x62>            
                                                                      

00122f04 <kill>: * These are directly supported (and completely correct) in the posix api. */ #if !defined(RTEMS_POSIX_API) int kill( pid_t pid, int sig ) {
  122f04:	55                   	push   %ebp                           <== NOT EXECUTED
  122f05:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  return 0;                                                           
}                                                                     
  122f07:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  122f09:	c9                   	leave                                 <== NOT EXECUTED
  122f0a:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0011d998 <libc_wrapup>: extern void _wrapup_reent(struct _reent *); extern void _reclaim_reent(struct _reent *); void libc_wrapup(void) {
  11d998:	55                   	push   %ebp                           
  11d999:	89 e5                	mov    %esp,%ebp                      
  11d99b:	53                   	push   %ebx                           
  11d99c:	83 ec 04             	sub    $0x4,%esp                      
  /*                                                                  
   *  In case RTEMS is already down, don't do this.  It could be      
   *  dangerous.                                                      
   */                                                                 
                                                                      
  if (!_System_state_Is_up(_System_state_Get()))                      
  11d99f:	83 3d 40 56 12 00 03 	cmpl   $0x3,0x125640                  
  11d9a6:	74 08                	je     11d9b0 <libc_wrapup+0x18>      <== ALWAYS TAKEN
   */                                                                 
                                                                      
  fclose (stdin);                                                     
  fclose (stdout);                                                    
  fclose (stderr);                                                    
}                                                                     
  11d9a8:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  11d9ab:	c9                   	leave                                 <== NOT EXECUTED
  11d9ac:	c3                   	ret                                   <== NOT EXECUTED
  11d9ad:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
  /*                                                                  
   *  This was already done if the user called exit() directly .      
  _wrapup_reent(0);                                                   
   */                                                                 
                                                                      
  if (_REENT != _global_impure_ptr) {                                 
  11d9b0:	a1 00 32 12 00       	mov    0x123200,%eax                  
  11d9b5:	8b 1d 20 05 12 00    	mov    0x120520,%ebx                  
  11d9bb:	39 d8                	cmp    %ebx,%eax                      
  11d9bd:	74 14                	je     11d9d3 <libc_wrapup+0x3b>      
      _wrapup_reent(_global_impure_ptr);                              
  11d9bf:	83 ec 0c             	sub    $0xc,%esp                      
  11d9c2:	53                   	push   %ebx                           
  11d9c3:	e8 f8 05 00 00       	call   11dfc0 <_wrapup_reent>         
      /*  Don't reclaim this one, just in case we do printfs          
       *  on the way out to ROM.                                      
       */                                                             
      _reclaim_reent(&libc_global_reent);                             
#endif                                                                
      _REENT = _global_impure_ptr;                                    
  11d9c8:	89 1d 00 32 12 00    	mov    %ebx,0x123200                  
  11d9ce:	83 c4 10             	add    $0x10,%esp                     
  11d9d1:	89 d8                	mov    %ebx,%eax                      
   *                                                                  
   * Should this be changed to do *all* file streams?                 
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
  11d9d3:	83 ec 0c             	sub    $0xc,%esp                      
  11d9d6:	ff 70 04             	pushl  0x4(%eax)                      
  11d9d9:	e8 b6 4a ff ff       	call   112494 <fclose>                
  fclose (stdout);                                                    
  11d9de:	5a                   	pop    %edx                           
  11d9df:	a1 00 32 12 00       	mov    0x123200,%eax                  
  11d9e4:	ff 70 08             	pushl  0x8(%eax)                      
  11d9e7:	e8 a8 4a ff ff       	call   112494 <fclose>                
  fclose (stderr);                                                    
  11d9ec:	58                   	pop    %eax                           
  11d9ed:	a1 00 32 12 00       	mov    0x123200,%eax                  
  11d9f2:	ff 70 0c             	pushl  0xc(%eax)                      
  11d9f5:	e8 9a 4a ff ff       	call   112494 <fclose>                
  11d9fa:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  11d9fd:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  11da00:	c9                   	leave                                 
  11da01:	c3                   	ret                                   
                                                                      

0010b578 <link>: int link( const char *existing, const char *new ) {
  10b578:	55                   	push   %ebp                           
  10b579:	89 e5                	mov    %esp,%ebp                      
  10b57b:	57                   	push   %edi                           
  10b57c:	56                   	push   %esi                           
  10b57d:	53                   	push   %ebx                           
  10b57e:	83 ec 58             	sub    $0x58,%esp                     
  10b581:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10b584:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
                                                                      
  /*                                                                  
   * Get the node we are linking to.                                  
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( existing, strlen( existing ),
  10b587:	31 c0                	xor    %eax,%eax                      
  10b589:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  10b58e:	89 d7                	mov    %edx,%edi                      
  10b590:	f2 ae                	repnz scas %es:(%edi),%al             
  10b592:	f7 d1                	not    %ecx                           
  10b594:	49                   	dec    %ecx                           
  10b595:	6a 01                	push   $0x1                           
  10b597:	8d 75 cc             	lea    -0x34(%ebp),%esi               
  10b59a:	56                   	push   %esi                           
  10b59b:	6a 00                	push   $0x0                           
  10b59d:	51                   	push   %ecx                           
  10b59e:	52                   	push   %edx                           
  10b59f:	e8 28 f9 ff ff       	call   10aecc <rtems_filesystem_evaluate_path>
                                           0, &existing_loc, true );  
  if ( result != 0 )                                                  
  10b5a4:	83 c4 20             	add    $0x20,%esp                     
  10b5a7:	85 c0                	test   %eax,%eax                      
  10b5a9:	74 0d                	je     10b5b8 <link+0x40>             
     return -1;                                                       
  10b5ab:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
  rtems_filesystem_freenode( &parent_loc );                           
                                                                      
  return result;                                                      
}                                                                     
  10b5b0:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b5b3:	5b                   	pop    %ebx                           
  10b5b4:	5e                   	pop    %esi                           
  10b5b5:	5f                   	pop    %edi                           
  10b5b6:	c9                   	leave                                 
  10b5b7:	c3                   	ret                                   
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
  10b5b8:	52                   	push   %edx                           
  10b5b9:	8d 7d b8             	lea    -0x48(%ebp),%edi               
  10b5bc:	57                   	push   %edi                           
  10b5bd:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10b5c0:	50                   	push   %eax                           
  10b5c1:	53                   	push   %ebx                           
  10b5c2:	e8 f5 12 00 00       	call   10c8bc <rtems_filesystem_get_start_loc>
                                                                      
  result = (*parent_loc.ops->evalformake_h)( &new[i], &parent_loc, &name_start );
  10b5c7:	83 c4 0c             	add    $0xc,%esp                      
  10b5ca:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10b5cd:	50                   	push   %eax                           
  10b5ce:	57                   	push   %edi                           
  10b5cf:	03 5d e4             	add    -0x1c(%ebp),%ebx               
  10b5d2:	53                   	push   %ebx                           
  10b5d3:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  10b5d6:	ff 50 04             	call   *0x4(%eax)                     
  if ( result != 0 ) {                                                
  10b5d9:	83 c4 10             	add    $0x10,%esp                     
  10b5dc:	85 c0                	test   %eax,%eax                      
  10b5de:	75 61                	jne    10b641 <link+0xc9>             
  /*                                                                  
   *  Check to see if the caller is trying to link across file system 
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( parent_loc.mt_entry != existing_loc.mt_entry ) {               
  10b5e0:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10b5e3:	39 45 c8             	cmp    %eax,-0x38(%ebp)               
  10b5e6:	75 30                	jne    10b618 <link+0xa0>             
    rtems_filesystem_freenode( &existing_loc );                       
    rtems_filesystem_freenode( &parent_loc );                         
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  result = (*parent_loc.ops->link_h)( &existing_loc, &parent_loc, name_start );
  10b5e8:	50                   	push   %eax                           
  10b5e9:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b5ec:	57                   	push   %edi                           
  10b5ed:	56                   	push   %esi                           
  10b5ee:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  10b5f1:	ff 50 08             	call   *0x8(%eax)                     
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
  10b5f4:	89 34 24             	mov    %esi,(%esp)                    
  10b5f7:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
  10b5fa:	e8 81 fb ff ff       	call   10b180 <rtems_filesystem_freenode>
  rtems_filesystem_freenode( &parent_loc );                           
  10b5ff:	89 3c 24             	mov    %edi,(%esp)                    
  10b602:	e8 79 fb ff ff       	call   10b180 <rtems_filesystem_freenode>
                                                                      
  return result;                                                      
  10b607:	83 c4 10             	add    $0x10,%esp                     
  10b60a:	8b 45 b4             	mov    -0x4c(%ebp),%eax               
}                                                                     
  10b60d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b610:	5b                   	pop    %ebx                           
  10b611:	5e                   	pop    %esi                           
  10b612:	5f                   	pop    %edi                           
  10b613:	c9                   	leave                                 
  10b614:	c3                   	ret                                   
  10b615:	8d 76 00             	lea    0x0(%esi),%esi                 
   *  Check to see if the caller is trying to link across file system 
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( parent_loc.mt_entry != existing_loc.mt_entry ) {               
    rtems_filesystem_freenode( &existing_loc );                       
  10b618:	83 ec 0c             	sub    $0xc,%esp                      
  10b61b:	56                   	push   %esi                           
  10b61c:	e8 5f fb ff ff       	call   10b180 <rtems_filesystem_freenode>
    rtems_filesystem_freenode( &parent_loc );                         
  10b621:	89 3c 24             	mov    %edi,(%esp)                    
  10b624:	e8 57 fb ff ff       	call   10b180 <rtems_filesystem_freenode>
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  10b629:	e8 5e a9 00 00       	call   115f8c <__errno>               
  10b62e:	c7 00 12 00 00 00    	movl   $0x12,(%eax)                   
  10b634:	83 c4 10             	add    $0x10,%esp                     
  10b637:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10b63c:	e9 6f ff ff ff       	jmp    10b5b0 <link+0x38>             
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
                                                                      
  result = (*parent_loc.ops->evalformake_h)( &new[i], &parent_loc, &name_start );
  if ( result != 0 ) {                                                
    rtems_filesystem_freenode( &existing_loc );                       
  10b641:	83 ec 0c             	sub    $0xc,%esp                      
  10b644:	56                   	push   %esi                           
  10b645:	e8 36 fb ff ff       	call   10b180 <rtems_filesystem_freenode>
    return -1;                                                        
  10b64a:	83 c4 10             	add    $0x10,%esp                     
  10b64d:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10b652:	e9 59 ff ff ff       	jmp    10b5b0 <link+0x38>             
                                                                      

0011d870 <lseek>: off_t lseek( int fd, off_t offset, int whence ) {
  11d870:	55                   	push   %ebp                           
  11d871:	89 e5                	mov    %esp,%ebp                      
  11d873:	57                   	push   %edi                           
  11d874:	56                   	push   %esi                           
  11d875:	53                   	push   %ebx                           
  11d876:	83 ec 1c             	sub    $0x1c,%esp                     
  11d879:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11d87c:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  11d87f:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  11d882:	8b 45 14             	mov    0x14(%ebp),%eax                
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  11d885:	3b 1d 4c 11 12 00    	cmp    0x12114c,%ebx                  
  11d88b:	0f 83 b3 00 00 00    	jae    11d944 <lseek+0xd4>            <== NEVER TAKEN
  iop = rtems_libio_iop( fd );                                        
  11d891:	8d 34 dd 00 00 00 00 	lea    0x0(,%ebx,8),%esi              
  11d898:	8d 1c f5 00 00 00 00 	lea    0x0(,%esi,8),%ebx              
  11d89f:	29 f3                	sub    %esi,%ebx                      
  11d8a1:	03 1d 00 53 12 00    	add    0x125300,%ebx                  
  rtems_libio_check_is_open(iop);                                     
  11d8a7:	f6 43 15 01          	testb  $0x1,0x15(%ebx)                
  11d8ab:	0f 84 93 00 00 00    	je     11d944 <lseek+0xd4>            <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
  11d8b1:	8b 73 0c             	mov    0xc(%ebx),%esi                 
  11d8b4:	8b 7b 10             	mov    0x10(%ebx),%edi                
  11d8b7:	89 75 e0             	mov    %esi,-0x20(%ebp)               
  11d8ba:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
  switch ( whence ) {                                                 
  11d8bd:	83 f8 01             	cmp    $0x1,%eax                      
  11d8c0:	74 6e                	je     11d930 <lseek+0xc0>            
  11d8c2:	83 f8 02             	cmp    $0x2,%eax                      
  11d8c5:	74 35                	je     11d8fc <lseek+0x8c>            
  11d8c7:	85 c0                	test   %eax,%eax                      
  11d8c9:	75 45                	jne    11d910 <lseek+0xa0>            
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
  11d8cb:	89 53 0c             	mov    %edx,0xc(%ebx)                 
  11d8ce:	89 4b 10             	mov    %ecx,0x10(%ebx)                
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->pathinfo.handlers->lseek_h)( iop, offset, whence ); 
  11d8d1:	8b 73 20             	mov    0x20(%ebx),%esi                
  11d8d4:	50                   	push   %eax                           
  11d8d5:	51                   	push   %ecx                           
  11d8d6:	52                   	push   %edx                           
  11d8d7:	53                   	push   %ebx                           
  11d8d8:	ff 56 14             	call   *0x14(%esi)                    
  if ( status == (off_t) -1 )                                         
  11d8db:	83 c4 10             	add    $0x10,%esp                     
  11d8de:	89 c1                	mov    %eax,%ecx                      
  11d8e0:	21 d1                	and    %edx,%ecx                      
  11d8e2:	41                   	inc    %ecx                           
  11d8e3:	75 0c                	jne    11d8f1 <lseek+0x81>            
    iop->offset = old_offset;                                         
  11d8e5:	8b 75 e0             	mov    -0x20(%ebp),%esi               
  11d8e8:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  11d8eb:	89 73 0c             	mov    %esi,0xc(%ebx)                 
  11d8ee:	89 7b 10             	mov    %edi,0x10(%ebx)                
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
  11d8f1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11d8f4:	5b                   	pop    %ebx                           
  11d8f5:	5e                   	pop    %esi                           
  11d8f6:	5f                   	pop    %edi                           
  11d8f7:	c9                   	leave                                 
  11d8f8:	c3                   	ret                                   
  11d8f9:	8d 76 00             	lea    0x0(%esi),%esi                 
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
      break;                                                          
                                                                      
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
  11d8fc:	89 d6                	mov    %edx,%esi                      
  11d8fe:	89 cf                	mov    %ecx,%edi                      
  11d900:	03 73 04             	add    0x4(%ebx),%esi                 
  11d903:	13 7b 08             	adc    0x8(%ebx),%edi                 
  11d906:	89 73 0c             	mov    %esi,0xc(%ebx)                 
  11d909:	89 7b 10             	mov    %edi,0x10(%ebx)                
      break;                                                          
  11d90c:	eb c3                	jmp    11d8d1 <lseek+0x61>            
  11d90e:	66 90                	xchg   %ax,%ax                        
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  11d910:	e8 27 4a ff ff       	call   11233c <__errno>               
  11d915:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  11d91b:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  11d920:	ba ff ff ff ff       	mov    $0xffffffff,%edx               
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
  11d925:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11d928:	5b                   	pop    %ebx                           
  11d929:	5e                   	pop    %esi                           
  11d92a:	5f                   	pop    %edi                           
  11d92b:	c9                   	leave                                 
  11d92c:	c3                   	ret                                   
  11d92d:	8d 76 00             	lea    0x0(%esi),%esi                 
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
      break;                                                          
                                                                      
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
  11d930:	8b 75 e0             	mov    -0x20(%ebp),%esi               
  11d933:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  11d936:	01 d6                	add    %edx,%esi                      
  11d938:	11 cf                	adc    %ecx,%edi                      
  11d93a:	89 73 0c             	mov    %esi,0xc(%ebx)                 
  11d93d:	89 7b 10             	mov    %edi,0x10(%ebx)                
      break;                                                          
  11d940:	eb 8f                	jmp    11d8d1 <lseek+0x61>            
  11d942:	66 90                	xchg   %ax,%ax                        
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
  11d944:	e8 f3 49 ff ff       	call   11233c <__errno>               
  11d949:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  11d94f:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  11d954:	ba ff ff ff ff       	mov    $0xffffffff,%edx               
  11d959:	eb 96                	jmp    11d8f1 <lseek+0x81>            
                                                                      

00109e4c <lstat>: int _STAT_NAME( const char *path, struct stat *buf ) {
  109e4c:	55                   	push   %ebp                           
  109e4d:	89 e5                	mov    %esp,%ebp                      
  109e4f:	57                   	push   %edi                           
  109e50:	56                   	push   %esi                           
  109e51:	53                   	push   %ebx                           
  109e52:	83 ec 3c             	sub    $0x3c,%esp                     
  109e55:	8b 55 08             	mov    0x8(%ebp),%edx                 
  109e58:	8b 75 0c             	mov    0xc(%ebp),%esi                 
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
  109e5b:	85 f6                	test   %esi,%esi                      
  109e5d:	74 65                	je     109ec4 <lstat+0x78>            
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
  109e5f:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  109e64:	89 d7                	mov    %edx,%edi                      
  109e66:	31 c0                	xor    %eax,%eax                      
  109e68:	f2 ae                	repnz scas %es:(%edi),%al             
  109e6a:	f7 d1                	not    %ecx                           
  109e6c:	49                   	dec    %ecx                           
  109e6d:	83 ec 0c             	sub    $0xc,%esp                      
  109e70:	6a 00                	push   $0x0                           
  109e72:	8d 5d d4             	lea    -0x2c(%ebp),%ebx               
  109e75:	53                   	push   %ebx                           
  109e76:	6a 00                	push   $0x0                           
  109e78:	51                   	push   %ecx                           
  109e79:	52                   	push   %edx                           
  109e7a:	e8 05 fa ff ff       	call   109884 <rtems_filesystem_evaluate_path>
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
  109e7f:	83 c4 20             	add    $0x20,%esp                     
  109e82:	85 c0                	test   %eax,%eax                      
  109e84:	74 0e                	je     109e94 <lstat+0x48>            
    return -1;                                                        
  109e86:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return status;                                                      
}                                                                     
  109e8b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109e8e:	5b                   	pop    %ebx                           
  109e8f:	5e                   	pop    %esi                           
  109e90:	5f                   	pop    %edi                           
  109e91:	c9                   	leave                                 
  109e92:	c3                   	ret                                   
  109e93:	90                   	nop                                   
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
  109e94:	b9 48 00 00 00       	mov    $0x48,%ecx                     
  109e99:	89 f7                	mov    %esi,%edi                      
  109e9b:	f3 aa                	rep stos %al,%es:(%edi)               
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
  109e9d:	83 ec 08             	sub    $0x8,%esp                      
  109ea0:	56                   	push   %esi                           
  109ea1:	53                   	push   %ebx                           
  109ea2:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  109ea5:	ff 50 18             	call   *0x18(%eax)                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  109ea8:	89 1c 24             	mov    %ebx,(%esp)                    
  109eab:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  109eae:	e8 a9 fa ff ff       	call   10995c <rtems_filesystem_freenode>
                                                                      
  return status;                                                      
  109eb3:	83 c4 10             	add    $0x10,%esp                     
  109eb6:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
}                                                                     
  109eb9:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109ebc:	5b                   	pop    %ebx                           
  109ebd:	5e                   	pop    %esi                           
  109ebe:	5f                   	pop    %edi                           
  109ebf:	c9                   	leave                                 
  109ec0:	c3                   	ret                                   
  109ec1:	8d 76 00             	lea    0x0(%esi),%esi                 
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
  109ec4:	e8 3b a1 00 00       	call   114004 <__errno>               
  109ec9:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    
  109ecf:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return status;                                                      
}                                                                     
  109ed4:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109ed7:	5b                   	pop    %ebx                           
  109ed8:	5e                   	pop    %esi                           
  109ed9:	5f                   	pop    %edi                           
  109eda:	c9                   	leave                                 
  109edb:	c3                   	ret                                   
                                                                      

00108388 <malloc>: #include "malloc_p.h" void *malloc( size_t size ) {
  108388:	55                   	push   %ebp                           
  108389:	89 e5                	mov    %esp,%ebp                      
  10838b:	56                   	push   %esi                           
  10838c:	53                   	push   %ebx                           
  10838d:	8b 75 08             	mov    0x8(%ebp),%esi                 
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
  108390:	ff 05 24 53 12 00    	incl   0x125324                       
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
  108396:	e8 fd fe ff ff       	call   108298 <malloc_deferred_frees_process>
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
  10839b:	85 f6                	test   %esi,%esi                      
  10839d:	74 5d                	je     1083fc <malloc+0x74>           
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
  10839f:	83 3d 40 56 12 00 03 	cmpl   $0x3,0x125640                  
  1083a6:	74 48                	je     1083f0 <malloc+0x68>           
RTEMS_INLINE_ROUTINE void *_Protected_heap_Allocate(                  
  Heap_Control *heap,                                                 
  uintptr_t size                                                      
)                                                                     
{                                                                     
  return _Protected_heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );
  1083a8:	6a 00                	push   $0x0                           
  1083aa:	6a 00                	push   $0x0                           
  1083ac:	56                   	push   %esi                           
  1083ad:	ff 35 58 11 12 00    	pushl  0x121158                       
  1083b3:	e8 50 4c 00 00       	call   10d008 <_Protected_heap_Allocate_aligned_with_boundary>
  1083b8:	89 c3                	mov    %eax,%ebx                      
   * If this fails then return a NULL pointer.                        
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
  1083ba:	83 c4 10             	add    $0x10,%esp                     
  1083bd:	85 c0                	test   %eax,%eax                      
  1083bf:	74 47                	je     108408 <malloc+0x80>           
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
  1083c1:	a1 10 37 12 00       	mov    0x123710,%eax                  
  1083c6:	85 c0                	test   %eax,%eax                      
  1083c8:	74 0a                	je     1083d4 <malloc+0x4c>           
    (*rtems_malloc_dirty_helper)( return_this, size );                
  1083ca:	83 ec 08             	sub    $0x8,%esp                      
  1083cd:	56                   	push   %esi                           
  1083ce:	53                   	push   %ebx                           
  1083cf:	ff d0                	call   *%eax                          
  1083d1:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
  1083d4:	a1 08 37 12 00       	mov    0x123708,%eax                  
  1083d9:	85 c0                	test   %eax,%eax                      
  1083db:	74 0a                	je     1083e7 <malloc+0x5f>           
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
  1083dd:	83 ec 0c             	sub    $0xc,%esp                      
  1083e0:	53                   	push   %ebx                           
  1083e1:	ff 50 04             	call   *0x4(%eax)                     
  1083e4:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  return return_this;                                                 
}                                                                     
  1083e7:	89 d8                	mov    %ebx,%eax                      
  1083e9:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1083ec:	5b                   	pop    %ebx                           
  1083ed:	5e                   	pop    %esi                           
  1083ee:	c9                   	leave                                 
  1083ef:	c3                   	ret                                   
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
       !malloc_is_system_state_OK() )                                 
  1083f0:	e8 63 fe ff ff       	call   108258 <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()) &&                    
  1083f5:	84 c0                	test   %al,%al                        
  1083f7:	75 af                	jne    1083a8 <malloc+0x20>           <== ALWAYS TAKEN
  1083f9:	8d 76 00             	lea    0x0(%esi),%esi                 
       !malloc_is_system_state_OK() )                                 
    return NULL;                                                      
  1083fc:	31 db                	xor    %ebx,%ebx                      
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
                                                                      
  return return_this;                                                 
}                                                                     
  1083fe:	89 d8                	mov    %ebx,%eax                      
  108400:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  108403:	5b                   	pop    %ebx                           
  108404:	5e                   	pop    %esi                           
  108405:	c9                   	leave                                 
  108406:	c3                   	ret                                   
  108407:	90                   	nop                                   
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
    if (rtems_malloc_sbrk_helpers)                                    
  108408:	a1 0c 37 12 00       	mov    0x12370c,%eax                  
  10840d:	85 c0                	test   %eax,%eax                      
  10840f:	74 12                	je     108423 <malloc+0x9b>           
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
  108411:	83 ec 0c             	sub    $0xc,%esp                      
  108414:	56                   	push   %esi                           
  108415:	ff 50 04             	call   *0x4(%eax)                     
    if ( !return_this ) {                                             
  108418:	83 c4 10             	add    $0x10,%esp                     
  10841b:	85 c0                	test   %eax,%eax                      
  10841d:	74 04                	je     108423 <malloc+0x9b>           
  10841f:	89 c3                	mov    %eax,%ebx                      
  108421:	eb 9e                	jmp    1083c1 <malloc+0x39>           
      errno = ENOMEM;                                                 
  108423:	e8 14 9f 00 00       	call   11233c <__errno>               
  108428:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    
      return (void *) 0;                                              
  10842e:	eb b7                	jmp    1083e7 <malloc+0x5f>           
                                                                      

0010830c <malloc_get_statistics>: #include "malloc_p.h" int malloc_get_statistics( rtems_malloc_statistics_t *stats ) {
  10830c:	55                   	push   %ebp                           
  10830d:	89 e5                	mov    %esp,%ebp                      
  10830f:	57                   	push   %edi                           
  108310:	56                   	push   %esi                           
  108311:	53                   	push   %ebx                           
  108312:	83 ec 0c             	sub    $0xc,%esp                      
  108315:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  if ( !stats )                                                       
  108318:	85 db                	test   %ebx,%ebx                      
  10831a:	74 38                	je     108354 <malloc_get_statistics+0x48>
    return -1;                                                        
  _RTEMS_Lock_allocator();                                            
  10831c:	83 ec 0c             	sub    $0xc,%esp                      
  10831f:	ff 35 5c 55 12 00    	pushl  0x12555c                       
  108325:	e8 2e 3c 00 00       	call   10bf58 <_API_Mutex_Lock>       
  *stats = rtems_malloc_statistics;                                   
  10832a:	be 20 53 12 00       	mov    $0x125320,%esi                 
  10832f:	b9 0b 00 00 00       	mov    $0xb,%ecx                      
  108334:	89 df                	mov    %ebx,%edi                      
  108336:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  _RTEMS_Unlock_allocator();                                          
  108338:	58                   	pop    %eax                           
  108339:	ff 35 5c 55 12 00    	pushl  0x12555c                       
  10833f:	e8 5c 3c 00 00       	call   10bfa0 <_API_Mutex_Unlock>     
  return 0;                                                           
  108344:	83 c4 10             	add    $0x10,%esp                     
  108347:	31 c0                	xor    %eax,%eax                      
}                                                                     
  108349:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10834c:	5b                   	pop    %ebx                           
  10834d:	5e                   	pop    %esi                           
  10834e:	5f                   	pop    %edi                           
  10834f:	c9                   	leave                                 
  108350:	c3                   	ret                                   
  108351:	8d 76 00             	lea    0x0(%esi),%esi                 
int malloc_get_statistics(                                            
  rtems_malloc_statistics_t *stats                                    
)                                                                     
{                                                                     
  if ( !stats )                                                       
    return -1;                                                        
  108354:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  _RTEMS_Lock_allocator();                                            
  *stats = rtems_malloc_statistics;                                   
  _RTEMS_Unlock_allocator();                                          
  return 0;                                                           
}                                                                     
  108359:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10835c:	5b                   	pop    %ebx                           
  10835d:	5e                   	pop    %esi                           
  10835e:	5f                   	pop    %edi                           
  10835f:	c9                   	leave                                 
  108360:	c3                   	ret                                   
                                                                      

0010872c <malloc_sbrk_extend_and_allocate>: } void *malloc_sbrk_extend_and_allocate( size_t size ) {
  10872c:	55                   	push   %ebp                           
  10872d:	89 e5                	mov    %esp,%ebp                      
  10872f:	56                   	push   %esi                           
  108730:	53                   	push   %ebx                           
  108731:	8b 75 08             	mov    0x8(%ebp),%esi                 
   *  Round to the "requested sbrk amount" so hopefully we won't have 
   *  to grow again for a while.  This effectively does sbrk() calls  
   *  in "page" amounts.                                              
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
  108734:	8b 0d ac 64 12 00    	mov    0x1264ac,%ecx                  
                                                                      
  if ( sbrk_amount == 0 )                                             
  10873a:	85 c9                	test   %ecx,%ecx                      
  10873c:	75 0a                	jne    108748 <malloc_sbrk_extend_and_allocate+0x1c><== ALWAYS TAKEN
                                                                      
  the_size = ((size + sbrk_amount) / sbrk_amount * sbrk_amount);      
                                                                      
  starting_address = (void *) sbrk(the_size);                         
  if ( starting_address == (void*) -1 )                               
    return (void *) 0;                                                
  10873e:	31 c0                	xor    %eax,%eax                      
                                                                      
  MSBUMP(space_available, the_size);                                  
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
}                                                                     
  108740:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  108743:	5b                   	pop    %ebx                           
  108744:	5e                   	pop    %esi                           
  108745:	c9                   	leave                                 
  108746:	c3                   	ret                                   
  108747:	90                   	nop                                   
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
                                                                      
  if ( sbrk_amount == 0 )                                             
    return (void *) 0;                                                
                                                                      
  the_size = ((size + sbrk_amount) / sbrk_amount * sbrk_amount);      
  108748:	8d 04 0e             	lea    (%esi,%ecx,1),%eax             
  10874b:	31 d2                	xor    %edx,%edx                      
  10874d:	f7 f1                	div    %ecx                           
  10874f:	89 c3                	mov    %eax,%ebx                      
  108751:	0f af d9             	imul   %ecx,%ebx                      
                                                                      
  starting_address = (void *) sbrk(the_size);                         
  108754:	83 ec 0c             	sub    $0xc,%esp                      
  108757:	53                   	push   %ebx                           
  108758:	e8 ff 7c ff ff       	call   10045c <sbrk>                  
  if ( starting_address == (void*) -1 )                               
  10875d:	83 c4 10             	add    $0x10,%esp                     
  108760:	83 f8 ff             	cmp    $0xffffffff,%eax               
  108763:	74 d9                	je     10873e <malloc_sbrk_extend_and_allocate+0x12>
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
  108765:	52                   	push   %edx                           
  108766:	53                   	push   %ebx                           
  108767:	50                   	push   %eax                           
  108768:	ff 35 58 21 12 00    	pushl  0x122158                       
  10876e:	e8 59 4c 00 00       	call   10d3cc <_Protected_heap_Extend>
  108773:	83 c4 10             	add    $0x10,%esp                     
  108776:	84 c0                	test   %al,%al                        
  108778:	74 1b                	je     108795 <malloc_sbrk_extend_and_allocate+0x69>
    sbrk(-the_size);                                                  
    errno = ENOMEM;                                                   
    return (void *) 0;                                                
  }                                                                   
                                                                      
  MSBUMP(space_available, the_size);                                  
  10877a:	01 1d 80 64 12 00    	add    %ebx,0x126480                  
  108780:	6a 00                	push   $0x0                           
  108782:	6a 00                	push   $0x0                           
  108784:	56                   	push   %esi                           
  108785:	ff 35 58 21 12 00    	pushl  0x122158                       
  10878b:	e8 04 4c 00 00       	call   10d394 <_Protected_heap_Allocate_aligned_with_boundary>
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
  108790:	83 c4 10             	add    $0x10,%esp                     
  108793:	eb ab                	jmp    108740 <malloc_sbrk_extend_and_allocate+0x14>
  if ( starting_address == (void*) -1 )                               
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
          RTEMS_Malloc_Heap, starting_address, the_size) ) {          
    sbrk(-the_size);                                                  
  108795:	83 ec 0c             	sub    $0xc,%esp                      
  108798:	f7 db                	neg    %ebx                           
  10879a:	53                   	push   %ebx                           
  10879b:	e8 bc 7c ff ff       	call   10045c <sbrk>                  
    errno = ENOMEM;                                                   
  1087a0:	e8 0b a2 00 00       	call   1129b0 <__errno>               
  1087a5:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    
    return (void *) 0;                                                
  1087ab:	83 c4 10             	add    $0x10,%esp                     
  1087ae:	31 c0                	xor    %eax,%eax                      
  1087b0:	eb 8e                	jmp    108740 <malloc_sbrk_extend_and_allocate+0x14>
                                                                      

001112c8 <memfile_free_blocks_in_table>: */ void memfile_free_blocks_in_table( block_p **block_table, int entries ) {
  1112c8:	55                   	push   %ebp                           
  1112c9:	89 e5                	mov    %esp,%ebp                      
  1112cb:	57                   	push   %edi                           
  1112cc:	56                   	push   %esi                           
  1112cd:	53                   	push   %ebx                           
  1112ce:	83 ec 0c             	sub    $0xc,%esp                      
  1112d1:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  IMFS_assert( block_table );                                         
                                                                      
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
  1112d4:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1112d7:	8b 30                	mov    (%eax),%esi                    
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
  1112d9:	85 ff                	test   %edi,%edi                      
  1112db:	7e 27                	jle    111304 <memfile_free_blocks_in_table+0x3c><== NEVER TAKEN
  1112dd:	31 db                	xor    %ebx,%ebx                      
  1112df:	90                   	nop                                   
    if ( b[i] ) {                                                     
  1112e0:	8b 04 9e             	mov    (%esi,%ebx,4),%eax             
  1112e3:	85 c0                	test   %eax,%eax                      
  1112e5:	74 13                	je     1112fa <memfile_free_blocks_in_table+0x32>
      memfile_free_block( b[i] );                                     
  1112e7:	83 ec 0c             	sub    $0xc,%esp                      
  1112ea:	50                   	push   %eax                           
  1112eb:	e8 bc ff ff ff       	call   1112ac <memfile_free_block>    
      b[i] = 0;                                                       
  1112f0:	c7 04 9e 00 00 00 00 	movl   $0x0,(%esi,%ebx,4)             
  1112f7:	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++ ) {                                     
  1112fa:	43                   	inc    %ebx                           
  1112fb:	39 df                	cmp    %ebx,%edi                      
  1112fd:	7f e1                	jg     1112e0 <memfile_free_blocks_in_table+0x18>
  1112ff:	8b 45 08             	mov    0x8(%ebp),%eax                 
  111302:	8b 30                	mov    (%eax),%esi                    
                                                                      
  /*                                                                  
   *  Now that all the blocks in the block table are free, we can     
   *  free the block table itself.                                    
   */                                                                 
  memfile_free_block( *block_table );                                 
  111304:	83 ec 0c             	sub    $0xc,%esp                      
  111307:	56                   	push   %esi                           
  111308:	e8 9f ff ff ff       	call   1112ac <memfile_free_block>    
  *block_table = 0;                                                   
  11130d:	8b 45 08             	mov    0x8(%ebp),%eax                 
  111310:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  111316:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  111319:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11131c:	5b                   	pop    %ebx                           
  11131d:	5e                   	pop    %esi                           
  11131e:	5f                   	pop    %edi                           
  11131f:	c9                   	leave                                 
  111320:	c3                   	ret                                   
                                                                      

00111844 <memfile_ftruncate>: */ int memfile_ftruncate( rtems_libio_t *iop, rtems_off64_t length ) {
  111844:	55                   	push   %ebp                           
  111845:	89 e5                	mov    %esp,%ebp                      
  111847:	53                   	push   %ebx                           
  111848:	83 ec 14             	sub    $0x14,%esp                     
  11184b:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  11184e:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  111851:	8b 55 10             	mov    0x10(%ebp),%edx                
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
  111854:	8b 59 18             	mov    0x18(%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 )                           
  111857:	39 53 54             	cmp    %edx,0x54(%ebx)                
  11185a:	7f 19                	jg     111875 <memfile_ftruncate+0x31><== NEVER TAKEN
  11185c:	7d 12                	jge    111870 <memfile_ftruncate+0x2c><== ALWAYS TAKEN
    return IMFS_memfile_extend( the_jnode, length );                  
  11185e:	51                   	push   %ecx                           
  11185f:	52                   	push   %edx                           
  111860:	50                   	push   %eax                           
  111861:	53                   	push   %ebx                           
  111862:	e8 45 fc ff ff       	call   1114ac <IMFS_memfile_extend>   
  111867:	83 c4 10             	add    $0x10,%esp                     
  iop->size = the_jnode->info.file.size;                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return 0;                                                           
}                                                                     
  11186a:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  11186d:	c9                   	leave                                 
  11186e:	c3                   	ret                                   
  11186f:	90                   	nop                                   
   *  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 )                           
  111870:	39 43 50             	cmp    %eax,0x50(%ebx)                
  111873:	72 e9                	jb     11185e <memfile_ftruncate+0x1a>
  /*                                                                  
   *  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;                                 
  111875:	89 43 50             	mov    %eax,0x50(%ebx)                
  111878:	89 53 54             	mov    %edx,0x54(%ebx)                
  iop->size = the_jnode->info.file.size;                              
  11187b:	89 41 04             	mov    %eax,0x4(%ecx)                 
  11187e:	89 51 08             	mov    %edx,0x8(%ecx)                 
                                                                      
  IMFS_update_atime( the_jnode );                                     
  111881:	83 ec 08             	sub    $0x8,%esp                      
  111884:	6a 00                	push   $0x0                           
  111886:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  111889:	50                   	push   %eax                           
  11188a:	e8 a1 68 ff ff       	call   108130 <gettimeofday>          
  11188f:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  111892:	89 43 40             	mov    %eax,0x40(%ebx)                
                                                                      
  return 0;                                                           
  111895:	83 c4 10             	add    $0x10,%esp                     
  111898:	31 c0                	xor    %eax,%eax                      
}                                                                     
  11189a:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  11189d:	c9                   	leave                                 
  11189e:	c3                   	ret                                   
                                                                      

001118a0 <memfile_lseek>: rtems_off64_t memfile_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
  1118a0:	55                   	push   %ebp                           
  1118a1:	89 e5                	mov    %esp,%ebp                      
  1118a3:	57                   	push   %edi                           
  1118a4:	56                   	push   %esi                           
  1118a5:	53                   	push   %ebx                           
  1118a6:	83 ec 0c             	sub    $0xc,%esp                      
  1118a9:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
  1118ac:	8b 73 18             	mov    0x18(%ebx),%esi                
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
  1118af:	83 7e 4c 06          	cmpl   $0x6,0x4c(%esi)                
  1118b3:	74 2f                	je     1118e4 <memfile_lseek+0x44>    
    if (iop->offset > the_jnode->info.linearfile.size)                
      iop->offset = the_jnode->info.linearfile.size;                  
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
  1118b5:	57                   	push   %edi                           
  1118b6:	ff 73 10             	pushl  0x10(%ebx)                     
  1118b9:	ff 73 0c             	pushl  0xc(%ebx)                      
  1118bc:	56                   	push   %esi                           
  1118bd:	e8 ea fb ff ff       	call   1114ac <IMFS_memfile_extend>   
  1118c2:	83 c4 10             	add    $0x10,%esp                     
  1118c5:	85 c0                	test   %eax,%eax                      
  1118c7:	75 45                	jne    11190e <memfile_lseek+0x6e>    
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
  1118c9:	8b 46 50             	mov    0x50(%esi),%eax                
  1118cc:	8b 56 54             	mov    0x54(%esi),%edx                
  1118cf:	89 43 04             	mov    %eax,0x4(%ebx)                 
  1118d2:	89 53 08             	mov    %edx,0x8(%ebx)                 
  1118d5:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  1118d8:	8b 53 10             	mov    0x10(%ebx),%edx                
  }                                                                   
  return iop->offset;                                                 
}                                                                     
  1118db:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1118de:	5b                   	pop    %ebx                           
  1118df:	5e                   	pop    %esi                           
  1118e0:	5f                   	pop    %edi                           
  1118e1:	c9                   	leave                                 
  1118e2:	c3                   	ret                                   
  1118e3:	90                   	nop                                   
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    if (iop->offset > the_jnode->info.linearfile.size)                
  1118e4:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  1118e7:	8b 53 10             	mov    0x10(%ebx),%edx                
  1118ea:	8b 7e 50             	mov    0x50(%esi),%edi                
  1118ed:	8b 4e 54             	mov    0x54(%esi),%ecx                
  1118f0:	39 ca                	cmp    %ecx,%edx                      
  1118f2:	7c e7                	jl     1118db <memfile_lseek+0x3b>    <== NEVER TAKEN
  1118f4:	7e 12                	jle    111908 <memfile_lseek+0x68>    <== ALWAYS TAKEN
      iop->offset = the_jnode->info.linearfile.size;                  
  1118f6:	89 7b 0c             	mov    %edi,0xc(%ebx)                 <== NOT EXECUTED
  1118f9:	89 4b 10             	mov    %ecx,0x10(%ebx)                <== NOT EXECUTED
  1118fc:	89 f8                	mov    %edi,%eax                      <== NOT EXECUTED
  1118fe:	89 ca                	mov    %ecx,%edx                      <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
  }                                                                   
  return iop->offset;                                                 
}                                                                     
  111900:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  111903:	5b                   	pop    %ebx                           <== NOT EXECUTED
  111904:	5e                   	pop    %esi                           <== NOT EXECUTED
  111905:	5f                   	pop    %edi                           <== NOT EXECUTED
  111906:	c9                   	leave                                 <== NOT EXECUTED
  111907:	c3                   	ret                                   <== NOT EXECUTED
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    if (iop->offset > the_jnode->info.linearfile.size)                
  111908:	39 f8                	cmp    %edi,%eax                      
  11190a:	76 cf                	jbe    1118db <memfile_lseek+0x3b>    <== ALWAYS TAKEN
  11190c:	eb e8                	jmp    1118f6 <memfile_lseek+0x56>    <== NOT EXECUTED
      iop->offset = the_jnode->info.linearfile.size;                  
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
  11190e:	e8 29 0a 00 00       	call   11233c <__errno>               
  111913:	c7 00 1c 00 00 00    	movl   $0x1c,(%eax)                   
  111919:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  11191e:	ba ff ff ff ff       	mov    $0xffffffff,%edx               
  111923:	eb b6                	jmp    1118db <memfile_lseek+0x3b>    
                                                                      

0011179c <memfile_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
  11179c:	55                   	push   %ebp                           
  11179d:	89 e5                	mov    %esp,%ebp                      
  11179f:	56                   	push   %esi                           
  1117a0:	53                   	push   %ebx                           
  1117a1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
  1117a4:	8b 73 18             	mov    0x18(%ebx),%esi                
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
  1117a7:	8b 43 14             	mov    0x14(%ebx),%eax                
  1117aa:	a9 04 02 00 00       	test   $0x204,%eax                    
  1117af:	74 06                	je     1117b7 <memfile_open+0x1b>     
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
  1117b1:	83 7e 4c 06          	cmpl   $0x6,0x4c(%esi)                
  1117b5:	74 2d                	je     1117e4 <memfile_open+0x48>     <== NEVER TAKEN
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
  1117b7:	8b 56 50             	mov    0x50(%esi),%edx                
  1117ba:	8b 4e 54             	mov    0x54(%esi),%ecx                
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
  1117bd:	f6 c4 02             	test   $0x2,%ah                       
  1117c0:	75 12                	jne    1117d4 <memfile_open+0x38>     
    iop->offset = the_jnode->info.file.size;                          
                                                                      
  iop->size = the_jnode->info.file.size;                              
  1117c2:	89 53 04             	mov    %edx,0x4(%ebx)                 
  1117c5:	89 4b 08             	mov    %ecx,0x8(%ebx)                 
  return 0;                                                           
  1117c8:	31 c0                	xor    %eax,%eax                      
}                                                                     
  1117ca:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1117cd:	5b                   	pop    %ebx                           
  1117ce:	5e                   	pop    %esi                           
  1117cf:	c9                   	leave                                 
  1117d0:	c3                   	ret                                   
  1117d1:	8d 76 00             	lea    0x0(%esi),%esi                 
    if ((count != 0)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
    iop->offset = the_jnode->info.file.size;                          
  1117d4:	89 53 0c             	mov    %edx,0xc(%ebx)                 
  1117d7:	89 4b 10             	mov    %ecx,0x10(%ebx)                
  1117da:	8b 56 50             	mov    0x50(%esi),%edx                
  1117dd:	8b 4e 54             	mov    0x54(%esi),%ecx                
  1117e0:	eb e0                	jmp    1117c2 <memfile_open+0x26>     
  1117e2:	66 90                	xchg   %ax,%ax                        
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
  1117e4:	8b 46 50             	mov    0x50(%esi),%eax                <== NOT EXECUTED
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
  1117e7:	8b 56 58             	mov    0x58(%esi),%edx                <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
  1117ea:	c7 46 4c 05 00 00 00 	movl   $0x5,0x4c(%esi)                <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
  1117f1:	c7 46 50 00 00 00 00 	movl   $0x0,0x50(%esi)                <== NOT EXECUTED
  1117f8:	c7 46 54 00 00 00 00 	movl   $0x0,0x54(%esi)                <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
  1117ff:	c7 46 58 00 00 00 00 	movl   $0x0,0x58(%esi)                <== NOT EXECUTED
    the_jnode->info.file.doubly_indirect = 0;                         
  111806:	c7 46 5c 00 00 00 00 	movl   $0x0,0x5c(%esi)                <== NOT EXECUTED
    the_jnode->info.file.triply_indirect = 0;                         
  11180d:	c7 46 60 00 00 00 00 	movl   $0x0,0x60(%esi)                <== NOT EXECUTED
    if ((count != 0)                                                  
  111814:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  111816:	75 09                	jne    111821 <memfile_open+0x85>     <== NOT EXECUTED
  111818:	8b 43 14             	mov    0x14(%ebx),%eax                <== NOT EXECUTED
  11181b:	31 d2                	xor    %edx,%edx                      <== NOT EXECUTED
  11181d:	31 c9                	xor    %ecx,%ecx                      <== NOT EXECUTED
  11181f:	eb 9c                	jmp    1117bd <memfile_open+0x21>     <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
  111821:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  111824:	50                   	push   %eax                           <== NOT EXECUTED
  111825:	52                   	push   %edx                           <== NOT EXECUTED
  111826:	6a 00                	push   $0x0                           <== NOT EXECUTED
  111828:	6a 00                	push   $0x0                           <== NOT EXECUTED
  11182a:	56                   	push   %esi                           <== NOT EXECUTED
  11182b:	e8 94 fd ff ff       	call   1115c4 <IMFS_memfile_write>    <== NOT EXECUTED
  111830:	83 c4 20             	add    $0x20,%esp                     <== NOT EXECUTED
  111833:	40                   	inc    %eax                           <== NOT EXECUTED
  111834:	74 08                	je     11183e <memfile_open+0xa2>     <== NOT EXECUTED
  111836:	8b 43 14             	mov    0x14(%ebx),%eax                <== NOT EXECUTED
  111839:	e9 79 ff ff ff       	jmp    1117b7 <memfile_open+0x1b>     <== NOT EXECUTED
        return -1;                                                    
  11183e:	83 c8 ff             	or     $0xffffffff,%eax               <== NOT EXECUTED
  111841:	eb 87                	jmp    1117ca <memfile_open+0x2e>     <== NOT EXECUTED
                                                                      

0010844c <mknod>: int mknod( const char *pathname, mode_t mode, dev_t dev ) {
  10844c:	55                   	push   %ebp                           
  10844d:	89 e5                	mov    %esp,%ebp                      
  10844f:	57                   	push   %edi                           
  108450:	56                   	push   %esi                           
  108451:	53                   	push   %ebx                           
  108452:	83 ec 3c             	sub    $0x3c,%esp                     
  108455:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  108458:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10845b:	8b 55 10             	mov    0x10(%ebp),%edx                
  10845e:	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) ) )                 
  108461:	f6 c7 f0             	test   $0xf0,%bh                      
  108464:	75 1a                	jne    108480 <mknod+0x34>            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  108466:	e8 d1 9e 00 00       	call   11233c <__errno>               
  10846b:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  108471:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
                                                                      
  return result;                                                      
}                                                                     
  108476:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108479:	5b                   	pop    %ebx                           
  10847a:	5e                   	pop    %esi                           
  10847b:	5f                   	pop    %edi                           
  10847c:	c9                   	leave                                 
  10847d:	c3                   	ret                                   
  10847e:	66 90                	xchg   %ax,%ax                        
  int                                 result;                         
                                                                      
  if ( !(mode & (S_IFREG|S_IFCHR|S_IFBLK|S_IFIFO) ) )                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
  108480:	50                   	push   %eax                           
  108481:	8d 75 cc             	lea    -0x34(%ebp),%esi               
  108484:	56                   	push   %esi                           
  108485:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  108488:	50                   	push   %eax                           
  108489:	57                   	push   %edi                           
  10848a:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  10848d:	89 4d c0             	mov    %ecx,-0x40(%ebp)               
  108490:	e8 1f 0a 00 00       	call   108eb4 <rtems_filesystem_get_start_loc>
                                                                      
  result = (*temp_loc.ops->evalformake_h)(                            
  108495:	83 c4 0c             	add    $0xc,%esp                      
  108498:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10849b:	50                   	push   %eax                           
  10849c:	56                   	push   %esi                           
  10849d:	03 7d e4             	add    -0x1c(%ebp),%edi               
  1084a0:	57                   	push   %edi                           
  1084a1:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  1084a4:	ff 50 04             	call   *0x4(%eax)                     
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
  1084a7:	83 c4 10             	add    $0x10,%esp                     
  1084aa:	85 c0                	test   %eax,%eax                      
  1084ac:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  1084af:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  1084b2:	74 10                	je     1084c4 <mknod+0x78>            
    return -1;                                                        
  1084b4:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
                                                                      
  return result;                                                      
}                                                                     
  1084b9:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1084bc:	5b                   	pop    %ebx                           
  1084bd:	5e                   	pop    %esi                           
  1084be:	5f                   	pop    %edi                           
  1084bf:	c9                   	leave                                 
  1084c0:	c3                   	ret                                   
  1084c1:	8d 76 00             	lea    0x0(%esi),%esi                 
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
    return -1;                                                        
                                                                      
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
  1084c4:	83 ec 0c             	sub    $0xc,%esp                      
  1084c7:	56                   	push   %esi                           
  1084c8:	51                   	push   %ecx                           
  1084c9:	52                   	push   %edx                           
  1084ca:	53                   	push   %ebx                           
  1084cb:	ff 75 e0             	pushl  -0x20(%ebp)                    
  1084ce:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  1084d1:	ff 50 14             	call   *0x14(%eax)                    
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
  1084d4:	83 c4 14             	add    $0x14,%esp                     
  1084d7:	56                   	push   %esi                           
  1084d8:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  1084db:	e8 c0 fb ff ff       	call   1080a0 <rtems_filesystem_freenode>
                                                                      
  return result;                                                      
  1084e0:	83 c4 10             	add    $0x10,%esp                     
  1084e3:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
}                                                                     
  1084e6:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1084e9:	5b                   	pop    %ebx                           
  1084ea:	5e                   	pop    %esi                           
  1084eb:	5f                   	pop    %edi                           
  1084ec:	c9                   	leave                                 
  1084ed:	c3                   	ret                                   
                                                                      

00108574 <mount>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
  108574:	55                   	push   %ebp                           
  108575:	89 e5                	mov    %esp,%ebp                      
  108577:	57                   	push   %edi                           
  108578:	56                   	push   %esi                           
  108579:	53                   	push   %ebx                           
  10857a:	83 ec 4c             	sub    $0x4c,%esp                     
  10857d:	8b 75 10             	mov    0x10(%ebp),%esi                
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
  108580:	83 7d 14 01          	cmpl   $0x1,0x14(%ebp)                
  108584:	0f 87 36 02 00 00    	ja     1087c0 <mount+0x24c>           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
  10858a:	83 ec 0c             	sub    $0xc,%esp                      
  10858d:	56                   	push   %esi                           
  10858e:	e8 15 79 00 00       	call   10fea8 <rtems_filesystem_get_mount_handler>
  108593:	89 45 b8             	mov    %eax,-0x48(%ebp)               
  if ( !mount_h )                                                     
  108596:	83 c4 10             	add    $0x10,%esp                     
  108599:	85 c0                	test   %eax,%eax                      
  10859b:	0f 84 1f 02 00 00    	je     1087c0 <mount+0x24c>           
{                                                                     
  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;                                   
  1085a1:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  1085a4:	85 c0                	test   %eax,%eax                      
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
  1085a6:	0f 95 45 b7          	setne  -0x49(%ebp)                    
  1085aa:	0f 84 e8 01 00 00    	je     108798 <mount+0x224>           
 * 	4) The mount point exists with the proper permissions to allow mounting
 *	5) The selected mount point already has a file system mounted to it
 *                                                                    
 */                                                                   
                                                                      
int mount(                                                            
  1085b0:	31 c0                	xor    %eax,%eax                      
  1085b2:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  1085b7:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  1085ba:	f2 ae                	repnz scas %es:(%edi),%al             
  1085bc:	f7 d1                	not    %ecx                           
  1085be:	8d 41 ff             	lea    -0x1(%ecx),%eax                
  1085c1:	89 45 ac             	mov    %eax,-0x54(%ebp)               
  1085c4:	89 4d bc             	mov    %ecx,-0x44(%ebp)               
  1085c7:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  1085ca:	89 55 b0             	mov    %edx,-0x50(%ebp)               
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
  1085cd:	ba ff ff ff ff       	mov    $0xffffffff,%edx               
  1085d2:	31 c0                	xor    %eax,%eax                      
  1085d4:	89 d1                	mov    %edx,%ecx                      
  1085d6:	89 f7                	mov    %esi,%edi                      
  1085d8:	f2 ae                	repnz scas %es:(%edi),%al             
  1085da:	f7 d1                	not    %ecx                           
  1085dc:	89 4d c4             	mov    %ecx,-0x3c(%ebp)               
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
  1085df:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  1085e2:	85 ff                	test   %edi,%edi                      
  1085e4:	0f 84 ca 01 00 00    	je     1087b4 <mount+0x240>           
  1085ea:	89 d1                	mov    %edx,%ecx                      
  1085ec:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  1085ef:	f2 ae                	repnz scas %es:(%edi),%al             
  1085f1:	f7 d1                	not    %ecx                           
  1085f3:	89 4d c0             	mov    %ecx,-0x40(%ebp)               
  size_t target_size = strlen( target ) + 1;                          
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size;                
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
  1085f6:	83 ec 08             	sub    $0x8,%esp                      
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
  size_t target_size = strlen( target ) + 1;                          
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size;                
  1085f9:	8b 55 bc             	mov    -0x44(%ebp),%edx               
  1085fc:	8b 7d c4             	mov    -0x3c(%ebp),%edi               
  1085ff:	8d 44 3a 74          	lea    0x74(%edx,%edi,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_size = strlen( target ) + 1;                          
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
  108603:	03 45 c0             	add    -0x40(%ebp),%eax               
    + filesystemtype_size + source_size + target_size;                
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
  108606:	50                   	push   %eax                           
  108607:	6a 01                	push   $0x1                           
  108609:	e8 16 f9 ff ff       	call   107f24 <calloc>                
  10860e:	89 c3                	mov    %eax,%ebx                      
                                                                      
  if ( mt_entry != NULL ) {                                           
  108610:	83 c4 10             	add    $0x10,%esp                     
  108613:	85 c0                	test   %eax,%eax                      
  108615:	0f 84 65 01 00 00    	je     108780 <mount+0x20c>           <== NEVER TAKEN
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
  10861b:	8d 40 74             	lea    0x74(%eax),%eax                
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
  10861e:	89 c7                	mov    %eax,%edi                      
  108620:	8b 4d c4             	mov    -0x3c(%ebp),%ecx               
  108623:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
  108625:	89 fa                	mov    %edi,%edx                      
    mt_entry->type = str;                                             
  108627:	89 43 6c             	mov    %eax,0x6c(%ebx)                
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
  10862a:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10862d:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  108630:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
  108632:	89 f8                	mov    %edi,%eax                      
    mt_entry->dev = str;                                              
  108634:	89 53 70             	mov    %edx,0x70(%ebx)                
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
  108637:	8b 75 b0             	mov    -0x50(%ebp),%esi               
  10863a:	8b 4d bc             	mov    -0x44(%ebp),%ecx               
  10863d:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
    mt_entry->target = str;                                           
  10863f:	89 43 68             	mov    %eax,0x68(%ebx)                
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  108642:	89 5b 2c             	mov    %ebx,0x2c(%ebx)                
  mt_entry->options = options;                                        
  108645:	8b 45 14             	mov    0x14(%ebp),%eax                
  108648:	89 43 30             	mov    %eax,0x30(%ebx)                
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
  10864b:	8d 7b 38             	lea    0x38(%ebx),%edi                
  10864e:	be 80 fb 11 00       	mov    $0x11fb80,%esi                 
  108653:	b1 0c                	mov    $0xc,%cl                       
  108655:	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 ) {                                                 
  108657:	80 7d b7 00          	cmpb   $0x0,-0x49(%ebp)               
  10865b:	0f 85 83 00 00 00    	jne    1086e4 <mount+0x170>           
    }                                                                 
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
  108661:	81 3d 24 30 12 00 28 	cmpl   $0x123028,0x123024             
  108668:	30 12 00                                                    
  10866b:	0f 85 67 01 00 00    	jne    1087d8 <mount+0x264>           <== NEVER TAKEN
)                                                                     
{                                                                     
  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;           
  108671:	31 f6                	xor    %esi,%esi                      
     *  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 ) ) {                               
  108673:	83 ec 08             	sub    $0x8,%esp                      
  108676:	ff 75 18             	pushl  0x18(%ebp)                     
  108679:	53                   	push   %ebx                           
  10867a:	ff 55 b8             	call   *-0x48(%ebp)                   
  10867d:	83 c4 10             	add    $0x10,%esp                     
  108680:	85 c0                	test   %eax,%eax                      
  108682:	0f 85 74 01 00 00    	jne    1087fc <mount+0x288>           
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 );
  108688:	56                   	push   %esi                           
  108689:	6a 00                	push   $0x0                           
  10868b:	6a 00                	push   $0x0                           
  10868d:	ff 35 08 53 12 00    	pushl  0x125308                       
  108693:	e8 18 30 00 00       	call   10b6b0 <rtems_semaphore_obtain>
  108698:	5a                   	pop    %edx                           
  108699:	59                   	pop    %ecx                           
  10869a:	53                   	push   %ebx                           
  10869b:	68 24 30 12 00       	push   $0x123024                      
  1086a0:	e8 eb 38 00 00       	call   10bf90 <_Chain_Append>         
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
  1086a5:	58                   	pop    %eax                           
  1086a6:	ff 35 08 53 12 00    	pushl  0x125308                       
  1086ac:	e8 fb 30 00 00       	call   10b7ac <rtems_semaphore_release>
   */                                                                 
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
  1086b1:	83 c4 10             	add    $0x10,%esp                     
  1086b4:	80 7d b7 00          	cmpb   $0x0,-0x49(%ebp)               
  1086b8:	74 0a                	je     1086c4 <mount+0x150>           
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
                                                                      
  return 0;                                                           
  1086ba:	31 c0                	xor    %eax,%eax                      
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
}                                                                     
  1086bc:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1086bf:	5b                   	pop    %ebx                           
  1086c0:	5e                   	pop    %esi                           
  1086c1:	5f                   	pop    %edi                           
  1086c2:	c9                   	leave                                 
  1086c3:	c3                   	ret                                   
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
  1086c4:	8b 3d 50 31 12 00    	mov    0x123150,%edi                  
  1086ca:	83 c7 18             	add    $0x18,%edi                     
  1086cd:	8d 73 1c             	lea    0x1c(%ebx),%esi                
  1086d0:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  1086d5:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  return 0;                                                           
  1086d7:	31 c0                	xor    %eax,%eax                      
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
}                                                                     
  1086d9:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1086dc:	5b                   	pop    %ebx                           
  1086dd:	5e                   	pop    %esi                           
  1086de:	5f                   	pop    %edi                           
  1086df:	c9                   	leave                                 
  1086e0:	c3                   	ret                                   
  1086e1:	8d 76 00             	lea    0x0(%esi),%esi                 
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
    if ( rtems_filesystem_evaluate_path(                              
  1086e4:	83 ec 0c             	sub    $0xc,%esp                      
  1086e7:	6a 01                	push   $0x1                           
  1086e9:	8d 75 d4             	lea    -0x2c(%ebp),%esi               
  1086ec:	56                   	push   %esi                           
  1086ed:	6a 07                	push   $0x7                           
  1086ef:	ff 75 ac             	pushl  -0x54(%ebp)                    
  1086f2:	ff 75 0c             	pushl  0xc(%ebp)                      
  1086f5:	e8 ce f8 ff ff       	call   107fc8 <rtems_filesystem_evaluate_path>
  1086fa:	83 c4 20             	add    $0x20,%esp                     
  1086fd:	40                   	inc    %eax                           
  1086fe:	0f 84 df 00 00 00    	je     1087e3 <mount+0x26f>           <== NEVER TAKEN
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
  108704:	83 ec 0c             	sub    $0xc,%esp                      
  108707:	56                   	push   %esi                           
  108708:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10870b:	ff 50 10             	call   *0x10(%eax)                    
  10870e:	83 c4 10             	add    $0x10,%esp                     
  108711:	48                   	dec    %eax                           
  108712:	0f 85 0c 01 00 00    	jne    108824 <mount+0x2b0>           
                                                                      
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
  108718:	83 ec 08             	sub    $0x8,%esp                      
  10871b:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10871e:	68 f0 84 10 00       	push   $0x1084f0                      
  108723:	e8 dc fd ff ff       	call   108504 <rtems_filesystem_mount_iterate>
  108728:	83 c4 10             	add    $0x10,%esp                     
  10872b:	84 c0                	test   %al,%al                        
  10872d:	0f 85 01 01 00 00    	jne    108834 <mount+0x2c0>           
     *  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;            
  108733:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  108736:	89 43 08             	mov    %eax,0x8(%ebx)                 
    mt_entry->mt_point_node.handlers = loc.handlers;                  
  108739:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10873c:	89 43 10             	mov    %eax,0x10(%ebx)                
    mt_entry->mt_point_node.ops = loc.ops;                            
  10873f:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  108742:	89 43 14             	mov    %eax,0x14(%ebx)                
    mt_entry->mt_point_node.mt_entry = loc.mt_entry;                  
  108745:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  108748:	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 ) ) {                             
  10874b:	83 ec 0c             	sub    $0xc,%esp                      
  10874e:	53                   	push   %ebx                           
  10874f:	ff 50 20             	call   *0x20(%eax)                    
  108752:	83 c4 10             	add    $0x10,%esp                     
  108755:	85 c0                	test   %eax,%eax                      
  108757:	0f 84 16 ff ff ff    	je     108673 <mount+0xff>            <== ALWAYS TAKEN
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
  10875d:	83 ec 0c             	sub    $0xc,%esp                      
  108760:	53                   	push   %ebx                           
  108761:	e8 4e f9 ff ff       	call   1080b4 <free>                  
  108766:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
  108769:	83 ec 0c             	sub    $0xc,%esp                      
  10876c:	56                   	push   %esi                           
  10876d:	e8 2e f9 ff ff       	call   1080a0 <rtems_filesystem_freenode>
  108772:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  return -1;                                                          
  108775:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10877a:	e9 3d ff ff ff       	jmp    1086bc <mount+0x148>           
  10877f:	90                   	nop                                   
    target,                                                           
    filesystemtype,                                                   
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
  108780:	e8 b7 9b 00 00       	call   11233c <__errno>               <== NOT EXECUTED
  108785:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    <== NOT EXECUTED
  10878b:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
}                                                                     
  108790:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  108793:	5b                   	pop    %ebx                           <== NOT EXECUTED
  108794:	5e                   	pop    %esi                           <== NOT EXECUTED
  108795:	5f                   	pop    %edi                           <== NOT EXECUTED
  108796:	c9                   	leave                                 <== NOT EXECUTED
  108797:	c3                   	ret                                   <== NOT EXECUTED
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
  108798:	c7 45 bc 02 00 00 00 	movl   $0x2,-0x44(%ebp)               
  10879f:	c7 45 ac 01 00 00 00 	movl   $0x1,-0x54(%ebp)               
  1087a6:	c7 45 b0 27 fb 11 00 	movl   $0x11fb27,-0x50(%ebp)          
  1087ad:	e9 1b fe ff ff       	jmp    1085cd <mount+0x59>            
  1087b2:	66 90                	xchg   %ax,%ax                        
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
  1087b4:	c7 45 c0 00 00 00 00 	movl   $0x0,-0x40(%ebp)               
  1087bb:	e9 36 fe ff ff       	jmp    1085f6 <mount+0x82>            
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
  if ( !mount_h )                                                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  1087c0:	e8 77 9b 00 00       	call   11233c <__errno>               
  1087c5:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  1087cb:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
}                                                                     
  1087d0:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1087d3:	5b                   	pop    %ebx                           
  1087d4:	5e                   	pop    %esi                           
  1087d5:	5f                   	pop    %edi                           
  1087d6:	c9                   	leave                                 
  1087d7:	c3                   	ret                                   
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
      errno = EINVAL;                                                 
  1087d8:	e8 5f 9b 00 00       	call   11233c <__errno>               <== NOT EXECUTED
  1087dd:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
  1087e3:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1087e6:	53                   	push   %ebx                           <== NOT EXECUTED
  1087e7:	e8 c8 f8 ff ff       	call   1080b4 <free>                  <== NOT EXECUTED
  1087ec:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
  1087ef:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
  1087f4:	e9 c3 fe ff ff       	jmp    1086bc <mount+0x148>           <== NOT EXECUTED
  1087f9:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
                                                                      
  if ( (*mount_h)( mt_entry, data ) ) {                               
    /*                                                                
     * Try to undo the mount operation                                
     */                                                               
    loc.ops->unmount_h( mt_entry );                                   
  1087fc:	83 ec 0c             	sub    $0xc,%esp                      
  1087ff:	53                   	push   %ebx                           
  108800:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  108803:	ff 50 28             	call   *0x28(%eax)                    
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
  108806:	89 1c 24             	mov    %ebx,(%esp)                    
  108809:	e8 a6 f8 ff ff       	call   1080b4 <free>                  
                                                                      
  if ( loc_to_free )                                                  
  10880e:	83 c4 10             	add    $0x10,%esp                     
  108811:	85 f6                	test   %esi,%esi                      
  108813:	0f 85 50 ff ff ff    	jne    108769 <mount+0x1f5>           <== ALWAYS TAKEN
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
  108819:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
  10881e:	e9 99 fe ff ff       	jmp    1086bc <mount+0x148>           <== NOT EXECUTED
  108823:	90                   	nop                                   <== NOT EXECUTED
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
      errno = ENOTDIR;                                                
  108824:	e8 13 9b 00 00       	call   11233c <__errno>               
  108829:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   
      goto cleanup_and_bail;                                          
  10882f:	e9 29 ff ff ff       	jmp    10875d <mount+0x1e9>           
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
      errno = EBUSY;                                                  
  108834:	e8 03 9b 00 00       	call   11233c <__errno>               
  108839:	c7 00 10 00 00 00    	movl   $0x10,(%eax)                   
      goto cleanup_and_bail;                                          
  10883f:	e9 19 ff ff ff       	jmp    10875d <mount+0x1e9>           
                                                                      

00108b88 <mount_and_make_target_path>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
  108b88:	55                   	push   %ebp                           
  108b89:	89 e5                	mov    %esp,%ebp                      
  108b8b:	57                   	push   %edi                           
  108b8c:	56                   	push   %esi                           
  108b8d:	53                   	push   %ebx                           
  108b8e:	83 ec 1c             	sub    $0x1c,%esp                     
  108b91:	8b 45 08             	mov    0x8(%ebp),%eax                 
  108b94:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  108b97:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  108b9a:	8b 75 10             	mov    0x10(%ebp),%esi                
  108b9d:	8b 7d 14             	mov    0x14(%ebp),%edi                
  108ba0:	8b 45 18             	mov    0x18(%ebp),%eax                
  108ba3:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
  108ba6:	85 db                	test   %ebx,%ebx                      
  108ba8:	74 3f                	je     108be9 <mount_and_make_target_path+0x61>
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
  108baa:	83 ec 08             	sub    $0x8,%esp                      
  108bad:	68 ff 01 00 00       	push   $0x1ff                         
  108bb2:	53                   	push   %ebx                           
  108bb3:	e8 08 0a 00 00       	call   1095c0 <rtems_mkdir>           
    if (rv == 0) {                                                    
  108bb8:	83 c4 10             	add    $0x10,%esp                     
  108bbb:	85 c0                	test   %eax,%eax                      
  108bbd:	74 09                	je     108bc8 <mount_and_make_target_path+0x40><== ALWAYS TAKEN
  } else {                                                            
    errno = EINVAL;                                                   
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
  108bbf:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108bc2:	5b                   	pop    %ebx                           
  108bc3:	5e                   	pop    %esi                           
  108bc4:	5f                   	pop    %edi                           
  108bc5:	c9                   	leave                                 
  108bc6:	c3                   	ret                                   
  108bc7:	90                   	nop                                   
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
    if (rv == 0) {                                                    
      rv = mount(                                                     
  108bc8:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  108bcb:	89 45 18             	mov    %eax,0x18(%ebp)                
  108bce:	89 7d 14             	mov    %edi,0x14(%ebp)                
  108bd1:	89 75 10             	mov    %esi,0x10(%ebp)                
  108bd4:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  108bd7:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  108bda:	89 45 08             	mov    %eax,0x8(%ebp)                 
  } else {                                                            
    errno = EINVAL;                                                   
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
  108bdd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108be0:	5b                   	pop    %ebx                           
  108be1:	5e                   	pop    %esi                           
  108be2:	5f                   	pop    %edi                           
  108be3:	c9                   	leave                                 
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
    if (rv == 0) {                                                    
      rv = mount(                                                     
  108be4:	e9 97 00 00 00       	jmp    108c80 <mount>                 
        options,                                                      
        data                                                          
      );                                                              
    }                                                                 
  } else {                                                            
    errno = EINVAL;                                                   
  108be9:	e8 42 9e 00 00       	call   112a30 <__errno>               
  108bee:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  const char *filesystemtype,                                         
  rtems_filesystem_options_t options,                                 
  const void *data                                                    
)                                                                     
{                                                                     
  int rv = -1;                                                        
  108bf4:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  108bf9:	eb c4                	jmp    108bbf <mount_and_make_target_path+0x37>
                                                                      

001088a8 <newlib_create_hook>: */ bool newlib_create_hook( rtems_tcb *current_task __attribute__((unused)), rtems_tcb *creating_task ) {
  1088a8:	55                   	push   %ebp                           
  1088a9:	89 e5                	mov    %esp,%ebp                      
  1088ab:	57                   	push   %edi                           
  1088ac:	56                   	push   %esi                           
  1088ad:	53                   	push   %ebx                           
  1088ae:	83 ec 0c             	sub    $0xc,%esp                      
  struct _reent *ptr;                                                 
                                                                      
  if (_Thread_libc_reent == 0)                                        
  1088b1:	a1 40 55 12 00       	mov    0x125540,%eax                  
  1088b6:	85 c0                	test   %eax,%eax                      
  1088b8:	0f 84 52 02 00 00    	je     108b10 <newlib_create_hook+0x268>
    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));
  1088be:	83 ec 0c             	sub    $0xc,%esp                      
  1088c1:	68 24 04 00 00       	push   $0x424                         
  1088c6:	e8 3d 5f 00 00       	call   10e808 <_Workspace_Allocate>   
  1088cb:	89 c2                	mov    %eax,%edx                      
  #endif                                                              
                                                                      
  if (ptr) {                                                          
  1088cd:	83 c4 10             	add    $0x10,%esp                     
  1088d0:	85 c0                	test   %eax,%eax                      
  1088d2:	0f 84 2c 02 00 00    	je     108b04 <newlib_create_hook+0x25c>
    _REENT_INIT_PTR((ptr)); /* GCC extension: structure constants */  
  1088d8:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  1088de:	8d 98 ec 02 00 00    	lea    0x2ec(%eax),%ebx               
  1088e4:	89 58 04             	mov    %ebx,0x4(%eax)                 
  1088e7:	8d 80 54 03 00 00    	lea    0x354(%eax),%eax               
  1088ed:	89 42 08             	mov    %eax,0x8(%edx)                 
  1088f0:	8d 82 bc 03 00 00    	lea    0x3bc(%edx),%eax               
  1088f6:	89 42 0c             	mov    %eax,0xc(%edx)                 
  1088f9:	c7 42 10 00 00 00 00 	movl   $0x0,0x10(%edx)                
  108900:	8d 72 14             	lea    0x14(%edx),%esi                
  108903:	31 c0                	xor    %eax,%eax                      
  108905:	b9 19 00 00 00       	mov    $0x19,%ecx                     
  10890a:	89 f7                	mov    %esi,%edi                      
  10890c:	f3 aa                	rep stos %al,%es:(%edi)               
  10890e:	c7 42 30 00 00 00 00 	movl   $0x0,0x30(%edx)                
  108915:	c7 42 34 aa f8 11 00 	movl   $0x11f8aa,0x34(%edx)           
  10891c:	c7 42 38 00 00 00 00 	movl   $0x0,0x38(%edx)                
  108923:	c7 42 3c 00 00 00 00 	movl   $0x0,0x3c(%edx)                
  10892a:	c7 42 40 00 00 00 00 	movl   $0x0,0x40(%edx)                
  108931:	c7 42 44 00 00 00 00 	movl   $0x0,0x44(%edx)                
  108938:	c7 42 48 00 00 00 00 	movl   $0x0,0x48(%edx)                
  10893f:	c7 42 4c 00 00 00 00 	movl   $0x0,0x4c(%edx)                
  108946:	c7 42 50 00 00 00 00 	movl   $0x0,0x50(%edx)                
  10894d:	c7 42 54 00 00 00 00 	movl   $0x0,0x54(%edx)                
  108954:	c7 42 58 00 00 00 00 	movl   $0x0,0x58(%edx)                
  10895b:	c7 42 5c 00 00 00 00 	movl   $0x0,0x5c(%edx)                
  108962:	c6 42 60 00          	movb   $0x0,0x60(%edx)                
  108966:	8d 72 7c             	lea    0x7c(%edx),%esi                
  108969:	b1 24                	mov    $0x24,%cl                      
  10896b:	89 f7                	mov    %esi,%edi                      
  10896d:	f3 aa                	rep stos %al,%es:(%edi)               
  10896f:	c7 82 a0 00 00 00 00 	movl   $0x0,0xa0(%edx)                
  108976:	00 00 00                                                    
  108979:	c7 82 a4 00 00 00 01 	movl   $0x1,0xa4(%edx)                
  108980:	00 00 00                                                    
  108983:	c7 82 a8 00 00 00 00 	movl   $0x0,0xa8(%edx)                
  10898a:	00 00 00                                                    
  10898d:	66 c7 82 ac 00 00 00 	movw   $0x330e,0xac(%edx)             
  108994:	0e 33                                                       
  108996:	66 c7 82 ae 00 00 00 	movw   $0xabcd,0xae(%edx)             
  10899d:	cd ab                                                       
  10899f:	66 c7 82 b0 00 00 00 	movw   $0x1234,0xb0(%edx)             
  1089a6:	34 12                                                       
  1089a8:	66 c7 82 b2 00 00 00 	movw   $0xe66d,0xb2(%edx)             
  1089af:	6d e6                                                       
  1089b1:	66 c7 82 b4 00 00 00 	movw   $0xdeec,0xb4(%edx)             
  1089b8:	ec de                                                       
  1089ba:	66 c7 82 b6 00 00 00 	movw   $0x5,0xb6(%edx)                
  1089c1:	05 00                                                       
  1089c3:	66 c7 82 b8 00 00 00 	movw   $0xb,0xb8(%edx)                
  1089ca:	0b 00                                                       
  1089cc:	c7 82 bc 00 00 00 00 	movl   $0x0,0xbc(%edx)                
  1089d3:	00 00 00                                                    
  1089d6:	c7 82 c0 00 00 00 00 	movl   $0x0,0xc0(%edx)                
  1089dd:	00 00 00                                                    
  1089e0:	c7 82 c4 00 00 00 00 	movl   $0x0,0xc4(%edx)                
  1089e7:	00 00 00                                                    
  1089ea:	c7 82 c8 00 00 00 00 	movl   $0x0,0xc8(%edx)                
  1089f1:	00 00 00                                                    
  1089f4:	c7 82 cc 00 00 00 00 	movl   $0x0,0xcc(%edx)                
  1089fb:	00 00 00                                                    
  1089fe:	c7 82 d0 00 00 00 00 	movl   $0x0,0xd0(%edx)                
  108a05:	00 00 00                                                    
  108a08:	c7 82 f8 00 00 00 00 	movl   $0x0,0xf8(%edx)                
  108a0f:	00 00 00                                                    
  108a12:	c7 82 fc 00 00 00 00 	movl   $0x0,0xfc(%edx)                
  108a19:	00 00 00                                                    
  108a1c:	c7 82 00 01 00 00 00 	movl   $0x0,0x100(%edx)               
  108a23:	00 00 00                                                    
  108a26:	c7 82 04 01 00 00 00 	movl   $0x0,0x104(%edx)               
  108a2d:	00 00 00                                                    
  108a30:	c7 82 08 01 00 00 00 	movl   $0x0,0x108(%edx)               
  108a37:	00 00 00                                                    
  108a3a:	c7 82 0c 01 00 00 00 	movl   $0x0,0x10c(%edx)               
  108a41:	00 00 00                                                    
  108a44:	c7 82 10 01 00 00 00 	movl   $0x0,0x110(%edx)               
  108a4b:	00 00 00                                                    
  108a4e:	c7 82 14 01 00 00 00 	movl   $0x0,0x114(%edx)               
  108a55:	00 00 00                                                    
  108a58:	c7 82 18 01 00 00 00 	movl   $0x0,0x118(%edx)               
  108a5f:	00 00 00                                                    
  108a62:	c7 82 1c 01 00 00 00 	movl   $0x0,0x11c(%edx)               
  108a69:	00 00 00                                                    
  108a6c:	c6 82 d4 00 00 00 00 	movb   $0x0,0xd4(%edx)                
  108a73:	c6 82 dc 00 00 00 00 	movb   $0x0,0xdc(%edx)                
  108a7a:	c7 82 f4 00 00 00 00 	movl   $0x0,0xf4(%edx)                
  108a81:	00 00 00                                                    
  108a84:	c7 82 48 01 00 00 00 	movl   $0x0,0x148(%edx)               
  108a8b:	00 00 00                                                    
  108a8e:	c7 82 4c 01 00 00 00 	movl   $0x0,0x14c(%edx)               
  108a95:	00 00 00                                                    
  108a98:	c7 82 50 01 00 00 00 	movl   $0x0,0x150(%edx)               
  108a9f:	00 00 00                                                    
  108aa2:	c7 82 54 01 00 00 00 	movl   $0x0,0x154(%edx)               
  108aa9:	00 00 00                                                    
  108aac:	c7 82 d4 02 00 00 00 	movl   $0x0,0x2d4(%edx)               
  108ab3:	00 00 00                                                    
  108ab6:	c7 82 d4 01 00 00 00 	movl   $0x0,0x1d4(%edx)               
  108abd:	00 00 00                                                    
  108ac0:	c7 82 dc 02 00 00 00 	movl   $0x0,0x2dc(%edx)               
  108ac7:	00 00 00                                                    
  108aca:	c7 82 e0 02 00 00 00 	movl   $0x0,0x2e0(%edx)               
  108ad1:	00 00 00                                                    
  108ad4:	c7 82 e4 02 00 00 00 	movl   $0x0,0x2e4(%edx)               
  108adb:	00 00 00                                                    
  108ade:	c7 82 e8 02 00 00 00 	movl   $0x0,0x2e8(%edx)               
  108ae5:	00 00 00                                                    
  108ae8:	66 b9 38 01          	mov    $0x138,%cx                     
  108aec:	89 df                	mov    %ebx,%edi                      
  108aee:	f3 aa                	rep stos %al,%es:(%edi)               
    creating_task->libc_reent = ptr;                                  
  108af0:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  108af3:	89 90 e0 00 00 00    	mov    %edx,0xe0(%eax)                
    return TRUE;                                                      
  108af9:	b0 01                	mov    $0x1,%al                       
  }                                                                   
                                                                      
  return FALSE;                                                       
}                                                                     
  108afb:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108afe:	5b                   	pop    %ebx                           
  108aff:	5e                   	pop    %esi                           
  108b00:	5f                   	pop    %edi                           
  108b01:	c9                   	leave                                 
  108b02:	c3                   	ret                                   
  108b03:	90                   	nop                                   
    _REENT_INIT_PTR((ptr)); /* GCC extension: structure constants */  
    creating_task->libc_reent = ptr;                                  
    return TRUE;                                                      
  }                                                                   
                                                                      
  return FALSE;                                                       
  108b04:	31 c0                	xor    %eax,%eax                      
}                                                                     
  108b06:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108b09:	5b                   	pop    %ebx                           
  108b0a:	5e                   	pop    %esi                           
  108b0b:	5f                   	pop    %edi                           
  108b0c:	c9                   	leave                                 
  108b0d:	c3                   	ret                                   
  108b0e:	66 90                	xchg   %ax,%ax                        
{                                                                     
  struct _reent *ptr;                                                 
                                                                      
  if (_Thread_libc_reent == 0)                                        
  {                                                                   
    _REENT = _global_impure_ptr;                                      
  108b10:	a1 20 05 12 00       	mov    0x120520,%eax                  
  108b15:	a3 00 32 12 00       	mov    %eax,0x123200                  
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Set_libc_reent (                    
  struct _reent **libc_reent                                          
)                                                                     
{                                                                     
  _Thread_libc_reent = libc_reent;                                    
  108b1a:	c7 05 40 55 12 00 00 	movl   $0x123200,0x125540             
  108b21:	32 12 00                                                    
  108b24:	e9 95 fd ff ff       	jmp    1088be <newlib_create_hook+0x16>
                                                                      

00108b2c <newlib_delete_hook>: void newlib_delete_hook( rtems_tcb *current_task, rtems_tcb *deleted_task ) {
  108b2c:	55                   	push   %ebp                           
  108b2d:	89 e5                	mov    %esp,%ebp                      
  108b2f:	57                   	push   %edi                           
  108b30:	56                   	push   %esi                           
  108b31:	53                   	push   %ebx                           
  108b32:	83 ec 0c             	sub    $0xc,%esp                      
  108b35:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  108b38:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
                                                                      
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
  108b3b:	39 df                	cmp    %ebx,%edi                      
  108b3d:	74 55                	je     108b94 <newlib_delete_hook+0x68>
    ptr = _REENT;                                                     
  } else {                                                            
    ptr = deleted_task->libc_reent;                                   
  108b3f:	8b b3 e0 00 00 00    	mov    0xe0(%ebx),%esi                
  }                                                                   
                                                                      
  if (ptr && ptr != _global_impure_ptr) {                             
  108b45:	85 f6                	test   %esi,%esi                      
  108b47:	74 21                	je     108b6a <newlib_delete_hook+0x3e><== NEVER TAKEN
  108b49:	3b 35 20 05 12 00    	cmp    0x120520,%esi                  
  108b4f:	74 19                	je     108b6a <newlib_delete_hook+0x3e>
    _reclaim_reent(ptr);                                              
*/                                                                    
    /*                                                                
     *  Just in case there are some buffers lying around.             
     */                                                               
    _fwalk(ptr, newlib_free_buffers);                                 
  108b51:	83 ec 08             	sub    $0x8,%esp                      
  108b54:	68 4c 88 10 00       	push   $0x10884c                      
  108b59:	56                   	push   %esi                           
  108b5a:	e8 c5 9f 00 00       	call   112b24 <_fwalk>                
#if REENT_MALLOCED                                                    
    free(ptr);                                                        
#else                                                                 
    _Workspace_Free(ptr);                                             
  108b5f:	89 34 24             	mov    %esi,(%esp)                    
  108b62:	e8 bd 5c 00 00       	call   10e824 <_Workspace_Free>       
  108b67:	83 c4 10             	add    $0x10,%esp                     
#endif                                                                
  }                                                                   
                                                                      
  deleted_task->libc_reent = NULL;                                    
  108b6a:	c7 83 e0 00 00 00 00 	movl   $0x0,0xe0(%ebx)                
  108b71:	00 00 00                                                    
                                                                      
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
  108b74:	39 df                	cmp    %ebx,%edi                      
  108b76:	74 08                	je     108b80 <newlib_delete_hook+0x54>
    _REENT = 0;                                                       
  }                                                                   
}                                                                     
  108b78:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108b7b:	5b                   	pop    %ebx                           
  108b7c:	5e                   	pop    %esi                           
  108b7d:	5f                   	pop    %edi                           
  108b7e:	c9                   	leave                                 
  108b7f:	c3                   	ret                                   
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
    _REENT = 0;                                                       
  108b80:	c7 05 00 32 12 00 00 	movl   $0x0,0x123200                  
  108b87:	00 00 00                                                    
  }                                                                   
}                                                                     
  108b8a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108b8d:	5b                   	pop    %ebx                           
  108b8e:	5e                   	pop    %esi                           
  108b8f:	5f                   	pop    %edi                           
  108b90:	c9                   	leave                                 
  108b91:	c3                   	ret                                   
  108b92:	66 90                	xchg   %ax,%ax                        
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
    ptr = _REENT;                                                     
  108b94:	8b 35 00 32 12 00    	mov    0x123200,%esi                  
  108b9a:	eb a9                	jmp    108b45 <newlib_delete_hook+0x19>
                                                                      

0010884c <newlib_free_buffers>: */ int newlib_free_buffers( FILE *fp ) {
  10884c:	55                   	push   %ebp                           
  10884d:	89 e5                	mov    %esp,%ebp                      
  10884f:	53                   	push   %ebx                           
  108850:	83 ec 10             	sub    $0x10,%esp                     
  108853:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  switch ( fileno(fp) ) {                                             
  108856:	53                   	push   %ebx                           
  108857:	e8 b4 9e 00 00       	call   112710 <fileno>                
  10885c:	83 c4 10             	add    $0x10,%esp                     
  10885f:	83 f8 02             	cmp    $0x2,%eax                      
  108862:	76 14                	jbe    108878 <newlib_free_buffers+0x2c><== ALWAYS TAKEN
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  108864:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  108867:	53                   	push   %ebx                           <== NOT EXECUTED
  108868:	e8 27 9c 00 00       	call   112494 <fclose>                <== NOT EXECUTED
  10886d:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
  108870:	31 c0                	xor    %eax,%eax                      
  108872:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108875:	c9                   	leave                                 
  108876:	c3                   	ret                                   
  108877:	90                   	nop                                   
{                                                                     
  switch ( fileno(fp) ) {                                             
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
  108878:	f6 43 0c 80          	testb  $0x80,0xc(%ebx)                
  10887c:	74 f2                	je     108870 <newlib_free_buffers+0x24><== ALWAYS TAKEN
        free( fp->_bf._base );                                        
  10887e:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  108881:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  108884:	e8 2b f8 ff ff       	call   1080b4 <free>                  <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
  108889:	66 81 63 0c 7f ff    	andw   $0xff7f,0xc(%ebx)              <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
  10888f:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    <== NOT EXECUTED
  108895:	c7 43 10 00 00 00 00 	movl   $0x0,0x10(%ebx)                <== NOT EXECUTED
  10889c:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
  10889f:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  1088a1:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  1088a4:	c9                   	leave                                 <== NOT EXECUTED
  1088a5:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

00107cd4 <null_initialize>: rtems_device_driver null_initialize( rtems_device_major_number major, rtems_device_minor_number minor __attribute__((unused)), void *pargp __attribute__((unused)) ) {
  107cd4:	55                   	push   %ebp                           
  107cd5:	89 e5                	mov    %esp,%ebp                      
  107cd7:	53                   	push   %ebx                           
  107cd8:	83 ec 04             	sub    $0x4,%esp                      
  107cdb:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
  107cde:	80 3d a0 30 12 00 00 	cmpb   $0x0,0x1230a0                  
  107ce5:	74 09                	je     107cf0 <null_initialize+0x1c>  
                                                                      
    NULL_major = major;                                               
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  107ce7:	31 c0                	xor    %eax,%eax                      
  107ce9:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  107cec:	c9                   	leave                                 
  107ced:	c3                   	ret                                   
  107cee:	66 90                	xchg   %ax,%ax                        
)                                                                     
{                                                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
    initialized = 1;                                                  
  107cf0:	c6 05 a0 30 12 00 01 	movb   $0x1,0x1230a0                  
                                                                      
    status = rtems_io_register_name(                                  
  107cf7:	50                   	push   %eax                           
  107cf8:	6a 00                	push   $0x0                           
  107cfa:	53                   	push   %ebx                           
  107cfb:	68 da c1 11 00       	push   $0x11c1da                      
  107d00:	e8 7b 01 00 00       	call   107e80 <rtems_io_register_name>
      "/dev/null",                                                    
      major,                                                          
      (rtems_device_minor_number) 0                                   
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
  107d05:	83 c4 10             	add    $0x10,%esp                     
  107d08:	85 c0                	test   %eax,%eax                      
  107d0a:	75 0d                	jne    107d19 <null_initialize+0x45>  
      rtems_fatal_error_occurred(status);                             
                                                                      
    NULL_major = major;                                               
  107d0c:	89 1d e0 33 12 00    	mov    %ebx,0x1233e0                  
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  107d12:	31 c0                	xor    %eax,%eax                      
  107d14:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  107d17:	c9                   	leave                                 
  107d18:	c3                   	ret                                   
      major,                                                          
      (rtems_device_minor_number) 0                                   
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
      rtems_fatal_error_occurred(status);                             
  107d19:	83 ec 0c             	sub    $0xc,%esp                      
  107d1c:	50                   	push   %eax                           
  107d1d:	e8 b6 41 00 00       	call   10bed8 <rtems_fatal_error_occurred>
                                                                      

00108bfc <open>: int open( const char *pathname, int flags, ... ) {
  108bfc:	55                   	push   %ebp                           
  108bfd:	89 e5                	mov    %esp,%ebp                      
  108bff:	57                   	push   %edi                           
  108c00:	56                   	push   %esi                           
  108c01:	53                   	push   %ebx                           
  108c02:	83 ec 4c             	sub    $0x4c,%esp                     
                                                                      
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
  108c05:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  108c08:	40                   	inc    %eax                           
  if ( ( status & _FREAD ) == _FREAD )                                
  108c09:	89 c3                	mov    %eax,%ebx                      
  108c0b:	83 e3 01             	and    $0x1,%ebx                      
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
  108c0e:	f7 db                	neg    %ebx                           
  108c10:	83 e3 04             	and    $0x4,%ebx                      
  if ( ( status & _FWRITE ) == _FWRITE )                              
  108c13:	a8 02                	test   $0x2,%al                       
  108c15:	74 03                	je     108c1a <open+0x1e>             
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
  108c17:	83 cb 02             	or     $0x2,%ebx                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
  108c1a:	8b 45 10             	mov    0x10(%ebp),%eax                
  108c1d:	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();                                       
  108c20:	e8 df 6f 00 00       	call   10fc04 <rtems_libio_allocate>  
  108c25:	89 c2                	mov    %eax,%edx                      
  if ( iop == 0 ) {                                                   
  108c27:	85 c0                	test   %eax,%eax                      
  108c29:	0f 84 c5 00 00 00    	je     108cf4 <open+0xf8>             
  }                                                                   
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
  status = rtems_filesystem_evaluate_path(                            
  108c2f:	31 f6                	xor    %esi,%esi                      
  108c31:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  108c36:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  108c39:	89 f0                	mov    %esi,%eax                      
  108c3b:	f2 ae                	repnz scas %es:(%edi),%al             
  108c3d:	f7 d1                	not    %ecx                           
  108c3f:	49                   	dec    %ecx                           
  108c40:	83 ec 0c             	sub    $0xc,%esp                      
  108c43:	6a 01                	push   $0x1                           
  108c45:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  108c48:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
  108c4b:	50                   	push   %eax                           
  108c4c:	53                   	push   %ebx                           
  108c4d:	51                   	push   %ecx                           
  108c4e:	ff 75 08             	pushl  0x8(%ebp)                      
  108c51:	89 55 c0             	mov    %edx,-0x40(%ebp)               
  108c54:	e8 6f f3 ff ff       	call   107fc8 <rtems_filesystem_evaluate_path>
  108c59:	89 c3                	mov    %eax,%ebx                      
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
  108c5b:	83 c4 20             	add    $0x20,%esp                     
  108c5e:	83 f8 ff             	cmp    $0xffffffff,%eax               
  108c61:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  108c64:	0f 84 de 00 00 00    	je     108d48 <open+0x14c>            
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
  108c6a:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  108c6d:	25 00 0a 00 00       	and    $0xa00,%eax                    
  108c72:	3d 00 0a 00 00       	cmp    $0xa00,%eax                    
  108c77:	0f 84 8b 00 00 00    	je     108d08 <open+0x10c>            
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  108c7d:	8b 5a 14             	mov    0x14(%edx),%ebx                
  108c80:	83 ec 0c             	sub    $0xc,%esp                      
  108c83:	ff 75 0c             	pushl  0xc(%ebp)                      
  108c86:	89 55 c0             	mov    %edx,-0x40(%ebp)               
  108c89:	e8 fa 6e 00 00       	call   10fb88 <rtems_libio_fcntl_flags>
  108c8e:	09 d8                	or     %ebx,%eax                      
  108c90:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  108c93:	89 42 14             	mov    %eax,0x14(%edx)                
  iop->pathinfo   = loc;                                              
  108c96:	8d 7a 18             	lea    0x18(%edx),%edi                
  108c99:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  108c9e:	8b 75 b4             	mov    -0x4c(%ebp),%esi               
  108ca1:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
  108ca3:	8b 42 20             	mov    0x20(%edx),%eax                
  108ca6:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  108ca9:	ff 75 0c             	pushl  0xc(%ebp)                      
  108cac:	ff 75 08             	pushl  0x8(%ebp)                      
  108caf:	52                   	push   %edx                           
  108cb0:	ff 10                	call   *(%eax)                        
  if ( rc ) {                                                         
  108cb2:	83 c4 20             	add    $0x20,%esp                     
  108cb5:	85 c0                	test   %eax,%eax                      
  108cb7:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  108cba:	75 78                	jne    108d34 <open+0x138>            
  }                                                                   
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
  108cbc:	f7 45 0c 00 04 00 00 	testl  $0x400,0xc(%ebp)               
  108cc3:	0f 85 9f 00 00 00    	jne    108d68 <open+0x16c>            
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
  108cc9:	2b 15 00 53 12 00    	sub    0x125300,%edx                  
  108ccf:	c1 fa 03             	sar    $0x3,%edx                      
  108cd2:	8d 04 d2             	lea    (%edx,%edx,8),%eax             
  108cd5:	8d 04 c2             	lea    (%edx,%eax,8),%eax             
  108cd8:	8d 04 c2             	lea    (%edx,%eax,8),%eax             
  108cdb:	8d 04 c2             	lea    (%edx,%eax,8),%eax             
  108cde:	89 c1                	mov    %eax,%ecx                      
  108ce0:	c1 e1 0f             	shl    $0xf,%ecx                      
  108ce3:	01 c8                	add    %ecx,%eax                      
  108ce5:	8d 04 c2             	lea    (%edx,%eax,8),%eax             
  108ce8:	f7 d8                	neg    %eax                           
}                                                                     
  108cea:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108ced:	5b                   	pop    %ebx                           
  108cee:	5e                   	pop    %esi                           
  108cef:	5f                   	pop    %edi                           
  108cf0:	c9                   	leave                                 
  108cf1:	c3                   	ret                                   
  108cf2:	66 90                	xchg   %ax,%ax                        
   */                                                                 
                                                                      
  /* allocate a file control block */                                 
  iop = rtems_libio_allocate();                                       
  if ( iop == 0 ) {                                                   
    rc = ENFILE;                                                      
  108cf4:	bb 17 00 00 00       	mov    $0x17,%ebx                     
  if ( rc ) {                                                         
    if ( iop )                                                        
      rtems_libio_free( iop );                                        
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
  108cf9:	e8 3e 96 00 00       	call   11233c <__errno>               
  108cfe:	89 18                	mov    %ebx,(%eax)                    
  108d00:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  108d05:	eb e3                	jmp    108cea <open+0xee>             
  108d07:	90                   	nop                                   
    }                                                                 
                                                                      
  } 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;                                               
  108d08:	8d 75 d4             	lea    -0x2c(%ebp),%esi               
      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;                                                      
  108d0b:	bb 11 00 00 00       	mov    $0x11,%ebx                     
   */                                                                 
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
    if ( iop )                                                        
  108d10:	85 d2                	test   %edx,%edx                      
  108d12:	74 0c                	je     108d20 <open+0x124>            
      rtems_libio_free( iop );                                        
  108d14:	83 ec 0c             	sub    $0xc,%esp                      
  108d17:	52                   	push   %edx                           
  108d18:	e8 8b 6f 00 00       	call   10fca8 <rtems_libio_free>      
  108d1d:	83 c4 10             	add    $0x10,%esp                     
    if ( loc_to_free )                                                
  108d20:	85 f6                	test   %esi,%esi                      
  108d22:	74 d5                	je     108cf9 <open+0xfd>             
      rtems_filesystem_freenode( loc_to_free );                       
  108d24:	83 ec 0c             	sub    $0xc,%esp                      
  108d27:	56                   	push   %esi                           
  108d28:	e8 73 f3 ff ff       	call   1080a0 <rtems_filesystem_freenode>
  108d2d:	83 c4 10             	add    $0x10,%esp                     
  108d30:	eb c7                	jmp    108cf9 <open+0xfd>             
  108d32:	66 90                	xchg   %ax,%ax                        
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
  if ( rc ) {                                                         
    rc = errno;                                                       
  108d34:	e8 03 96 00 00       	call   11233c <__errno>               
  108d39:	8b 18                	mov    (%eax),%ebx                    
    rc = EEXIST;                                                      
    loc_to_free = &loc;                                               
    goto done;                                                        
  }                                                                   
                                                                      
  loc_to_free = &loc;                                                 
  108d3b:	8d 75 d4             	lea    -0x2c(%ebp),%esi               
  iop->pathinfo   = loc;                                              
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
  if ( rc ) {                                                         
    rc = errno;                                                       
    goto done;                                                        
  108d3e:	8b 55 c0             	mov    -0x40(%ebp),%edx               
   *  Single exit and clean up path.                                  
   */                                                                 
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
  108d41:	85 db                	test   %ebx,%ebx                      
  108d43:	74 84                	je     108cc9 <open+0xcd>             <== NEVER TAKEN
  108d45:	eb c9                	jmp    108d10 <open+0x114>            
  108d47:	90                   	nop                                   
   */                                                                 
  status = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
    if ( errno != ENOENT ) {                                          
  108d48:	e8 ef 95 00 00       	call   11233c <__errno>               
  108d4d:	83 38 02             	cmpl   $0x2,(%eax)                    
  108d50:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  108d53:	0f 84 9b 00 00 00    	je     108df4 <open+0x1f8>            
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
    if ( rc ) {                                                       
      rc = errno;                                                     
  108d59:	e8 de 95 00 00       	call   11233c <__errno>               
  108d5e:	8b 18                	mov    (%eax),%ebx                    
  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;             
  108d60:	31 f6                	xor    %esi,%esi                      
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
    if ( rc ) {                                                       
      rc = errno;                                                     
      goto done;                                                      
  108d62:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  108d65:	eb da                	jmp    108d41 <open+0x145>            
  108d67:	90                   	nop                                   
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
  108d68:	51                   	push   %ecx                           
  108d69:	6a 00                	push   $0x0                           
  108d6b:	6a 00                	push   $0x0                           
  108d6d:	89 d0                	mov    %edx,%eax                      
  108d6f:	2b 05 00 53 12 00    	sub    0x125300,%eax                  
  108d75:	c1 f8 03             	sar    $0x3,%eax                      
  108d78:	8d 0c c0             	lea    (%eax,%eax,8),%ecx             
  108d7b:	8d 0c c8             	lea    (%eax,%ecx,8),%ecx             
  108d7e:	8d 0c c8             	lea    (%eax,%ecx,8),%ecx             
  108d81:	8d 0c c8             	lea    (%eax,%ecx,8),%ecx             
  108d84:	89 cb                	mov    %ecx,%ebx                      
  108d86:	c1 e3 0f             	shl    $0xf,%ebx                      
  108d89:	01 d9                	add    %ebx,%ecx                      
  108d8b:	8d 04 c8             	lea    (%eax,%ecx,8),%eax             
  108d8e:	f7 d8                	neg    %eax                           
  108d90:	50                   	push   %eax                           
  108d91:	89 55 c0             	mov    %edx,-0x40(%ebp)               
  108d94:	e8 3f 6d 00 00       	call   10fad8 <ftruncate>             
  108d99:	89 c3                	mov    %eax,%ebx                      
    if ( rc ) {                                                       
  108d9b:	83 c4 10             	add    $0x10,%esp                     
  108d9e:	85 c0                	test   %eax,%eax                      
  108da0:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  108da3:	0f 84 20 ff ff ff    	je     108cc9 <open+0xcd>             
      if(errno) rc = errno;                                           
  108da9:	e8 8e 95 00 00       	call   11233c <__errno>               
  108dae:	8b 00                	mov    (%eax),%eax                    
  108db0:	85 c0                	test   %eax,%eax                      
  108db2:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  108db5:	0f 85 b2 00 00 00    	jne    108e6d <open+0x271>            <== ALWAYS TAKEN
      close( iop - rtems_libio_iops );                                
  108dbb:	83 ec 0c             	sub    $0xc,%esp                      
  108dbe:	2b 15 00 53 12 00    	sub    0x125300,%edx                  
  108dc4:	c1 fa 03             	sar    $0x3,%edx                      
  108dc7:	8d 04 d2             	lea    (%edx,%edx,8),%eax             
  108dca:	8d 04 c2             	lea    (%edx,%eax,8),%eax             
  108dcd:	8d 04 c2             	lea    (%edx,%eax,8),%eax             
  108dd0:	8d 04 c2             	lea    (%edx,%eax,8),%eax             
  108dd3:	89 c1                	mov    %eax,%ecx                      
  108dd5:	c1 e1 0f             	shl    $0xf,%ecx                      
  108dd8:	01 c8                	add    %ecx,%eax                      
  108dda:	8d 04 c2             	lea    (%edx,%eax,8),%eax             
  108ddd:	f7 d8                	neg    %eax                           
  108ddf:	50                   	push   %eax                           
  108de0:	e8 73 6c 00 00       	call   10fa58 <close>                 
  108de5:	83 c4 10             	add    $0x10,%esp                     
      /* those are released by close(): */                            
      iop = 0;                                                        
      loc_to_free = NULL;                                             
  108de8:	31 f6                	xor    %esi,%esi                      
    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;                                                        
  108dea:	31 d2                	xor    %edx,%edx                      
  108dec:	e9 50 ff ff ff       	jmp    108d41 <open+0x145>            
  108df1:	8d 76 00             	lea    0x0(%esi),%esi                 
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
  108df4:	f7 45 0c 00 02 00 00 	testl  $0x200,0xc(%ebp)               
  108dfb:	75 0f                	jne    108e0c <open+0x210>            
  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;             
  108dfd:	31 f6                	xor    %esi,%esi                      
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
      rc = ENOENT;                                                    
  108dff:	bb 02 00 00 00       	mov    $0x2,%ebx                      
  108e04:	e9 07 ff ff ff       	jmp    108d10 <open+0x114>            
  108e09:	8d 76 00             	lea    0x0(%esi),%esi                 
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
  108e0c:	6a 00                	push   $0x0                           
  108e0e:	6a 00                	push   $0x0                           
  108e10:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  108e13:	80 cc 80             	or     $0x80,%ah                      
  108e16:	50                   	push   %eax                           
  108e17:	ff 75 08             	pushl  0x8(%ebp)                      
  108e1a:	89 55 c0             	mov    %edx,-0x40(%ebp)               
  108e1d:	e8 2a f6 ff ff       	call   10844c <mknod>                 
    if ( rc ) {                                                       
  108e22:	83 c4 10             	add    $0x10,%esp                     
  108e25:	85 c0                	test   %eax,%eax                      
  108e27:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  108e2a:	0f 85 29 ff ff ff    	jne    108d59 <open+0x15d>            <== NEVER TAKEN
    /*                                                                
     * After we do the mknod(), we have to evaluate the path to get the
     * "loc" structure needed to actually have the file itself open.  
     * So we created it, and then we need to have "look it up."       
     */                                                               
    status = rtems_filesystem_evaluate_path(                          
  108e30:	89 d9                	mov    %ebx,%ecx                      
  108e32:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  108e35:	89 f0                	mov    %esi,%eax                      
  108e37:	f2 ae                	repnz scas %es:(%edi),%al             
  108e39:	f7 d1                	not    %ecx                           
  108e3b:	49                   	dec    %ecx                           
  108e3c:	83 ec 0c             	sub    $0xc,%esp                      
  108e3f:	6a 01                	push   $0x1                           
  108e41:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  108e44:	50                   	push   %eax                           
  108e45:	6a 00                	push   $0x0                           
  108e47:	51                   	push   %ecx                           
  108e48:	ff 75 08             	pushl  0x8(%ebp)                      
  108e4b:	89 55 c0             	mov    %edx,-0x40(%ebp)               
  108e4e:	e8 75 f1 ff ff       	call   107fc8 <rtems_filesystem_evaluate_path>
      pathname, strlen( pathname ), 0x0, &loc, true );                
    if ( status != 0 ) {   /* The file did not exist */               
  108e53:	83 c4 20             	add    $0x20,%esp                     
  108e56:	85 c0                	test   %eax,%eax                      
  108e58:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  108e5b:	0f 84 1c fe ff ff    	je     108c7d <open+0x81>             <== ALWAYS TAKEN
  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;             
  108e61:	31 f6                	xor    %esi,%esi                      
     * So we created it, and then we need to have "look it up."       
     */                                                               
    status = rtems_filesystem_evaluate_path(                          
      pathname, strlen( pathname ), 0x0, &loc, true );                
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
  108e63:	bb 0d 00 00 00       	mov    $0xd,%ebx                      <== NOT EXECUTED
  108e68:	e9 a3 fe ff ff       	jmp    108d10 <open+0x114>            <== NOT EXECUTED
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
  108e6d:	e8 ca 94 00 00       	call   11233c <__errno>               
  108e72:	8b 18                	mov    (%eax),%ebx                    
  108e74:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  108e77:	e9 3f ff ff ff       	jmp    108dbb <open+0x1bf>            
                                                                      

00109c00 <oproc>: /* * Handle output processing */ static void oproc (unsigned char c, struct rtems_termios_tty *tty) {
  109c00:	55                   	push   %ebp                           
  109c01:	89 e5                	mov    %esp,%ebp                      
  109c03:	56                   	push   %esi                           
  109c04:	53                   	push   %ebx                           
  109c05:	83 ec 10             	sub    $0x10,%esp                     
  109c08:	88 45 f4             	mov    %al,-0xc(%ebp)                 
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
  109c0b:	8b 4a 34             	mov    0x34(%edx),%ecx                
  109c0e:	f6 c1 01             	test   $0x1,%cl                       
  109c11:	74 31                	je     109c44 <oproc+0x44>            <== NEVER TAKEN
    switch (c) {                                                      
  109c13:	3c 09                	cmp    $0x9,%al                       
  109c15:	0f 84 b1 00 00 00    	je     109ccc <oproc+0xcc>            
  109c1b:	76 3f                	jbe    109c5c <oproc+0x5c>            <== NEVER TAKEN
  109c1d:	3c 0a                	cmp    $0xa,%al                       
  109c1f:	74 4f                	je     109c70 <oproc+0x70>            
  109c21:	3c 0d                	cmp    $0xd,%al                       
  109c23:	74 7f                	je     109ca4 <oproc+0xa4>            <== NEVER TAKEN
      if (tty->column > 0)                                            
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
  109c25:	83 e1 02             	and    $0x2,%ecx                      
  109c28:	0f 85 c6 00 00 00    	jne    109cf4 <oproc+0xf4>            <== NEVER TAKEN
  109c2e:	8b 0d f4 31 12 00    	mov    0x1231f4,%ecx                  
        c = toupper(c);                                               
      if (!iscntrl(c))                                                
  109c34:	0f b6 c0             	movzbl %al,%eax                       
  109c37:	f6 44 01 01 20       	testb  $0x20,0x1(%ecx,%eax,1)         
  109c3c:	75 06                	jne    109c44 <oproc+0x44>            <== NEVER TAKEN
        tty->column++;                                                
  109c3e:	ff 42 28             	incl   0x28(%edx)                     
  109c41:	8d 76 00             	lea    0x0(%esi),%esi                 
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
  109c44:	53                   	push   %ebx                           
  109c45:	52                   	push   %edx                           
  109c46:	6a 01                	push   $0x1                           
  109c48:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  109c4b:	50                   	push   %eax                           
  109c4c:	e8 7b fe ff ff       	call   109acc <rtems_termios_puts>    
  109c51:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  109c54:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  109c57:	5b                   	pop    %ebx                           
  109c58:	5e                   	pop    %esi                           
  109c59:	c9                   	leave                                 
  109c5a:	c3                   	ret                                   
  109c5b:	90                   	nop                                   
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
    switch (c) {                                                      
  109c5c:	3c 08                	cmp    $0x8,%al                       <== NOT EXECUTED
  109c5e:	75 c5                	jne    109c25 <oproc+0x25>            <== NOT EXECUTED
      }                                                               
      tty->column += i;                                               
      break;                                                          
                                                                      
    case '\b':                                                        
      if (tty->column > 0)                                            
  109c60:	8b 42 28             	mov    0x28(%edx),%eax                <== NOT EXECUTED
  109c63:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  109c65:	7e dd                	jle    109c44 <oproc+0x44>            <== NOT EXECUTED
        tty->column--;                                                
  109c67:	48                   	dec    %eax                           <== NOT EXECUTED
  109c68:	89 42 28             	mov    %eax,0x28(%edx)                <== NOT EXECUTED
  109c6b:	eb d7                	jmp    109c44 <oproc+0x44>            <== NOT EXECUTED
  109c6d:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
    switch (c) {                                                      
    case '\n':                                                        
      if (tty->termios.c_oflag & ONLRET)                              
  109c70:	f6 c1 20             	test   $0x20,%cl                      
  109c73:	74 07                	je     109c7c <oproc+0x7c>            <== ALWAYS TAKEN
        tty->column = 0;                                              
  109c75:	c7 42 28 00 00 00 00 	movl   $0x0,0x28(%edx)                <== NOT EXECUTED
      if (tty->termios.c_oflag & ONLCR) {                             
  109c7c:	83 e1 04             	and    $0x4,%ecx                      
  109c7f:	74 c3                	je     109c44 <oproc+0x44>            <== NEVER TAKEN
        rtems_termios_puts ("\r", 1, tty);                            
  109c81:	51                   	push   %ecx                           
  109c82:	52                   	push   %edx                           
  109c83:	6a 01                	push   $0x1                           
  109c85:	68 24 fc 11 00       	push   $0x11fc24                      
  109c8a:	89 55 f0             	mov    %edx,-0x10(%ebp)               
  109c8d:	e8 3a fe ff ff       	call   109acc <rtems_termios_puts>    
        tty->column = 0;                                              
  109c92:	8b 55 f0             	mov    -0x10(%ebp),%edx               
  109c95:	c7 42 28 00 00 00 00 	movl   $0x0,0x28(%edx)                
  109c9c:	83 c4 10             	add    $0x10,%esp                     
  109c9f:	eb a3                	jmp    109c44 <oproc+0x44>            
  109ca1:	8d 76 00             	lea    0x0(%esi),%esi                 
      }                                                               
      break;                                                          
                                                                      
    case '\r':                                                        
      if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))       
  109ca4:	f6 c1 10             	test   $0x10,%cl                      <== NOT EXECUTED
  109ca7:	74 07                	je     109cb0 <oproc+0xb0>            <== NOT EXECUTED
  109ca9:	8b 42 28             	mov    0x28(%edx),%eax                <== NOT EXECUTED
  109cac:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  109cae:	74 a4                	je     109c54 <oproc+0x54>            <== NOT EXECUTED
        return;                                                       
      if (tty->termios.c_oflag & OCRNL) {                             
  109cb0:	f6 c1 08             	test   $0x8,%cl                       <== NOT EXECUTED
  109cb3:	74 09                	je     109cbe <oproc+0xbe>            <== NOT EXECUTED
        c = '\n';                                                     
  109cb5:	c6 45 f4 0a          	movb   $0xa,-0xc(%ebp)                <== NOT EXECUTED
        if (tty->termios.c_oflag & ONLRET)                            
  109cb9:	83 e1 20             	and    $0x20,%ecx                     <== NOT EXECUTED
  109cbc:	74 86                	je     109c44 <oproc+0x44>            <== NOT EXECUTED
          tty->column = 0;                                            
        break;                                                        
      }                                                               
      tty->column = 0;                                                
  109cbe:	c7 42 28 00 00 00 00 	movl   $0x0,0x28(%edx)                <== NOT EXECUTED
      break;                                                          
  109cc5:	e9 7a ff ff ff       	jmp    109c44 <oproc+0x44>            <== NOT EXECUTED
  109cca:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
  109ccc:	8b 5a 28             	mov    0x28(%edx),%ebx                
  109ccf:	89 de                	mov    %ebx,%esi                      
  109cd1:	83 e6 07             	and    $0x7,%esi                      
  109cd4:	b8 08 00 00 00       	mov    $0x8,%eax                      
  109cd9:	29 f0                	sub    %esi,%eax                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
  109cdb:	81 e1 00 18 00 00    	and    $0x1800,%ecx                   
  109ce1:	81 f9 00 18 00 00    	cmp    $0x1800,%ecx                   
  109ce7:	74 37                	je     109d20 <oproc+0x120>           <== ALWAYS TAKEN
        tty->column += i;                                             
        rtems_termios_puts ( "        ",  i, tty);                    
        return;                                                       
      }                                                               
      tty->column += i;                                               
  109ce9:	01 d8                	add    %ebx,%eax                      <== NOT EXECUTED
  109ceb:	89 42 28             	mov    %eax,0x28(%edx)                <== NOT EXECUTED
      break;                                                          
  109cee:	e9 51 ff ff ff       	jmp    109c44 <oproc+0x44>            <== NOT EXECUTED
  109cf3:	90                   	nop                                   <== NOT EXECUTED
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
        c = toupper(c);                                               
  109cf4:	8b 0d f4 31 12 00    	mov    0x1231f4,%ecx                  <== NOT EXECUTED
  109cfa:	0f b6 c0             	movzbl %al,%eax                       <== NOT EXECUTED
  109cfd:	0f be 5c 01 01       	movsbl 0x1(%ecx,%eax,1),%ebx          <== NOT EXECUTED
  109d02:	83 e3 03             	and    $0x3,%ebx                      <== NOT EXECUTED
  109d05:	83 fb 02             	cmp    $0x2,%ebx                      <== NOT EXECUTED
  109d08:	74 0e                	je     109d18 <oproc+0x118>           <== NOT EXECUTED
  109d0a:	89 c3                	mov    %eax,%ebx                      <== NOT EXECUTED
  109d0c:	88 d8                	mov    %bl,%al                        <== NOT EXECUTED
  109d0e:	88 5d f4             	mov    %bl,-0xc(%ebp)                 <== NOT EXECUTED
  109d11:	e9 1e ff ff ff       	jmp    109c34 <oproc+0x34>            <== NOT EXECUTED
  109d16:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
  109d18:	8d 58 e0             	lea    -0x20(%eax),%ebx               <== NOT EXECUTED
  109d1b:	eb ef                	jmp    109d0c <oproc+0x10c>           <== NOT EXECUTED
  109d1d:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
        tty->column += i;                                             
  109d20:	8d 1c 18             	lea    (%eax,%ebx,1),%ebx             
  109d23:	89 5a 28             	mov    %ebx,0x28(%edx)                
        rtems_termios_puts ( "        ",  i, tty);                    
  109d26:	56                   	push   %esi                           
  109d27:	52                   	push   %edx                           
  109d28:	50                   	push   %eax                           
  109d29:	68 bc f7 11 00       	push   $0x11f7bc                      
  109d2e:	e8 99 fd ff ff       	call   109acc <rtems_termios_puts>    
        return;                                                       
  109d33:	83 c4 10             	add    $0x10,%esp                     
  109d36:	e9 19 ff ff ff       	jmp    109c54 <oproc+0x54>            
                                                                      

0010a038 <pathconf>: long pathconf( const char *path, int name ) {
  10a038:	55                   	push   %ebp                           
  10a039:	89 e5                	mov    %esp,%ebp                      
  10a03b:	56                   	push   %esi                           
  10a03c:	53                   	push   %ebx                           
  int status;                                                         
  int fd;                                                             
                                                                      
  fd = open( path, O_RDONLY );                                        
  10a03d:	83 ec 08             	sub    $0x8,%esp                      
  10a040:	6a 00                	push   $0x0                           
  10a042:	ff 75 08             	pushl  0x8(%ebp)                      
  10a045:	e8 4e fd ff ff       	call   109d98 <open>                  
  10a04a:	89 c3                	mov    %eax,%ebx                      
  if ( fd == -1 )                                                     
  10a04c:	83 c4 10             	add    $0x10,%esp                     
  10a04f:	83 f8 ff             	cmp    $0xffffffff,%eax               
  10a052:	74 24                	je     10a078 <pathconf+0x40>         
    return -1;                                                        
                                                                      
  status = fpathconf( fd, name );                                     
  10a054:	83 ec 08             	sub    $0x8,%esp                      
  10a057:	ff 75 0c             	pushl  0xc(%ebp)                      
  10a05a:	50                   	push   %eax                           
  10a05b:	e8 c0 ec ff ff       	call   108d20 <fpathconf>             
  10a060:	89 c6                	mov    %eax,%esi                      
                                                                      
  (void) close( fd );                                                 
  10a062:	89 1c 24             	mov    %ebx,(%esp)                    
  10a065:	e8 56 e8 ff ff       	call   1088c0 <close>                 
                                                                      
  return status;                                                      
  10a06a:	83 c4 10             	add    $0x10,%esp                     
  10a06d:	89 f0                	mov    %esi,%eax                      
}                                                                     
  10a06f:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10a072:	5b                   	pop    %ebx                           
  10a073:	5e                   	pop    %esi                           
  10a074:	c9                   	leave                                 
  10a075:	c3                   	ret                                   
  10a076:	66 90                	xchg   %ax,%ax                        
  int status;                                                         
  int fd;                                                             
                                                                      
  fd = open( path, O_RDONLY );                                        
  if ( fd == -1 )                                                     
    return -1;                                                        
  10a078:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  status = fpathconf( fd, name );                                     
                                                                      
  (void) close( fd );                                                 
                                                                      
  return status;                                                      
}                                                                     
  10a07d:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10a080:	5b                   	pop    %ebx                           
  10a081:	5e                   	pop    %esi                           
  10a082:	c9                   	leave                                 
  10a083:	c3                   	ret                                   
                                                                      

00110b7c <pipe_create>: * Called by pipe() to create an anonymous pipe. */ int pipe_create( int filsdes[2] ) {
  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 24             	sub    $0x24,%esp                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
  110b85:	68 ff 01 00 00       	push   $0x1ff                         
  110b8a:	68 4c 18 12 00       	push   $0x12184c                      
  110b8f:	e8 98 16 00 00       	call   11222c <rtems_mkdir>           
  110b94:	83 c4 10             	add    $0x10,%esp                     
  110b97:	85 c0                	test   %eax,%eax                      
  110b99:	74 0d                	je     110ba8 <pipe_create+0x2c>      <== ALWAYS TAKEN
    return -1;                                                        
  110b9b:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
}                                                                     
  110ba0:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110ba3:	5b                   	pop    %ebx                           
  110ba4:	5e                   	pop    %esi                           
  110ba5:	5f                   	pop    %edi                           
  110ba6:	c9                   	leave                                 
  110ba7:	c3                   	ret                                   
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
  110ba8:	8d 5d d9             	lea    -0x27(%ebp),%ebx               
  110bab:	be 51 18 12 00       	mov    $0x121851,%esi                 
  110bb0:	b9 0a 00 00 00       	mov    $0xa,%ecx                      
  110bb5:	89 df                	mov    %ebx,%edi                      
  110bb7:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
  110bb9:	0f b7 05 cc 76 12 00 	movzwl 0x1276cc,%eax                  
  110bc0:	8d 50 01             	lea    0x1(%eax),%edx                 
  110bc3:	66 89 15 cc 76 12 00 	mov    %dx,0x1276cc                   
  110bca:	51                   	push   %ecx                           
  110bcb:	50                   	push   %eax                           
  110bcc:	68 5c 18 12 00       	push   $0x12185c                      
  110bd1:	8d 45 e3             	lea    -0x1d(%ebp),%eax               
  110bd4:	50                   	push   %eax                           
  110bd5:	e8 72 37 00 00       	call   11434c <sprintf>               
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
  110bda:	58                   	pop    %eax                           
  110bdb:	5a                   	pop    %edx                           
  110bdc:	68 80 01 00 00       	push   $0x180                         
  110be1:	53                   	push   %ebx                           
  110be2:	e8 8d 13 00 00       	call   111f74 <mkfifo>                
  110be7:	83 c4 10             	add    $0x10,%esp                     
  110bea:	85 c0                	test   %eax,%eax                      
  110bec:	0f 85 a6 00 00 00    	jne    110c98 <pipe_create+0x11c>     
    return -1;                                                        
    /* sprintf(fifopath + 10, "%04x", rtems_pipe_no ++); */           
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
  110bf2:	83 ec 08             	sub    $0x8,%esp                      
  110bf5:	68 00 40 00 00       	push   $0x4000                        
  110bfa:	53                   	push   %ebx                           
  110bfb:	e8 50 92 ff ff       	call   109e50 <open>                  
  110c00:	8b 55 08             	mov    0x8(%ebp),%edx                 
  110c03:	89 02                	mov    %eax,(%edx)                    
  if (filsdes[0] < 0) {                                               
  110c05:	83 c4 10             	add    $0x10,%esp                     
  110c08:	85 c0                	test   %eax,%eax                      
  110c0a:	78 58                	js     110c64 <pipe_create+0xe8>      
     the file node will be deleted after it is closed by all. */      
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
  110c0c:	3b 05 0c 37 12 00    	cmp    0x12370c,%eax                  
  110c12:	72 3c                	jb     110c50 <pipe_create+0xd4>      <== ALWAYS TAKEN
  110c14:	31 d2                	xor    %edx,%edx                      
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
  110c16:	83 62 14 fe          	andl   $0xfffffffe,0x14(%edx)         
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
  110c1a:	83 ec 08             	sub    $0x8,%esp                      
  110c1d:	6a 01                	push   $0x1                           
  110c1f:	53                   	push   %ebx                           
  110c20:	e8 2b 92 ff ff       	call   109e50 <open>                  
  110c25:	8b 55 08             	mov    0x8(%ebp),%edx                 
  110c28:	89 42 04             	mov    %eax,0x4(%edx)                 
                                                                      
    if (filsdes[1] < 0) {                                             
  110c2b:	83 c4 10             	add    $0x10,%esp                     
  110c2e:	85 c0                	test   %eax,%eax                      
  110c30:	78 4a                	js     110c7c <pipe_create+0x100>     
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
  110c32:	31 f6                	xor    %esi,%esi                      
                                                                      
    if (filsdes[1] < 0) {                                             
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
  110c34:	83 ec 0c             	sub    $0xc,%esp                      
  110c37:	53                   	push   %ebx                           
  110c38:	e8 5f b2 ff ff       	call   10be9c <unlink>                
  110c3d:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
  if(err != 0)                                                        
  110c40:	85 f6                	test   %esi,%esi                      
  110c42:	75 63                	jne    110ca7 <pipe_create+0x12b>     
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
  110c44:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110c46:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110c49:	5b                   	pop    %ebx                           
  110c4a:	5e                   	pop    %esi                           
  110c4b:	5f                   	pop    %edi                           
  110c4c:	c9                   	leave                                 
  110c4d:	c3                   	ret                                   
  110c4e:	66 90                	xchg   %ax,%ax                        
     the file node will be deleted after it is closed by all. */      
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
  110c50:	c1 e0 03             	shl    $0x3,%eax                      
  110c53:	8d 14 c5 00 00 00 00 	lea    0x0(,%eax,8),%edx              
  110c5a:	29 c2                	sub    %eax,%edx                      
  110c5c:	03 15 00 79 12 00    	add    0x127900,%edx                  
  110c62:	eb b2                	jmp    110c16 <pipe_create+0x9a>      
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
  if (filsdes[0] < 0) {                                               
    err = errno;                                                      
  110c64:	e8 4b 2d 00 00       	call   1139b4 <__errno>               
  110c69:	8b 30                	mov    (%eax),%esi                    
    /* 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);                                                 
  110c6b:	83 ec 0c             	sub    $0xc,%esp                      
  110c6e:	53                   	push   %ebx                           
  110c6f:	e8 28 b2 ff ff       	call   10be9c <unlink>                
  110c74:	83 c4 10             	add    $0x10,%esp                     
  110c77:	eb c7                	jmp    110c40 <pipe_create+0xc4>      
  110c79:	8d 76 00             	lea    0x0(%esi),%esi                 
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
                                                                      
    if (filsdes[1] < 0) {                                             
    err = errno;                                                      
  110c7c:	e8 33 2d 00 00       	call   1139b4 <__errno>               
  110c81:	8b 30                	mov    (%eax),%esi                    
    close(filsdes[0]);                                                
  110c83:	83 ec 0c             	sub    $0xc,%esp                      
  110c86:	8b 45 08             	mov    0x8(%ebp),%eax                 
  110c89:	ff 30                	pushl  (%eax)                         
  110c8b:	e8 48 82 ff ff       	call   108ed8 <close>                 
  110c90:	83 c4 10             	add    $0x10,%esp                     
  110c93:	eb 9f                	jmp    110c34 <pipe_create+0xb8>      
  110c95:	8d 76 00             	lea    0x0(%esi),%esi                 
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
    if (errno != EEXIST){                                             
  110c98:	e8 17 2d 00 00       	call   1139b4 <__errno>               
      return -1;                                                      
  110c9d:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  110ca2:	e9 f9 fe ff ff       	jmp    110ba0 <pipe_create+0x24>      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
    rtems_set_errno_and_return_minus_one(err);                        
  110ca7:	e8 08 2d 00 00       	call   1139b4 <__errno>               
  110cac:	89 30                	mov    %esi,(%eax)                    
  110cae:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  110cb3:	e9 e8 fe ff ff       	jmp    110ba0 <pipe_create+0x24>      
                                                                      

00112074 <pipe_ioctl>: pipe_control_t *pipe, uint32_t cmd, void *buffer, rtems_libio_t *iop ) {
  112074:	55                   	push   %ebp                           
  112075:	89 e5                	mov    %esp,%ebp                      
  112077:	56                   	push   %esi                           
  112078:	53                   	push   %ebx                           
  112079:	8b 75 08             	mov    0x8(%ebp),%esi                 
  11207c:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  if (cmd == FIONREAD) {                                              
  11207f:	81 7d 0c 7f 66 04 40 	cmpl   $0x4004667f,0xc(%ebp)          
  112086:	74 0c                	je     112094 <pipe_ioctl+0x20>       
    *(unsigned int *)buffer = pipe->Length;                           
    PIPE_UNLOCK(pipe);                                                
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
  112088:	b8 ea ff ff ff       	mov    $0xffffffea,%eax               
}                                                                     
  11208d:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  112090:	5b                   	pop    %ebx                           
  112091:	5e                   	pop    %esi                           
  112092:	c9                   	leave                                 
  112093:	c3                   	ret                                   
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
  112094:	85 db                	test   %ebx,%ebx                      
  112096:	75 07                	jne    11209f <pipe_ioctl+0x2b>       
      return -EFAULT;                                                 
  112098:	b8 f2 ff ff ff       	mov    $0xfffffff2,%eax               
  11209d:	eb ee                	jmp    11208d <pipe_ioctl+0x19>       
                                                                      
    if (! PIPE_LOCK(pipe))                                            
  11209f:	50                   	push   %eax                           
  1120a0:	6a 00                	push   $0x0                           
  1120a2:	6a 00                	push   $0x0                           
  1120a4:	ff 76 28             	pushl  0x28(%esi)                     
  1120a7:	e8 a8 b3 ff ff       	call   10d454 <rtems_semaphore_obtain>
  1120ac:	83 c4 10             	add    $0x10,%esp                     
  1120af:	85 c0                	test   %eax,%eax                      
  1120b1:	74 07                	je     1120ba <pipe_ioctl+0x46>       <== ALWAYS TAKEN
      return -EINTR;                                                  
  1120b3:	b8 fc ff ff ff       	mov    $0xfffffffc,%eax               <== NOT EXECUTED
  1120b8:	eb d3                	jmp    11208d <pipe_ioctl+0x19>       <== NOT EXECUTED
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
  1120ba:	8b 46 0c             	mov    0xc(%esi),%eax                 
  1120bd:	89 03                	mov    %eax,(%ebx)                    
    PIPE_UNLOCK(pipe);                                                
  1120bf:	83 ec 0c             	sub    $0xc,%esp                      
  1120c2:	ff 76 28             	pushl  0x28(%esi)                     
  1120c5:	e8 86 b4 ff ff       	call   10d550 <rtems_semaphore_release>
    return 0;                                                         
  1120ca:	83 c4 10             	add    $0x10,%esp                     
  1120cd:	31 c0                	xor    %eax,%eax                      
  1120cf:	eb bc                	jmp    11208d <pipe_ioctl+0x19>       
                                                                      

00111cd8 <pipe_read>: pipe_control_t *pipe, void *buffer, size_t count, rtems_libio_t *iop ) {
  111cd8:	55                   	push   %ebp                           
  111cd9:	89 e5                	mov    %esp,%ebp                      
  111cdb:	57                   	push   %edi                           
  111cdc:	56                   	push   %esi                           
  111cdd:	53                   	push   %ebx                           
  111cde:	83 ec 30             	sub    $0x30,%esp                     
  111ce1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
  111ce4:	6a 00                	push   $0x0                           
  111ce6:	6a 00                	push   $0x0                           
  111ce8:	ff 73 28             	pushl  0x28(%ebx)                     
  111ceb:	e8 64 b7 ff ff       	call   10d454 <rtems_semaphore_obtain>
  111cf0:	83 c4 10             	add    $0x10,%esp                     
  111cf3:	85 c0                	test   %eax,%eax                      
  111cf5:	0f 85 ad 00 00 00    	jne    111da8 <pipe_read+0xd0>        <== NEVER TAKEN
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
  111cfb:	8b 45 10             	mov    0x10(%ebp),%eax                
  111cfe:	85 c0                	test   %eax,%eax                      
  111d00:	0f 84 7a 01 00 00    	je     111e80 <pipe_read+0x1a8>       <== NEVER TAKEN
  111d06:	c7 45 d0 00 00 00 00 	movl   $0x0,-0x30(%ebp)               
  111d0d:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
    while (PIPE_EMPTY(pipe)) {                                        
  111d14:	8b 53 0c             	mov    0xc(%ebx),%edx                 
  111d17:	85 d2                	test   %edx,%edx                      
  111d19:	0f 85 99 00 00 00    	jne    111db8 <pipe_read+0xe0>        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
  111d1f:	8b 7b 14             	mov    0x14(%ebx),%edi                
  111d22:	85 ff                	test   %edi,%edi                      
  111d24:	0f 84 fe 00 00 00    	je     111e28 <pipe_read+0x150>       <== NEVER TAKEN
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
  111d2a:	8b 45 14             	mov    0x14(%ebp),%eax                
  111d2d:	f6 40 14 01          	testb  $0x1,0x14(%eax)                
  111d31:	0f 85 f9 00 00 00    	jne    111e30 <pipe_read+0x158>       <== NEVER TAKEN
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
  111d37:	ff 43 18             	incl   0x18(%ebx)                     
      PIPE_UNLOCK(pipe);                                              
  111d3a:	83 ec 0c             	sub    $0xc,%esp                      
  111d3d:	ff 73 28             	pushl  0x28(%ebx)                     
  111d40:	e8 0b b8 ff ff       	call   10d550 <rtems_semaphore_release>
      if (! PIPE_READWAIT(pipe))                                      
  111d45:	59                   	pop    %ecx                           
  111d46:	5e                   	pop    %esi                           
  111d47:	6a 00                	push   $0x0                           
  111d49:	ff 73 2c             	pushl  0x2c(%ebx)                     
  111d4c:	e8 43 0f 00 00       	call   112c94 <rtems_barrier_wait>    
  111d51:	83 c4 0c             	add    $0xc,%esp                      
  111d54:	83 f8 01             	cmp    $0x1,%eax                      
  111d57:	19 f6                	sbb    %esi,%esi                      
  111d59:	f7 d6                	not    %esi                           
  111d5b:	83 e6 fc             	and    $0xfffffffc,%esi               
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
  111d5e:	6a 00                	push   $0x0                           
  111d60:	6a 00                	push   $0x0                           
  111d62:	ff 73 28             	pushl  0x28(%ebx)                     
  111d65:	e8 ea b6 ff ff       	call   10d454 <rtems_semaphore_obtain>
  111d6a:	83 c4 10             	add    $0x10,%esp                     
  111d6d:	85 c0                	test   %eax,%eax                      
  111d6f:	0f 85 c7 00 00 00    	jne    111e3c <pipe_read+0x164>       <== NEVER TAKEN
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
  111d75:	ff 4b 18             	decl   0x18(%ebx)                     
      if (ret != 0)                                                   
  111d78:	85 f6                	test   %esi,%esi                      
  111d7a:	74 98                	je     111d14 <pipe_read+0x3c>        <== ALWAYS TAKEN
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
  111d7c:	83 ec 0c             	sub    $0xc,%esp                      
  111d7f:	ff 73 28             	pushl  0x28(%ebx)                     
  111d82:	e8 c9 b7 ff ff       	call   10d550 <rtems_semaphore_release>
  111d87:	83 c4 10             	add    $0x10,%esp                     
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
  111d8a:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  111d8d:	85 c0                	test   %eax,%eax                      
  111d8f:	7e 0b                	jle    111d9c <pipe_read+0xc4>        
  111d91:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
    return read;                                                      
  return ret;                                                         
}                                                                     
  111d94:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  111d97:	5b                   	pop    %ebx                           
  111d98:	5e                   	pop    %esi                           
  111d99:	5f                   	pop    %edi                           
  111d9a:	c9                   	leave                                 
  111d9b:	c3                   	ret                                   
  PIPE_UNLOCK(pipe);                                                  
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
    return read;                                                      
  return ret;                                                         
  111d9c:	89 f0                	mov    %esi,%eax                      
}                                                                     
  111d9e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  111da1:	5b                   	pop    %ebx                           
  111da2:	5e                   	pop    %esi                           
  111da3:	5f                   	pop    %edi                           
  111da4:	c9                   	leave                                 
  111da5:	c3                   	ret                                   
  111da6:	66 90                	xchg   %ax,%ax                        
)                                                                     
{                                                                     
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
  111da8:	b8 fc ff ff ff       	mov    $0xfffffffc,%eax               <== NOT EXECUTED
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
    return read;                                                      
  return ret;                                                         
}                                                                     
  111dad:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  111db0:	5b                   	pop    %ebx                           <== NOT EXECUTED
  111db1:	5e                   	pop    %esi                           <== NOT EXECUTED
  111db2:	5f                   	pop    %edi                           <== NOT EXECUTED
  111db3:	c9                   	leave                                 <== NOT EXECUTED
  111db4:	c3                   	ret                                   <== NOT EXECUTED
  111db5:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
  111db8:	8b 45 10             	mov    0x10(%ebp),%eax                
  111dbb:	2b 45 d0             	sub    -0x30(%ebp),%eax               
  111dbe:	89 55 cc             	mov    %edx,-0x34(%ebp)               
  111dc1:	39 c2                	cmp    %eax,%edx                      
  111dc3:	76 03                	jbe    111dc8 <pipe_read+0xf0>        
  111dc5:	89 45 cc             	mov    %eax,-0x34(%ebp)               
    chunk1 = pipe->Size - pipe->Start;                                
  111dc8:	8b 73 08             	mov    0x8(%ebx),%esi                 
  111dcb:	8b 43 04             	mov    0x4(%ebx),%eax                 
  111dce:	29 f0                	sub    %esi,%eax                      
    if (chunk > chunk1) {                                             
  111dd0:	39 45 cc             	cmp    %eax,-0x34(%ebp)               
  111dd3:	7f 71                	jg     111e46 <pipe_read+0x16e>       
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
  111dd5:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  111dd8:	03 45 d0             	add    -0x30(%ebp),%eax               
  111ddb:	03 33                	add    (%ebx),%esi                    
  111ddd:	89 c7                	mov    %eax,%edi                      
  111ddf:	8b 4d cc             	mov    -0x34(%ebp),%ecx               
  111de2:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
                                                                      
    pipe->Start += chunk;                                             
  111de4:	8b 45 cc             	mov    -0x34(%ebp),%eax               
  111de7:	03 43 08             	add    0x8(%ebx),%eax                 
    pipe->Start %= pipe->Size;                                        
  111dea:	31 d2                	xor    %edx,%edx                      
  111dec:	f7 73 04             	divl   0x4(%ebx)                      
  111def:	89 53 08             	mov    %edx,0x8(%ebx)                 
    pipe->Length -= chunk;                                            
  111df2:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  111df5:	2b 45 cc             	sub    -0x34(%ebp),%eax               
  111df8:	89 43 0c             	mov    %eax,0xc(%ebx)                 
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
  111dfb:	85 c0                	test   %eax,%eax                      
  111dfd:	75 07                	jne    111e06 <pipe_read+0x12e>       
      pipe->Start = 0;                                                
  111dff:	c7 43 08 00 00 00 00 	movl   $0x0,0x8(%ebx)                 
                                                                      
    if (pipe->waitingWriters > 0)                                     
  111e06:	8b 53 1c             	mov    0x1c(%ebx),%edx                
  111e09:	85 d2                	test   %edx,%edx                      
  111e0b:	75 5f                	jne    111e6c <pipe_read+0x194>       
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  111e0d:	8b 45 cc             	mov    -0x34(%ebp),%eax               
  111e10:	01 45 d4             	add    %eax,-0x2c(%ebp)               
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
  111e13:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  111e16:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  111e19:	8b 45 10             	mov    0x10(%ebp),%eax                
  111e1c:	39 45 d4             	cmp    %eax,-0x2c(%ebp)               
  111e1f:	0f 82 ef fe ff ff    	jb     111d14 <pipe_read+0x3c>        <== NEVER TAKEN
  111e25:	8d 76 00             	lea    0x0(%esi),%esi                 
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
  111e28:	31 f6                	xor    %esi,%esi                      
  111e2a:	e9 4d ff ff ff       	jmp    111d7c <pipe_read+0xa4>        
  111e2f:	90                   	nop                                   
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
  111e30:	be f5 ff ff ff       	mov    $0xfffffff5,%esi               
  111e35:	e9 42 ff ff ff       	jmp    111d7c <pipe_read+0xa4>        
  111e3a:	66 90                	xchg   %ax,%ax                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
  111e3c:	be fc ff ff ff       	mov    $0xfffffffc,%esi               <== NOT EXECUTED
  111e41:	e9 44 ff ff ff       	jmp    111d8a <pipe_read+0xb2>        <== NOT EXECUTED
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    chunk1 = pipe->Size - pipe->Start;                                
    if (chunk > chunk1) {                                             
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
  111e46:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  111e49:	03 55 d0             	add    -0x30(%ebp),%edx               
  111e4c:	03 33                	add    (%ebx),%esi                    
  111e4e:	89 d7                	mov    %edx,%edi                      
  111e50:	89 c1                	mov    %eax,%ecx                      
  111e52:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
  111e54:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  111e57:	01 c2                	add    %eax,%edx                      
  111e59:	03 55 0c             	add    0xc(%ebp),%edx                 
  111e5c:	8b 4d cc             	mov    -0x34(%ebp),%ecx               
  111e5f:	29 c1                	sub    %eax,%ecx                      
  111e61:	8b 33                	mov    (%ebx),%esi                    
  111e63:	89 d7                	mov    %edx,%edi                      
  111e65:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
  111e67:	e9 78 ff ff ff       	jmp    111de4 <pipe_read+0x10c>       
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
  111e6c:	83 ec 08             	sub    $0x8,%esp                      
  111e6f:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  111e72:	50                   	push   %eax                           
  111e73:	ff 73 30             	pushl  0x30(%ebx)                     
  111e76:	e8 b5 0d 00 00       	call   112c30 <rtems_barrier_release> 
  111e7b:	83 c4 10             	add    $0x10,%esp                     
  111e7e:	eb 8d                	jmp    111e0d <pipe_read+0x135>       
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
  111e80:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               <== NOT EXECUTED
  111e87:	31 f6                	xor    %esi,%esi                      <== NOT EXECUTED
  111e89:	e9 ee fe ff ff       	jmp    111d7c <pipe_read+0xa4>        <== NOT EXECUTED
                                                                      

001117c4 <pipe_release>: */ void pipe_release( pipe_control_t **pipep, rtems_libio_t *iop ) {
  1117c4:	55                   	push   %ebp                           
  1117c5:	89 e5                	mov    %esp,%ebp                      
  1117c7:	57                   	push   %edi                           
  1117c8:	56                   	push   %esi                           
  1117c9:	53                   	push   %ebx                           
  1117ca:	83 ec 1c             	sub    $0x1c,%esp                     
  1117cd:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  pipe_control_t *pipe = *pipep;                                      
  1117d0:	8b 1f                	mov    (%edi),%ebx                    
    /* WARN pipe not released! */                                     
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  1117d2:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  1117d5:	8b 40 14             	mov    0x14(%eax),%eax                
  1117d8:	89 c6                	mov    %eax,%esi                      
  1117da:	83 e6 06             	and    $0x6,%esi                      
  if (mode & LIBIO_FLAGS_READ)                                        
  1117dd:	a8 02                	test   $0x2,%al                       
  1117df:	74 03                	je     1117e4 <pipe_release+0x20>     
     pipe->Readers --;                                                
  1117e1:	ff 4b 10             	decl   0x10(%ebx)                     
  if (mode & LIBIO_FLAGS_WRITE)                                       
  1117e4:	f7 c6 04 00 00 00    	test   $0x4,%esi                      
  1117ea:	74 03                	je     1117ef <pipe_release+0x2b>     
     pipe->Writers --;                                                
  1117ec:	ff 4b 14             	decl   0x14(%ebx)                     
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  1117ef:	83 ec 0c             	sub    $0xc,%esp                      
  1117f2:	ff 73 28             	pushl  0x28(%ebx)                     
  1117f5:	e8 56 bd ff ff       	call   10d550 <rtems_semaphore_release>
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
  1117fa:	83 c4 10             	add    $0x10,%esp                     
  1117fd:	8b 53 10             	mov    0x10(%ebx),%edx                
  111800:	85 d2                	test   %edx,%edx                      
  111802:	74 2c                	je     111830 <pipe_release+0x6c>     
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
  111804:	8b 43 14             	mov    0x14(%ebx),%eax                
  111807:	85 c0                	test   %eax,%eax                      
  111809:	75 17                	jne    111822 <pipe_release+0x5e>     <== NEVER TAKEN
  11180b:	83 fe 02             	cmp    $0x2,%esi                      
  11180e:	74 12                	je     111822 <pipe_release+0x5e>     <== NEVER TAKEN
    PIPE_WAKEUPREADERS(pipe);                                         
  111810:	83 ec 08             	sub    $0x8,%esp                      
  111813:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  111816:	50                   	push   %eax                           
  111817:	ff 73 2c             	pushl  0x2c(%ebx)                     
  11181a:	e8 11 14 00 00       	call   112c30 <rtems_barrier_release> 
  11181f:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  pipe_unlock();                                                      
  111822:	e8 85 ff ff ff       	call   1117ac <pipe_unlock>           
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
  111827:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11182a:	5b                   	pop    %ebx                           
  11182b:	5e                   	pop    %esi                           
  11182c:	5f                   	pop    %edi                           
  11182d:	c9                   	leave                                 
  11182e:	c3                   	ret                                   
  11182f:	90                   	nop                                   
  if (mode & LIBIO_FLAGS_WRITE)                                       
     pipe->Writers --;                                                
                                                                      
  PIPE_UNLOCK(pipe);                                                  
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
  111830:	8b 43 14             	mov    0x14(%ebx),%eax                
  111833:	85 c0                	test   %eax,%eax                      
  111835:	74 25                	je     11185c <pipe_release+0x98>     
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
  111837:	83 fe 04             	cmp    $0x4,%esi                      
  11183a:	74 e6                	je     111822 <pipe_release+0x5e>     <== NEVER TAKEN
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
  11183c:	83 ec 08             	sub    $0x8,%esp                      
  11183f:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  111842:	50                   	push   %eax                           
  111843:	ff 73 30             	pushl  0x30(%ebx)                     
  111846:	e8 e5 13 00 00       	call   112c30 <rtems_barrier_release> 
  11184b:	83 c4 10             	add    $0x10,%esp                     
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
    PIPE_WAKEUPREADERS(pipe);                                         
                                                                      
  pipe_unlock();                                                      
  11184e:	e8 59 ff ff ff       	call   1117ac <pipe_unlock>           
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
  111853:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  111856:	5b                   	pop    %ebx                           
  111857:	5e                   	pop    %esi                           
  111858:	5f                   	pop    %edi                           
  111859:	c9                   	leave                                 
  11185a:	c3                   	ret                                   
  11185b:	90                   	nop                                   
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
  11185c:	83 ec 0c             	sub    $0xc,%esp                      
  11185f:	ff 73 2c             	pushl  0x2c(%ebx)                     
  111862:	e8 39 13 00 00       	call   112ba0 <rtems_barrier_delete>  
  rtems_barrier_delete(pipe->writeBarrier);                           
  111867:	5e                   	pop    %esi                           
  111868:	ff 73 30             	pushl  0x30(%ebx)                     
  11186b:	e8 30 13 00 00       	call   112ba0 <rtems_barrier_delete>  
  rtems_semaphore_delete(pipe->Semaphore);                            
  111870:	59                   	pop    %ecx                           
  111871:	ff 73 28             	pushl  0x28(%ebx)                     
  111874:	e8 37 bb ff ff       	call   10d3b0 <rtems_semaphore_delete>
  free(pipe->Buffer);                                                 
  111879:	5a                   	pop    %edx                           
  11187a:	ff 33                	pushl  (%ebx)                         
  11187c:	e8 ef 80 ff ff       	call   109970 <free>                  
  free(pipe);                                                         
  111881:	89 1c 24             	mov    %ebx,(%esp)                    
  111884:	e8 e7 80 ff ff       	call   109970 <free>                  
    /* To delete an anonymous pipe file when all users closed it */   
    if (pipe->Anonymous)                                              
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  111889:	c7 07 00 00 00 00    	movl   $0x0,(%edi)                    
  11188f:	83 c4 10             	add    $0x10,%esp                     
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
    PIPE_WAKEUPREADERS(pipe);                                         
                                                                      
  pipe_unlock();                                                      
  111892:	e8 15 ff ff ff       	call   1117ac <pipe_unlock>           
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
  111897:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11189a:	5b                   	pop    %ebx                           
  11189b:	5e                   	pop    %esi                           
  11189c:	5f                   	pop    %edi                           
  11189d:	c9                   	leave                                 
  11189e:	c3                   	ret                                   
                                                                      

00111e90 <pipe_write>: pipe_control_t *pipe, const void *buffer, size_t count, rtems_libio_t *iop ) {
  111e90:	55                   	push   %ebp                           
  111e91:	89 e5                	mov    %esp,%ebp                      
  111e93:	57                   	push   %edi                           
  111e94:	56                   	push   %esi                           
  111e95:	53                   	push   %ebx                           
  111e96:	83 ec 2c             	sub    $0x2c,%esp                     
  111e99:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
  111e9c:	85 db                	test   %ebx,%ebx                      
  111e9e:	75 0c                	jne    111eac <pipe_write+0x1c>       <== ALWAYS TAKEN
    return 0;                                                         
  111ea0:	31 c0                	xor    %eax,%eax                      
#endif                                                                
                                                                      
  if (written > 0)                                                    
    return written;                                                   
  return ret;                                                         
}                                                                     
  111ea2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  111ea5:	5b                   	pop    %ebx                           
  111ea6:	5e                   	pop    %esi                           
  111ea7:	5f                   	pop    %edi                           
  111ea8:	c9                   	leave                                 
  111ea9:	c3                   	ret                                   
  111eaa:	66 90                	xchg   %ax,%ax                        
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
  111eac:	56                   	push   %esi                           
  111ead:	6a 00                	push   $0x0                           
  111eaf:	6a 00                	push   $0x0                           
  111eb1:	8b 45 08             	mov    0x8(%ebp),%eax                 
  111eb4:	ff 70 28             	pushl  0x28(%eax)                     
  111eb7:	e8 98 b5 ff ff       	call   10d454 <rtems_semaphore_obtain>
  111ebc:	83 c4 10             	add    $0x10,%esp                     
  111ebf:	85 c0                	test   %eax,%eax                      
  111ec1:	0f 85 45 01 00 00    	jne    11200c <pipe_write+0x17c>      <== NEVER TAKEN
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
  111ec7:	8b 45 08             	mov    0x8(%ebp),%eax                 
  111eca:	8b 48 10             	mov    0x10(%eax),%ecx                
  111ecd:	85 c9                	test   %ecx,%ecx                      
  111ecf:	0f 84 52 01 00 00    	je     112027 <pipe_write+0x197>      
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
  111ed5:	8b 48 04             	mov    0x4(%eax),%ecx                 
  111ed8:	39 cb                	cmp    %ecx,%ebx                      
  111eda:	0f 87 3d 01 00 00    	ja     11201d <pipe_write+0x18d>      <== NEVER TAKEN
  111ee0:	89 de                	mov    %ebx,%esi                      
  111ee2:	c7 45 d0 00 00 00 00 	movl   $0x0,-0x30(%ebp)               
  111ee9:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
  111ef0:	89 5d c8             	mov    %ebx,-0x38(%ebp)               
  111ef3:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
                                                                      
  /* 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) {                                
  111ef6:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  111ef9:	89 ca                	mov    %ecx,%edx                      
  111efb:	29 c2                	sub    %eax,%edx                      
  111efd:	39 f2                	cmp    %esi,%edx                      
  111eff:	73 6f                	jae    111f70 <pipe_write+0xe0>       
      if (LIBIO_NODELAY(iop)) {                                       
  111f01:	8b 45 14             	mov    0x14(%ebp),%eax                
  111f04:	f6 40 14 01          	testb  $0x1,0x14(%eax)                
  111f08:	0f 85 2e 01 00 00    	jne    11203c <pipe_write+0x1ac>      
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
  111f0e:	ff 43 1c             	incl   0x1c(%ebx)                     
      PIPE_UNLOCK(pipe);                                              
  111f11:	83 ec 0c             	sub    $0xc,%esp                      
  111f14:	ff 73 28             	pushl  0x28(%ebx)                     
  111f17:	e8 34 b6 ff ff       	call   10d550 <rtems_semaphore_release>
      if (! PIPE_WRITEWAIT(pipe))                                     
  111f1c:	58                   	pop    %eax                           
  111f1d:	5a                   	pop    %edx                           
  111f1e:	6a 00                	push   $0x0                           
  111f20:	ff 73 30             	pushl  0x30(%ebx)                     
  111f23:	e8 6c 0d 00 00       	call   112c94 <rtems_barrier_wait>    
  111f28:	83 c4 0c             	add    $0xc,%esp                      
  111f2b:	83 f8 01             	cmp    $0x1,%eax                      
  111f2e:	19 ff                	sbb    %edi,%edi                      
  111f30:	f7 d7                	not    %edi                           
  111f32:	83 e7 fc             	and    $0xfffffffc,%edi               
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
  111f35:	6a 00                	push   $0x0                           
  111f37:	6a 00                	push   $0x0                           
  111f39:	ff 73 28             	pushl  0x28(%ebx)                     
  111f3c:	e8 13 b5 ff ff       	call   10d454 <rtems_semaphore_obtain>
  111f41:	83 c4 10             	add    $0x10,%esp                     
  111f44:	85 c0                	test   %eax,%eax                      
  111f46:	0f 85 e9 00 00 00    	jne    112035 <pipe_write+0x1a5>      <== NEVER TAKEN
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
  111f4c:	ff 4b 1c             	decl   0x1c(%ebx)                     
      if (ret != 0)                                                   
  111f4f:	85 ff                	test   %edi,%edi                      
  111f51:	0f 85 95 00 00 00    	jne    111fec <pipe_write+0x15c>      <== NEVER TAKEN
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
  111f57:	8b 7b 10             	mov    0x10(%ebx),%edi                
  111f5a:	85 ff                	test   %edi,%edi                      
  111f5c:	0f 84 85 00 00 00    	je     111fe7 <pipe_write+0x157>      <== NEVER TAKEN
  111f62:	8b 4b 04             	mov    0x4(%ebx),%ecx                 
                                                                      
  /* 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) {                                
  111f65:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  111f68:	89 ca                	mov    %ecx,%edx                      
  111f6a:	29 c2                	sub    %eax,%edx                      
  111f6c:	39 f2                	cmp    %esi,%edx                      
  111f6e:	72 91                	jb     111f01 <pipe_write+0x71>       <== NEVER TAKEN
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
  111f70:	8b 75 c8             	mov    -0x38(%ebp),%esi               
  111f73:	2b 75 d0             	sub    -0x30(%ebp),%esi               
  111f76:	89 55 cc             	mov    %edx,-0x34(%ebp)               
  111f79:	39 f2                	cmp    %esi,%edx                      
  111f7b:	76 03                	jbe    111f80 <pipe_write+0xf0>       
  111f7d:	89 75 cc             	mov    %esi,-0x34(%ebp)               
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
  111f80:	03 43 08             	add    0x8(%ebx),%eax                 
  111f83:	31 d2                	xor    %edx,%edx                      
  111f85:	f7 f1                	div    %ecx                           
  111f87:	89 c8                	mov    %ecx,%eax                      
  111f89:	29 d0                	sub    %edx,%eax                      
    if (chunk > chunk1) {                                             
  111f8b:	39 45 cc             	cmp    %eax,-0x34(%ebp)               
  111f8e:	0f 8e af 00 00 00    	jle    112043 <pipe_write+0x1b3>      
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
  111f94:	03 13                	add    (%ebx),%edx                    
  111f96:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  111f99:	03 75 d0             	add    -0x30(%ebp),%esi               
  111f9c:	89 d7                	mov    %edx,%edi                      
  111f9e:	89 c1                	mov    %eax,%ecx                      
  111fa0:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
  111fa2:	8b 13                	mov    (%ebx),%edx                    
  111fa4:	8b 4d cc             	mov    -0x34(%ebp),%ecx               
  111fa7:	29 c1                	sub    %eax,%ecx                      
  111fa9:	03 45 d0             	add    -0x30(%ebp),%eax               
  111fac:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  111faf:	01 c6                	add    %eax,%esi                      
  111fb1:	89 d7                	mov    %edx,%edi                      
  111fb3:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
  111fb5:	8b 45 cc             	mov    -0x34(%ebp),%eax               
  111fb8:	01 43 0c             	add    %eax,0xc(%ebx)                 
    if (pipe->waitingReaders > 0)                                     
  111fbb:	83 7b 18 00          	cmpl   $0x0,0x18(%ebx)                
  111fbf:	0f 85 92 00 00 00    	jne    112057 <pipe_write+0x1c7>      
      PIPE_WAKEUPREADERS(pipe);                                       
    written += chunk;                                                 
  111fc5:	8b 45 cc             	mov    -0x34(%ebp),%eax               
  111fc8:	01 45 d4             	add    %eax,-0x2c(%ebp)               
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
  111fcb:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  111fce:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  111fd1:	39 45 c8             	cmp    %eax,-0x38(%ebp)               
  111fd4:	0f 86 93 00 00 00    	jbe    11206d <pipe_write+0x1dd>      <== ALWAYS TAKEN
  111fda:	8b 4b 04             	mov    0x4(%ebx),%ecx                 <== NOT EXECUTED
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
    written += chunk;                                                 
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  111fdd:	be 01 00 00 00       	mov    $0x1,%esi                      <== NOT EXECUTED
  111fe2:	e9 0f ff ff ff       	jmp    111ef6 <pipe_write+0x66>       <== NOT EXECUTED
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
        ret = -EPIPE;                                                 
  111fe7:	bf e0 ff ff ff       	mov    $0xffffffe0,%edi               <== NOT EXECUTED
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
  111fec:	83 ec 0c             	sub    $0xc,%esp                      
  111fef:	8b 45 08             	mov    0x8(%ebp),%eax                 
  111ff2:	ff 70 28             	pushl  0x28(%eax)                     
  111ff5:	e8 56 b5 ff ff       	call   10d550 <rtems_semaphore_release>
  111ffa:	83 c4 10             	add    $0x10,%esp                     
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
  111ffd:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  112000:	85 d2                	test   %edx,%edx                      
  112002:	7e 12                	jle    112016 <pipe_write+0x186>      
  112004:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  112007:	e9 96 fe ff ff       	jmp    111ea2 <pipe_write+0x12>       
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
  11200c:	b8 fc ff ff ff       	mov    $0xfffffffc,%eax               <== NOT EXECUTED
  112011:	e9 8c fe ff ff       	jmp    111ea2 <pipe_write+0x12>       <== NOT EXECUTED
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
    return written;                                                   
  return ret;                                                         
  112016:	89 f8                	mov    %edi,%eax                      
  112018:	e9 85 fe ff ff       	jmp    111ea2 <pipe_write+0x12>       
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
  11201d:	be 01 00 00 00       	mov    $0x1,%esi                      <== NOT EXECUTED
  112022:	e9 bb fe ff ff       	jmp    111ee2 <pipe_write+0x52>       <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
    ret = -EPIPE;                                                     
  112027:	bf e0 ff ff ff       	mov    $0xffffffe0,%edi               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, written = 0, ret = 0;                            
  11202c:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
  112033:	eb b7                	jmp    111fec <pipe_write+0x15c>      
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
  112035:	bf fc ff ff ff       	mov    $0xfffffffc,%edi               <== NOT EXECUTED
  11203a:	eb c1                	jmp    111ffd <pipe_write+0x16d>      <== NOT EXECUTED
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
  11203c:	bf f5 ff ff ff       	mov    $0xfffffff5,%edi               
  112041:	eb a9                	jmp    111fec <pipe_write+0x15c>      
    if (chunk > chunk1) {                                             
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
  112043:	03 13                	add    (%ebx),%edx                    
  112045:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  112048:	03 75 d0             	add    -0x30(%ebp),%esi               
  11204b:	89 d7                	mov    %edx,%edi                      
  11204d:	8b 4d cc             	mov    -0x34(%ebp),%ecx               
  112050:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
  112052:	e9 5e ff ff ff       	jmp    111fb5 <pipe_write+0x125>      
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
  112057:	51                   	push   %ecx                           
  112058:	51                   	push   %ecx                           
  112059:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  11205c:	50                   	push   %eax                           
  11205d:	ff 73 2c             	pushl  0x2c(%ebx)                     
  112060:	e8 cb 0b 00 00       	call   112c30 <rtems_barrier_release> 
  112065:	83 c4 10             	add    $0x10,%esp                     
  112068:	e9 58 ff ff ff       	jmp    111fc5 <pipe_write+0x135>      
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
  11206d:	31 ff                	xor    %edi,%edi                      
  11206f:	e9 78 ff ff ff       	jmp    111fec <pipe_write+0x15c>      
                                                                      

0010bad0 <posix_memalign>: int posix_memalign( void **pointer, size_t alignment, size_t size ) {
  10bad0:	55                   	push   %ebp                           
  10bad1:	89 e5                	mov    %esp,%ebp                      
  10bad3:	53                   	push   %ebx                           
  10bad4:	83 ec 04             	sub    $0x4,%esp                      
  10bad7:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
  10bada:	ff 05 68 d2 12 00    	incl   0x12d268                       
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
  10bae0:	8d 50 ff             	lea    -0x1(%eax),%edx                
  10bae3:	85 c2                	test   %eax,%edx                      
  10bae5:	75 05                	jne    10baec <posix_memalign+0x1c>   <== NEVER TAKEN
  10bae7:	83 f8 03             	cmp    $0x3,%eax                      
  10baea:	77 0c                	ja     10baf8 <posix_memalign+0x28>   
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
}                                                                     
  10baec:	b8 16 00 00 00       	mov    $0x16,%eax                     
  10baf1:	5a                   	pop    %edx                           
  10baf2:	5b                   	pop    %ebx                           
  10baf3:	c9                   	leave                                 
  10baf4:	c3                   	ret                                   
  10baf5:	8d 76 00             	lea    0x0(%esi),%esi                 
  10baf8:	59                   	pop    %ecx                           
  10baf9:	5b                   	pop    %ebx                           
  10bafa:	c9                   	leave                                 
                                                                      
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
  10bafb:	e9 78 01 00 00       	jmp    10bc78 <rtems_memalign>        
                                                                      

0011da20 <read>: ssize_t read( int fd, void *buffer, size_t count ) {
  11da20:	55                   	push   %ebp                           
  11da21:	89 e5                	mov    %esp,%ebp                      
  11da23:	53                   	push   %ebx                           
  11da24:	83 ec 04             	sub    $0x4,%esp                      
  11da27:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  11da2a:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  11da2d:	8b 55 10             	mov    0x10(%ebp),%edx                
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  11da30:	3b 0d 4c 11 12 00    	cmp    0x12114c,%ecx                  
  11da36:	73 50                	jae    11da88 <read+0x68>             <== NEVER TAKEN
  iop = rtems_libio_iop( fd );                                        
  11da38:	c1 e1 03             	shl    $0x3,%ecx                      
  11da3b:	8d 1c cd 00 00 00 00 	lea    0x0(,%ecx,8),%ebx              
  11da42:	29 cb                	sub    %ecx,%ebx                      
  11da44:	03 1d 00 53 12 00    	add    0x125300,%ebx                  
  rtems_libio_check_is_open( iop );                                   
  11da4a:	8b 4b 14             	mov    0x14(%ebx),%ecx                
  11da4d:	f6 c5 01             	test   $0x1,%ch                       
  11da50:	74 36                	je     11da88 <read+0x68>             
  rtems_libio_check_buffer( buffer );                                 
  11da52:	85 c0                	test   %eax,%eax                      
  11da54:	74 46                	je     11da9c <read+0x7c>             <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
  11da56:	85 d2                	test   %edx,%edx                      
  11da58:	74 26                	je     11da80 <read+0x60>             
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
  11da5a:	83 e1 02             	and    $0x2,%ecx                      
  11da5d:	74 3d                	je     11da9c <read+0x7c>             
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
  rc = (*iop->pathinfo.handlers->read_h)( iop, buffer, count );       
  11da5f:	51                   	push   %ecx                           
  11da60:	8b 4b 20             	mov    0x20(%ebx),%ecx                
  11da63:	52                   	push   %edx                           
  11da64:	50                   	push   %eax                           
  11da65:	53                   	push   %ebx                           
  11da66:	ff 51 08             	call   *0x8(%ecx)                     
                                                                      
  if ( rc > 0 )                                                       
  11da69:	83 c4 10             	add    $0x10,%esp                     
  11da6c:	85 c0                	test   %eax,%eax                      
  11da6e:	7e 0b                	jle    11da7b <read+0x5b>             
    iop->offset += rc;                                                
  11da70:	89 c1                	mov    %eax,%ecx                      
  11da72:	c1 f9 1f             	sar    $0x1f,%ecx                     
  11da75:	01 43 0c             	add    %eax,0xc(%ebx)                 
  11da78:	11 4b 10             	adc    %ecx,0x10(%ebx)                
                                                                      
  return rc;                                                          
}                                                                     
  11da7b:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  11da7e:	c9                   	leave                                 
  11da7f:	c3                   	ret                                   
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  11da80:	31 c0                	xor    %eax,%eax                      
                                                                      
  if ( rc > 0 )                                                       
    iop->offset += rc;                                                
                                                                      
  return rc;                                                          
}                                                                     
  11da82:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  11da85:	c9                   	leave                                 
  11da86:	c3                   	ret                                   
  11da87:	90                   	nop                                   
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  11da88:	e8 af 48 ff ff       	call   11233c <__errno>               
  11da8d:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  11da93:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  11da98:	eb e1                	jmp    11da7b <read+0x5b>             
  11da9a:	66 90                	xchg   %ax,%ax                        
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
  11da9c:	e8 9b 48 ff ff       	call   11233c <__errno>               
  11daa1:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  11daa7:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  11daac:	eb cd                	jmp    11da7b <read+0x5b>             
                                                                      

0010b068 <readlink>: ssize_t readlink( const char *pathname, char *buf, size_t bufsize ) {
  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 3c             	sub    $0x3c,%esp                     
  10b071:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10b074:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
  10b077:	85 db                	test   %ebx,%ebx                      
  10b079:	74 6d                	je     10b0e8 <readlink+0x80>         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
  10b07b:	31 c0                	xor    %eax,%eax                      
  10b07d:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  10b082:	89 d7                	mov    %edx,%edi                      
  10b084:	f2 ae                	repnz scas %es:(%edi),%al             
  10b086:	f7 d1                	not    %ecx                           
  10b088:	49                   	dec    %ecx                           
  10b089:	83 ec 0c             	sub    $0xc,%esp                      
  10b08c:	6a 00                	push   $0x0                           
  10b08e:	8d 75 d4             	lea    -0x2c(%ebp),%esi               
  10b091:	56                   	push   %esi                           
  10b092:	6a 00                	push   $0x0                           
  10b094:	51                   	push   %ecx                           
  10b095:	52                   	push   %edx                           
  10b096:	e8 79 ee ff ff       	call   109f14 <rtems_filesystem_evaluate_path>
                                           0, &loc, false );          
  if ( result != 0 )                                                  
  10b09b:	83 c4 20             	add    $0x20,%esp                     
  10b09e:	85 c0                	test   %eax,%eax                      
  10b0a0:	74 0e                	je     10b0b0 <readlink+0x48>         <== ALWAYS TAKEN
     return -1;                                                       
  10b0a2:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return result;                                                      
}                                                                     
  10b0a7:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b0aa:	5b                   	pop    %ebx                           
  10b0ab:	5e                   	pop    %esi                           
  10b0ac:	5f                   	pop    %edi                           
  10b0ad:	c9                   	leave                                 
  10b0ae:	c3                   	ret                                   
  10b0af:	90                   	nop                                   
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
  10b0b0:	83 ec 0c             	sub    $0xc,%esp                      
  10b0b3:	56                   	push   %esi                           
  10b0b4:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10b0b7:	ff 50 10             	call   *0x10(%eax)                    
  10b0ba:	83 c4 10             	add    $0x10,%esp                     
  10b0bd:	83 f8 04             	cmp    $0x4,%eax                      
  10b0c0:	75 3e                	jne    10b100 <readlink+0x98>         
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
  10b0c2:	50                   	push   %eax                           
  10b0c3:	ff 75 10             	pushl  0x10(%ebp)                     
  10b0c6:	53                   	push   %ebx                           
  10b0c7:	56                   	push   %esi                           
  10b0c8:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10b0cb:	ff 50 3c             	call   *0x3c(%eax)                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  10b0ce:	89 34 24             	mov    %esi,(%esp)                    
  10b0d1:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  10b0d4:	e8 13 ef ff ff       	call   109fec <rtems_filesystem_freenode>
                                                                      
  return result;                                                      
  10b0d9:	83 c4 10             	add    $0x10,%esp                     
  10b0dc:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
}                                                                     
  10b0df:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b0e2:	5b                   	pop    %ebx                           
  10b0e3:	5e                   	pop    %esi                           
  10b0e4:	5f                   	pop    %edi                           
  10b0e5:	c9                   	leave                                 
  10b0e6:	c3                   	ret                                   
  10b0e7:	90                   	nop                                   
{                                                                     
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
  10b0e8:	e8 9b 9d 00 00       	call   114e88 <__errno>               
  10b0ed:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    
  10b0f3:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return result;                                                      
}                                                                     
  10b0f8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b0fb:	5b                   	pop    %ebx                           
  10b0fc:	5e                   	pop    %esi                           
  10b0fd:	5f                   	pop    %edi                           
  10b0fe:	c9                   	leave                                 
  10b0ff:	c3                   	ret                                   
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
    rtems_filesystem_freenode( &loc );                                
  10b100:	83 ec 0c             	sub    $0xc,%esp                      
  10b103:	56                   	push   %esi                           
  10b104:	e8 e3 ee ff ff       	call   109fec <rtems_filesystem_freenode>
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10b109:	e8 7a 9d 00 00       	call   114e88 <__errno>               
  10b10e:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10b114:	83 c4 10             	add    $0x10,%esp                     
  10b117:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10b11c:	eb 89                	jmp    10b0a7 <readlink+0x3f>         
                                                                      

00109d2c <readv>: ssize_t readv( int fd, const struct iovec *iov, int iovcnt ) {
  109d2c:	55                   	push   %ebp                           
  109d2d:	89 e5                	mov    %esp,%ebp                      
  109d2f:	57                   	push   %edi                           
  109d30:	56                   	push   %esi                           
  109d31:	53                   	push   %ebx                           
  109d32:	83 ec 1c             	sub    $0x1c,%esp                     
  109d35:	8b 45 08             	mov    0x8(%ebp),%eax                 
  109d38:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  109d3b:	3b 05 0c 36 12 00    	cmp    0x12360c,%eax                  
  109d41:	0f 83 ef 00 00 00    	jae    109e36 <readv+0x10a>           
  iop = rtems_libio_iop( fd );                                        
  109d47:	c1 e0 03             	shl    $0x3,%eax                      
  109d4a:	8d 34 c5 00 00 00 00 	lea    0x0(,%eax,8),%esi              
  109d51:	29 c6                	sub    %eax,%esi                      
  109d53:	03 35 c0 77 12 00    	add    0x1277c0,%esi                  
  rtems_libio_check_is_open( iop );                                   
  109d59:	8b 46 14             	mov    0x14(%esi),%eax                
  109d5c:	f6 c4 01             	test   $0x1,%ah                       
  109d5f:	0f 84 d1 00 00 00    	je     109e36 <readv+0x10a>           
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
  109d65:	a8 02                	test   $0x2,%al                       
  109d67:	0f 84 97 00 00 00    	je     109e04 <readv+0xd8>            <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
  109d6d:	85 db                	test   %ebx,%ebx                      
  109d6f:	0f 84 8f 00 00 00    	je     109e04 <readv+0xd8>            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
  109d75:	8b 7d 10             	mov    0x10(%ebp),%edi                
  109d78:	85 ff                	test   %edi,%edi                      
  109d7a:	0f 8e 84 00 00 00    	jle    109e04 <readv+0xd8>            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
  109d80:	81 7d 10 00 04 00 00 	cmpl   $0x400,0x10(%ebp)              
  109d87:	7f 7b                	jg     109e04 <readv+0xd8>            <== NEVER TAKEN
  109d89:	c6 45 e4 01          	movb   $0x1,-0x1c(%ebp)               
  109d8d:	31 c0                	xor    %eax,%eax                      
  109d8f:	31 d2                	xor    %edx,%edx                      
  109d91:	eb 03                	jmp    109d96 <readv+0x6a>            
  109d93:	90                   	nop                                   
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
  109d94:	89 fa                	mov    %edi,%edx                      
                                                                      
    /*                                                                
     *  iov[v].iov_len cannot be less than 0 because size_t is unsigned.
     *  So we only check for zero.                                    
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
  109d96:	8b 0c c3             	mov    (%ebx,%eax,8),%ecx             
  109d99:	85 c9                	test   %ecx,%ecx                      
  109d9b:	74 67                	je     109e04 <readv+0xd8>            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
  109d9d:	8b 4c c3 04          	mov    0x4(%ebx,%eax,8),%ecx          
  109da1:	8d 3c 0a             	lea    (%edx,%ecx,1),%edi             
    if ( total < old )                                                
  109da4:	39 fa                	cmp    %edi,%edx                      
  109da6:	7f 5c                	jg     109e04 <readv+0xd8>            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
  109da8:	85 c9                	test   %ecx,%ecx                      
  109daa:	74 04                	je     109db0 <readv+0x84>            
      all_zeros = false;                                              
  109dac:	c6 45 e4 00          	movb   $0x0,-0x1c(%ebp)               
   *  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++ ) {                           
  109db0:	40                   	inc    %eax                           
  109db1:	39 45 10             	cmp    %eax,0x10(%ebp)                
  109db4:	7f de                	jg     109d94 <readv+0x68>            
  /*                                                                  
   *  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 ) {                                          
  109db6:	80 7d e4 00          	cmpb   $0x0,-0x1c(%ebp)               
  109dba:	75 68                	jne    109e24 <readv+0xf8>            
  109dbc:	31 ff                	xor    %edi,%edi                      
  109dbe:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  109dc5:	eb 1d                	jmp    109de4 <readv+0xb8>            
  109dc7:	90                   	nop                                   
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
  109dc8:	74 0e                	je     109dd8 <readv+0xac>            <== NEVER TAKEN
      iop->offset += bytes;                                           
  109dca:	89 c1                	mov    %eax,%ecx                      
  109dcc:	c1 f9 1f             	sar    $0x1f,%ecx                     
  109dcf:	01 46 0c             	add    %eax,0xc(%esi)                 
  109dd2:	11 4e 10             	adc    %ecx,0x10(%esi)                
      total       += bytes;                                           
  109dd5:	01 45 e4             	add    %eax,-0x1c(%ebp)               
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
  109dd8:	3b 44 fb 04          	cmp    0x4(%ebx,%edi,8),%eax          
  109ddc:	75 38                	jne    109e16 <readv+0xea>            <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
  109dde:	47                   	inc    %edi                           
  109ddf:	39 7d 10             	cmp    %edi,0x10(%ebp)                
  109de2:	7e 32                	jle    109e16 <readv+0xea>            
    bytes = (*iop->pathinfo.handlers->read_h)(                        
  109de4:	50                   	push   %eax                           
  109de5:	8b 46 20             	mov    0x20(%esi),%eax                
  109de8:	ff 74 fb 04          	pushl  0x4(%ebx,%edi,8)               
  109dec:	ff 34 fb             	pushl  (%ebx,%edi,8)                  
  109def:	56                   	push   %esi                           
  109df0:	ff 50 08             	call   *0x8(%eax)                     
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
  109df3:	83 c4 10             	add    $0x10,%esp                     
  109df6:	83 f8 00             	cmp    $0x0,%eax                      
  109df9:	7d cd                	jge    109dc8 <readv+0x9c>            <== ALWAYS TAKEN
      return -1;                                                      
  109dfb:	c7 45 e4 ff ff ff ff 	movl   $0xffffffff,-0x1c(%ebp)        <== NOT EXECUTED
  109e02:	eb 12                	jmp    109e16 <readv+0xea>            <== NOT EXECUTED
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  109e04:	e8 c3 92 00 00       	call   1130cc <__errno>               
  109e09:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  109e0f:	c7 45 e4 ff ff ff ff 	movl   $0xffffffff,-0x1c(%ebp)        
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
  109e16:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  109e19:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109e1c:	5b                   	pop    %ebx                           
  109e1d:	5e                   	pop    %esi                           
  109e1e:	5f                   	pop    %edi                           
  109e1f:	c9                   	leave                                 
  109e20:	c3                   	ret                                   
  109e21:	8d 76 00             	lea    0x0(%esi),%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;                                                         
  109e24:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
  109e2b:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  109e2e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109e31:	5b                   	pop    %ebx                           
  109e32:	5e                   	pop    %esi                           
  109e33:	5f                   	pop    %edi                           
  109e34:	c9                   	leave                                 
  109e35:	c3                   	ret                                   
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  109e36:	e8 91 92 00 00       	call   1130cc <__errno>               
  109e3b:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  109e41:	c7 45 e4 ff ff ff ff 	movl   $0xffffffff,-0x1c(%ebp)        
  109e48:	eb cc                	jmp    109e16 <readv+0xea>            
                                                                      

0011db3c <realloc>: void *realloc( void *ptr, size_t size ) {
  11db3c:	55                   	push   %ebp                           
  11db3d:	89 e5                	mov    %esp,%ebp                      
  11db3f:	57                   	push   %edi                           
  11db40:	56                   	push   %esi                           
  11db41:	53                   	push   %ebx                           
  11db42:	83 ec 2c             	sub    $0x2c,%esp                     
  11db45:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11db48:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
  11db4b:	ff 05 30 53 12 00    	incl   0x125330                       
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
  11db51:	83 3d 40 56 12 00 03 	cmpl   $0x3,0x125640                  
  11db58:	74 72                	je     11dbcc <realloc+0x90>          <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
  11db5a:	85 db                	test   %ebx,%ebx                      
  11db5c:	74 5e                	je     11dbbc <realloc+0x80>          
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
  11db5e:	85 f6                	test   %esi,%esi                      
  11db60:	74 3a                	je     11db9c <realloc+0x60>          <== NEVER TAKEN
    free( ptr );                                                      
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
  11db62:	52                   	push   %edx                           
  11db63:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  11db66:	50                   	push   %eax                           
  11db67:	53                   	push   %ebx                           
  11db68:	ff 35 58 11 12 00    	pushl  0x121158                       
  11db6e:	e8 49 01 00 00       	call   11dcbc <_Protected_heap_Get_block_size>
  11db73:	83 c4 10             	add    $0x10,%esp                     
  11db76:	84 c0                	test   %al,%al                        
  11db78:	74 32                	je     11dbac <realloc+0x70>          
  }                                                                   
                                                                      
  /*                                                                  
   *  Now resize it.                                                  
   */                                                                 
  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, size ) ) {
  11db7a:	50                   	push   %eax                           
  11db7b:	56                   	push   %esi                           
  11db7c:	53                   	push   %ebx                           
  11db7d:	ff 35 58 11 12 00    	pushl  0x121158                       
  11db83:	e8 6c 01 00 00       	call   11dcf4 <_Protected_heap_Resize_block>
  11db88:	83 c4 10             	add    $0x10,%esp                     
  11db8b:	84 c0                	test   %al,%al                        
  11db8d:	74 5d                	je     11dbec <realloc+0xb0>          
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
  11db8f:	89 d8                	mov    %ebx,%eax                      
  11db91:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11db94:	5b                   	pop    %ebx                           
  11db95:	5e                   	pop    %esi                           
  11db96:	5f                   	pop    %edi                           
  11db97:	c9                   	leave                                 
  11db98:	c3                   	ret                                   
  11db99:	8d 76 00             	lea    0x0(%esi),%esi                 
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
    free( ptr );                                                      
  11db9c:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  11db9f:	53                   	push   %ebx                           <== NOT EXECUTED
  11dba0:	e8 0f a5 fe ff       	call   1080b4 <free>                  <== NOT EXECUTED
    return (void *) 0;                                                
  11dba5:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  11dba8:	31 db                	xor    %ebx,%ebx                      <== NOT EXECUTED
  11dbaa:	eb e3                	jmp    11db8f <realloc+0x53>          <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
    errno = EINVAL;                                                   
  11dbac:	e8 8b 47 ff ff       	call   11233c <__errno>               
  11dbb1:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
    return (void *) 0;                                                
  11dbb7:	31 db                	xor    %ebx,%ebx                      
  11dbb9:	eb d4                	jmp    11db8f <realloc+0x53>          
  11dbbb:	90                   	nop                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
  11dbbc:	83 ec 0c             	sub    $0xc,%esp                      
  11dbbf:	56                   	push   %esi                           
  11dbc0:	e8 c3 a7 fe ff       	call   108388 <malloc>                
  11dbc5:	89 c3                	mov    %eax,%ebx                      
  11dbc7:	83 c4 10             	add    $0x10,%esp                     
  11dbca:	eb c3                	jmp    11db8f <realloc+0x53>          
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_disable_level > 0)                           
  11dbcc:	a1 70 54 12 00       	mov    0x125470,%eax                  
  11dbd1:	85 c0                	test   %eax,%eax                      
  11dbd3:	74 04                	je     11dbd9 <realloc+0x9d>          <== ALWAYS TAKEN
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
    return (void *) 0;                                                
  11dbd5:	31 db                	xor    %ebx,%ebx                      
  11dbd7:	eb b6                	jmp    11db8f <realloc+0x53>          
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_disable_level > 0)                           
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
  11dbd9:	8b 0d 34 57 12 00    	mov    0x125734,%ecx                  
  11dbdf:	85 c9                	test   %ecx,%ecx                      
  11dbe1:	0f 84 73 ff ff ff    	je     11db5a <realloc+0x1e>          <== ALWAYS TAKEN
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
    return (void *) 0;                                                
  11dbe7:	31 db                	xor    %ebx,%ebx                      
  11dbe9:	eb a4                	jmp    11db8f <realloc+0x53>          <== NOT EXECUTED
  11dbeb:	90                   	nop                                   <== NOT EXECUTED
   *  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 );                                          
  11dbec:	83 ec 0c             	sub    $0xc,%esp                      
  11dbef:	56                   	push   %esi                           
  11dbf0:	e8 93 a7 fe ff       	call   108388 <malloc>                
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
  11dbf5:	ff 0d 24 53 12 00    	decl   0x125324                       
                                                                      
  if ( !new_area ) {                                                  
  11dbfb:	83 c4 10             	add    $0x10,%esp                     
  11dbfe:	85 c0                	test   %eax,%eax                      
  11dc00:	74 d3                	je     11dbd5 <realloc+0x99>          
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  11dc02:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  11dc05:	89 f1                	mov    %esi,%ecx                      
  11dc07:	39 d6                	cmp    %edx,%esi                      
  11dc09:	76 02                	jbe    11dc0d <realloc+0xd1>          <== NEVER TAKEN
  11dc0b:	89 d1                	mov    %edx,%ecx                      
  11dc0d:	89 c7                	mov    %eax,%edi                      
  11dc0f:	89 de                	mov    %ebx,%esi                      
  11dc11:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
  free( ptr );                                                        
  11dc13:	83 ec 0c             	sub    $0xc,%esp                      
  11dc16:	53                   	push   %ebx                           
  11dc17:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  11dc1a:	e8 95 a4 fe ff       	call   1080b4 <free>                  
                                                                      
  return new_area;                                                    
  11dc1f:	83 c4 10             	add    $0x10,%esp                     
  11dc22:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  11dc25:	89 c3                	mov    %eax,%ebx                      
  11dc27:	e9 63 ff ff ff       	jmp    11db8f <realloc+0x53>          
                                                                      

00109300 <rmdir>: #include <rtems/seterr.h> int rmdir( const char *pathname ) {
  109300:	55                   	push   %ebp                           
  109301:	89 e5                	mov    %esp,%ebp                      
  109303:	57                   	push   %edi                           
  109304:	56                   	push   %esi                           
  109305:	53                   	push   %ebx                           
  109306:	83 ec 58             	sub    $0x58,%esp                     
  109309:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
  10930c:	53                   	push   %ebx                           
  10930d:	e8 46 f1 ff ff       	call   108458 <rtems_filesystem_dirname>
                                                                      
  if ( parentpathlen == 0 )                                           
  109312:	83 c4 10             	add    $0x10,%esp                     
  109315:	85 c0                	test   %eax,%eax                      
  109317:	0f 85 0f 01 00 00    	jne    10942c <rmdir+0x12c>           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
  10931d:	50                   	push   %eax                           
  10931e:	8d 45 d0             	lea    -0x30(%ebp),%eax               
  109321:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
  109324:	50                   	push   %eax                           
  109325:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  109328:	50                   	push   %eax                           
  109329:	53                   	push   %ebx                           
  10932a:	e8 45 01 00 00       	call   109474 <rtems_filesystem_get_start_loc>
  10932f:	83 c4 10             	add    $0x10,%esp                     
  109332:	31 d2                	xor    %edx,%edx                      
  const char                       *name;                             
  rtems_filesystem_location_info_t  parentloc;                        
  rtems_filesystem_location_info_t  loc;                              
  int                               i;                                
  int                               result;                           
  bool                              free_parentloc = false;           
  109334:	c6 45 b3 00          	movb   $0x0,-0x4d(%ebp)               
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
  109338:	8d 7d bc             	lea    -0x44(%ebp),%edi               
  10933b:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  109340:	8b 75 b4             	mov    -0x4c(%ebp),%esi               
  109343:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  name = pathname + parentpathlen;                                    
  109345:	01 d3                	add    %edx,%ebx                      
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
  109347:	be ff ff ff ff       	mov    $0xffffffff,%esi               
  10934c:	89 f1                	mov    %esi,%ecx                      
  10934e:	89 df                	mov    %ebx,%edi                      
  109350:	31 c0                	xor    %eax,%eax                      
  109352:	f2 ae                	repnz scas %es:(%edi),%al             
  109354:	f7 d1                	not    %ecx                           
  109356:	49                   	dec    %ecx                           
  109357:	83 ec 08             	sub    $0x8,%esp                      
  10935a:	51                   	push   %ecx                           
  10935b:	53                   	push   %ebx                           
  10935c:	e8 3b f1 ff ff       	call   10849c <rtems_filesystem_prefix_separators>
  109361:	01 c3                	add    %eax,%ebx                      
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
  109363:	89 f1                	mov    %esi,%ecx                      
  109365:	89 df                	mov    %ebx,%edi                      
  109367:	31 c0                	xor    %eax,%eax                      
  109369:	f2 ae                	repnz scas %es:(%edi),%al             
  10936b:	f7 d1                	not    %ecx                           
  10936d:	49                   	dec    %ecx                           
  10936e:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  109375:	8d 75 bc             	lea    -0x44(%ebp),%esi               
  109378:	56                   	push   %esi                           
  109379:	6a 00                	push   $0x0                           
  10937b:	51                   	push   %ecx                           
  10937c:	53                   	push   %ebx                           
  10937d:	e8 2a f0 ff ff       	call   1083ac <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
  109382:	83 c4 20             	add    $0x20,%esp                     
  109385:	85 c0                	test   %eax,%eax                      
  109387:	75 5b                	jne    1093e4 <rmdir+0xe4>            
  }                                                                   
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
  109389:	83 ec 0c             	sub    $0xc,%esp                      
  10938c:	56                   	push   %esi                           
  10938d:	8b 45 c8             	mov    -0x38(%ebp),%eax               
  109390:	ff 50 10             	call   *0x10(%eax)                    
  109393:	83 c4 10             	add    $0x10,%esp                     
  109396:	48                   	dec    %eax                           
  109397:	75 5f                	jne    1093f8 <rmdir+0xf8>            
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
  109399:	83 ec 08             	sub    $0x8,%esp                      
  10939c:	56                   	push   %esi                           
  10939d:	ff 75 b4             	pushl  -0x4c(%ebp)                    
  1093a0:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  1093a3:	ff 50 34             	call   *0x34(%eax)                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  1093a6:	89 34 24             	mov    %esi,(%esp)                    
  1093a9:	89 45 ac             	mov    %eax,-0x54(%ebp)               
  1093ac:	e8 3b f1 ff ff       	call   1084ec <rtems_filesystem_freenode>
  if ( free_parentloc )                                               
  1093b1:	83 c4 10             	add    $0x10,%esp                     
  1093b4:	80 7d b3 00          	cmpb   $0x0,-0x4d(%ebp)               
  1093b8:	8b 45 ac             	mov    -0x54(%ebp),%eax               
  1093bb:	75 0b                	jne    1093c8 <rmdir+0xc8>            
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
  1093bd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1093c0:	5b                   	pop    %ebx                           
  1093c1:	5e                   	pop    %esi                           
  1093c2:	5f                   	pop    %edi                           
  1093c3:	c9                   	leave                                 
  1093c4:	c3                   	ret                                   
  1093c5:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
  1093c8:	83 ec 0c             	sub    $0xc,%esp                      
  1093cb:	ff 75 b4             	pushl  -0x4c(%ebp)                    
  1093ce:	e8 19 f1 ff ff       	call   1084ec <rtems_filesystem_freenode>
  1093d3:	83 c4 10             	add    $0x10,%esp                     
  1093d6:	8b 45 ac             	mov    -0x54(%ebp),%eax               
                                                                      
  return result;                                                      
}                                                                     
  1093d9:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1093dc:	5b                   	pop    %ebx                           
  1093dd:	5e                   	pop    %esi                           
  1093de:	5f                   	pop    %edi                           
  1093df:	c9                   	leave                                 
  1093e0:	c3                   	ret                                   
  1093e1:	8d 76 00             	lea    0x0(%esi),%esi                 
  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 )                                             
  1093e4:	80 7d b3 00          	cmpb   $0x0,-0x4d(%ebp)               
  1093e8:	75 6f                	jne    109459 <rmdir+0x159>           
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  1093ea:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
  1093ef:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1093f2:	5b                   	pop    %ebx                           
  1093f3:	5e                   	pop    %esi                           
  1093f4:	5f                   	pop    %edi                           
  1093f5:	c9                   	leave                                 
  1093f6:	c3                   	ret                                   
  1093f7:	90                   	nop                                   
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
  1093f8:	83 ec 0c             	sub    $0xc,%esp                      
  1093fb:	56                   	push   %esi                           
  1093fc:	e8 eb f0 ff ff       	call   1084ec <rtems_filesystem_freenode>
    if ( free_parentloc )                                             
  109401:	83 c4 10             	add    $0x10,%esp                     
  109404:	80 7d b3 00          	cmpb   $0x0,-0x4d(%ebp)               
  109408:	74 0e                	je     109418 <rmdir+0x118>           <== NEVER TAKEN
      rtems_filesystem_freenode( &parentloc );                        
  10940a:	83 ec 0c             	sub    $0xc,%esp                      
  10940d:	ff 75 b4             	pushl  -0x4c(%ebp)                    
  109410:	e8 d7 f0 ff ff       	call   1084ec <rtems_filesystem_freenode>
  109415:	83 c4 10             	add    $0x10,%esp                     
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  109418:	e8 b7 97 00 00       	call   112bd4 <__errno>               
  10941d:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   
  109423:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  109428:	eb 93                	jmp    1093bd <rmdir+0xbd>            
  10942a:	66 90                	xchg   %ax,%ax                        
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
  10942c:	89 c2                	mov    %eax,%edx                      
  10942e:	83 ec 0c             	sub    $0xc,%esp                      
  109431:	6a 00                	push   $0x0                           
  109433:	8d 45 d0             	lea    -0x30(%ebp),%eax               
  109436:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
  109439:	50                   	push   %eax                           
  10943a:	6a 02                	push   $0x2                           
  10943c:	52                   	push   %edx                           
  10943d:	53                   	push   %ebx                           
  10943e:	89 55 ac             	mov    %edx,-0x54(%ebp)               
  109441:	e8 ce ef ff ff       	call   108414 <rtems_filesystem_evaluate_path>
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
  109446:	83 c4 20             	add    $0x20,%esp                     
  109449:	85 c0                	test   %eax,%eax                      
  10944b:	8b 55 ac             	mov    -0x54(%ebp),%edx               
  10944e:	75 9a                	jne    1093ea <rmdir+0xea>            <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
  109450:	c6 45 b3 01          	movb   $0x1,-0x4d(%ebp)               
  109454:	e9 df fe ff ff       	jmp    109338 <rmdir+0x38>            
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
  109459:	83 ec 0c             	sub    $0xc,%esp                      
  10945c:	ff 75 b4             	pushl  -0x4c(%ebp)                    
  10945f:	e8 88 f0 ff ff       	call   1084ec <rtems_filesystem_freenode>
  109464:	83 c4 10             	add    $0x10,%esp                     
    return -1;                                                        
  109467:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10946c:	e9 4c ff ff ff       	jmp    1093bd <rmdir+0xbd>            
                                                                      

001087ec <rtems_assoc_local_by_name>: uint32_t rtems_assoc_local_by_name( const rtems_assoc_t *ap, const char *name ) {
  1087ec:	55                   	push   %ebp                           
  1087ed:	89 e5                	mov    %esp,%ebp                      
  1087ef:	83 ec 10             	sub    $0x10,%esp                     
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_name(ap, name);                            
  1087f2:	ff 75 0c             	pushl  0xc(%ebp)                      
  1087f5:	ff 75 08             	pushl  0x8(%ebp)                      
  1087f8:	e8 13 02 00 00       	call   108a10 <rtems_assoc_ptr_by_name>
  if (nap)                                                            
  1087fd:	83 c4 10             	add    $0x10,%esp                     
  108800:	85 c0                	test   %eax,%eax                      
  108802:	74 08                	je     10880c <rtems_assoc_local_by_name+0x20>
    return nap->local_value;                                          
  108804:	8b 40 04             	mov    0x4(%eax),%eax                 
                                                                      
  return 0;                                                           
}                                                                     
  108807:	c9                   	leave                                 
  108808:	c3                   	ret                                   
  108809:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  nap = rtems_assoc_ptr_by_name(ap, name);                            
  if (nap)                                                            
    return nap->local_value;                                          
                                                                      
  return 0;                                                           
  10880c:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10880e:	c9                   	leave                                 
  10880f:	c3                   	ret                                   
                                                                      

0010f9dc <rtems_assoc_local_by_remote>: uint32_t rtems_assoc_local_by_remote( const rtems_assoc_t *ap, uint32_t remote_value ) {
  10f9dc:	55                   	push   %ebp                           
  10f9dd:	89 e5                	mov    %esp,%ebp                      
  10f9df:	83 ec 10             	sub    $0x10,%esp                     
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_remote(ap, remote_value);                  
  10f9e2:	ff 75 0c             	pushl  0xc(%ebp)                      
  10f9e5:	ff 75 08             	pushl  0x8(%ebp)                      
  10f9e8:	e8 13 00 00 00       	call   10fa00 <rtems_assoc_ptr_by_remote>
  if (nap)                                                            
  10f9ed:	83 c4 10             	add    $0x10,%esp                     
  10f9f0:	85 c0                	test   %eax,%eax                      
  10f9f2:	74 08                	je     10f9fc <rtems_assoc_local_by_remote+0x20>
    return nap->local_value;                                          
  10f9f4:	8b 40 04             	mov    0x4(%eax),%eax                 
                                                                      
  return 0;                                                           
}                                                                     
  10f9f7:	c9                   	leave                                 
  10f9f8:	c3                   	ret                                   
  10f9f9:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  nap = rtems_assoc_ptr_by_remote(ap, remote_value);                  
  if (nap)                                                            
    return nap->local_value;                                          
                                                                      
  return 0;                                                           
  10f9fc:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10f9fe:	c9                   	leave                                 
  10f9ff:	c3                   	ret                                   
                                                                      

00111ed8 <rtems_assoc_local_by_remote_bitfield>: uint32_t rtems_assoc_local_by_remote_bitfield( const rtems_assoc_t *ap, uint32_t remote_value ) {
  111ed8:	55                   	push   %ebp                           
  111ed9:	89 e5                	mov    %esp,%ebp                      
  111edb:	57                   	push   %edi                           
  111edc:	56                   	push   %esi                           
  111edd:	53                   	push   %ebx                           
  111ede:	83 ec 1c             	sub    $0x1c,%esp                     
  111ee1:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  111ee4:	be 20 00 00 00       	mov    $0x20,%esi                     
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
  111ee9:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
                                                                      
  for (b = 1; b; b <<= 1) {                                           
  111ef0:	bb 01 00 00 00       	mov    $0x1,%ebx                      
  111ef5:	eb 06                	jmp    111efd <rtems_assoc_local_by_remote_bitfield+0x25>
  111ef7:	90                   	nop                                   
  111ef8:	d1 e3                	shl    %ebx                           
  111efa:	4e                   	dec    %esi                           
  111efb:	74 1b                	je     111f18 <rtems_assoc_local_by_remote_bitfield+0x40>
    if (b & remote_value)                                             
  111efd:	85 fb                	test   %edi,%ebx                      
  111eff:	74 f7                	je     111ef8 <rtems_assoc_local_by_remote_bitfield+0x20>
      local_value |= rtems_assoc_local_by_remote(ap, b);              
  111f01:	83 ec 08             	sub    $0x8,%esp                      
  111f04:	53                   	push   %ebx                           
  111f05:	ff 75 08             	pushl  0x8(%ebp)                      
  111f08:	e8 cf da ff ff       	call   10f9dc <rtems_assoc_local_by_remote>
  111f0d:	09 45 e4             	or     %eax,-0x1c(%ebp)               
  111f10:	83 c4 10             	add    $0x10,%esp                     
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
  111f13:	d1 e3                	shl    %ebx                           
  111f15:	4e                   	dec    %esi                           
  111f16:	75 e5                	jne    111efd <rtems_assoc_local_by_remote_bitfield+0x25><== ALWAYS TAKEN
    if (b & remote_value)                                             
      local_value |= rtems_assoc_local_by_remote(ap, b);              
  }                                                                   
                                                                      
  return local_value;                                                 
}                                                                     
  111f18:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  111f1b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  111f1e:	5b                   	pop    %ebx                           
  111f1f:	5e                   	pop    %esi                           
  111f20:	5f                   	pop    %edi                           
  111f21:	c9                   	leave                                 
  111f22:	c3                   	ret                                   
                                                                      

00114b20 <rtems_assoc_name_by_local>: const char *rtems_assoc_name_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
  114b20:	55                   	push   %ebp                           
  114b21:	89 e5                	mov    %esp,%ebp                      
  114b23:	53                   	push   %ebx                           
  114b24:	83 ec 0c             	sub    $0xc,%esp                      
  114b27:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
  114b2a:	53                   	push   %ebx                           
  114b2b:	ff 75 08             	pushl  0x8(%ebp)                      
  114b2e:	e8 1d 00 00 00       	call   114b50 <rtems_assoc_ptr_by_local>
  if (nap)                                                            
  114b33:	83 c4 10             	add    $0x10,%esp                     
  114b36:	85 c0                	test   %eax,%eax                      
  114b38:	74 0a                	je     114b44 <rtems_assoc_name_by_local+0x24>
    return nap->name;                                                 
  114b3a:	8b 00                	mov    (%eax),%eax                    
                                                                      
  return rtems_assoc_name_bad(local_value);                           
}                                                                     
  114b3c:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  114b3f:	c9                   	leave                                 
  114b40:	c3                   	ret                                   
  114b41:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
  if (nap)                                                            
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
  114b44:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
}                                                                     
  114b47:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  114b4a:	c9                   	leave                                 
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
  if (nap)                                                            
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
  114b4b:	e9 d8 26 00 00       	jmp    117228 <rtems_assoc_name_bad>  
                                                                      

00108988 <rtems_assoc_name_by_remote>: const char *rtems_assoc_name_by_remote( const rtems_assoc_t *ap, uint32_t remote_value ) {
  108988:	55                   	push   %ebp                           
  108989:	89 e5                	mov    %esp,%ebp                      
  10898b:	53                   	push   %ebx                           
  10898c:	83 ec 0c             	sub    $0xc,%esp                      
  10898f:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  const rtems_assoc_t *nap;                                           
  nap = rtems_assoc_ptr_by_remote(ap, remote_value);                  
  108992:	53                   	push   %ebx                           
  108993:	ff 75 08             	pushl  0x8(%ebp)                      
  108996:	e8 ed 00 00 00       	call   108a88 <rtems_assoc_ptr_by_remote>
                                                                      
  if (nap)                                                            
  10899b:	83 c4 10             	add    $0x10,%esp                     
  10899e:	85 c0                	test   %eax,%eax                      
  1089a0:	74 0a                	je     1089ac <rtems_assoc_name_by_remote+0x24>
    return nap->name;                                                 
  1089a2:	8b 00                	mov    (%eax),%eax                    
                                                                      
  return rtems_assoc_name_bad(remote_value);                          
}                                                                     
  1089a4:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1089a7:	c9                   	leave                                 
  1089a8:	c3                   	ret                                   
  1089a9:	8d 76 00             	lea    0x0(%esi),%esi                 
  nap = rtems_assoc_ptr_by_remote(ap, remote_value);                  
                                                                      
  if (nap)                                                            
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(remote_value);                          
  1089ac:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
}                                                                     
  1089af:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1089b2:	c9                   	leave                                 
  nap = rtems_assoc_ptr_by_remote(ap, remote_value);                  
                                                                      
  if (nap)                                                            
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(remote_value);                          
  1089b3:	e9 14 7d 00 00       	jmp    1106cc <rtems_assoc_name_bad>  
                                                                      

00114b50 <rtems_assoc_ptr_by_local>: const rtems_assoc_t *rtems_assoc_ptr_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
  114b50:	55                   	push   %ebp                           
  114b51:	89 e5                	mov    %esp,%ebp                      
  114b53:	57                   	push   %edi                           
  114b54:	56                   	push   %esi                           
  114b55:	53                   	push   %ebx                           
  114b56:	8b 45 08             	mov    0x8(%ebp),%eax                 
  114b59:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
  114b5c:	8b 30                	mov    (%eax),%esi                    
  114b5e:	85 f6                	test   %esi,%esi                      
  114b60:	74 3e                	je     114ba0 <rtems_assoc_ptr_by_local+0x50>
  114b62:	bf 18 60 12 00       	mov    $0x126018,%edi                 
  114b67:	b9 0a 00 00 00       	mov    $0xa,%ecx                      
  114b6c:	f3 a6                	repz cmpsb %es:(%edi),%ds:(%esi)      
  114b6e:	74 18                	je     114b88 <rtems_assoc_ptr_by_local+0x38>
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;                                
  114b70:	31 c9                	xor    %ecx,%ecx                      
  114b72:	eb 09                	jmp    114b7d <rtems_assoc_ptr_by_local+0x2d>
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
  114b74:	83 c0 0c             	add    $0xc,%eax                      
  114b77:	8b 18                	mov    (%eax),%ebx                    
  114b79:	85 db                	test   %ebx,%ebx                      
  114b7b:	74 1b                	je     114b98 <rtems_assoc_ptr_by_local+0x48>
    if (ap->local_value == local_value)                               
  114b7d:	39 50 04             	cmp    %edx,0x4(%eax)                 
  114b80:	75 f2                	jne    114b74 <rtems_assoc_ptr_by_local+0x24>
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
  114b82:	5b                   	pop    %ebx                           
  114b83:	5e                   	pop    %esi                           
  114b84:	5f                   	pop    %edi                           
  114b85:	c9                   	leave                                 
  114b86:	c3                   	ret                                   
  114b87:	90                   	nop                                   
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
  114b88:	8d 58 0c             	lea    0xc(%eax),%ebx                 
                                                                      
  for ( ; ap->name; ap++)                                             
  114b8b:	8b 70 0c             	mov    0xc(%eax),%esi                 
  114b8e:	85 f6                	test   %esi,%esi                      
  114b90:	74 f0                	je     114b82 <rtems_assoc_ptr_by_local+0x32><== NEVER TAKEN
  114b92:	89 c1                	mov    %eax,%ecx                      
  114b94:	89 d8                	mov    %ebx,%eax                      
  114b96:	eb e5                	jmp    114b7d <rtems_assoc_ptr_by_local+0x2d>
  114b98:	89 c8                	mov    %ecx,%eax                      
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
  114b9a:	5b                   	pop    %ebx                           
  114b9b:	5e                   	pop    %esi                           
  114b9c:	5f                   	pop    %edi                           
  114b9d:	c9                   	leave                                 
  114b9e:	c3                   	ret                                   
  114b9f:	90                   	nop                                   
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;                                
  114ba0:	31 c0                	xor    %eax,%eax                      
  for ( ; ap->name; ap++)                                             
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
  114ba2:	5b                   	pop    %ebx                           
  114ba3:	5e                   	pop    %esi                           
  114ba4:	5f                   	pop    %edi                           
  114ba5:	c9                   	leave                                 
  114ba6:	c3                   	ret                                   
                                                                      

00108a10 <rtems_assoc_ptr_by_name>: const rtems_assoc_t *rtems_assoc_ptr_by_name( const rtems_assoc_t *ap, const char *name ) {
  108a10:	55                   	push   %ebp                           
  108a11:	89 e5                	mov    %esp,%ebp                      
  108a13:	57                   	push   %edi                           
  108a14:	56                   	push   %esi                           
  108a15:	53                   	push   %ebx                           
  108a16:	83 ec 0c             	sub    $0xc,%esp                      
  108a19:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
  108a1c:	8b 03                	mov    (%ebx),%eax                    
  108a1e:	85 c0                	test   %eax,%eax                      
  108a20:	74 5a                	je     108a7c <rtems_assoc_ptr_by_name+0x6c>
  108a22:	bf 7d f3 11 00       	mov    $0x11f37d,%edi                 
  108a27:	b9 0a 00 00 00       	mov    $0xa,%ecx                      
  108a2c:	89 c6                	mov    %eax,%esi                      
  108a2e:	f3 a6                	repz cmpsb %es:(%edi),%ds:(%esi)      
  108a30:	74 2e                	je     108a60 <rtems_assoc_ptr_by_name+0x50>
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
  108a32:	31 f6                	xor    %esi,%esi                      
  108a34:	eb 0b                	jmp    108a41 <rtems_assoc_ptr_by_name+0x31>
  108a36:	66 90                	xchg   %ax,%ax                        
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
  108a38:	83 c3 0c             	add    $0xc,%ebx                      
  108a3b:	8b 03                	mov    (%ebx),%eax                    
  108a3d:	85 c0                	test   %eax,%eax                      
  108a3f:	74 2f                	je     108a70 <rtems_assoc_ptr_by_name+0x60>
    if (strcmp(ap->name, name) == 0)                                  
  108a41:	83 ec 08             	sub    $0x8,%esp                      
  108a44:	ff 75 0c             	pushl  0xc(%ebp)                      
  108a47:	50                   	push   %eax                           
  108a48:	e8 4f b1 00 00       	call   113b9c <strcmp>                
  108a4d:	83 c4 10             	add    $0x10,%esp                     
  108a50:	85 c0                	test   %eax,%eax                      
  108a52:	75 e4                	jne    108a38 <rtems_assoc_ptr_by_name+0x28>
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
  108a54:	89 d8                	mov    %ebx,%eax                      
  108a56:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108a59:	5b                   	pop    %ebx                           
  108a5a:	5e                   	pop    %esi                           
  108a5b:	5f                   	pop    %edi                           
  108a5c:	c9                   	leave                                 
  108a5d:	c3                   	ret                                   
  108a5e:	66 90                	xchg   %ax,%ax                        
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
  108a60:	8d 53 0c             	lea    0xc(%ebx),%edx                 
                                                                      
  for ( ; ap->name; ap++)                                             
  108a63:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  108a66:	85 c0                	test   %eax,%eax                      
  108a68:	74 ea                	je     108a54 <rtems_assoc_ptr_by_name+0x44><== NEVER TAKEN
  108a6a:	89 de                	mov    %ebx,%esi                      
  108a6c:	89 d3                	mov    %edx,%ebx                      
  108a6e:	eb d1                	jmp    108a41 <rtems_assoc_ptr_by_name+0x31>
  108a70:	89 f3                	mov    %esi,%ebx                      
    if (strcmp(ap->name, name) == 0)                                  
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
  108a72:	89 d8                	mov    %ebx,%eax                      
  108a74:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108a77:	5b                   	pop    %ebx                           
  108a78:	5e                   	pop    %esi                           
  108a79:	5f                   	pop    %edi                           
  108a7a:	c9                   	leave                                 
  108a7b:	c3                   	ret                                   
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
  108a7c:	31 db                	xor    %ebx,%ebx                      
  for ( ; ap->name; ap++)                                             
    if (strcmp(ap->name, name) == 0)                                  
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
  108a7e:	89 d8                	mov    %ebx,%eax                      
  108a80:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108a83:	5b                   	pop    %ebx                           
  108a84:	5e                   	pop    %esi                           
  108a85:	5f                   	pop    %edi                           
  108a86:	c9                   	leave                                 
  108a87:	c3                   	ret                                   
                                                                      

0010fa00 <rtems_assoc_ptr_by_remote>: const rtems_assoc_t *rtems_assoc_ptr_by_remote( const rtems_assoc_t *ap, uint32_t remote_value ) {
  10fa00:	55                   	push   %ebp                           
  10fa01:	89 e5                	mov    %esp,%ebp                      
  10fa03:	57                   	push   %edi                           
  10fa04:	56                   	push   %esi                           
  10fa05:	53                   	push   %ebx                           
  10fa06:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10fa09:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
  10fa0c:	8b 30                	mov    (%eax),%esi                    
  10fa0e:	85 f6                	test   %esi,%esi                      
  10fa10:	74 3e                	je     10fa50 <rtems_assoc_ptr_by_remote+0x50>
  10fa12:	bf 38 01 12 00       	mov    $0x120138,%edi                 
  10fa17:	b9 0a 00 00 00       	mov    $0xa,%ecx                      
  10fa1c:	f3 a6                	repz cmpsb %es:(%edi),%ds:(%esi)      
  10fa1e:	74 18                	je     10fa38 <rtems_assoc_ptr_by_remote+0x38>
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;                                
  10fa20:	31 c9                	xor    %ecx,%ecx                      
  10fa22:	eb 09                	jmp    10fa2d <rtems_assoc_ptr_by_remote+0x2d>
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
  10fa24:	83 c0 0c             	add    $0xc,%eax                      
  10fa27:	8b 18                	mov    (%eax),%ebx                    
  10fa29:	85 db                	test   %ebx,%ebx                      
  10fa2b:	74 1b                	je     10fa48 <rtems_assoc_ptr_by_remote+0x48>
    if (ap->remote_value == remote_value)                             
  10fa2d:	39 50 08             	cmp    %edx,0x8(%eax)                 
  10fa30:	75 f2                	jne    10fa24 <rtems_assoc_ptr_by_remote+0x24>
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
  10fa32:	5b                   	pop    %ebx                           
  10fa33:	5e                   	pop    %esi                           
  10fa34:	5f                   	pop    %edi                           
  10fa35:	c9                   	leave                                 
  10fa36:	c3                   	ret                                   
  10fa37:	90                   	nop                                   
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
  10fa38:	8d 58 0c             	lea    0xc(%eax),%ebx                 
                                                                      
  for ( ; ap->name; ap++)                                             
  10fa3b:	8b 70 0c             	mov    0xc(%eax),%esi                 
  10fa3e:	85 f6                	test   %esi,%esi                      
  10fa40:	74 f0                	je     10fa32 <rtems_assoc_ptr_by_remote+0x32><== NEVER TAKEN
  10fa42:	89 c1                	mov    %eax,%ecx                      
  10fa44:	89 d8                	mov    %ebx,%eax                      
  10fa46:	eb e5                	jmp    10fa2d <rtems_assoc_ptr_by_remote+0x2d>
  10fa48:	89 c8                	mov    %ecx,%eax                      
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
  10fa4a:	5b                   	pop    %ebx                           
  10fa4b:	5e                   	pop    %esi                           
  10fa4c:	5f                   	pop    %edi                           
  10fa4d:	c9                   	leave                                 
  10fa4e:	c3                   	ret                                   
  10fa4f:	90                   	nop                                   
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;                                
  10fa50:	31 c0                	xor    %eax,%eax                      
  for ( ; ap->name; ap++)                                             
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
  10fa52:	5b                   	pop    %ebx                           
  10fa53:	5e                   	pop    %esi                           
  10fa54:	5f                   	pop    %edi                           
  10fa55:	c9                   	leave                                 
  10fa56:	c3                   	ret                                   
                                                                      

00108b2c <rtems_assoc_remote_by_local>: uint32_t rtems_assoc_remote_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
  108b2c:	55                   	push   %ebp                           
  108b2d:	89 e5                	mov    %esp,%ebp                      
  108b2f:	83 ec 10             	sub    $0x10,%esp                     
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
  108b32:	ff 75 0c             	pushl  0xc(%ebp)                      
  108b35:	ff 75 08             	pushl  0x8(%ebp)                      
  108b38:	e8 7b fe ff ff       	call   1089b8 <rtems_assoc_ptr_by_local>
  if (nap)                                                            
  108b3d:	83 c4 10             	add    $0x10,%esp                     
  108b40:	85 c0                	test   %eax,%eax                      
  108b42:	74 08                	je     108b4c <rtems_assoc_remote_by_local+0x20>
    return nap->remote_value;                                         
  108b44:	8b 40 08             	mov    0x8(%eax),%eax                 
                                                                      
  return 0;                                                           
}                                                                     
  108b47:	c9                   	leave                                 
  108b48:	c3                   	ret                                   
  108b49:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
  if (nap)                                                            
    return nap->remote_value;                                         
                                                                      
  return 0;                                                           
  108b4c:	31 c0                	xor    %eax,%eax                      
}                                                                     
  108b4e:	c9                   	leave                                 
  108b4f:	c3                   	ret                                   
                                                                      

00108ae0 <rtems_assoc_remote_by_local_bitfield>: uint32_t rtems_assoc_remote_by_local_bitfield( const rtems_assoc_t *ap, uint32_t local_value ) {
  108ae0:	55                   	push   %ebp                           
  108ae1:	89 e5                	mov    %esp,%ebp                      
  108ae3:	57                   	push   %edi                           
  108ae4:	56                   	push   %esi                           
  108ae5:	53                   	push   %ebx                           
  108ae6:	83 ec 1c             	sub    $0x1c,%esp                     
  108ae9:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  108aec:	be 20 00 00 00       	mov    $0x20,%esi                     
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
  108af1:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
                                                                      
  for (b = 1; b; b <<= 1)                                             
  108af8:	bb 01 00 00 00       	mov    $0x1,%ebx                      
  108afd:	eb 06                	jmp    108b05 <rtems_assoc_remote_by_local_bitfield+0x25>
  108aff:	90                   	nop                                   
  108b00:	d1 e3                	shl    %ebx                           
  108b02:	4e                   	dec    %esi                           
  108b03:	74 1b                	je     108b20 <rtems_assoc_remote_by_local_bitfield+0x40>
    if (b & local_value)                                              
  108b05:	85 fb                	test   %edi,%ebx                      
  108b07:	74 f7                	je     108b00 <rtems_assoc_remote_by_local_bitfield+0x20>
      remote_value |= rtems_assoc_remote_by_local(ap, b);             
  108b09:	83 ec 08             	sub    $0x8,%esp                      
  108b0c:	53                   	push   %ebx                           
  108b0d:	ff 75 08             	pushl  0x8(%ebp)                      
  108b10:	e8 17 00 00 00       	call   108b2c <rtems_assoc_remote_by_local>
  108b15:	09 45 e4             	or     %eax,-0x1c(%ebp)               
  108b18:	83 c4 10             	add    $0x10,%esp                     
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
  108b1b:	d1 e3                	shl    %ebx                           
  108b1d:	4e                   	dec    %esi                           
  108b1e:	75 e5                	jne    108b05 <rtems_assoc_remote_by_local_bitfield+0x25><== ALWAYS TAKEN
    if (b & local_value)                                              
      remote_value |= rtems_assoc_remote_by_local(ap, b);             
                                                                      
  return remote_value;                                                
}                                                                     
  108b20:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  108b23:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108b26:	5b                   	pop    %ebx                           
  108b27:	5e                   	pop    %esi                           
  108b28:	5f                   	pop    %edi                           
  108b29:	c9                   	leave                                 
  108b2a:	c3                   	ret                                   
                                                                      

00108b50 <rtems_assoc_remote_by_name>: uint32_t rtems_assoc_remote_by_name( const rtems_assoc_t *ap, const char *name ) {
  108b50:	55                   	push   %ebp                           
  108b51:	89 e5                	mov    %esp,%ebp                      
  108b53:	83 ec 10             	sub    $0x10,%esp                     
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_name(ap, name);                            
  108b56:	ff 75 0c             	pushl  0xc(%ebp)                      
  108b59:	ff 75 08             	pushl  0x8(%ebp)                      
  108b5c:	e8 af fe ff ff       	call   108a10 <rtems_assoc_ptr_by_name>
  if (nap)                                                            
  108b61:	83 c4 10             	add    $0x10,%esp                     
  108b64:	85 c0                	test   %eax,%eax                      
  108b66:	74 08                	je     108b70 <rtems_assoc_remote_by_name+0x20>
    return nap->remote_value;                                         
  108b68:	8b 40 08             	mov    0x8(%eax),%eax                 
                                                                      
  return 0;                                                           
}                                                                     
  108b6b:	c9                   	leave                                 
  108b6c:	c3                   	ret                                   
  108b6d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  nap = rtems_assoc_ptr_by_name(ap, name);                            
  if (nap)                                                            
    return nap->remote_value;                                         
                                                                      
  return 0;                                                           
  108b70:	31 c0                	xor    %eax,%eax                      
}                                                                     
  108b72:	c9                   	leave                                 
  108b73:	c3                   	ret                                   
                                                                      

00112ab4 <rtems_barrier_create>: rtems_name name, rtems_attribute attribute_set, uint32_t maximum_waiters, rtems_id *id ) {
  112ab4:	55                   	push   %ebp                           
  112ab5:	89 e5                	mov    %esp,%ebp                      
  112ab7:	57                   	push   %edi                           
  112ab8:	56                   	push   %esi                           
  112ab9:	53                   	push   %ebx                           
  112aba:	83 ec 2c             	sub    $0x2c,%esp                     
  112abd:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  112ac0:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  112ac3:	8b 45 10             	mov    0x10(%ebp),%eax                
  112ac6:	8b 75 14             	mov    0x14(%ebp),%esi                
  Barrier_Control         *the_barrier;                               
  CORE_barrier_Attributes  the_attributes;                            
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  112ac9:	85 db                	test   %ebx,%ebx                      
  112acb:	0f 84 87 00 00 00    	je     112b58 <rtems_barrier_create+0xa4>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
  112ad1:	85 f6                	test   %esi,%esi                      
  112ad3:	0f 84 bf 00 00 00    	je     112b98 <rtems_barrier_create+0xe4><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Initialize core barrier attributes */                            
  if ( _Attributes_Is_barrier_automatic( attribute_set ) ) {          
  112ad9:	f7 c7 10 00 00 00    	test   $0x10,%edi                     
  112adf:	0f 84 83 00 00 00    	je     112b68 <rtems_barrier_create+0xb4>
    the_attributes.discipline = CORE_BARRIER_AUTOMATIC_RELEASE;       
  112ae5:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
    if ( maximum_waiters == 0 )                                       
  112aec:	85 c0                	test   %eax,%eax                      
  112aee:	0f 84 80 00 00 00    	je     112b74 <rtems_barrier_create+0xc0><== NEVER TAKEN
      return RTEMS_INVALID_NUMBER;                                    
  } else                                                              
    the_attributes.discipline = CORE_BARRIER_MANUAL_RELEASE;          
  the_attributes.maximum_count = maximum_waiters;                     
  112af4:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  112af7:	a1 10 88 12 00       	mov    0x128810,%eax                  
  112afc:	40                   	inc    %eax                           
  112afd:	a3 10 88 12 00       	mov    %eax,0x128810                  
 *  This function allocates a barrier control block from              
 *  the inactive chain of free barrier control blocks.                
 */                                                                   
RTEMS_INLINE_ROUTINE Barrier_Control *_Barrier_Allocate( void )       
{                                                                     
  return (Barrier_Control *) _Objects_Allocate( &_Barrier_Information );
  112b02:	83 ec 0c             	sub    $0xc,%esp                      
  112b05:	68 40 8b 12 00       	push   $0x128b40                      
  112b0a:	e8 01 bb ff ff       	call   10e610 <_Objects_Allocate>     
                                                                      
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _Barrier_Allocate();                                  
                                                                      
  if ( !the_barrier ) {                                               
  112b0f:	83 c4 10             	add    $0x10,%esp                     
  112b12:	85 c0                	test   %eax,%eax                      
  112b14:	74 6e                	je     112b84 <rtems_barrier_create+0xd0>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
                                                                      
  the_barrier->attribute_set = attribute_set;                         
  112b16:	89 78 10             	mov    %edi,0x10(%eax)                
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
  112b19:	83 ec 08             	sub    $0x8,%esp                      
  112b1c:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  112b1f:	52                   	push   %edx                           
  112b20:	8d 50 14             	lea    0x14(%eax),%edx                
  112b23:	52                   	push   %edx                           
  112b24:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  112b27:	e8 c0 07 00 00       	call   1132ec <_CORE_barrier_Initialize>
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  112b2c:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  112b2f:	8b 50 08             	mov    0x8(%eax),%edx                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  112b32:	0f b7 fa             	movzwl %dx,%edi                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  112b35:	8b 0d 5c 8b 12 00    	mov    0x128b5c,%ecx                  
  112b3b:	89 04 b9             	mov    %eax,(%ecx,%edi,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  112b3e:	89 58 0c             	mov    %ebx,0xc(%eax)                 
    &_Barrier_Information,                                            
    &the_barrier->Object,                                             
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_barrier->Object.id;                                       
  112b41:	89 16                	mov    %edx,(%esi)                    
                                                                      
  _Thread_Enable_dispatch();                                          
  112b43:	e8 38 ca ff ff       	call   10f580 <_Thread_Enable_dispatch>
  return RTEMS_SUCCESSFUL;                                            
  112b48:	83 c4 10             	add    $0x10,%esp                     
  112b4b:	31 c0                	xor    %eax,%eax                      
}                                                                     
  112b4d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112b50:	5b                   	pop    %ebx                           
  112b51:	5e                   	pop    %esi                           
  112b52:	5f                   	pop    %edi                           
  112b53:	c9                   	leave                                 
  112b54:	c3                   	ret                                   
  112b55:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  Barrier_Control         *the_barrier;                               
  CORE_barrier_Attributes  the_attributes;                            
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
  112b58:	b8 03 00 00 00       	mov    $0x3,%eax                      
                                                                      
  *id = the_barrier->Object.id;                                       
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  112b5d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112b60:	5b                   	pop    %ebx                           
  112b61:	5e                   	pop    %esi                           
  112b62:	5f                   	pop    %edi                           
  112b63:	c9                   	leave                                 
  112b64:	c3                   	ret                                   
  112b65:	8d 76 00             	lea    0x0(%esi),%esi                 
  if ( _Attributes_Is_barrier_automatic( attribute_set ) ) {          
    the_attributes.discipline = CORE_BARRIER_AUTOMATIC_RELEASE;       
    if ( maximum_waiters == 0 )                                       
      return RTEMS_INVALID_NUMBER;                                    
  } else                                                              
    the_attributes.discipline = CORE_BARRIER_MANUAL_RELEASE;          
  112b68:	c7 45 e0 01 00 00 00 	movl   $0x1,-0x20(%ebp)               
  112b6f:	eb 83                	jmp    112af4 <rtems_barrier_create+0x40>
  112b71:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  /* Initialize core barrier attributes */                            
  if ( _Attributes_Is_barrier_automatic( attribute_set ) ) {          
    the_attributes.discipline = CORE_BARRIER_AUTOMATIC_RELEASE;       
    if ( maximum_waiters == 0 )                                       
      return RTEMS_INVALID_NUMBER;                                    
  112b74:	b8 0a 00 00 00       	mov    $0xa,%eax                      
                                                                      
  *id = the_barrier->Object.id;                                       
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  112b79:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112b7c:	5b                   	pop    %ebx                           
  112b7d:	5e                   	pop    %esi                           
  112b7e:	5f                   	pop    %edi                           
  112b7f:	c9                   	leave                                 
  112b80:	c3                   	ret                                   
  112b81:	8d 76 00             	lea    0x0(%esi),%esi                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _Barrier_Allocate();                                  
                                                                      
  if ( !the_barrier ) {                                               
    _Thread_Enable_dispatch();                                        
  112b84:	e8 f7 c9 ff ff       	call   10f580 <_Thread_Enable_dispatch>
    return RTEMS_TOO_MANY;                                            
  112b89:	b8 05 00 00 00       	mov    $0x5,%eax                      
                                                                      
  *id = the_barrier->Object.id;                                       
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  112b8e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112b91:	5b                   	pop    %ebx                           
  112b92:	5e                   	pop    %esi                           
  112b93:	5f                   	pop    %edi                           
  112b94:	c9                   	leave                                 
  112b95:	c3                   	ret                                   
  112b96:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
  112b98:	b8 09 00 00 00       	mov    $0x9,%eax                      
  112b9d:	eb ae                	jmp    112b4d <rtems_barrier_create+0x99>
                                                                      

00107d4c <rtems_bsp_cmdline_get_param>: const char *rtems_bsp_cmdline_get_param( const char *name, char *value, size_t length ) {
  107d4c:	55                   	push   %ebp                           
  107d4d:	89 e5                	mov    %esp,%ebp                      
  107d4f:	57                   	push   %edi                           
  107d50:	56                   	push   %esi                           
  107d51:	53                   	push   %ebx                           
  107d52:	83 ec 1c             	sub    $0x1c,%esp                     
  107d55:	8b 45 08             	mov    0x8(%ebp),%eax                 
  107d58:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  107d5b:	8b 75 10             	mov    0x10(%ebp),%esi                
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
  107d5e:	85 c0                	test   %eax,%eax                      
  107d60:	75 0a                	jne    107d6c <rtems_bsp_cmdline_get_param+0x20>
  value[0] = '\0';                                                    
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
                                                                      
  if ( !p )                                                           
    return NULL;                                                      
  107d62:	31 c0                	xor    %eax,%eax                      
                                                                      
  copy_string( p, value, length );                                    
                                                                      
  return value;                                                       
}                                                                     
  107d64:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107d67:	5b                   	pop    %ebx                           
  107d68:	5e                   	pop    %esi                           
  107d69:	5f                   	pop    %edi                           
  107d6a:	c9                   	leave                                 
  107d6b:	c3                   	ret                                   
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
    return NULL;                                                      
                                                                      
  if ( !value )                                                       
  107d6c:	85 db                	test   %ebx,%ebx                      
  107d6e:	74 f2                	je     107d62 <rtems_bsp_cmdline_get_param+0x16>
    return NULL;                                                      
                                                                      
  if ( !length )                                                      
  107d70:	85 f6                	test   %esi,%esi                      
  107d72:	74 ee                	je     107d62 <rtems_bsp_cmdline_get_param+0x16>
    return NULL;                                                      
                                                                      
  value[0] = '\0';                                                    
  107d74:	c6 03 00             	movb   $0x0,(%ebx)                    
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
  107d77:	83 ec 0c             	sub    $0xc,%esp                      
  107d7a:	50                   	push   %eax                           
  107d7b:	e8 4c 00 00 00       	call   107dcc <rtems_bsp_cmdline_get_param_raw>
                                                                      
  if ( !p )                                                           
  107d80:	83 c4 10             	add    $0x10,%esp                     
  107d83:	85 c0                	test   %eax,%eax                      
  107d85:	74 db                	je     107d62 <rtems_bsp_cmdline_get_param+0x16>
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
  107d87:	8a 08                	mov    (%eax),%cl                     
  107d89:	84 c9                	test   %cl,%cl                        
  107d8b:	74 3a                	je     107dc7 <rtems_bsp_cmdline_get_param+0x7b><== NEVER TAKEN
  107d8d:	4e                   	dec    %esi                           
  107d8e:	89 75 e4             	mov    %esi,-0x1c(%ebp)               
  107d91:	74 34                	je     107dc7 <rtems_bsp_cmdline_get_param+0x7b><== NEVER TAKEN
  107d93:	31 f6                	xor    %esi,%esi                      
  107d95:	31 d2                	xor    %edx,%edx                      
  107d97:	31 ff                	xor    %edi,%edi                      
  107d99:	eb 24                	jmp    107dbf <rtems_bsp_cmdline_get_param+0x73>
  107d9b:	90                   	nop                                   
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
  107d9c:	f7 c7 01 00 00 00    	test   $0x1,%edi                      
  107da2:	75 05                	jne    107da9 <rtems_bsp_cmdline_get_param+0x5d>
  107da4:	80 f9 20             	cmp    $0x20,%cl                      
  107da7:	74 1e                	je     107dc7 <rtems_bsp_cmdline_get_param+0x7b>
      break;                                                          
    value[i++] = *p++;                                                
  107da9:	88 0c 33             	mov    %cl,(%ebx,%esi,1)              
  107dac:	42                   	inc    %edx                           
    value[i] = '\0';                                                  
  107dad:	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; ) {                                    
  107db1:	8a 0c 10             	mov    (%eax,%edx,1),%cl              
  107db4:	84 c9                	test   %cl,%cl                        
  107db6:	74 0f                	je     107dc7 <rtems_bsp_cmdline_get_param+0x7b>
  107db8:	3b 55 e4             	cmp    -0x1c(%ebp),%edx               
  107dbb:	73 0a                	jae    107dc7 <rtems_bsp_cmdline_get_param+0x7b>
  107dbd:	89 d6                	mov    %edx,%esi                      
    if ( *p == '\"' ) {                                               
  107dbf:	80 f9 22             	cmp    $0x22,%cl                      
  107dc2:	75 d8                	jne    107d9c <rtems_bsp_cmdline_get_param+0x50>
      quotes++;                                                       
  107dc4:	47                   	inc    %edi                           
  107dc5:	eb e2                	jmp    107da9 <rtems_bsp_cmdline_get_param+0x5d>
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
  107dc7:	89 d8                	mov    %ebx,%eax                      
  107dc9:	eb 99                	jmp    107d64 <rtems_bsp_cmdline_get_param+0x18>
                                                                      

00107dcc <rtems_bsp_cmdline_get_param_raw>: extern const char *bsp_boot_cmdline; const char *rtems_bsp_cmdline_get_param_raw( const char *name ) {
  107dcc:	55                   	push   %ebp                           
  107dcd:	89 e5                	mov    %esp,%ebp                      
  107dcf:	83 ec 08             	sub    $0x8,%esp                      
  107dd2:	8b 45 08             	mov    0x8(%ebp),%eax                 
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
  107dd5:	85 c0                	test   %eax,%eax                      
  107dd7:	75 07                	jne    107de0 <rtems_bsp_cmdline_get_param_raw+0x14>
    return NULL;                                                      
                                                                      
  if ( !bsp_boot_cmdline )                                            
    return NULL;                                                      
  107dd9:	31 c0                	xor    %eax,%eax                      
                                                                      
  p = strstr(bsp_boot_cmdline, name);                                 
  /* printf( "raw: %p (%s)\n", p, p ); */                             
  return p;                                                           
}                                                                     
  107ddb:	c9                   	leave                                 
  107ddc:	c3                   	ret                                   
  107ddd:	8d 76 00             	lea    0x0(%esi),%esi                 
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
    return NULL;                                                      
                                                                      
  if ( !bsp_boot_cmdline )                                            
  107de0:	8b 15 38 61 12 00    	mov    0x126138,%edx                  
  107de6:	85 d2                	test   %edx,%edx                      
  107de8:	74 ef                	je     107dd9 <rtems_bsp_cmdline_get_param_raw+0xd>
    return NULL;                                                      
                                                                      
  p = strstr(bsp_boot_cmdline, name);                                 
  107dea:	83 ec 08             	sub    $0x8,%esp                      
  107ded:	50                   	push   %eax                           
  107dee:	52                   	push   %edx                           
  107def:	e8 78 be 00 00       	call   113c6c <strstr>                
  107df4:	83 c4 10             	add    $0x10,%esp                     
  /* printf( "raw: %p (%s)\n", p, p ); */                             
  return p;                                                           
}                                                                     
  107df7:	c9                   	leave                                 
  107df8:	c3                   	ret                                   
                                                                      

0010c14c <rtems_chain_append_with_notification>: rtems_chain_control *chain, rtems_chain_node *node, rtems_id task, rtems_event_set events ) {
  10c14c:	55                   	push   %ebp                           
  10c14d:	89 e5                	mov    %esp,%ebp                      
  10c14f:	56                   	push   %esi                           
  10c150:	53                   	push   %ebx                           
  10c151:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  10c154:	8b 75 14             	mov    0x14(%ebp),%esi                
RTEMS_INLINE_ROUTINE bool rtems_chain_append_with_empty_check(        
  rtems_chain_control *chain,                                         
  rtems_chain_node *node                                              
)                                                                     
{                                                                     
  return _Chain_Append_with_empty_check( chain, node );               
  10c157:	83 ec 08             	sub    $0x8,%esp                      
  10c15a:	ff 75 0c             	pushl  0xc(%ebp)                      
  10c15d:	ff 75 08             	pushl  0x8(%ebp)                      
  10c160:	e8 97 04 00 00       	call   10c5fc <_Chain_Append_with_empty_check>
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
  10c165:	83 c4 10             	add    $0x10,%esp                     
  10c168:	84 c0                	test   %al,%al                        
  10c16a:	75 0c                	jne    10c178 <rtems_chain_append_with_notification+0x2c><== ALWAYS TAKEN
    sc = rtems_event_send( task, events );                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10c16c:	31 c0                	xor    %eax,%eax                      
  10c16e:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c171:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10c172:	5e                   	pop    %esi                           <== NOT EXECUTED
  10c173:	c9                   	leave                                 <== NOT EXECUTED
  10c174:	c3                   	ret                                   <== NOT EXECUTED
  10c175:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
    sc = rtems_event_send( task, events );                            
  10c178:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  10c17b:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10c17e:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c181:	5b                   	pop    %ebx                           
  10c182:	5e                   	pop    %esi                           
  10c183:	c9                   	leave                                 
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
    sc = rtems_event_send( task, events );                            
  10c184:	e9 a3 f5 ff ff       	jmp    10b72c <rtems_event_send>      
                                                                      

0010c18c <rtems_chain_get_with_notification>: rtems_chain_control *chain, rtems_id task, rtems_event_set events, rtems_chain_node **node ) {
  10c18c:	55                   	push   %ebp                           
  10c18d:	89 e5                	mov    %esp,%ebp                      
  10c18f:	56                   	push   %esi                           
  10c190:	53                   	push   %ebx                           
  10c191:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10c194:	8b 75 10             	mov    0x10(%ebp),%esi                
RTEMS_INLINE_ROUTINE bool rtems_chain_get_with_empty_check(           
  rtems_chain_control *chain,                                         
  rtems_chain_node **node                                             
)                                                                     
{                                                                     
  return _Chain_Get_with_empty_check( chain, node );                  
  10c197:	83 ec 08             	sub    $0x8,%esp                      
  10c19a:	ff 75 14             	pushl  0x14(%ebp)                     
  10c19d:	ff 75 08             	pushl  0x8(%ebp)                      
  10c1a0:	e8 bf 04 00 00       	call   10c664 <_Chain_Get_with_empty_check>
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool is_empty = rtems_chain_get_with_empty_check( chain, node );    
                                                                      
  if ( is_empty ) {                                                   
  10c1a5:	83 c4 10             	add    $0x10,%esp                     
  10c1a8:	84 c0                	test   %al,%al                        
  10c1aa:	75 0c                	jne    10c1b8 <rtems_chain_get_with_notification+0x2c>
    sc = rtems_event_send( task, events );                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10c1ac:	31 c0                	xor    %eax,%eax                      
  10c1ae:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c1b1:	5b                   	pop    %ebx                           
  10c1b2:	5e                   	pop    %esi                           
  10c1b3:	c9                   	leave                                 
  10c1b4:	c3                   	ret                                   
  10c1b5:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool is_empty = rtems_chain_get_with_empty_check( chain, node );    
                                                                      
  if ( is_empty ) {                                                   
    sc = rtems_event_send( task, events );                            
  10c1b8:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  10c1bb:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10c1be:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c1c1:	5b                   	pop    %ebx                           
  10c1c2:	5e                   	pop    %esi                           
  10c1c3:	c9                   	leave                                 
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool is_empty = rtems_chain_get_with_empty_check( chain, node );    
                                                                      
  if ( is_empty ) {                                                   
    sc = rtems_event_send( task, events );                            
  10c1c4:	e9 63 f5 ff ff       	jmp    10b72c <rtems_event_send>      
                                                                      

0010c1cc <rtems_chain_get_with_wait>: rtems_chain_control *chain, rtems_event_set events, rtems_interval timeout, rtems_chain_node **node_ptr ) {
  10c1cc:	55                   	push   %ebp                           
  10c1cd:	89 e5                	mov    %esp,%ebp                      
  10c1cf:	57                   	push   %edi                           
  10c1d0:	56                   	push   %esi                           
  10c1d1:	53                   	push   %ebx                           
  10c1d2:	83 ec 1c             	sub    $0x1c,%esp                     
  10c1d5:	8b 75 08             	mov    0x8(%ebp),%esi                 
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
  10c1d8:	8d 7d e4             	lea    -0x1c(%ebp),%edi               
  10c1db:	90                   	nop                                   
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
  10c1dc:	83 ec 0c             	sub    $0xc,%esp                      
  10c1df:	56                   	push   %esi                           
  10c1e0:	e8 bb 04 00 00       	call   10c6a0 <_Chain_Get>            
  10c1e5:	89 c3                	mov    %eax,%ebx                      
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  10c1e7:	83 c4 10             	add    $0x10,%esp                     
  10c1ea:	85 c0                	test   %eax,%eax                      
  10c1ec:	75 22                	jne    10c210 <rtems_chain_get_with_wait+0x44>
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
  10c1ee:	57                   	push   %edi                           
  10c1ef:	ff 75 10             	pushl  0x10(%ebp)                     
  10c1f2:	6a 00                	push   $0x0                           
  10c1f4:	ff 75 0c             	pushl  0xc(%ebp)                      
  10c1f7:	e8 a8 f3 ff ff       	call   10b5a4 <rtems_event_receive>   
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
  10c1fc:	83 c4 10             	add    $0x10,%esp                     
  10c1ff:	85 c0                	test   %eax,%eax                      
  10c201:	74 d9                	je     10c1dc <rtems_chain_get_with_wait+0x10><== NEVER TAKEN
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
  10c203:	8b 55 14             	mov    0x14(%ebp),%edx                
  10c206:	89 1a                	mov    %ebx,(%edx)                    
                                                                      
  return sc;                                                          
}                                                                     
  10c208:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c20b:	5b                   	pop    %ebx                           
  10c20c:	5e                   	pop    %esi                           
  10c20d:	5f                   	pop    %edi                           
  10c20e:	c9                   	leave                                 
  10c20f:	c3                   	ret                                   
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  10c210:	31 c0                	xor    %eax,%eax                      
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
  10c212:	8b 55 14             	mov    0x14(%ebp),%edx                
  10c215:	89 1a                	mov    %ebx,(%edx)                    
                                                                      
  return sc;                                                          
}                                                                     
  10c217:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c21a:	5b                   	pop    %ebx                           
  10c21b:	5e                   	pop    %esi                           
  10c21c:	5f                   	pop    %edi                           
  10c21d:	c9                   	leave                                 
  10c21e:	c3                   	ret                                   
                                                                      

0010c220 <rtems_chain_prepend_with_notification>: rtems_chain_control *chain, rtems_chain_node *node, rtems_id task, rtems_event_set events ) {
  10c220:	55                   	push   %ebp                           
  10c221:	89 e5                	mov    %esp,%ebp                      
  10c223:	56                   	push   %esi                           
  10c224:	53                   	push   %ebx                           
  10c225:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  10c228:	8b 75 14             	mov    0x14(%ebp),%esi                
RTEMS_INLINE_ROUTINE bool rtems_chain_prepend_with_empty_check(       
  rtems_chain_control *chain,                                         
  rtems_chain_node *node                                              
)                                                                     
{                                                                     
  return _Chain_Prepend_with_empty_check( chain, node );              
  10c22b:	83 ec 08             	sub    $0x8,%esp                      
  10c22e:	ff 75 0c             	pushl  0xc(%ebp)                      
  10c231:	ff 75 08             	pushl  0x8(%ebp)                      
  10c234:	e8 ab 04 00 00       	call   10c6e4 <_Chain_Prepend_with_empty_check>
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
  10c239:	83 c4 10             	add    $0x10,%esp                     
  10c23c:	84 c0                	test   %al,%al                        
  10c23e:	75 0c                	jne    10c24c <rtems_chain_prepend_with_notification+0x2c><== ALWAYS TAKEN
    sc = rtems_event_send( task, events );                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10c240:	31 c0                	xor    %eax,%eax                      
  10c242:	8d 65 f8             	lea    -0x8(%ebp),%esp                <== NOT EXECUTED
  10c245:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10c246:	5e                   	pop    %esi                           <== NOT EXECUTED
  10c247:	c9                   	leave                                 <== NOT EXECUTED
  10c248:	c3                   	ret                                   <== NOT EXECUTED
  10c249:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
    sc = rtems_event_send( task, events );                            
  10c24c:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  10c24f:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
  10c252:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c255:	5b                   	pop    %ebx                           
  10c256:	5e                   	pop    %esi                           
  10c257:	c9                   	leave                                 
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
    sc = rtems_event_send( task, events );                            
  10c258:	e9 cf f4 ff ff       	jmp    10b72c <rtems_event_send>      
                                                                      

00115a60 <rtems_clock_get>: rtems_status_code rtems_clock_get( rtems_clock_get_options option, void *time_buffer ) {
  115a60:	55                   	push   %ebp                           
  115a61:	89 e5                	mov    %esp,%ebp                      
  115a63:	53                   	push   %ebx                           
  115a64:	83 ec 04             	sub    $0x4,%esp                      
  115a67:	8b 45 08             	mov    0x8(%ebp),%eax                 
  115a6a:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  if ( !time_buffer )                                                 
  115a6d:	85 db                	test   %ebx,%ebx                      
  115a6f:	74 3b                	je     115aac <rtems_clock_get+0x4c>  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( option == RTEMS_CLOCK_GET_TOD )                                
  115a71:	85 c0                	test   %eax,%eax                      
  115a73:	74 2b                	je     115aa0 <rtems_clock_get+0x40>  
    return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer );   
                                                                      
  if ( option == RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH )                
  115a75:	83 f8 01             	cmp    $0x1,%eax                      
  115a78:	74 3e                	je     115ab8 <rtems_clock_get+0x58>  
      return rtems_clock_get_seconds_since_epoch((rtems_interval *)time_buffer);
                                                                      
  if ( option == RTEMS_CLOCK_GET_TICKS_SINCE_BOOT ) {                 
  115a7a:	83 f8 02             	cmp    $0x2,%eax                      
  115a7d:	74 45                	je     115ac4 <rtems_clock_get+0x64>  
                                                                      
    *interval = rtems_clock_get_ticks_since_boot();                   
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TICKS_PER_SECOND ) {                 
  115a7f:	83 f8 03             	cmp    $0x3,%eax                      
  115a82:	74 4c                	je     115ad0 <rtems_clock_get+0x70>  
                                                                      
    *interval = rtems_clock_get_ticks_per_second();                   
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
  115a84:	83 f8 04             	cmp    $0x4,%eax                      
  115a87:	74 0b                	je     115a94 <rtems_clock_get+0x34>  
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
  115a89:	b8 0a 00 00 00       	mov    $0xa,%eax                      
                                                                      
}                                                                     
  115a8e:	5a                   	pop    %edx                           
  115a8f:	5b                   	pop    %ebx                           
  115a90:	c9                   	leave                                 
  115a91:	c3                   	ret                                   
  115a92:	66 90                	xchg   %ax,%ax                        
    *interval = rtems_clock_get_ticks_per_second();                   
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
  115a94:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
                                                                      
}                                                                     
  115a97:	59                   	pop    %ecx                           
  115a98:	5b                   	pop    %ebx                           
  115a99:	c9                   	leave                                 
    *interval = rtems_clock_get_ticks_per_second();                   
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
  115a9a:	e9 41 01 00 00       	jmp    115be0 <rtems_clock_get_tod_timeval>
  115a9f:	90                   	nop                                   
{                                                                     
  if ( !time_buffer )                                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( option == RTEMS_CLOCK_GET_TOD )                                
    return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer );   
  115aa0:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
                                                                      
}                                                                     
  115aa3:	58                   	pop    %eax                           
  115aa4:	5b                   	pop    %ebx                           
  115aa5:	c9                   	leave                                 
{                                                                     
  if ( !time_buffer )                                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( option == RTEMS_CLOCK_GET_TOD )                                
    return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer );   
  115aa6:	e9 81 00 00 00       	jmp    115b2c <rtems_clock_get_tod>   
  115aab:	90                   	nop                                   
  rtems_clock_get_options  option,                                    
  void                    *time_buffer                                
)                                                                     
{                                                                     
  if ( !time_buffer )                                                 
    return RTEMS_INVALID_ADDRESS;                                     
  115aac:	b8 09 00 00 00       	mov    $0x9,%eax                      
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
                                                                      
}                                                                     
  115ab1:	5a                   	pop    %edx                           
  115ab2:	5b                   	pop    %ebx                           
  115ab3:	c9                   	leave                                 
  115ab4:	c3                   	ret                                   
  115ab5:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( option == RTEMS_CLOCK_GET_TOD )                                
    return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer );   
                                                                      
  if ( option == RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH )                
      return rtems_clock_get_seconds_since_epoch((rtems_interval *)time_buffer);
  115ab8:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
                                                                      
}                                                                     
  115abb:	5b                   	pop    %ebx                           
  115abc:	5b                   	pop    %ebx                           
  115abd:	c9                   	leave                                 
                                                                      
  if ( option == RTEMS_CLOCK_GET_TOD )                                
    return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer );   
                                                                      
  if ( option == RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH )                
      return rtems_clock_get_seconds_since_epoch((rtems_interval *)time_buffer);
  115abe:	e9 19 00 00 00       	jmp    115adc <rtems_clock_get_seconds_since_epoch>
  115ac3:	90                   	nop                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TICKS_SINCE_BOOT ) {                 
    rtems_interval *interval = (rtems_interval *)time_buffer;         
                                                                      
    *interval = rtems_clock_get_ticks_since_boot();                   
  115ac4:	e8 57 00 00 00       	call   115b20 <rtems_clock_get_ticks_since_boot>
  115ac9:	89 03                	mov    %eax,(%ebx)                    
    return RTEMS_SUCCESSFUL;                                          
  115acb:	31 c0                	xor    %eax,%eax                      
  115acd:	eb bf                	jmp    115a8e <rtems_clock_get+0x2e>  
  115acf:	90                   	nop                                   
  }                                                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TICKS_PER_SECOND ) {                 
    rtems_interval *interval = (rtems_interval *)time_buffer;         
                                                                      
    *interval = rtems_clock_get_ticks_per_second();                   
  115ad0:	e8 37 00 00 00       	call   115b0c <rtems_clock_get_ticks_per_second>
  115ad5:	89 03                	mov    %eax,(%ebx)                    
    return RTEMS_SUCCESSFUL;                                          
  115ad7:	31 c0                	xor    %eax,%eax                      
  115ad9:	eb b3                	jmp    115a8e <rtems_clock_get+0x2e>  
                                                                      

00115be0 <rtems_clock_get_tod_timeval>: #include <rtems/score/watchdog.h> rtems_status_code rtems_clock_get_tod_timeval( struct timeval *time ) {
  115be0:	55                   	push   %ebp                           
  115be1:	89 e5                	mov    %esp,%ebp                      
  115be3:	56                   	push   %esi                           
  115be4:	53                   	push   %ebx                           
  115be5:	83 ec 10             	sub    $0x10,%esp                     
  115be8:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  if ( !time )                                                        
  115beb:	85 db                	test   %ebx,%ebx                      
  115bed:	74 51                	je     115c40 <rtems_clock_get_tod_timeval+0x60>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
  115bef:	80 3d a4 0a 14 00 00 	cmpb   $0x0,0x140aa4                  
  115bf6:	75 0c                	jne    115c04 <rtems_clock_get_tod_timeval+0x24>
    return RTEMS_NOT_DEFINED;                                         
  115bf8:	b8 0b 00 00 00       	mov    $0xb,%eax                      
                                                                      
  _TOD_Get_timeval( time );                                           
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  115bfd:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  115c00:	5b                   	pop    %ebx                           
  115c01:	5e                   	pop    %esi                           
  115c02:	c9                   	leave                                 
  115c03:	c3                   	ret                                   
{                                                                     
  ISR_Level       level;                                              
  struct timespec now;                                                
  suseconds_t     useconds;                                           
                                                                      
  _ISR_Disable(level);                                                
  115c04:	9c                   	pushf                                 
  115c05:	fa                   	cli                                   
  115c06:	5e                   	pop    %esi                           
    _TOD_Get( &now );                                                 
  115c07:	83 ec 0c             	sub    $0xc,%esp                      
  115c0a:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  115c0d:	50                   	push   %eax                           
  115c0e:	e8 e9 42 00 00       	call   119efc <_TOD_Get>              
  _ISR_Enable(level);                                                 
  115c13:	56                   	push   %esi                           
  115c14:	9d                   	popf                                  
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  115c15:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
  115c18:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  115c1b:	89 03                	mov    %eax,(%ebx)                    
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
  115c1d:	b8 d3 4d 62 10       	mov    $0x10624dd3,%eax               
  115c22:	f7 e9                	imul   %ecx                           
  115c24:	89 d0                	mov    %edx,%eax                      
  115c26:	c1 f8 06             	sar    $0x6,%eax                      
  115c29:	c1 f9 1f             	sar    $0x1f,%ecx                     
  115c2c:	29 c8                	sub    %ecx,%eax                      
  115c2e:	89 43 04             	mov    %eax,0x4(%ebx)                 
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  _TOD_Get_timeval( time );                                           
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  115c31:	83 c4 10             	add    $0x10,%esp                     
  115c34:	31 c0                	xor    %eax,%eax                      
}                                                                     
  115c36:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  115c39:	5b                   	pop    %ebx                           
  115c3a:	5e                   	pop    %esi                           
  115c3b:	c9                   	leave                                 
  115c3c:	c3                   	ret                                   
  115c3d:	8d 76 00             	lea    0x0(%esi),%esi                 
rtems_status_code rtems_clock_get_tod_timeval(                        
  struct timeval  *time                                               
)                                                                     
{                                                                     
  if ( !time )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
  115c40:	b8 09 00 00 00       	mov    $0x9,%eax                      
  115c45:	eb b6                	jmp    115bfd <rtems_clock_get_tod_timeval+0x1d>
                                                                      

0010b1f0 <rtems_clock_get_uptime>: * error code - if unsuccessful */ rtems_status_code rtems_clock_get_uptime( struct timespec *uptime ) {
  10b1f0:	55                   	push   %ebp                           
  10b1f1:	89 e5                	mov    %esp,%ebp                      
  10b1f3:	83 ec 08             	sub    $0x8,%esp                      
  10b1f6:	8b 45 08             	mov    0x8(%ebp),%eax                 
  if ( !uptime )                                                      
  10b1f9:	85 c0                	test   %eax,%eax                      
  10b1fb:	74 13                	je     10b210 <rtems_clock_get_uptime+0x20>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _TOD_Get_uptime_as_timespec( uptime );                              
  10b1fd:	83 ec 0c             	sub    $0xc,%esp                      
  10b200:	50                   	push   %eax                           
  10b201:	e8 a6 15 00 00       	call   10c7ac <_TOD_Get_uptime_as_timespec>
  return RTEMS_SUCCESSFUL;                                            
  10b206:	83 c4 10             	add    $0x10,%esp                     
  10b209:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10b20b:	c9                   	leave                                 
  10b20c:	c3                   	ret                                   
  10b20d:	8d 76 00             	lea    0x0(%esi),%esi                 
rtems_status_code rtems_clock_get_uptime(                             
  struct timespec *uptime                                             
)                                                                     
{                                                                     
  if ( !uptime )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
  10b210:	b8 09 00 00 00       	mov    $0x9,%eax                      
                                                                      
  _TOD_Get_uptime_as_timespec( uptime );                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10b215:	c9                   	leave                                 
  10b216:	c3                   	ret                                   
                                                                      

0010c12c <rtems_clock_set>: */ rtems_status_code rtems_clock_set( rtems_time_of_day *time_buffer ) {
  10c12c:	55                   	push   %ebp                           
  10c12d:	89 e5                	mov    %esp,%ebp                      
  10c12f:	53                   	push   %ebx                           
  10c130:	83 ec 14             	sub    $0x14,%esp                     
  10c133:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  struct timespec  newtime;                                           
                                                                      
  if ( !time_buffer )                                                 
  10c136:	85 db                	test   %ebx,%ebx                      
  10c138:	74 66                	je     10c1a0 <rtems_clock_set+0x74>  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( _TOD_Validate( time_buffer ) ) {                               
  10c13a:	83 ec 0c             	sub    $0xc,%esp                      
  10c13d:	53                   	push   %ebx                           
  10c13e:	e8 39 01 00 00       	call   10c27c <_TOD_Validate>         
  10c143:	83 c4 10             	add    $0x10,%esp                     
  10c146:	84 c0                	test   %al,%al                        
  10c148:	75 0a                	jne    10c154 <rtems_clock_set+0x28>  
    _Thread_Disable_dispatch();                                       
      _TOD_Set( &newtime );                                           
    _Thread_Enable_dispatch();                                        
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
  return RTEMS_INVALID_CLOCK;                                         
  10c14a:	b8 14 00 00 00       	mov    $0x14,%eax                     
}                                                                     
  10c14f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c152:	c9                   	leave                                 
  10c153:	c3                   	ret                                   
                                                                      
  if ( !time_buffer )                                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( _TOD_Validate( time_buffer ) ) {                               
    newtime.tv_sec = _TOD_To_seconds( time_buffer );                  
  10c154:	83 ec 0c             	sub    $0xc,%esp                      
  10c157:	53                   	push   %ebx                           
  10c158:	e8 93 00 00 00       	call   10c1f0 <_TOD_To_seconds>       
  10c15d:	89 45 f0             	mov    %eax,-0x10(%ebp)               
    newtime.tv_nsec = time_buffer->ticks *                            
  10c160:	8b 43 18             	mov    0x18(%ebx),%eax                
  10c163:	0f af 05 cc 53 12 00 	imul   0x1253cc,%eax                  
  10c16a:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10c16d:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10c170:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10c173:	c1 e0 03             	shl    $0x3,%eax                      
  10c176:	89 45 f4             	mov    %eax,-0xc(%ebp)                
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10c179:	a1 70 14 13 00       	mov    0x131470,%eax                  
  10c17e:	40                   	inc    %eax                           
  10c17f:	a3 70 14 13 00       	mov    %eax,0x131470                  
      rtems_configuration_get_nanoseconds_per_tick();                 
                                                                      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( &newtime );                                           
  10c184:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  10c187:	89 04 24             	mov    %eax,(%esp)                    
  10c18a:	e8 85 18 00 00       	call   10da14 <_TOD_Set>              
    _Thread_Enable_dispatch();                                        
  10c18f:	e8 d4 2d 00 00       	call   10ef68 <_Thread_Enable_dispatch>
    return RTEMS_SUCCESSFUL;                                          
  10c194:	83 c4 10             	add    $0x10,%esp                     
  10c197:	31 c0                	xor    %eax,%eax                      
  }                                                                   
  return RTEMS_INVALID_CLOCK;                                         
}                                                                     
  10c199:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c19c:	c9                   	leave                                 
  10c19d:	c3                   	ret                                   
  10c19e:	66 90                	xchg   %ax,%ax                        
)                                                                     
{                                                                     
  struct timespec  newtime;                                           
                                                                      
  if ( !time_buffer )                                                 
    return RTEMS_INVALID_ADDRESS;                                     
  10c1a0:	b8 09 00 00 00       	mov    $0x9,%eax                      
      _TOD_Set( &newtime );                                           
    _Thread_Enable_dispatch();                                        
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
  return RTEMS_INVALID_CLOCK;                                         
}                                                                     
  10c1a5:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c1a8:	c9                   	leave                                 
  10c1a9:	c3                   	ret                                   
                                                                      

0010afd0 <rtems_clock_tick>: * * NOTE: This routine only works for leap-years through 2099. */ rtems_status_code rtems_clock_tick( void ) {
  10afd0:	55                   	push   %ebp                           
  10afd1:	89 e5                	mov    %esp,%ebp                      
  10afd3:	83 ec 08             	sub    $0x8,%esp                      
  _TOD_Tickle_ticks();                                                
  10afd6:	e8 69 14 00 00       	call   10c444 <_TOD_Tickle_ticks>     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Watchdog_Tickle_ticks( void )              
{                                                                     
                                                                      
  _Watchdog_Tickle( &_Watchdog_Ticks_chain );                         
  10afdb:	83 ec 0c             	sub    $0xc,%esp                      
  10afde:	68 7c 55 12 00       	push   $0x12557c                      
  10afe3:	e8 64 37 00 00       	call   10e74c <_Watchdog_Tickle>      
                                                                      
  _Watchdog_Tickle_ticks();                                           
                                                                      
  _Thread_Tickle_timeslice();                                         
  10afe8:	e8 47 32 00 00       	call   10e234 <_Thread_Tickle_timeslice>
 *  otherwise.                                                        
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_context_switch_necessary( void ) 
{                                                                     
  return ( _Thread_Dispatch_necessary );                              
  10afed:	a0 44 57 12 00       	mov    0x125744,%al                   
                                                                      
  if ( _Thread_Is_context_switch_necessary() &&                       
  10aff2:	83 c4 10             	add    $0x10,%esp                     
  10aff5:	84 c0                	test   %al,%al                        
  10aff7:	74 09                	je     10b002 <rtems_clock_tick+0x32> 
 *  otherwise.                                                        
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_dispatching_enabled( void )      
{                                                                     
  return ( _Thread_Dispatch_disable_level == 0 );                     
  10aff9:	a1 70 54 12 00       	mov    0x125470,%eax                  
  10affe:	85 c0                	test   %eax,%eax                      
  10b000:	74 06                	je     10b008 <rtems_clock_tick+0x38> 
       _Thread_Is_dispatching_enabled() )                             
    _Thread_Dispatch();                                               
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10b002:	31 c0                	xor    %eax,%eax                      
  10b004:	c9                   	leave                                 
  10b005:	c3                   	ret                                   
  10b006:	66 90                	xchg   %ax,%ax                        
                                                                      
  _Thread_Tickle_timeslice();                                         
                                                                      
  if ( _Thread_Is_context_switch_necessary() &&                       
       _Thread_Is_dispatching_enabled() )                             
    _Thread_Dispatch();                                               
  10b008:	e8 6f 26 00 00       	call   10d67c <_Thread_Dispatch>      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10b00d:	31 c0                	xor    %eax,%eax                      
  10b00f:	c9                   	leave                                 
  10b010:	c3                   	ret                                   
                                                                      

00108400 <rtems_cpu_usage_report_with_plugin>: void rtems_cpu_usage_report_with_plugin( void *context, rtems_printk_plugin_t print ) {
  108400:	55                   	push   %ebp                           
  108401:	89 e5                	mov    %esp,%ebp                      
  108403:	57                   	push   %edi                           
  108404:	56                   	push   %esi                           
  108405:	53                   	push   %ebx                           
  108406:	83 ec 6c             	sub    $0x6c,%esp                     
  108409:	8b 7d 08             	mov    0x8(%ebp),%edi                 
    Timestamp_Control  uptime, total, ran, last_context_switch;       
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
  10840c:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10840f:	85 c0                	test   %eax,%eax                      
  108411:	0f 84 77 01 00 00    	je     10858e <rtems_cpu_usage_report_with_plugin+0x18e><== 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__                          
    last_context_switch = _Thread_Time_of_last_context_switch;        
  108417:	a1 68 15 13 00       	mov    0x131568,%eax                  
  10841c:	8b 15 6c 15 13 00    	mov    0x13156c,%edx                  
  108422:	89 45 c0             	mov    %eax,-0x40(%ebp)               
  108425:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
    _TOD_Get_uptime( &uptime );                                       
  108428:	83 ec 0c             	sub    $0xc,%esp                      
  10842b:	8d 45 d8             	lea    -0x28(%ebp),%eax               
  10842e:	50                   	push   %eax                           
  10842f:	e8 58 55 00 00       	call   10d98c <_TOD_Get_uptime>       
    _Timestamp_Subtract( &CPU_usage_Uptime_at_last_reset, &uptime, &total );
  108434:	83 c4 0c             	add    $0xc,%esp                      
  108437:	8d 55 d0             	lea    -0x30(%ebp),%edx               
  10843a:	52                   	push   %edx                           
  10843b:	8d 4d d8             	lea    -0x28(%ebp),%ecx               
  10843e:	51                   	push   %ecx                           
  10843f:	68 e0 17 13 00       	push   $0x1317e0                      
  108444:	e8 2f 77 00 00       	call   10fb78 <_Timespec_Subtract>    
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
  108449:	5b                   	pop    %ebx                           
  10844a:	5e                   	pop    %esi                           
  10844b:	68 b0 1d 12 00       	push   $0x121db0                      
  108450:	57                   	push   %edi                           
  108451:	ff 55 0c             	call   *0xc(%ebp)                     
  108454:	83 c4 10             	add    $0x10,%esp                     
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
  108457:	c7 45 a4 01 00 00 00 	movl   $0x1,-0x5c(%ebp)               
    #if !defined(RTEMS_POSIX_API) || defined(RTEMS_DEBUG)             
      if ( !_Objects_Information_table[ api_index ] )                 
  10845e:	8b 5d a4             	mov    -0x5c(%ebp),%ebx               
  108461:	8b 04 9d 48 14 13 00 	mov    0x131448(,%ebx,4),%eax         
  108468:	85 c0                	test   %eax,%eax                      
  10846a:	0f 84 f4 00 00 00    	je     108564 <rtems_cpu_usage_report_with_plugin+0x164>
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
  108470:	8b 70 04             	mov    0x4(%eax),%esi                 
    if ( information ) {                                              
  108473:	85 f6                	test   %esi,%esi                      
  108475:	0f 84 e9 00 00 00    	je     108564 <rtems_cpu_usage_report_with_plugin+0x164><== NEVER TAKEN
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
  10847b:	66 83 7e 10 00       	cmpw   $0x0,0x10(%esi)                
  108480:	0f 84 de 00 00 00    	je     108564 <rtems_cpu_usage_report_with_plugin+0x164><== NEVER TAKEN
  108486:	bb 01 00 00 00       	mov    $0x1,%ebx                      
  10848b:	89 5d 94             	mov    %ebx,-0x6c(%ebp)               
  10848e:	eb 4a                	jmp    1084da <rtems_cpu_usage_report_with_plugin+0xda>
  108490:	8d 55 c8             	lea    -0x38(%ebp),%edx               
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
            Timestamp_Control used;                                   
            _Timestamp_Subtract( &last_context_switch, &uptime, &used );
            _Timestamp_Add_to( &ran, &used );                         
          };                                                          
          _Timestamp_Divide( &ran, &total, &ival, &fval );            
  108493:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  108496:	50                   	push   %eax                           
  108497:	8d 4d e4             	lea    -0x1c(%ebp),%ecx               
  10849a:	51                   	push   %ecx                           
  10849b:	8d 5d d0             	lea    -0x30(%ebp),%ebx               
  10849e:	53                   	push   %ebx                           
  10849f:	52                   	push   %edx                           
  1084a0:	e8 0f 76 00 00       	call   10fab4 <_Timespec_Divide>      
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
  1084a5:	58                   	pop    %eax                           
  1084a6:	5a                   	pop    %edx                           
  1084a7:	ff 75 e0             	pushl  -0x20(%ebp)                    
  1084aa:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  1084ad:	ba d3 4d 62 10       	mov    $0x10624dd3,%edx               
  1084b2:	8b 45 cc             	mov    -0x34(%ebp),%eax               
  1084b5:	f7 e2                	mul    %edx                           
  1084b7:	c1 ea 06             	shr    $0x6,%edx                      
  1084ba:	52                   	push   %edx                           
  1084bb:	ff 75 c8             	pushl  -0x38(%ebp)                    
  1084be:	68 23 20 12 00       	push   $0x122023                      
  1084c3:	57                   	push   %edi                           
  1084c4:	ff 55 0c             	call   *0xc(%ebp)                     
  1084c7:	83 c4 20             	add    $0x20,%esp                     
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
  1084ca:	ff 45 94             	incl   -0x6c(%ebp)                    
  1084cd:	0f b7 46 10          	movzwl 0x10(%esi),%eax                
  1084d1:	3b 45 94             	cmp    -0x6c(%ebp),%eax               
  1084d4:	0f 82 8a 00 00 00    	jb     108564 <rtems_cpu_usage_report_with_plugin+0x164>
        the_thread = (Thread_Control *)information->local_table[ i ]; 
  1084da:	8b 46 1c             	mov    0x1c(%esi),%eax                
  1084dd:	8b 4d 94             	mov    -0x6c(%ebp),%ecx               
  1084e0:	8b 14 88             	mov    (%eax,%ecx,4),%edx             
                                                                      
        if ( !the_thread )                                            
  1084e3:	85 d2                	test   %edx,%edx                      
  1084e5:	74 e3                	je     1084ca <rtems_cpu_usage_report_with_plugin+0xca><== NEVER TAKEN
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
  1084e7:	51                   	push   %ecx                           
  1084e8:	8d 5d ab             	lea    -0x55(%ebp),%ebx               
  1084eb:	53                   	push   %ebx                           
  1084ec:	6a 0d                	push   $0xd                           
  1084ee:	ff 72 08             	pushl  0x8(%edx)                      
  1084f1:	89 55 a0             	mov    %edx,-0x60(%ebp)               
  1084f4:	e8 17 42 00 00       	call   10c710 <rtems_object_get_name> 
                                                                      
        (*print)(                                                     
  1084f9:	53                   	push   %ebx                           
  1084fa:	8b 55 a0             	mov    -0x60(%ebp),%edx               
  1084fd:	ff 72 08             	pushl  0x8(%edx)                      
  108500:	68 10 20 12 00       	push   $0x122010                      
  108505:	57                   	push   %edi                           
  108506:	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;                            
  108509:	8b 55 a0             	mov    -0x60(%ebp),%edx               
  10850c:	8b 8a 84 00 00 00    	mov    0x84(%edx),%ecx                
  108512:	8b 9a 88 00 00 00    	mov    0x88(%edx),%ebx                
  108518:	89 4d c8             	mov    %ecx,-0x38(%ebp)               
  10851b:	89 5d cc             	mov    %ebx,-0x34(%ebp)               
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
  10851e:	83 c4 20             	add    $0x20,%esp                     
  108521:	a1 78 17 13 00       	mov    0x131778,%eax                  
  108526:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  108529:	39 58 08             	cmp    %ebx,0x8(%eax)                 
  10852c:	0f 85 5e ff ff ff    	jne    108490 <rtems_cpu_usage_report_with_plugin+0x90>
            Timestamp_Control used;                                   
            _Timestamp_Subtract( &last_context_switch, &uptime, &used );
  108532:	50                   	push   %eax                           
  108533:	8d 45 b8             	lea    -0x48(%ebp),%eax               
  108536:	50                   	push   %eax                           
  108537:	8d 55 d8             	lea    -0x28(%ebp),%edx               
  10853a:	52                   	push   %edx                           
  10853b:	8d 4d c0             	lea    -0x40(%ebp),%ecx               
  10853e:	51                   	push   %ecx                           
  10853f:	e8 34 76 00 00       	call   10fb78 <_Timespec_Subtract>    
            _Timestamp_Add_to( &ran, &used );                         
  108544:	59                   	pop    %ecx                           
  108545:	5b                   	pop    %ebx                           
  108546:	8d 5d b8             	lea    -0x48(%ebp),%ebx               
  108549:	53                   	push   %ebx                           
  10854a:	8d 55 c8             	lea    -0x38(%ebp),%edx               
  10854d:	52                   	push   %edx                           
  10854e:	89 55 a0             	mov    %edx,-0x60(%ebp)               
  108551:	e8 22 75 00 00       	call   10fa78 <_Timespec_Add_to>      
  108556:	83 c4 10             	add    $0x10,%esp                     
  108559:	8b 55 a0             	mov    -0x60(%ebp),%edx               
  10855c:	e9 32 ff ff ff       	jmp    108493 <rtems_cpu_usage_report_with_plugin+0x93>
  108561:	8d 76 00             	lea    0x0(%esi),%esi                 
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
  108564:	ff 45 a4             	incl   -0x5c(%ebp)                    
  108567:	83 7d a4 04          	cmpl   $0x4,-0x5c(%ebp)               
  10856b:	0f 85 ed fe ff ff    	jne    10845e <rtems_cpu_usage_report_with_plugin+0x5e>
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)(                                                         
  108571:	ba d3 4d 62 10       	mov    $0x10624dd3,%edx               
  108576:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  108579:	f7 e2                	mul    %edx                           
  10857b:	c1 ea 06             	shr    $0x6,%edx                      
  10857e:	52                   	push   %edx                           
  10857f:	ff 75 d0             	pushl  -0x30(%ebp)                    
  108582:	68 24 1f 12 00       	push   $0x121f24                      
  108587:	57                   	push   %edi                           
  108588:	ff 55 0c             	call   *0xc(%ebp)                     
  10858b:	83 c4 10             	add    $0x10,%esp                     
       "-------------------------------------------------------------------------------\n",
       _Watchdog_Ticks_since_boot - CPU_usage_Ticks_at_last_reset,    
       total_units                                                    
    );                                                                
  #endif                                                              
}                                                                     
  10858e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108591:	5b                   	pop    %ebx                           
  108592:	5e                   	pop    %esi                           
  108593:	5f                   	pop    %edi                           
  108594:	c9                   	leave                                 
  108595:	c3                   	ret                                   
                                                                      

001122ec <rtems_deviceio_errno>: [RTEMS_IO_ERROR] = EIO, [RTEMS_PROXY_BLOCKING] = EIO }; int rtems_deviceio_errno(rtems_status_code sc) {
  1122ec:	55                   	push   %ebp                           
  1122ed:	89 e5                	mov    %esp,%ebp                      
  1122ef:	53                   	push   %ebx                           
  1122f0:	83 ec 04             	sub    $0x4,%esp                      
  1122f3:	8b 45 08             	mov    0x8(%ebp),%eax                 
  if (sc == RTEMS_SUCCESSFUL) {                                       
  1122f6:	85 c0                	test   %eax,%eax                      
  1122f8:	75 06                	jne    112300 <rtems_deviceio_errno+0x14>
    return 0;                                                         
  1122fa:	31 c0                	xor    %eax,%eax                      
                                                                      
    errno = eno;                                                      
                                                                      
    return -1;                                                        
  }                                                                   
}                                                                     
  1122fc:	5a                   	pop    %edx                           
  1122fd:	5b                   	pop    %ebx                           
  1122fe:	c9                   	leave                                 
  1122ff:	c3                   	ret                                   
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
  112300:	83 f8 1c             	cmp    $0x1c,%eax                     
  112303:	77 17                	ja     11231c <rtems_deviceio_errno+0x30><== NEVER TAKEN
      eno = status_code_to_errno [sc];                                
  112305:	8b 1c 85 00 02 12 00 	mov    0x120200(,%eax,4),%ebx         
    }                                                                 
                                                                      
    errno = eno;                                                      
  11230c:	e8 2b 00 00 00       	call   11233c <__errno>               
  112311:	89 18                	mov    %ebx,(%eax)                    
                                                                      
    return -1;                                                        
  112313:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  112318:	eb e2                	jmp    1122fc <rtems_deviceio_errno+0x10>
  11231a:	66 90                	xchg   %ax,%ax                        
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
  11231c:	bb 16 00 00 00       	mov    $0x16,%ebx                     <== NOT EXECUTED
  112321:	eb e9                	jmp    11230c <rtems_deviceio_errno+0x20><== NOT EXECUTED
                                                                      

0010b19c <rtems_event_send>: rtems_status_code rtems_event_send( rtems_id id, rtems_event_set event_in ) {
  10b19c:	55                   	push   %ebp                           
  10b19d:	89 e5                	mov    %esp,%ebp                      
  10b19f:	53                   	push   %ebx                           
  10b1a0:	83 ec 1c             	sub    $0x1c,%esp                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10b1a3:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10b1a6:	50                   	push   %eax                           
  10b1a7:	ff 75 08             	pushl  0x8(%ebp)                      
  10b1aa:	e8 69 26 00 00       	call   10d818 <_Thread_Get>           
  switch ( location ) {                                               
  10b1af:	83 c4 10             	add    $0x10,%esp                     
  10b1b2:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10b1b5:	85 d2                	test   %edx,%edx                      
  10b1b7:	75 2b                	jne    10b1e4 <rtems_event_send+0x48> 
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
  10b1b9:	8b 90 e4 00 00 00    	mov    0xe4(%eax),%edx                
  rtems_event_set *the_event_set                                      
)                                                                     
{                                                                     
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
  10b1bf:	9c                   	pushf                                 
  10b1c0:	fa                   	cli                                   
  10b1c1:	59                   	pop    %ecx                           
    *the_event_set |= the_new_events;                                 
  10b1c2:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10b1c5:	09 1a                	or     %ebx,(%edx)                    
  _ISR_Enable( level );                                               
  10b1c7:	51                   	push   %ecx                           
  10b1c8:	9d                   	popf                                  
      _Event_sets_Post( event_in, &api->pending_events );             
      _Event_Surrender( the_thread );                                 
  10b1c9:	83 ec 0c             	sub    $0xc,%esp                      
  10b1cc:	50                   	push   %eax                           
  10b1cd:	e8 1e 00 00 00       	call   10b1f0 <_Event_Surrender>      
      _Thread_Enable_dispatch();                                      
  10b1d2:	e8 1d 26 00 00       	call   10d7f4 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  10b1d7:	83 c4 10             	add    $0x10,%esp                     
  10b1da:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10b1dc:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b1df:	c9                   	leave                                 
  10b1e0:	c3                   	ret                                   
  10b1e1:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10b1e4:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10b1e9:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b1ec:	c9                   	leave                                 
  10b1ed:	c3                   	ret                                   
                                                                      

0010d008 <rtems_extension_delete>: #include <rtems/extension.h> rtems_status_code rtems_extension_delete( rtems_id id ) {
  10d008:	55                   	push   %ebp                           
  10d009:	89 e5                	mov    %esp,%ebp                      
  10d00b:	53                   	push   %ebx                           
  10d00c:	83 ec 18             	sub    $0x18,%esp                     
  Extension_Control   *the_extension;                                 
  Objects_Locations    location;                                      
                                                                      
  the_extension = _Extension_Get( id, &location );                    
  10d00f:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Extension_Control *)                                        
    _Objects_Get( &_Extension_Information, id, location );            
  10d012:	50                   	push   %eax                           
  10d013:	ff 75 08             	pushl  0x8(%ebp)                      
  10d016:	68 60 05 13 00       	push   $0x130560                      
  10d01b:	e8 54 11 00 00       	call   10e174 <_Objects_Get>          
  10d020:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  10d022:	83 c4 10             	add    $0x10,%esp                     
  10d025:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10d028:	85 d2                	test   %edx,%edx                      
  10d02a:	75 38                	jne    10d064 <rtems_extension_delete+0x5c>
    case OBJECTS_LOCAL:                                               
      _User_extensions_Remove_set( &the_extension->Extension );       
  10d02c:	83 ec 0c             	sub    $0xc,%esp                      
  10d02f:	8d 40 10             	lea    0x10(%eax),%eax                
  10d032:	50                   	push   %eax                           
  10d033:	e8 50 28 00 00       	call   10f888 <_User_extensions_Remove_set>
      _Objects_Close( &_Extension_Information, &the_extension->Object );
  10d038:	59                   	pop    %ecx                           
  10d039:	58                   	pop    %eax                           
  10d03a:	53                   	push   %ebx                           
  10d03b:	68 60 05 13 00       	push   $0x130560                      
  10d040:	e8 f3 0c 00 00       	call   10dd38 <_Objects_Close>        
                                                                      
RTEMS_INLINE_ROUTINE void _Extension_Free (                           
  Extension_Control *the_extension                                    
)                                                                     
{                                                                     
  _Objects_Free( &_Extension_Information, &the_extension->Object );   
  10d045:	58                   	pop    %eax                           
  10d046:	5a                   	pop    %edx                           
  10d047:	53                   	push   %ebx                           
  10d048:	68 60 05 13 00       	push   $0x130560                      
  10d04d:	e8 e2 0f 00 00       	call   10e034 <_Objects_Free>         
      _Extension_Free( the_extension );                               
      _Thread_Enable_dispatch();                                      
  10d052:	e8 a5 1b 00 00       	call   10ebfc <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  10d057:	83 c4 10             	add    $0x10,%esp                     
  10d05a:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10d05c:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10d05f:	c9                   	leave                                 
  10d060:	c3                   	ret                                   
  10d061:	8d 76 00             	lea    0x0(%esi),%esi                 
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10d064:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10d069:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10d06c:	c9                   	leave                                 
  10d06d:	c3                   	ret                                   
                                                                      

0010800c <rtems_filesystem_dirname>: int rtems_filesystem_dirname( const char *pathname ) {
  10800c:	55                   	push   %ebp                           
  10800d:	89 e5                	mov    %esp,%ebp                      
  10800f:	57                   	push   %edi                           
  108010:	56                   	push   %esi                           
  108011:	53                   	push   %ebx                           
  108012:	83 ec 0c             	sub    $0xc,%esp                      
  108015:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  int len = strlen( pathname );                                       
  108018:	31 c0                	xor    %eax,%eax                      
  10801a:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  10801f:	89 df                	mov    %ebx,%edi                      
  108021:	f2 ae                	repnz scas %es:(%edi),%al             
  108023:	f7 d1                	not    %ecx                           
                                                                      
  while ( len ) {                                                     
  108025:	89 ce                	mov    %ecx,%esi                      
  108027:	4e                   	dec    %esi                           
  108028:	75 06                	jne    108030 <rtems_filesystem_dirname+0x24><== ALWAYS TAKEN
  10802a:	eb 19                	jmp    108045 <rtems_filesystem_dirname+0x39><== NOT EXECUTED
  10802c:	85 f6                	test   %esi,%esi                      
  10802e:	74 15                	je     108045 <rtems_filesystem_dirname+0x39>
    len--;                                                            
  108030:	4e                   	dec    %esi                           
    if ( rtems_filesystem_is_separator( pathname[len] ) )             
  108031:	83 ec 0c             	sub    $0xc,%esp                      
  108034:	0f be 04 33          	movsbl (%ebx,%esi,1),%eax             
  108038:	50                   	push   %eax                           
  108039:	e8 da 0e 00 00       	call   108f18 <rtems_filesystem_is_separator>
  10803e:	83 c4 10             	add    $0x10,%esp                     
  108041:	85 c0                	test   %eax,%eax                      
  108043:	74 e7                	je     10802c <rtems_filesystem_dirname+0x20>
      break;                                                          
  }                                                                   
                                                                      
  return len;                                                         
}                                                                     
  108045:	89 f0                	mov    %esi,%eax                      
  108047:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10804a:	5b                   	pop    %ebx                           
  10804b:	5e                   	pop    %esi                           
  10804c:	5f                   	pop    %edi                           
  10804d:	c9                   	leave                                 
  10804e:	c3                   	ret                                   
                                                                      

0010fea8 <rtems_filesystem_get_mount_handler>: rtems_filesystem_fsmount_me_t rtems_filesystem_get_mount_handler( const char *type ) {
  10fea8:	55                   	push   %ebp                           
  10fea9:	89 e5                	mov    %esp,%ebp                      
  10feab:	83 ec 18             	sub    $0x18,%esp                     
  10feae:	8b 45 08             	mov    0x8(%ebp),%eax                 
  find_arg fa = {                                                     
  10feb1:	89 45 f0             	mov    %eax,-0x10(%ebp)               
  10feb4:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)                
    .type = type,                                                     
    .mount_h = NULL                                                   
  };                                                                  
                                                                      
  if ( type != NULL ) {                                               
  10febb:	85 c0                	test   %eax,%eax                      
  10febd:	74 19                	je     10fed8 <rtems_filesystem_get_mount_handler+0x30><== NEVER TAKEN
    rtems_filesystem_iterate( find_handler, &fa );                    
  10febf:	83 ec 08             	sub    $0x8,%esp                      
  10fec2:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  10fec5:	50                   	push   %eax                           
  10fec6:	68 c8 fd 10 00       	push   $0x10fdc8                      
  10fecb:	e8 34 ff ff ff       	call   10fe04 <rtems_filesystem_iterate>
  10fed0:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  10fed3:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  return fa.mount_h;                                                  
}                                                                     
  10fed6:	c9                   	leave                                 
  10fed7:	c3                   	ret                                   
  find_arg fa = {                                                     
    .type = type,                                                     
    .mount_h = NULL                                                   
  };                                                                  
                                                                      
  if ( type != NULL ) {                                               
  10fed8:	31 c0                	xor    %eax,%eax                      
    rtems_filesystem_iterate( find_handler, &fa );                    
  }                                                                   
                                                                      
  return fa.mount_h;                                                  
}                                                                     
  10feda:	c9                   	leave                                 <== NOT EXECUTED
  10fedb:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

00110064 <rtems_filesystem_get_sym_start_loc>: #include "rtems/libio_.h" void rtems_filesystem_get_sym_start_loc(const char *path, int *index, rtems_filesystem_location_info_t *loc) {
  110064:	55                   	push   %ebp                           
  110065:	89 e5                	mov    %esp,%ebp                      
  110067:	57                   	push   %edi                           
  110068:	56                   	push   %esi                           
  110069:	53                   	push   %ebx                           
  11006a:	83 ec 18             	sub    $0x18,%esp                     
  11006d:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  if (rtems_filesystem_is_separator(path[0])) {                       
  110070:	8b 45 08             	mov    0x8(%ebp),%eax                 
  110073:	0f be 00             	movsbl (%eax),%eax                    
  110076:	50                   	push   %eax                           
  110077:	e8 9c 8e ff ff       	call   108f18 <rtems_filesystem_is_separator>
  11007c:	83 c4 10             	add    $0x10,%esp                     
  11007f:	85 c0                	test   %eax,%eax                      
  110081:	75 11                	jne    110094 <rtems_filesystem_get_sym_start_loc+0x30>
      *loc = rtems_filesystem_root;                                   
      *index = 1;                                                     
    }                                                                 
    else {                                                            
      *index = 0;                                                     
  110083:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
    }                                                                 
}                                                                     
  110089:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11008c:	5b                   	pop    %ebx                           
  11008d:	5e                   	pop    %esi                           
  11008e:	5f                   	pop    %edi                           
  11008f:	c9                   	leave                                 
  110090:	c3                   	ret                                   
  110091:	8d 76 00             	lea    0x0(%esi),%esi                 
void rtems_filesystem_get_sym_start_loc(const char *path,             
					int *index,                                                      
					rtems_filesystem_location_info_t *loc)                           
{                                                                     
  if (rtems_filesystem_is_separator(path[0])) {                       
      *loc = rtems_filesystem_root;                                   
  110094:	8b 35 50 31 12 00    	mov    0x123150,%esi                  
  11009a:	83 c6 18             	add    $0x18,%esi                     
  11009d:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  1100a2:	8b 7d 10             	mov    0x10(%ebp),%edi                
  1100a5:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
      *index = 1;                                                     
  1100a7:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)                    
    }                                                                 
    else {                                                            
      *index = 0;                                                     
    }                                                                 
}                                                                     
  1100ad:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1100b0:	5b                   	pop    %ebx                           
  1100b1:	5e                   	pop    %esi                           
  1100b2:	5f                   	pop    %edi                           
  1100b3:	c9                   	leave                                 
  1100b4:	c3                   	ret                                   
                                                                      

00107e3c <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 ) {
  107e3c:	55                   	push   %ebp                           
  107e3d:	89 e5                	mov    %esp,%ebp                      
  107e3f:	57                   	push   %edi                           
  107e40:	56                   	push   %esi                           
  107e41:	53                   	push   %ebx                           
  107e42:	83 ec 2c             	sub    $0x2c,%esp                     
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
  107e45:	a1 50 31 12 00       	mov    0x123150,%eax                  
  107e4a:	c7 40 2c 12 00 00 00 	movl   $0x12,0x2c(%eax)               
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
  107e51:	a1 40 e1 11 00       	mov    0x11e140,%eax                  
  107e56:	85 c0                	test   %eax,%eax                      
  107e58:	0f 84 9f 00 00 00    	je     107efd <rtems_filesystem_initialize+0xc1><== NEVER TAKEN
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
  107e5e:	a1 54 11 12 00       	mov    0x121154,%eax                  
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
  107e63:	83 ec 0c             	sub    $0xc,%esp                      
  107e66:	6a 00                	push   $0x0                           
  107e68:	ff 70 04             	pushl  0x4(%eax)                      
  107e6b:	ff 30                	pushl  (%eax)                         
  107e6d:	ff 70 0c             	pushl  0xc(%eax)                      
  107e70:	ff 70 08             	pushl  0x8(%eax)                      
  107e73:	e8 fc 06 00 00       	call   108574 <mount>                 
  if ( status == -1 )                                                 
  107e78:	83 c4 20             	add    $0x20,%esp                     
  107e7b:	40                   	inc    %eax                           
  107e7c:	0f 84 95 00 00 00    	je     107f17 <rtems_filesystem_initialize+0xdb><== NEVER TAKEN
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
  107e82:	a1 50 31 12 00       	mov    0x123150,%eax                  
  107e87:	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);                 
  107e8d:	83 ec 0c             	sub    $0xc,%esp                      
  107e90:	6a 00                	push   $0x0                           
  107e92:	8d 5d d4             	lea    -0x2c(%ebp),%ebx               
  107e95:	53                   	push   %ebx                           
  107e96:	6a 00                	push   $0x0                           
  107e98:	6a 01                	push   $0x1                           
  107e9a:	68 27 fb 11 00       	push   $0x11fb27                      
  107e9f:	e8 24 01 00 00       	call   107fc8 <rtems_filesystem_evaluate_path>
  rtems_filesystem_root        = loc;                                 
  107ea4:	8b 3d 50 31 12 00    	mov    0x123150,%edi                  
  107eaa:	83 c7 18             	add    $0x18,%edi                     
  107ead:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  107eb2:	89 de                	mov    %ebx,%esi                      
  107eb4:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  107eb6:	83 c4 14             	add    $0x14,%esp                     
  107eb9:	6a 00                	push   $0x0                           
  107ebb:	53                   	push   %ebx                           
  107ebc:	6a 00                	push   $0x0                           
  107ebe:	6a 01                	push   $0x1                           
  107ec0:	68 27 fb 11 00       	push   $0x11fb27                      
  107ec5:	e8 fe 00 00 00       	call   107fc8 <rtems_filesystem_evaluate_path>
  rtems_filesystem_current     = loc;                                 
  107eca:	8b 3d 50 31 12 00    	mov    0x123150,%edi                  
  107ed0:	83 c7 04             	add    $0x4,%edi                      
  107ed3:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  107ed8:	89 de                	mov    %ebx,%esi                      
  107eda:	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);                                      
  107edc:	83 c4 18             	add    $0x18,%esp                     
  107edf:	68 ff 01 00 00       	push   $0x1ff                         
  107ee4:	68 29 fb 11 00       	push   $0x11fb29                      
  107ee9:	e8 42 05 00 00       	call   108430 <mkdir>                 
  if ( status != 0 )                                                  
  107eee:	83 c4 10             	add    $0x10,%esp                     
  107ef1:	85 c0                	test   %eax,%eax                      
  107ef3:	75 15                	jne    107f0a <rtems_filesystem_initialize+0xce><== NEVER TAKEN
   *  it will be mounted onto is created.  Moreover, if it is going to
   *  use a device, then it is REALLY unfair to attempt this          
   *  before device drivers are initialized.  So we return via a base 
   *  filesystem image and nothing auto-mounted at this point.        
   */                                                                 
}                                                                     
  107ef5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107ef8:	5b                   	pop    %ebx                           
  107ef9:	5e                   	pop    %esi                           
  107efa:	5f                   	pop    %edi                           
  107efb:	c9                   	leave                                 
  107efc:	c3                   	ret                                   
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
  107efd:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  107f00:	68 01 00 cd ab       	push   $0xabcd0001                    <== NOT EXECUTED
  107f05:	e8 f2 3d 00 00       	call   10bcfc <rtems_fatal_error_occurred><== NOT EXECUTED
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
  if ( status != 0 )                                                  
    rtems_fatal_error_occurred( 0xABCD0003 );                         
  107f0a:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  107f0d:	68 03 00 cd ab       	push   $0xabcd0003                    <== NOT EXECUTED
  107f12:	e8 e5 3d 00 00       	call   10bcfc <rtems_fatal_error_occurred><== NOT EXECUTED
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
  107f17:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  107f1a:	68 02 00 cd ab       	push   $0xabcd0002                    <== NOT EXECUTED
  107f1f:	e8 d8 3d 00 00       	call   10bcfc <rtems_fatal_error_occurred><== NOT EXECUTED
                                                                      

0010fe04 <rtems_filesystem_iterate>: bool rtems_filesystem_iterate( rtems_per_filesystem_routine routine, void *routine_arg ) {
  10fe04:	55                   	push   %ebp                           
  10fe05:	89 e5                	mov    %esp,%ebp                      
  10fe07:	57                   	push   %edi                           
  10fe08:	56                   	push   %esi                           
  10fe09:	53                   	push   %ebx                           
  10fe0a:	83 ec 1c             	sub    $0x1c,%esp                     
  10fe0d:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10fe10:	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;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
  10fe13:	8b 1d 20 e1 11 00    	mov    0x11e120,%ebx                  
  10fe19:	85 db                	test   %ebx,%ebx                      
  10fe1b:	74 24                	je     10fe41 <rtems_filesystem_iterate+0x3d><== NEVER TAKEN
  10fe1d:	bb 20 e1 11 00       	mov    $0x11e120,%ebx                 
  10fe22:	eb 04                	jmp    10fe28 <rtems_filesystem_iterate+0x24>
  10fe24:	84 c0                	test   %al,%al                        
  10fe26:	75 70                	jne    10fe98 <rtems_filesystem_iterate+0x94>
    stop = (*routine)( table_entry, routine_arg );                    
  10fe28:	83 ec 08             	sub    $0x8,%esp                      
  10fe2b:	57                   	push   %edi                           
  10fe2c:	53                   	push   %ebx                           
  10fe2d:	ff d6                	call   *%esi                          
  10fe2f:	88 c2                	mov    %al,%dl                        
    ++table_entry;                                                    
  10fe31:	83 c3 08             	add    $0x8,%ebx                      
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
  10fe34:	83 c4 10             	add    $0x10,%esp                     
  10fe37:	8b 0b                	mov    (%ebx),%ecx                    
  10fe39:	85 c9                	test   %ecx,%ecx                      
  10fe3b:	75 e7                	jne    10fe24 <rtems_filesystem_iterate+0x20>
    stop = (*routine)( table_entry, routine_arg );                    
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
  10fe3d:	84 c0                	test   %al,%al                        
  10fe3f:	75 57                	jne    10fe98 <rtems_filesystem_iterate+0x94>
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 );
  10fe41:	50                   	push   %eax                           
  10fe42:	6a 00                	push   $0x0                           
  10fe44:	6a 00                	push   $0x0                           
  10fe46:	ff 35 08 53 12 00    	pushl  0x125308                       
  10fe4c:	e8 5f b8 ff ff       	call   10b6b0 <rtems_semaphore_obtain>
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
  10fe51:	8b 1d 78 31 12 00    	mov    0x123178,%ebx                  
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
  10fe57:	83 c4 10             	add    $0x10,%esp                     
  10fe5a:	81 fb 7c 31 12 00    	cmp    $0x12317c,%ebx                 
  10fe60:	75 06                	jne    10fe68 <rtems_filesystem_iterate+0x64>
  10fe62:	eb 3e                	jmp    10fea2 <rtems_filesystem_iterate+0x9e>
      node = rtems_chain_first( &filesystem_chain );                  
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
  10fe64:	84 c0                	test   %al,%al                        
  10fe66:	75 19                	jne    10fe81 <rtems_filesystem_iterate+0x7d><== NEVER TAKEN
      node = rtems_chain_next( node )                                 
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
  10fe68:	83 ec 08             	sub    $0x8,%esp                      
  10fe6b:	57                   	push   %edi                           
  10fe6c:	8d 43 08             	lea    0x8(%ebx),%eax                 
  10fe6f:	50                   	push   %eax                           
  10fe70:	ff d6                	call   *%esi                          
  10fe72:	88 c2                	mov    %al,%dl                        
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
  10fe74:	8b 1b                	mov    (%ebx),%ebx                    
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
  10fe76:	83 c4 10             	add    $0x10,%esp                     
  10fe79:	81 fb 7c 31 12 00    	cmp    $0x12317c,%ebx                 
  10fe7f:	75 e3                	jne    10fe64 <rtems_filesystem_iterate+0x60>
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
  10fe81:	83 ec 0c             	sub    $0xc,%esp                      
  10fe84:	ff 35 08 53 12 00    	pushl  0x125308                       
  10fe8a:	88 55 e4             	mov    %dl,-0x1c(%ebp)                
  10fe8d:	e8 1a b9 ff ff       	call   10b7ac <rtems_semaphore_release>
  10fe92:	83 c4 10             	add    $0x10,%esp                     
  10fe95:	8a 55 e4             	mov    -0x1c(%ebp),%dl                
    }                                                                 
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  return stop;                                                        
}                                                                     
  10fe98:	88 d0                	mov    %dl,%al                        
  10fe9a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10fe9d:	5b                   	pop    %ebx                           
  10fe9e:	5e                   	pop    %esi                           
  10fe9f:	5f                   	pop    %edi                           
  10fea0:	c9                   	leave                                 
  10fea1:	c3                   	ret                                   
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
  10fea2:	31 d2                	xor    %edx,%edx                      
  10fea4:	eb db                	jmp    10fe81 <rtems_filesystem_iterate+0x7d>
                                                                      

00108504 <rtems_filesystem_mount_iterate>: bool rtems_filesystem_mount_iterate( rtems_per_filesystem_mount_routine routine, void *routine_arg ) {
  108504:	55                   	push   %ebp                           
  108505:	89 e5                	mov    %esp,%ebp                      
  108507:	57                   	push   %edi                           
  108508:	56                   	push   %esi                           
  108509:	53                   	push   %ebx                           
  10850a:	83 ec 20             	sub    $0x20,%esp                     
  10850d:	8b 75 08             	mov    0x8(%ebp),%esi                 
  108510:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
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 );
  108513:	6a 00                	push   $0x0                           
  108515:	6a 00                	push   $0x0                           
  108517:	ff 35 08 53 12 00    	pushl  0x125308                       
  10851d:	e8 8e 31 00 00       	call   10b6b0 <rtems_semaphore_obtain>
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
  108522:	8b 1d 24 30 12 00    	mov    0x123024,%ebx                  
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
  108528:	83 c4 10             	add    $0x10,%esp                     
  10852b:	81 fb 28 30 12 00    	cmp    $0x123028,%ebx                 
  108531:	75 09                	jne    10853c <rtems_filesystem_mount_iterate+0x38><== ALWAYS TAKEN
  108533:	eb 3b                	jmp    108570 <rtems_filesystem_mount_iterate+0x6c><== NOT EXECUTED
  108535:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
    node = rtems_chain_first( &mount_chain );                         
    !rtems_chain_is_tail( &mount_chain, node ) && !stop;              
  108538:	84 c0                	test   %al,%al                        
  10853a:	75 16                	jne    108552 <rtems_filesystem_mount_iterate+0x4e><== NEVER TAKEN
    node = rtems_chain_next( node )                                   
  ) {                                                                 
    const rtems_filesystem_mount_table_entry_t *mt_entry =            
      (rtems_filesystem_mount_table_entry_t *) node;                  
                                                                      
    stop = (*routine)( mt_entry, routine_arg );                       
  10853c:	83 ec 08             	sub    $0x8,%esp                      
  10853f:	57                   	push   %edi                           
  108540:	53                   	push   %ebx                           
  108541:	ff d6                	call   *%esi                          
  108543:	88 c2                	mov    %al,%dl                        
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
  108545:	8b 1b                	mov    (%ebx),%ebx                    
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
  108547:	83 c4 10             	add    $0x10,%esp                     
  10854a:	81 fb 28 30 12 00    	cmp    $0x123028,%ebx                 
  108550:	75 e6                	jne    108538 <rtems_filesystem_mount_iterate+0x34>
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
  108552:	83 ec 0c             	sub    $0xc,%esp                      
  108555:	ff 35 08 53 12 00    	pushl  0x125308                       
  10855b:	88 55 e4             	mov    %dl,-0x1c(%ebp)                
  10855e:	e8 49 32 00 00       	call   10b7ac <rtems_semaphore_release>
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
  108563:	8a 55 e4             	mov    -0x1c(%ebp),%dl                
  108566:	88 d0                	mov    %dl,%al                        
  108568:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10856b:	5b                   	pop    %ebx                           
  10856c:	5e                   	pop    %esi                           
  10856d:	5f                   	pop    %edi                           
  10856e:	c9                   	leave                                 
  10856f:	c3                   	ret                                   
  rtems_per_filesystem_mount_routine routine,                         
  void *routine_arg                                                   
)                                                                     
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
  108570:	31 d2                	xor    %edx,%edx                      <== NOT EXECUTED
  108572:	eb de                	jmp    108552 <rtems_filesystem_mount_iterate+0x4e><== NOT EXECUTED
                                                                      

00108050 <rtems_filesystem_prefix_separators>: int rtems_filesystem_prefix_separators( const char *pathname, int pathnamelen ) {
  108050:	55                   	push   %ebp                           
  108051:	89 e5                	mov    %esp,%ebp                      
  108053:	57                   	push   %edi                           
  108054:	56                   	push   %esi                           
  108055:	53                   	push   %ebx                           
  108056:	83 ec 0c             	sub    $0xc,%esp                      
  108059:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10805c:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
  10805f:	8a 06                	mov    (%esi),%al                     
  108061:	84 c0                	test   %al,%al                        
  108063:	74 34                	je     108099 <rtems_filesystem_prefix_separators+0x49><== NEVER TAKEN
  108065:	85 ff                	test   %edi,%edi                      
  108067:	74 30                	je     108099 <rtems_filesystem_prefix_separators+0x49><== NEVER TAKEN
  108069:	31 db                	xor    %ebx,%ebx                      
  10806b:	eb 0f                	jmp    10807c <rtems_filesystem_prefix_separators+0x2c>
  10806d:	8d 76 00             	lea    0x0(%esi),%esi                 
  {                                                                   
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
  108070:	43                   	inc    %ebx                           
{                                                                     
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
  108071:	8a 04 1e             	mov    (%esi,%ebx,1),%al              
  108074:	84 c0                	test   %al,%al                        
  108076:	74 17                	je     10808f <rtems_filesystem_prefix_separators+0x3f><== NEVER TAKEN
  108078:	39 df                	cmp    %ebx,%edi                      
  10807a:	74 13                	je     10808f <rtems_filesystem_prefix_separators+0x3f><== NEVER TAKEN
  10807c:	83 ec 0c             	sub    $0xc,%esp                      
  10807f:	0f be c0             	movsbl %al,%eax                       
  108082:	50                   	push   %eax                           
  108083:	e8 90 0e 00 00       	call   108f18 <rtems_filesystem_is_separator>
  108088:	83 c4 10             	add    $0x10,%esp                     
  10808b:	85 c0                	test   %eax,%eax                      
  10808d:	75 e1                	jne    108070 <rtems_filesystem_prefix_separators+0x20>
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
  }                                                                   
  return stripped;                                                    
}                                                                     
  10808f:	89 d8                	mov    %ebx,%eax                      
  108091:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108094:	5b                   	pop    %ebx                           
  108095:	5e                   	pop    %esi                           
  108096:	5f                   	pop    %edi                           
  108097:	c9                   	leave                                 
  108098:	c3                   	ret                                   
)                                                                     
{                                                                     
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  108099:	31 db                	xor    %ebx,%ebx                      
  10809b:	eb f2                	jmp    10808f <rtems_filesystem_prefix_separators+0x3f><== NOT EXECUTED
                                                                      

0010fedc <rtems_filesystem_register>: int rtems_filesystem_register( const char *type, rtems_filesystem_fsmount_me_t mount_h ) {
  10fedc:	55                   	push   %ebp                           
  10fedd:	89 e5                	mov    %esp,%ebp                      
  10fedf:	57                   	push   %edi                           
  10fee0:	56                   	push   %esi                           
  10fee1:	53                   	push   %ebx                           
  10fee2:	83 ec 28             	sub    $0x28,%esp                     
  size_t type_size = strlen(type) + 1;                                
  10fee5:	31 c0                	xor    %eax,%eax                      
  10fee7:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  10feec:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10feef:	f2 ae                	repnz scas %es:(%edi),%al             
  10fef1:	f7 d1                	not    %ecx                           
  size_t fsn_size = sizeof( filesystem_node ) + type_size;            
  10fef3:	8d 41 10             	lea    0x10(%ecx),%eax                
  filesystem_node *fsn = malloc( fsn_size );                          
  10fef6:	50                   	push   %eax                           
  10fef7:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  10fefa:	e8 89 84 ff ff       	call   108388 <malloc>                
  10feff:	89 c3                	mov    %eax,%ebx                      
  char *type_storage = (char *) fsn + sizeof( *fsn );                 
                                                                      
  if ( fsn == NULL )                                                  
  10ff01:	83 c4 10             	add    $0x10,%esp                     
  10ff04:	85 c0                	test   %eax,%eax                      
  10ff06:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10ff09:	0f 84 8e 00 00 00    	je     10ff9d <rtems_filesystem_register+0xc1>
)                                                                     
{                                                                     
  size_t type_size = strlen(type) + 1;                                
  size_t fsn_size = sizeof( filesystem_node ) + type_size;            
  filesystem_node *fsn = malloc( fsn_size );                          
  char *type_storage = (char *) fsn + sizeof( *fsn );                 
  10ff0f:	8d 40 10             	lea    0x10(%eax),%eax                
                                                                      
  if ( fsn == NULL )                                                  
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  memcpy(type_storage, type, type_size);                              
  10ff12:	89 c7                	mov    %eax,%edi                      
  10ff14:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10ff17:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
  fsn->entry.type = type_storage;                                     
  10ff19:	89 43 08             	mov    %eax,0x8(%ebx)                 
  fsn->entry.mount_h = mount_h;                                       
  10ff1c:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10ff1f:	89 43 0c             	mov    %eax,0xc(%ebx)                 
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 );
  10ff22:	50                   	push   %eax                           
  10ff23:	6a 00                	push   $0x0                           
  10ff25:	6a 00                	push   $0x0                           
  10ff27:	ff 35 08 53 12 00    	pushl  0x125308                       
  10ff2d:	e8 7e b7 ff ff       	call   10b6b0 <rtems_semaphore_obtain>
                                                                      
  rtems_libio_lock();                                                 
  if ( rtems_filesystem_get_mount_handler( type ) == NULL ) {         
  10ff32:	5f                   	pop    %edi                           
  10ff33:	ff 75 08             	pushl  0x8(%ebp)                      
  10ff36:	e8 6d ff ff ff       	call   10fea8 <rtems_filesystem_get_mount_handler>
  10ff3b:	83 c4 10             	add    $0x10,%esp                     
  10ff3e:	85 c0                	test   %eax,%eax                      
  10ff40:	75 2a                	jne    10ff6c <rtems_filesystem_register+0x90>
  10ff42:	83 ec 08             	sub    $0x8,%esp                      
  10ff45:	53                   	push   %ebx                           
  10ff46:	68 78 31 12 00       	push   $0x123178                      
  10ff4b:	e8 40 c0 ff ff       	call   10bf90 <_Chain_Append>         
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
  10ff50:	5e                   	pop    %esi                           
  10ff51:	ff 35 08 53 12 00    	pushl  0x125308                       
  10ff57:	e8 50 b8 ff ff       	call   10b7ac <rtems_semaphore_release>
  10ff5c:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return 0;                                                           
  10ff5f:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10ff61:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ff64:	5b                   	pop    %ebx                           
  10ff65:	5e                   	pop    %esi                           
  10ff66:	5f                   	pop    %edi                           
  10ff67:	c9                   	leave                                 
  10ff68:	c3                   	ret                                   
  10ff69:	8d 76 00             	lea    0x0(%esi),%esi                 
  10ff6c:	83 ec 0c             	sub    $0xc,%esp                      
  10ff6f:	ff 35 08 53 12 00    	pushl  0x125308                       
  10ff75:	e8 32 b8 ff ff       	call   10b7ac <rtems_semaphore_release>
  rtems_libio_lock();                                                 
  if ( rtems_filesystem_get_mount_handler( type ) == NULL ) {         
    rtems_chain_append( &filesystem_chain, &fsn->node );              
  } else {                                                            
    rtems_libio_unlock();                                             
    free( fsn );                                                      
  10ff7a:	89 1c 24             	mov    %ebx,(%esp)                    
  10ff7d:	e8 32 81 ff ff       	call   1080b4 <free>                  
                                                                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10ff82:	e8 b5 23 00 00       	call   11233c <__errno>               
  10ff87:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10ff8d:	83 c4 10             	add    $0x10,%esp                     
  10ff90:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return 0;                                                           
}                                                                     
  10ff95:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ff98:	5b                   	pop    %ebx                           
  10ff99:	5e                   	pop    %esi                           
  10ff9a:	5f                   	pop    %edi                           
  10ff9b:	c9                   	leave                                 
  10ff9c:	c3                   	ret                                   
  size_t fsn_size = sizeof( filesystem_node ) + type_size;            
  filesystem_node *fsn = malloc( fsn_size );                          
  char *type_storage = (char *) fsn + sizeof( *fsn );                 
                                                                      
  if ( fsn == NULL )                                                  
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
  10ff9d:	e8 9a 23 00 00       	call   11233c <__errno>               
  10ffa2:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    
  10ffa8:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10ffad:	eb b2                	jmp    10ff61 <rtems_filesystem_register+0x85>
                                                                      

0010ffb0 <rtems_filesystem_unregister>: int rtems_filesystem_unregister( const char *type ) {
  10ffb0:	55                   	push   %ebp                           
  10ffb1:	89 e5                	mov    %esp,%ebp                      
  10ffb3:	56                   	push   %esi                           
  10ffb4:	53                   	push   %ebx                           
  10ffb5:	8b 75 08             	mov    0x8(%ebp),%esi                 
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
  10ffb8:	85 f6                	test   %esi,%esi                      
  10ffba:	0f 84 94 00 00 00    	je     110054 <rtems_filesystem_unregister+0xa4>
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 );
  10ffc0:	51                   	push   %ecx                           
  10ffc1:	6a 00                	push   $0x0                           
  10ffc3:	6a 00                	push   $0x0                           
  10ffc5:	ff 35 08 53 12 00    	pushl  0x125308                       
  10ffcb:	e8 e0 b6 ff ff       	call   10b6b0 <rtems_semaphore_obtain>
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
  10ffd0:	8b 1d 78 31 12 00    	mov    0x123178,%ebx                  
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
  10ffd6:	83 c4 10             	add    $0x10,%esp                     
  10ffd9:	81 fb 7c 31 12 00    	cmp    $0x12317c,%ebx                 
  10ffdf:	75 0d                	jne    10ffee <rtems_filesystem_unregister+0x3e>
  10ffe1:	eb 49                	jmp    11002c <rtems_filesystem_unregister+0x7c>
  10ffe3:	90                   	nop                                   
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
  10ffe4:	8b 1b                	mov    (%ebx),%ebx                    
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
  10ffe6:	81 fb 7c 31 12 00    	cmp    $0x12317c,%ebx                 
  10ffec:	74 3e                	je     11002c <rtems_filesystem_unregister+0x7c><== ALWAYS TAKEN
    !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 ) {                     
  10ffee:	83 ec 08             	sub    $0x8,%esp                      
  10fff1:	56                   	push   %esi                           
  10fff2:	ff 73 08             	pushl  0x8(%ebx)                      
  10fff5:	e8 b2 2f 00 00       	call   112fac <strcmp>                
  10fffa:	83 c4 10             	add    $0x10,%esp                     
  10fffd:	85 c0                	test   %eax,%eax                      
  10ffff:	75 e3                	jne    10ffe4 <rtems_filesystem_unregister+0x34>
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
  110001:	83 ec 0c             	sub    $0xc,%esp                      
  110004:	53                   	push   %ebx                           
  110005:	e8 aa bf ff ff       	call   10bfb4 <_Chain_Extract>        
      rtems_chain_extract( node );                                    
      free( fsn );                                                    
  11000a:	89 1c 24             	mov    %ebx,(%esp)                    
  11000d:	e8 a2 80 ff ff       	call   1080b4 <free>                  
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
  110012:	5a                   	pop    %edx                           
  110013:	ff 35 08 53 12 00    	pushl  0x125308                       
  110019:	e8 8e b7 ff ff       	call   10b7ac <rtems_semaphore_release>
  11001e:	83 c4 10             	add    $0x10,%esp                     
      rtems_libio_unlock();                                           
                                                                      
      return 0;                                                       
  110021:	31 c0                	xor    %eax,%eax                      
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
  110023:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  110026:	5b                   	pop    %ebx                           
  110027:	5e                   	pop    %esi                           
  110028:	c9                   	leave                                 
  110029:	c3                   	ret                                   
  11002a:	66 90                	xchg   %ax,%ax                        
  11002c:	83 ec 0c             	sub    $0xc,%esp                      
  11002f:	ff 35 08 53 12 00    	pushl  0x125308                       
  110035:	e8 72 b7 ff ff       	call   10b7ac <rtems_semaphore_release>
      return 0;                                                       
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
  11003a:	e8 fd 22 00 00       	call   11233c <__errno>               
  11003f:	c7 00 02 00 00 00    	movl   $0x2,(%eax)                    
  110045:	83 c4 10             	add    $0x10,%esp                     
  110048:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
}                                                                     
  11004d:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  110050:	5b                   	pop    %ebx                           
  110051:	5e                   	pop    %esi                           
  110052:	c9                   	leave                                 
  110053:	c3                   	ret                                   
)                                                                     
{                                                                     
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  110054:	e8 e3 22 00 00       	call   11233c <__errno>               
  110059:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  11005f:	83 c8 ff             	or     $0xffffffff,%eax               
  110062:	eb e9                	jmp    11004d <rtems_filesystem_unregister+0x9d>
                                                                      

0010897c <rtems_gxx_key_create>: int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *)) {
  10897c:	55                   	push   %ebp                           
  10897d:	89 e5                	mov    %esp,%ebp                      
  10897f:	56                   	push   %esi                           
  108980:	53                   	push   %ebx                           
  108981:	8b 75 0c             	mov    0xc(%ebp),%esi                 
   * pointer to the buffer that will hold the value of the key itself.
   * We have to to this, because the others functions on this interface
   * deal with the value of the key, as used with the POSIX API.      
   */                                                                 
   /* Do not pull your hair, trust me this works. :-) */              
  __gthread_key_t new_key = (__gthread_key_t) malloc( sizeof( *new_key ) );
  108984:	83 ec 0c             	sub    $0xc,%esp                      
  108987:	6a 08                	push   $0x8                           
  108989:	e8 c6 03 00 00       	call   108d54 <malloc>                
  10898e:	89 c3                	mov    %eax,%ebx                      
  *key = new_key;                                                     
  108990:	8b 45 08             	mov    0x8(%ebp),%eax                 
  108993:	89 18                	mov    %ebx,(%eax)                    
  new_key->val  = NULL;                                               
  108995:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
  new_key->dtor = dtor;                                               
  10899b:	89 73 04             	mov    %esi,0x4(%ebx)                 
      "gxx_wrappers: create key=%x, dtor=%x, new_key=%x\n", key, dtor, new_key
    );                                                                
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
  10899e:	83 c4 0c             	add    $0xc,%esp                      
  1089a1:	56                   	push   %esi                           
  1089a2:	53                   	push   %ebx                           
  1089a3:	6a 00                	push   $0x0                           
  1089a5:	e8 a6 3c 00 00       	call   10c650 <rtems_task_variable_add>
  if ( status == RTEMS_SUCCESSFUL )                                   
  1089aa:	83 c4 10             	add    $0x10,%esp                     
  1089ad:	85 c0                	test   %eax,%eax                      
  1089af:	75 0b                	jne    1089bc <rtems_gxx_key_create+0x40><== NEVER TAKEN
    return 0;                                                         
  1089b1:	31 c0                	xor    %eax,%eax                      
                                                                      
  free( new_key );                                                    
  return -1;                                                          
}                                                                     
  1089b3:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1089b6:	5b                   	pop    %ebx                           
  1089b7:	5e                   	pop    %esi                           
  1089b8:	c9                   	leave                                 
  1089b9:	c3                   	ret                                   
  1089ba:	66 90                	xchg   %ax,%ax                        
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
                                                                      
  free( new_key );                                                    
  1089bc:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1089bf:	53                   	push   %ebx                           <== NOT EXECUTED
  1089c0:	e8 3f fe ff ff       	call   108804 <free>                  <== NOT EXECUTED
  return -1;                                                          
  1089c5:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  1089c8:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
  1089cd:	eb e4                	jmp    1089b3 <rtems_gxx_key_create+0x37><== NOT EXECUTED
                                                                      

001089e0 <rtems_gxx_key_delete>: int rtems_gxx_key_delete (__gthread_key_t key) {
  1089e0:	55                   	push   %ebp                           
  1089e1:	89 e5                	mov    %esp,%ebp                      
  1089e3:	53                   	push   %ebx                           
  1089e4:	83 ec 0c             	sub    $0xc,%esp                      
  1089e7:	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 );    
  1089ea:	53                   	push   %ebx                           
  1089eb:	6a 00                	push   $0x0                           
  1089ed:	e8 22 3d 00 00       	call   10c714 <rtems_task_variable_delete>
  if ( status == RTEMS_SUCCESSFUL ) {                                 
  1089f2:	83 c4 10             	add    $0x10,%esp                     
  1089f5:	85 c0                	test   %eax,%eax                      
  1089f7:	75 11                	jne    108a0a <rtems_gxx_key_delete+0x2a><== NEVER TAKEN
    /* Hmm - hopefully all tasks using this key have gone away... */  
    if ( key ) free( *(void **)key );                                 
  1089f9:	85 db                	test   %ebx,%ebx                      
  1089fb:	74 0d                	je     108a0a <rtems_gxx_key_delete+0x2a><== NEVER TAKEN
  1089fd:	83 ec 0c             	sub    $0xc,%esp                      
  108a00:	ff 33                	pushl  (%ebx)                         
  108a02:	e8 fd fd ff ff       	call   108804 <free>                  
  108a07:	83 c4 10             	add    $0x10,%esp                     
    return 0;                                                         
  }                                                                   
  key = NULL;                                                         
  return 0;                                                           
}                                                                     
  108a0a:	31 c0                	xor    %eax,%eax                      
  108a0c:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108a0f:	c9                   	leave                                 
  108a10:	c3                   	ret                                   
                                                                      

00108900 <rtems_gxx_once>: /* uncomment this if you need to debug this interface */ /*#define DEBUG_GXX_WRAPPERS 1*/ int rtems_gxx_once(__gthread_once_t *once, void (*func) (void)) {
  108900:	55                   	push   %ebp                           
  108901:	89 e5                	mov    %esp,%ebp                      
  108903:	56                   	push   %esi                           
  108904:	53                   	push   %ebx                           
  108905:	83 ec 10             	sub    $0x10,%esp                     
  108908:	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 ) {                    
  10890b:	8b 03                	mov    (%ebx),%eax                    
  10890d:	85 c0                	test   %eax,%eax                      
  10890f:	74 0b                	je     10891c <rtems_gxx_once+0x1c>   
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
    if ( o == 0 )                                                     
      (*func)();                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
  108911:	31 c0                	xor    %eax,%eax                      
  108913:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  108916:	5b                   	pop    %ebx                           
  108917:	5e                   	pop    %esi                           
  108918:	c9                   	leave                                 
  108919:	c3                   	ret                                   
  10891a:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
  10891c:	51                   	push   %ecx                           
  10891d:	8d 75 f4             	lea    -0xc(%ebp),%esi                
  108920:	56                   	push   %esi                           
  108921:	68 00 01 00 00       	push   $0x100                         
  108926:	68 00 01 00 00       	push   $0x100                         
  10892b:	e8 48 3b 00 00       	call   10c478 <rtems_task_mode>       
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
  108930:	8b 03                	mov    (%ebx),%eax                    
  108932:	83 c4 10             	add    $0x10,%esp                     
  108935:	85 c0                	test   %eax,%eax                      
  108937:	75 27                	jne    108960 <rtems_gxx_once+0x60>   <== NEVER TAKEN
      *(volatile __gthread_once_t *)once = 1;                         
  108939:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)                    
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  10893f:	52                   	push   %edx                           
  108940:	56                   	push   %esi                           
  108941:	68 00 01 00 00       	push   $0x100                         
  108946:	ff 75 f4             	pushl  -0xc(%ebp)                     
  108949:	e8 2a 3b 00 00       	call   10c478 <rtems_task_mode>       
    if ( o == 0 )                                                     
      (*func)();                                                      
  10894e:	ff 55 0c             	call   *0xc(%ebp)                     
  108951:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
  return 0;                                                           
}                                                                     
  108954:	31 c0                	xor    %eax,%eax                      
  108956:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  108959:	5b                   	pop    %ebx                           
  10895a:	5e                   	pop    %esi                           
  10895b:	c9                   	leave                                 
  10895c:	c3                   	ret                                   
  10895d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
      *(volatile __gthread_once_t *)once = 1;                         
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  108960:	50                   	push   %eax                           <== NOT EXECUTED
  108961:	56                   	push   %esi                           <== NOT EXECUTED
  108962:	68 00 01 00 00       	push   $0x100                         <== NOT EXECUTED
  108967:	ff 75 f4             	pushl  -0xc(%ebp)                     <== NOT EXECUTED
  10896a:	e8 09 3b 00 00       	call   10c478 <rtems_task_mode>       <== NOT EXECUTED
  10896f:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    if ( o == 0 )                                                     
      (*func)();                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
  108972:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  108974:	8d 65 f8             	lea    -0x8(%ebp),%esp                <== NOT EXECUTED
  108977:	5b                   	pop    %ebx                           <== NOT EXECUTED
  108978:	5e                   	pop    %esi                           <== NOT EXECUTED
  108979:	c9                   	leave                                 <== NOT EXECUTED
  10897a:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

00108a70 <rtems_gxx_setspecific>: #endif return p; } int rtems_gxx_setspecific(__gthread_key_t key, const void *ptr) {
  108a70:	55                   	push   %ebp                           
  108a71:	89 e5                	mov    %esp,%ebp                      
  108a73:	53                   	push   %ebx                           
  108a74:	83 ec 08             	sub    $0x8,%esp                      
  108a77:	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 );
  108a7a:	ff 73 04             	pushl  0x4(%ebx)                      
  108a7d:	53                   	push   %ebx                           
  108a7e:	6a 00                	push   $0x0                           
  108a80:	e8 cb 3b 00 00       	call   10c650 <rtems_task_variable_add>
  if ( status == RTEMS_SUCCESSFUL ) {                                 
  108a85:	83 c4 10             	add    $0x10,%esp                     
  108a88:	85 c0                	test   %eax,%eax                      
  108a8a:	75 0c                	jne    108a98 <rtems_gxx_setspecific+0x28><== NEVER TAKEN
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
  108a8c:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  108a8f:	89 03                	mov    %eax,(%ebx)                    
    return 0;                                                         
  108a91:	31 c0                	xor    %eax,%eax                      
  }                                                                   
  return -1;                                                          
}                                                                     
  108a93:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108a96:	c9                   	leave                                 
  108a97:	c3                   	ret                                   
  if ( status == RTEMS_SUCCESSFUL ) {                                 
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
    return 0;                                                         
  }                                                                   
  return -1;                                                          
  108a98:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
}                                                                     
  108a9d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  108aa0:	c9                   	leave                                 <== NOT EXECUTED
  108aa1:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010bc38 <rtems_heap_allocate_aligned_with_boundary>: void *rtems_heap_allocate_aligned_with_boundary( size_t size, uintptr_t alignment, uintptr_t boundary ) {
  10bc38:	55                   	push   %ebp                           
  10bc39:	89 e5                	mov    %esp,%ebp                      
  10bc3b:	83 ec 08             	sub    $0x8,%esp                      
  if (                                                                
  10bc3e:	83 3d 80 d5 12 00 03 	cmpl   $0x3,0x12d580                  
  10bc45:	74 21                	je     10bc68 <rtems_heap_allocate_aligned_with_boundary+0x30><== ALWAYS TAKEN
      && !malloc_is_system_state_OK()                                 
  ) {                                                                 
    return NULL;                                                      
  }                                                                   
                                                                      
  malloc_deferred_frees_process();                                    
  10bc47:	e8 e0 ef ff ff       	call   10ac2c <malloc_deferred_frees_process>
                                                                      
  /* FIXME: Statistics, boundary checks */                            
                                                                      
  return _Protected_heap_Allocate_aligned_with_boundary(              
  10bc4c:	ff 75 10             	pushl  0x10(%ebp)                     
  10bc4f:	ff 75 0c             	pushl  0xc(%ebp)                      
  10bc52:	ff 75 08             	pushl  0x8(%ebp)                      
  10bc55:	ff 35 58 87 12 00    	pushl  0x128758                       
  10bc5b:	e8 0c 4d 00 00       	call   11096c <_Protected_heap_Allocate_aligned_with_boundary>
  10bc60:	83 c4 10             	add    $0x10,%esp                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment,                                                        
    boundary                                                          
  );                                                                  
}                                                                     
  10bc63:	c9                   	leave                                 
  10bc64:	c3                   	ret                                   
  10bc65:	8d 76 00             	lea    0x0(%esi),%esi                 
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  if (                                                                
    _System_state_Is_up( _System_state_Get() )                        
      && !malloc_is_system_state_OK()                                 
  10bc68:	e8 7f ef ff ff       	call   10abec <malloc_is_system_state_OK>
  10bc6d:	84 c0                	test   %al,%al                        
  10bc6f:	75 d6                	jne    10bc47 <rtems_heap_allocate_aligned_with_boundary+0xf>
  ) {                                                                 
    return NULL;                                                      
  10bc71:	31 c0                	xor    %eax,%eax                      
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment,                                                        
    boundary                                                          
  );                                                                  
}                                                                     
  10bc73:	c9                   	leave                                 
  10bc74:	c3                   	ret                                   
                                                                      

00112088 <rtems_io_close>: rtems_status_code rtems_io_close( rtems_device_major_number major, rtems_device_minor_number minor, void *argument ) {
  112088:	55                   	push   %ebp                           
  112089:	89 e5                	mov    %esp,%ebp                      
  11208b:	53                   	push   %ebx                           
  11208c:	83 ec 04             	sub    $0x4,%esp                      
  11208f:	8b 45 08             	mov    0x8(%ebp),%eax                 
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  112092:	39 05 40 58 12 00    	cmp    %eax,0x125840                  
  112098:	76 1a                	jbe    1120b4 <rtems_io_close+0x2c>   
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].close_entry;              
  11209a:	8d 14 40             	lea    (%eax,%eax,2),%edx             
  11209d:	c1 e2 03             	shl    $0x3,%edx                      
  1120a0:	03 15 44 58 12 00    	add    0x125844,%edx                  
  1120a6:	8b 52 08             	mov    0x8(%edx),%edx                 
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  1120a9:	85 d2                	test   %edx,%edx                      
  1120ab:	74 13                	je     1120c0 <rtems_io_close+0x38>   
}                                                                     
  1120ad:	59                   	pop    %ecx                           
  1120ae:	5b                   	pop    %ebx                           
  1120af:	c9                   	leave                                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].close_entry;              
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  1120b0:	ff e2                	jmp    *%edx                          
  1120b2:	66 90                	xchg   %ax,%ax                        
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
  1120b4:	b8 0a 00 00 00       	mov    $0xa,%eax                      
                                                                      
  callout = _IO_Driver_address_table[major].close_entry;              
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
}                                                                     
  1120b9:	5a                   	pop    %edx                           
  1120ba:	5b                   	pop    %ebx                           
  1120bb:	c9                   	leave                                 
  1120bc:	c3                   	ret                                   
  1120bd:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].close_entry;              
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  1120c0:	31 c0                	xor    %eax,%eax                      
}                                                                     
  1120c2:	5a                   	pop    %edx                           
  1120c3:	5b                   	pop    %ebx                           
  1120c4:	c9                   	leave                                 
  1120c5:	c3                   	ret                                   
                                                                      

001120c8 <rtems_io_control>: rtems_status_code rtems_io_control( rtems_device_major_number major, rtems_device_minor_number minor, void *argument ) {
  1120c8:	55                   	push   %ebp                           
  1120c9:	89 e5                	mov    %esp,%ebp                      
  1120cb:	53                   	push   %ebx                           
  1120cc:	83 ec 04             	sub    $0x4,%esp                      
  1120cf:	8b 45 08             	mov    0x8(%ebp),%eax                 
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  1120d2:	39 05 40 58 12 00    	cmp    %eax,0x125840                  
  1120d8:	76 1a                	jbe    1120f4 <rtems_io_control+0x2c> 
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].control_entry;            
  1120da:	8d 14 40             	lea    (%eax,%eax,2),%edx             
  1120dd:	c1 e2 03             	shl    $0x3,%edx                      
  1120e0:	03 15 44 58 12 00    	add    0x125844,%edx                  
  1120e6:	8b 52 14             	mov    0x14(%edx),%edx                
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  1120e9:	85 d2                	test   %edx,%edx                      
  1120eb:	74 13                	je     112100 <rtems_io_control+0x38> 
}                                                                     
  1120ed:	59                   	pop    %ecx                           
  1120ee:	5b                   	pop    %ebx                           
  1120ef:	c9                   	leave                                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].control_entry;            
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  1120f0:	ff e2                	jmp    *%edx                          
  1120f2:	66 90                	xchg   %ax,%ax                        
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
  1120f4:	b8 0a 00 00 00       	mov    $0xa,%eax                      
                                                                      
  callout = _IO_Driver_address_table[major].control_entry;            
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
}                                                                     
  1120f9:	5a                   	pop    %edx                           
  1120fa:	5b                   	pop    %ebx                           
  1120fb:	c9                   	leave                                 
  1120fc:	c3                   	ret                                   
  1120fd:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].control_entry;            
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  112100:	31 c0                	xor    %eax,%eax                      
}                                                                     
  112102:	5a                   	pop    %edx                           
  112103:	5b                   	pop    %ebx                           
  112104:	c9                   	leave                                 
  112105:	c3                   	ret                                   
                                                                      

001104f8 <rtems_io_initialize>: rtems_status_code rtems_io_initialize( rtems_device_major_number major, rtems_device_minor_number minor, void *argument ) {
  1104f8:	55                   	push   %ebp                           
  1104f9:	89 e5                	mov    %esp,%ebp                      
  1104fb:	53                   	push   %ebx                           
  1104fc:	83 ec 04             	sub    $0x4,%esp                      
  1104ff:	8b 45 08             	mov    0x8(%ebp),%eax                 
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  110502:	39 05 40 58 12 00    	cmp    %eax,0x125840                  
  110508:	76 1a                	jbe    110524 <rtems_io_initialize+0x2c>
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].initialization_entry;     
  11050a:	8d 14 40             	lea    (%eax,%eax,2),%edx             
  11050d:	c1 e2 03             	shl    $0x3,%edx                      
  110510:	03 15 44 58 12 00    	add    0x125844,%edx                  
  110516:	8b 12                	mov    (%edx),%edx                    
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  110518:	85 d2                	test   %edx,%edx                      
  11051a:	74 14                	je     110530 <rtems_io_initialize+0x38>
}                                                                     
  11051c:	59                   	pop    %ecx                           
  11051d:	5b                   	pop    %ebx                           
  11051e:	c9                   	leave                                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].initialization_entry;     
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  11051f:	ff e2                	jmp    *%edx                          
  110521:	8d 76 00             	lea    0x0(%esi),%esi                 
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
  110524:	b8 0a 00 00 00       	mov    $0xa,%eax                      
                                                                      
  callout = _IO_Driver_address_table[major].initialization_entry;     
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
}                                                                     
  110529:	5a                   	pop    %edx                           
  11052a:	5b                   	pop    %ebx                           
  11052b:	c9                   	leave                                 
  11052c:	c3                   	ret                                   
  11052d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].initialization_entry;     
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  110530:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110532:	5a                   	pop    %edx                           
  110533:	5b                   	pop    %ebx                           
  110534:	c9                   	leave                                 
  110535:	c3                   	ret                                   
                                                                      

00107d60 <rtems_io_lookup_name>: rtems_status_code rtems_io_lookup_name( const char *name, rtems_driver_name_t *device_info ) {
  107d60:	55                   	push   %ebp                           
  107d61:	89 e5                	mov    %esp,%ebp                      
  107d63:	57                   	push   %edi                           
  107d64:	56                   	push   %esi                           
  107d65:	53                   	push   %ebx                           
  107d66:	83 ec 48             	sub    $0x48,%esp                     
  107d69:	8b 75 08             	mov    0x8(%ebp),%esi                 
  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(                            
  107d6c:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  107d71:	89 f7                	mov    %esi,%edi                      
  107d73:	31 c0                	xor    %eax,%eax                      
  107d75:	f2 ae                	repnz scas %es:(%edi),%al             
  107d77:	f7 d1                	not    %ecx                           
  107d79:	49                   	dec    %ecx                           
  107d7a:	6a 01                	push   $0x1                           
  107d7c:	8d 5d d4             	lea    -0x2c(%ebp),%ebx               
  107d7f:	53                   	push   %ebx                           
  107d80:	6a 00                	push   $0x0                           
  107d82:	51                   	push   %ecx                           
  107d83:	56                   	push   %esi                           
  107d84:	e8 3f 02 00 00       	call   107fc8 <rtems_filesystem_evaluate_path>
  107d89:	89 c7                	mov    %eax,%edi                      
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
  107d8b:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  107d8e:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
  107d91:	83 c4 14             	add    $0x14,%esp                     
  107d94:	53                   	push   %ebx                           
  107d95:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  107d98:	ff 50 10             	call   *0x10(%eax)                    
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
  107d9b:	83 c4 10             	add    $0x10,%esp                     
  107d9e:	85 ff                	test   %edi,%edi                      
  107da0:	75 05                	jne    107da7 <rtems_io_lookup_name+0x47><== NEVER TAKEN
  107da2:	83 f8 02             	cmp    $0x2,%eax                      
  107da5:	74 19                	je     107dc0 <rtems_io_lookup_name+0x60>
    rtems_filesystem_freenode( &loc );                                
  107da7:	83 ec 0c             	sub    $0xc,%esp                      
  107daa:	53                   	push   %ebx                           
  107dab:	e8 f0 02 00 00       	call   1080a0 <rtems_filesystem_freenode>
    return RTEMS_UNSATISFIED;                                         
  107db0:	83 c4 10             	add    $0x10,%esp                     
  107db3:	b8 0d 00 00 00       	mov    $0xd,%eax                      
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  107db8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107dbb:	5b                   	pop    %ebx                           
  107dbc:	5e                   	pop    %esi                           
  107dbd:	5f                   	pop    %edi                           
  107dbe:	c9                   	leave                                 
  107dbf:	c3                   	ret                                   
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
    rtems_filesystem_freenode( &loc );                                
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
  107dc0:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  107dc3:	89 37                	mov    %esi,(%edi)                    
  device_info->device_name_length = strlen( name );                   
  107dc5:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  107dca:	89 f7                	mov    %esi,%edi                      
  107dcc:	31 c0                	xor    %eax,%eax                      
  107dce:	f2 ae                	repnz scas %es:(%edi),%al             
  107dd0:	f7 d1                	not    %ecx                           
  107dd2:	49                   	dec    %ecx                           
  107dd3:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  107dd6:	89 48 04             	mov    %ecx,0x4(%eax)                 
  device_info->major              = the_jnode->info.device.major;     
  107dd9:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  107ddc:	8b 42 50             	mov    0x50(%edx),%eax                
  107ddf:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  107de2:	89 47 08             	mov    %eax,0x8(%edi)                 
  device_info->minor              = the_jnode->info.device.minor;     
  107de5:	8b 42 54             	mov    0x54(%edx),%eax                
  107de8:	89 47 0c             	mov    %eax,0xc(%edi)                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  107deb:	83 ec 0c             	sub    $0xc,%esp                      
  107dee:	53                   	push   %ebx                           
  107def:	e8 ac 02 00 00       	call   1080a0 <rtems_filesystem_freenode>
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  107df4:	83 c4 10             	add    $0x10,%esp                     
  107df7:	31 c0                	xor    %eax,%eax                      
  107df9:	eb bd                	jmp    107db8 <rtems_io_lookup_name+0x58>
                                                                      

00112108 <rtems_io_open>: rtems_status_code rtems_io_open( rtems_device_major_number major, rtems_device_minor_number minor, void *argument ) {
  112108:	55                   	push   %ebp                           
  112109:	89 e5                	mov    %esp,%ebp                      
  11210b:	53                   	push   %ebx                           
  11210c:	83 ec 04             	sub    $0x4,%esp                      
  11210f:	8b 45 08             	mov    0x8(%ebp),%eax                 
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  112112:	39 05 40 58 12 00    	cmp    %eax,0x125840                  
  112118:	76 1a                	jbe    112134 <rtems_io_open+0x2c>    
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].open_entry;               
  11211a:	8d 14 40             	lea    (%eax,%eax,2),%edx             
  11211d:	c1 e2 03             	shl    $0x3,%edx                      
  112120:	03 15 44 58 12 00    	add    0x125844,%edx                  
  112126:	8b 52 04             	mov    0x4(%edx),%edx                 
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  112129:	85 d2                	test   %edx,%edx                      
  11212b:	74 13                	je     112140 <rtems_io_open+0x38>    
}                                                                     
  11212d:	59                   	pop    %ecx                           
  11212e:	5b                   	pop    %ebx                           
  11212f:	c9                   	leave                                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].open_entry;               
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  112130:	ff e2                	jmp    *%edx                          
  112132:	66 90                	xchg   %ax,%ax                        
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
  112134:	b8 0a 00 00 00       	mov    $0xa,%eax                      
                                                                      
  callout = _IO_Driver_address_table[major].open_entry;               
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
}                                                                     
  112139:	5a                   	pop    %edx                           
  11213a:	5b                   	pop    %ebx                           
  11213b:	c9                   	leave                                 
  11213c:	c3                   	ret                                   
  11213d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].open_entry;               
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  112140:	31 c0                	xor    %eax,%eax                      
}                                                                     
  112142:	5a                   	pop    %edx                           
  112143:	5b                   	pop    %ebx                           
  112144:	c9                   	leave                                 
  112145:	c3                   	ret                                   
                                                                      

00112148 <rtems_io_read>: rtems_status_code rtems_io_read( rtems_device_major_number major, rtems_device_minor_number minor, void *argument ) {
  112148:	55                   	push   %ebp                           
  112149:	89 e5                	mov    %esp,%ebp                      
  11214b:	53                   	push   %ebx                           
  11214c:	83 ec 04             	sub    $0x4,%esp                      
  11214f:	8b 45 08             	mov    0x8(%ebp),%eax                 
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  112152:	39 05 40 58 12 00    	cmp    %eax,0x125840                  
  112158:	76 1a                	jbe    112174 <rtems_io_read+0x2c>    
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].read_entry;               
  11215a:	8d 14 40             	lea    (%eax,%eax,2),%edx             
  11215d:	c1 e2 03             	shl    $0x3,%edx                      
  112160:	03 15 44 58 12 00    	add    0x125844,%edx                  
  112166:	8b 52 0c             	mov    0xc(%edx),%edx                 
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  112169:	85 d2                	test   %edx,%edx                      
  11216b:	74 13                	je     112180 <rtems_io_read+0x38>    
}                                                                     
  11216d:	59                   	pop    %ecx                           
  11216e:	5b                   	pop    %ebx                           
  11216f:	c9                   	leave                                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].read_entry;               
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  112170:	ff e2                	jmp    *%edx                          
  112172:	66 90                	xchg   %ax,%ax                        
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
  112174:	b8 0a 00 00 00       	mov    $0xa,%eax                      
                                                                      
  callout = _IO_Driver_address_table[major].read_entry;               
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
}                                                                     
  112179:	5a                   	pop    %edx                           
  11217a:	5b                   	pop    %ebx                           
  11217b:	c9                   	leave                                 
  11217c:	c3                   	ret                                   
  11217d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].read_entry;               
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  112180:	31 c0                	xor    %eax,%eax                      
}                                                                     
  112182:	5a                   	pop    %edx                           
  112183:	5b                   	pop    %ebx                           
  112184:	c9                   	leave                                 
  112185:	c3                   	ret                                   
                                                                      

0010cec8 <rtems_io_register_driver>: rtems_status_code rtems_io_register_driver( rtems_device_major_number major, const rtems_driver_address_table *driver_table, rtems_device_major_number *registered_major ) {
  10cec8:	55                   	push   %ebp                           
  10cec9:	89 e5                	mov    %esp,%ebp                      
  10cecb:	57                   	push   %edi                           
  10cecc:	56                   	push   %esi                           
  10cecd:	53                   	push   %ebx                           
  10cece:	83 ec 0c             	sub    $0xc,%esp                      
  10ced1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10ced4:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10ced7:	8b 55 10             	mov    0x10(%ebp),%edx                
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
  10ceda:	a1 e0 98 12 00       	mov    0x1298e0,%eax                  
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
  10cedf:	8b 0d d4 97 12 00    	mov    0x1297d4,%ecx                  
  10cee5:	85 c9                	test   %ecx,%ecx                      
  10cee7:	0f 85 ab 00 00 00    	jne    10cf98 <rtems_io_register_driver+0xd0>
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
  10ceed:	85 d2                	test   %edx,%edx                      
  10ceef:	0f 84 e7 00 00 00    	je     10cfdc <rtems_io_register_driver+0x114>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
  10cef5:	89 02                	mov    %eax,(%edx)                    
                                                                      
  if ( driver_table == NULL )                                         
  10cef7:	85 f6                	test   %esi,%esi                      
  10cef9:	0f 84 dd 00 00 00    	je     10cfdc <rtems_io_register_driver+0x114>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
  10ceff:	8b 3e                	mov    (%esi),%edi                    
  10cf01:	85 ff                	test   %edi,%edi                      
  10cf03:	0f 84 c7 00 00 00    	je     10cfd0 <rtems_io_register_driver+0x108>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
  10cf09:	39 d8                	cmp    %ebx,%eax                      
  10cf0b:	76 7b                	jbe    10cf88 <rtems_io_register_driver+0xc0>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10cf0d:	a1 10 95 12 00       	mov    0x129510,%eax                  
  10cf12:	40                   	inc    %eax                           
  10cf13:	a3 10 95 12 00       	mov    %eax,0x129510                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
  10cf18:	85 db                	test   %ebx,%ebx                      
  10cf1a:	0f 85 88 00 00 00    	jne    10cfa8 <rtems_io_register_driver+0xe0>
                                                                      
static rtems_status_code rtems_io_obtain_major_number(                
  rtems_device_major_number *major                                    
)                                                                     
{                                                                     
  rtems_device_major_number n = _IO_Number_of_drivers;                
  10cf20:	8b 0d e0 98 12 00    	mov    0x1298e0,%ecx                  
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
  10cf26:	85 c9                	test   %ecx,%ecx                      
  10cf28:	0f 84 bb 00 00 00    	je     10cfe9 <rtems_io_register_driver+0x121><== NEVER TAKEN
  10cf2e:	8b 3d e4 98 12 00    	mov    0x1298e4,%edi                  
  10cf34:	89 f8                	mov    %edi,%eax                      
  10cf36:	eb 08                	jmp    10cf40 <rtems_io_register_driver+0x78>
  10cf38:	43                   	inc    %ebx                           
  10cf39:	83 c0 18             	add    $0x18,%eax                     
  10cf3c:	39 d9                	cmp    %ebx,%ecx                      
  10cf3e:	76 0b                	jbe    10cf4b <rtems_io_register_driver+0x83>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
  10cf40:	83 38 00             	cmpl   $0x0,(%eax)                    
  10cf43:	75 f3                	jne    10cf38 <rtems_io_register_driver+0x70>
  10cf45:	83 78 04 00          	cmpl   $0x0,0x4(%eax)                 
  10cf49:	75 ed                	jne    10cf38 <rtems_io_register_driver+0x70>
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
  10cf4b:	89 1a                	mov    %ebx,(%edx)                    
                                                                      
  if ( m != n )                                                       
  10cf4d:	39 d9                	cmp    %ebx,%ecx                      
  10cf4f:	0f 84 9b 00 00 00    	je     10cff0 <rtems_io_register_driver+0x128>
  10cf55:	8d 04 5b             	lea    (%ebx,%ebx,2),%eax             
  10cf58:	c1 e0 03             	shl    $0x3,%eax                      
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
  10cf5b:	01 c7                	add    %eax,%edi                      
  10cf5d:	b9 06 00 00 00       	mov    $0x6,%ecx                      
  10cf62:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  _Thread_Enable_dispatch();                                          
  10cf64:	e8 a7 1b 00 00       	call   10eb10 <_Thread_Enable_dispatch>
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
  10cf69:	c7 45 10 00 00 00 00 	movl   $0x0,0x10(%ebp)                
  10cf70:	c7 45 0c 00 00 00 00 	movl   $0x0,0xc(%ebp)                 
  10cf77:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
}                                                                     
  10cf7a:	83 c4 0c             	add    $0xc,%esp                      
  10cf7d:	5b                   	pop    %ebx                           
  10cf7e:	5e                   	pop    %esi                           
  10cf7f:	5f                   	pop    %edi                           
  10cf80:	c9                   	leave                                 
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
  10cf81:	e9 1e 73 00 00       	jmp    1142a4 <rtems_io_initialize>   
  10cf86:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
    return RTEMS_INVALID_NUMBER;                                      
  10cf88:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
  10cf8d:	83 c4 0c             	add    $0xc,%esp                      
  10cf90:	5b                   	pop    %ebx                           
  10cf91:	5e                   	pop    %esi                           
  10cf92:	5f                   	pop    %edi                           
  10cf93:	c9                   	leave                                 
  10cf94:	c3                   	ret                                   
  10cf95:	8d 76 00             	lea    0x0(%esi),%esi                 
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
    return RTEMS_CALLED_FROM_ISR;                                     
  10cf98:	b8 12 00 00 00       	mov    $0x12,%eax                     
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
  10cf9d:	83 c4 0c             	add    $0xc,%esp                      
  10cfa0:	5b                   	pop    %ebx                           
  10cfa1:	5e                   	pop    %esi                           
  10cfa2:	5f                   	pop    %edi                           
  10cfa3:	c9                   	leave                                 
  10cfa4:	c3                   	ret                                   
  10cfa5:	8d 76 00             	lea    0x0(%esi),%esi                 
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
  10cfa8:	8d 04 5b             	lea    (%ebx,%ebx,2),%eax             
  10cfab:	c1 e0 03             	shl    $0x3,%eax                      
  10cfae:	8b 0d e4 98 12 00    	mov    0x1298e4,%ecx                  
  10cfb4:	01 c1                	add    %eax,%ecx                      
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
  10cfb6:	8b 39                	mov    (%ecx),%edi                    
  10cfb8:	85 ff                	test   %edi,%edi                      
  10cfba:	74 40                	je     10cffc <rtems_io_register_driver+0x134>
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
                                                                      
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
  10cfbc:	e8 4f 1b 00 00       	call   10eb10 <_Thread_Enable_dispatch>
      return RTEMS_RESOURCE_IN_USE;                                   
  10cfc1:	b8 0c 00 00 00       	mov    $0xc,%eax                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
  10cfc6:	83 c4 0c             	add    $0xc,%esp                      
  10cfc9:	5b                   	pop    %ebx                           
  10cfca:	5e                   	pop    %esi                           
  10cfcb:	5f                   	pop    %edi                           
  10cfcc:	c9                   	leave                                 
  10cfcd:	c3                   	ret                                   
  10cfce:	66 90                	xchg   %ax,%ax                        
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
  10cfd0:	8b 4e 04             	mov    0x4(%esi),%ecx                 
  10cfd3:	85 c9                	test   %ecx,%ecx                      
  10cfd5:	0f 85 2e ff ff ff    	jne    10cf09 <rtems_io_register_driver+0x41>
  10cfdb:	90                   	nop                                   
                                                                      
  if ( driver_table == NULL )                                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
  10cfdc:	b8 09 00 00 00       	mov    $0x9,%eax                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
  10cfe1:	83 c4 0c             	add    $0xc,%esp                      
  10cfe4:	5b                   	pop    %ebx                           
  10cfe5:	5e                   	pop    %esi                           
  10cfe6:	5f                   	pop    %edi                           
  10cfe7:	c9                   	leave                                 
  10cfe8:	c3                   	ret                                   
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
  10cfe9:	c7 02 00 00 00 00    	movl   $0x0,(%edx)                    <== NOT EXECUTED
  10cfef:	90                   	nop                                   <== NOT EXECUTED
                                                                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
  10cff0:	e8 1b 1b 00 00       	call   10eb10 <_Thread_Enable_dispatch>
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
    return RTEMS_SUCCESSFUL;                                          
                                                                      
  return RTEMS_TOO_MANY;                                              
  10cff5:	b8 05 00 00 00       	mov    $0x5,%eax                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
  10cffa:	eb 91                	jmp    10cf8d <rtems_io_register_driver+0xc5>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
  10cffc:	8b 49 04             	mov    0x4(%ecx),%ecx                 
  10cfff:	85 c9                	test   %ecx,%ecx                      
  10d001:	75 b9                	jne    10cfbc <rtems_io_register_driver+0xf4>
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
      return RTEMS_RESOURCE_IN_USE;                                   
    }                                                                 
                                                                      
    *registered_major = major;                                        
  10d003:	89 1a                	mov    %ebx,(%edx)                    
  10d005:	8b 3d e4 98 12 00    	mov    0x1298e4,%edi                  
  10d00b:	e9 4b ff ff ff       	jmp    10cf5b <rtems_io_register_driver+0x93>
                                                                      

0010d010 <rtems_io_unregister_driver>: */ rtems_status_code rtems_io_unregister_driver( rtems_device_major_number major ) {
  10d010:	55                   	push   %ebp                           
  10d011:	89 e5                	mov    %esp,%ebp                      
  10d013:	57                   	push   %edi                           
  10d014:	83 ec 04             	sub    $0x4,%esp                      
  10d017:	8b 45 08             	mov    0x8(%ebp),%eax                 
  if ( rtems_interrupt_is_in_progress() )                             
  10d01a:	8b 0d d4 97 12 00    	mov    0x1297d4,%ecx                  
  10d020:	85 c9                	test   %ecx,%ecx                      
  10d022:	75 44                	jne    10d068 <rtems_io_unregister_driver+0x58>
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( major < _IO_Number_of_drivers ) {                              
  10d024:	39 05 e0 98 12 00    	cmp    %eax,0x1298e0                  
  10d02a:	77 0c                	ja     10d038 <rtems_io_unregister_driver+0x28>
    _Thread_Enable_dispatch();                                        
                                                                      
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  return RTEMS_UNSATISFIED;                                           
  10d02c:	b8 0d 00 00 00       	mov    $0xd,%eax                      
}                                                                     
  10d031:	5a                   	pop    %edx                           
  10d032:	5f                   	pop    %edi                           
  10d033:	c9                   	leave                                 
  10d034:	c3                   	ret                                   
  10d035:	8d 76 00             	lea    0x0(%esi),%esi                 
  10d038:	8b 15 10 95 12 00    	mov    0x129510,%edx                  
  10d03e:	42                   	inc    %edx                           
  10d03f:	89 15 10 95 12 00    	mov    %edx,0x129510                  
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( major < _IO_Number_of_drivers ) {                              
    _Thread_Disable_dispatch();                                       
    memset(                                                           
      &_IO_Driver_address_table[major],                               
  10d045:	8d 14 40             	lea    (%eax,%eax,2),%edx             
  10d048:	c1 e2 03             	shl    $0x3,%edx                      
  if ( rtems_interrupt_is_in_progress() )                             
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( major < _IO_Number_of_drivers ) {                              
    _Thread_Disable_dispatch();                                       
    memset(                                                           
  10d04b:	03 15 e4 98 12 00    	add    0x1298e4,%edx                  
  10d051:	b9 18 00 00 00       	mov    $0x18,%ecx                     
  10d056:	31 c0                	xor    %eax,%eax                      
  10d058:	89 d7                	mov    %edx,%edi                      
  10d05a:	f3 aa                	rep stos %al,%es:(%edi)               
      &_IO_Driver_address_table[major],                               
      0,                                                              
      sizeof( rtems_driver_address_table )                            
    );                                                                
    _Thread_Enable_dispatch();                                        
  10d05c:	e8 af 1a 00 00       	call   10eb10 <_Thread_Enable_dispatch>
                                                                      
    return RTEMS_SUCCESSFUL;                                          
  10d061:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  return RTEMS_UNSATISFIED;                                           
}                                                                     
  10d063:	5a                   	pop    %edx                           
  10d064:	5f                   	pop    %edi                           
  10d065:	c9                   	leave                                 
  10d066:	c3                   	ret                                   
  10d067:	90                   	nop                                   
rtems_status_code rtems_io_unregister_driver(                         
  rtems_device_major_number major                                     
)                                                                     
{                                                                     
  if ( rtems_interrupt_is_in_progress() )                             
    return RTEMS_CALLED_FROM_ISR;                                     
  10d068:	b8 12 00 00 00       	mov    $0x12,%eax                     
                                                                      
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  return RTEMS_UNSATISFIED;                                           
}                                                                     
  10d06d:	5a                   	pop    %edx                           
  10d06e:	5f                   	pop    %edi                           
  10d06f:	c9                   	leave                                 
  10d070:	c3                   	ret                                   
                                                                      

00112188 <rtems_io_write>: rtems_status_code rtems_io_write( rtems_device_major_number major, rtems_device_minor_number minor, void *argument ) {
  112188:	55                   	push   %ebp                           
  112189:	89 e5                	mov    %esp,%ebp                      
  11218b:	53                   	push   %ebx                           
  11218c:	83 ec 04             	sub    $0x4,%esp                      
  11218f:	8b 45 08             	mov    0x8(%ebp),%eax                 
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  112192:	39 05 40 58 12 00    	cmp    %eax,0x125840                  
  112198:	76 1a                	jbe    1121b4 <rtems_io_write+0x2c>   
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].write_entry;              
  11219a:	8d 14 40             	lea    (%eax,%eax,2),%edx             
  11219d:	c1 e2 03             	shl    $0x3,%edx                      
  1121a0:	03 15 44 58 12 00    	add    0x125844,%edx                  
  1121a6:	8b 52 10             	mov    0x10(%edx),%edx                
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  1121a9:	85 d2                	test   %edx,%edx                      
  1121ab:	74 13                	je     1121c0 <rtems_io_write+0x38>   
}                                                                     
  1121ad:	59                   	pop    %ecx                           
  1121ae:	5b                   	pop    %ebx                           
  1121af:	c9                   	leave                                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].write_entry;              
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  1121b0:	ff e2                	jmp    *%edx                          
  1121b2:	66 90                	xchg   %ax,%ax                        
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
  1121b4:	b8 0a 00 00 00       	mov    $0xa,%eax                      
                                                                      
  callout = _IO_Driver_address_table[major].write_entry;              
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
}                                                                     
  1121b9:	5a                   	pop    %edx                           
  1121ba:	5b                   	pop    %ebx                           
  1121bb:	c9                   	leave                                 
  1121bc:	c3                   	ret                                   
  1121bd:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].write_entry;              
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  1121c0:	31 c0                	xor    %eax,%eax                      
}                                                                     
  1121c2:	5a                   	pop    %edx                           
  1121c3:	5b                   	pop    %ebx                           
  1121c4:	c9                   	leave                                 
  1121c5:	c3                   	ret                                   
                                                                      

0010def0 <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) {
  10def0:	55                   	push   %ebp                           
  10def1:	89 e5                	mov    %esp,%ebp                      
  10def3:	57                   	push   %edi                           
  10def4:	56                   	push   %esi                           
  10def5:	53                   	push   %ebx                           
  10def6:	83 ec 1c             	sub    $0x1c,%esp                     
  10def9:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
  10defc:	85 ff                	test   %edi,%edi                      
  10defe:	74 4d                	je     10df4d <rtems_iterate_over_all_threads+0x5d><== NEVER TAKEN
  10df00:	c7 45 e4 01 00 00 00 	movl   $0x1,-0x1c(%ebp)               
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    #if !defined(RTEMS_POSIX_API) || defined(RTEMS_DEBUG)             
      if ( !_Objects_Information_table[ api_index ] )                 
  10df07:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10df0a:	8b 04 95 48 14 13 00 	mov    0x131448(,%edx,4),%eax         
  10df11:	85 c0                	test   %eax,%eax                      
  10df13:	74 2f                	je     10df44 <rtems_iterate_over_all_threads+0x54>
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
  10df15:	8b 70 04             	mov    0x4(%eax),%esi                 
    if ( !information )                                               
  10df18:	85 f6                	test   %esi,%esi                      
  10df1a:	74 28                	je     10df44 <rtems_iterate_over_all_threads+0x54>
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
  10df1c:	66 83 7e 10 00       	cmpw   $0x0,0x10(%esi)                
  10df21:	74 21                	je     10df44 <rtems_iterate_over_all_threads+0x54><== NEVER TAKEN
  10df23:	bb 01 00 00 00       	mov    $0x1,%ebx                      
      the_thread = (Thread_Control *)information->local_table[ i ];   
  10df28:	8b 46 1c             	mov    0x1c(%esi),%eax                
  10df2b:	8b 04 98             	mov    (%eax,%ebx,4),%eax             
                                                                      
      if ( !the_thread )                                              
  10df2e:	85 c0                	test   %eax,%eax                      
  10df30:	74 09                	je     10df3b <rtems_iterate_over_all_threads+0x4b><== NEVER TAKEN
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
  10df32:	83 ec 0c             	sub    $0xc,%esp                      
  10df35:	50                   	push   %eax                           
  10df36:	ff d7                	call   *%edi                          
  10df38:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
  10df3b:	43                   	inc    %ebx                           
  10df3c:	0f b7 46 10          	movzwl 0x10(%esi),%eax                
  10df40:	39 d8                	cmp    %ebx,%eax                      
  10df42:	73 e4                	jae    10df28 <rtems_iterate_over_all_threads+0x38>
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
  10df44:	ff 45 e4             	incl   -0x1c(%ebp)                    
  10df47:	83 7d e4 04          	cmpl   $0x4,-0x1c(%ebp)               
  10df4b:	75 ba                	jne    10df07 <rtems_iterate_over_all_threads+0x17>
                                                                      
      (*routine)(the_thread);                                         
    }                                                                 
  }                                                                   
                                                                      
}                                                                     
  10df4d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10df50:	5b                   	pop    %ebx                           
  10df51:	5e                   	pop    %esi                           
  10df52:	5f                   	pop    %edi                           
  10df53:	c9                   	leave                                 
  10df54:	c3                   	ret                                   
                                                                      

0010fca8 <rtems_libio_free>: */ void rtems_libio_free( rtems_libio_t *iop ) {
  10fca8:	55                   	push   %ebp                           
  10fca9:	89 e5                	mov    %esp,%ebp                      
  10fcab:	53                   	push   %ebx                           
  10fcac:	83 ec 08             	sub    $0x8,%esp                      
  10fcaf:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
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 );
  10fcb2:	6a 00                	push   $0x0                           
  10fcb4:	6a 00                	push   $0x0                           
  10fcb6:	ff 35 08 53 12 00    	pushl  0x125308                       
  10fcbc:	e8 ef b9 ff ff       	call   10b6b0 <rtems_semaphore_obtain>
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
  10fcc1:	8b 43 2c             	mov    0x2c(%ebx),%eax                
  10fcc4:	83 c4 10             	add    $0x10,%esp                     
  10fcc7:	85 c0                	test   %eax,%eax                      
  10fcc9:	74 0c                	je     10fcd7 <rtems_libio_free+0x2f> <== NEVER TAKEN
      rtems_semaphore_delete(iop->sem);                               
  10fccb:	83 ec 0c             	sub    $0xc,%esp                      
  10fcce:	50                   	push   %eax                           
  10fccf:	e8 38 b9 ff ff       	call   10b60c <rtems_semaphore_delete>
  10fcd4:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
  10fcd7:	81 63 14 ff fe ff ff 	andl   $0xfffffeff,0x14(%ebx)         
    iop->data1 = rtems_libio_iop_freelist;                            
  10fcde:	a1 04 53 12 00       	mov    0x125304,%eax                  
  10fce3:	89 43 34             	mov    %eax,0x34(%ebx)                
    rtems_libio_iop_freelist = iop;                                   
  10fce6:	89 1d 04 53 12 00    	mov    %ebx,0x125304                  
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
  10fcec:	a1 08 53 12 00       	mov    0x125308,%eax                  
  10fcf1:	89 45 08             	mov    %eax,0x8(%ebp)                 
                                                                      
  rtems_libio_unlock();                                               
}                                                                     
  10fcf4:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10fcf7:	c9                   	leave                                 
  10fcf8:	e9 af ba ff ff       	jmp    10b7ac <rtems_semaphore_release>
                                                                      

001081b0 <rtems_libio_init>: * * Called by BSP startup code to initialize the libio subsystem. */ void rtems_libio_init( void ) {
  1081b0:	55                   	push   %ebp                           
  1081b1:	89 e5                	mov    %esp,%ebp                      
  1081b3:	53                   	push   %ebx                           
  1081b4:	83 ec 04             	sub    $0x4,%esp                      
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
  1081b7:	8b 1d 4c 11 12 00    	mov    0x12114c,%ebx                  
  1081bd:	85 db                	test   %ebx,%ebx                      
  1081bf:	74 50                	je     108211 <rtems_libio_init+0x61> <== NEVER TAKEN
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
  1081c1:	83 ec 08             	sub    $0x8,%esp                      
  1081c4:	6a 38                	push   $0x38                          
  1081c6:	53                   	push   %ebx                           
  1081c7:	e8 58 fd ff ff       	call   107f24 <calloc>                
  1081cc:	89 c2                	mov    %eax,%edx                      
  1081ce:	a3 00 53 12 00       	mov    %eax,0x125300                  
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
  1081d3:	83 c4 10             	add    $0x10,%esp                     
  1081d6:	85 c0                	test   %eax,%eax                      
  1081d8:	74 74                	je     10824e <rtems_libio_init+0x9e> 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
  1081da:	a3 04 53 12 00       	mov    %eax,0x125304                  
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
  1081df:	83 fb 01             	cmp    $0x1,%ebx                      
  1081e2:	76 26                	jbe    10820a <rtems_libio_init+0x5a> <== NEVER TAKEN
 *  rtems_libio_init                                                  
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
  1081e4:	8d 50 38             	lea    0x38(%eax),%edx                
  1081e7:	b9 01 00 00 00       	mov    $0x1,%ecx                      
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
          iop->data1 = iop + 1;                                       
  1081ec:	89 52 fc             	mov    %edx,-0x4(%edx)                
  1081ef:	41                   	inc    %ecx                           
  1081f0:	83 c2 38             	add    $0x38,%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++)  
  1081f3:	39 d9                	cmp    %ebx,%ecx                      
  1081f5:	75 f5                	jne    1081ec <rtems_libio_init+0x3c> 
 *  rtems_libio_init                                                  
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
  1081f7:	8d 0c cd f8 ff ff ff 	lea    -0x8(,%ecx,8),%ecx             
  1081fe:	8d 14 cd 00 00 00 00 	lea    0x0(,%ecx,8),%edx              
  108205:	29 ca                	sub    %ecx,%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++)  
  108207:	8d 14 10             	lea    (%eax,%edx,1),%edx             
          iop->data1 = iop + 1;                                       
        iop->data1 = NULL;                                            
  10820a:	c7 42 34 00 00 00 00 	movl   $0x0,0x34(%edx)                
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
  108211:	83 ec 0c             	sub    $0xc,%esp                      
  108214:	68 08 53 12 00       	push   $0x125308                      
  108219:	6a 00                	push   $0x0                           
  10821b:	6a 54                	push   $0x54                          
  10821d:	6a 01                	push   $0x1                           
  10821f:	68 4f 49 42 4c       	push   $0x4c42494f                    
  108224:	e8 0b 32 00 00       	call   10b434 <rtems_semaphore_create>
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
  108229:	83 c4 20             	add    $0x20,%esp                     
  10822c:	85 c0                	test   %eax,%eax                      
  10822e:	75 15                	jne    108245 <rtems_libio_init+0x95> <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
  108230:	a1 48 11 12 00       	mov    0x121148,%eax                  
  108235:	85 c0                	test   %eax,%eax                      
  108237:	74 07                	je     108240 <rtems_libio_init+0x90> <== NEVER TAKEN
     (* rtems_fs_init_helper)();                                      
}                                                                     
  108239:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10823c:	c9                   	leave                                 
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
     (* rtems_fs_init_helper)();                                      
  10823d:	ff e0                	jmp    *%eax                          
  10823f:	90                   	nop                                   
}                                                                     
  108240:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  108243:	c9                   	leave                                 <== NOT EXECUTED
  108244:	c3                   	ret                                   <== NOT EXECUTED
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
    rtems_fatal_error_occurred( rc );                                 
  108245:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  108248:	50                   	push   %eax                           <== NOT EXECUTED
  108249:	e8 ae 3a 00 00       	call   10bcfc <rtems_fatal_error_occurred><== NOT EXECUTED
    if (rtems_libio_number_iops > 0)                                  
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
  10824e:	83 ec 0c             	sub    $0xc,%esp                      
  108251:	6a 1a                	push   $0x1a                          
  108253:	e8 a4 3a 00 00       	call   10bcfc <rtems_fatal_error_occurred>
                                                                      

0010fd64 <rtems_libio_is_file_open>: */ int rtems_libio_is_file_open( void *node_access ) {
  10fd64:	55                   	push   %ebp                           
  10fd65:	89 e5                	mov    %esp,%ebp                      
  10fd67:	53                   	push   %ebx                           
  10fd68:	83 ec 08             	sub    $0x8,%esp                      
  10fd6b:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
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 );
  10fd6e:	6a 00                	push   $0x0                           
  10fd70:	6a 00                	push   $0x0                           
  10fd72:	ff 35 08 53 12 00    	pushl  0x125308                       
  10fd78:	e8 33 b9 ff ff       	call   10b6b0 <rtems_semaphore_obtain>
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
  10fd7d:	a1 00 53 12 00       	mov    0x125300,%eax                  
  10fd82:	8b 0d 4c 11 12 00    	mov    0x12114c,%ecx                  
  10fd88:	83 c4 10             	add    $0x10,%esp                     
  10fd8b:	85 c9                	test   %ecx,%ecx                      
  10fd8d:	74 18                	je     10fda7 <rtems_libio_is_file_open+0x43><== NEVER TAKEN
  10fd8f:	31 d2                	xor    %edx,%edx                      
  10fd91:	eb 04                	jmp    10fd97 <rtems_libio_is_file_open+0x33>
  10fd93:	90                   	nop                                   
  10fd94:	83 c0 38             	add    $0x38,%eax                     
    if ((iop->flags & LIBIO_FLAGS_OPEN) != 0) {                       
  10fd97:	f6 40 15 01          	testb  $0x1,0x15(%eax)                
  10fd9b:	74 05                	je     10fda2 <rtems_libio_is_file_open+0x3e>
       /*                                                             
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.node_access == node_access ) {              
  10fd9d:	39 58 18             	cmp    %ebx,0x18(%eax)                
  10fda0:	74 1e                	je     10fdc0 <rtems_libio_is_file_open+0x5c>
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
  10fda2:	42                   	inc    %edx                           
  10fda3:	39 ca                	cmp    %ecx,%edx                      
  10fda5:	72 ed                	jb     10fd94 <rtems_libio_is_file_open+0x30>
int rtems_libio_is_file_open(                                         
  void         *node_access                                           
)                                                                     
{                                                                     
  rtems_libio_t     *iop;                                             
  int                result=0;                                        
  10fda7:	31 db                	xor    %ebx,%ebx                      
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
  10fda9:	83 ec 0c             	sub    $0xc,%esp                      
  10fdac:	ff 35 08 53 12 00    	pushl  0x125308                       
  10fdb2:	e8 f5 b9 ff ff       	call   10b7ac <rtems_semaphore_release>
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
  10fdb7:	89 d8                	mov    %ebx,%eax                      
  10fdb9:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10fdbc:	c9                   	leave                                 
  10fdbd:	c3                   	ret                                   
  10fdbe:	66 90                	xchg   %ax,%ax                        
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.node_access == node_access ) {              
          result = 1;                                                 
  10fdc0:	bb 01 00 00 00       	mov    $0x1,%ebx                      
  10fdc5:	eb e2                	jmp    10fda9 <rtems_libio_is_file_open+0x45>
                                                                      

0010fd00 <rtems_libio_is_open_files_in_fs>: */ int rtems_libio_is_open_files_in_fs( rtems_filesystem_mount_table_entry_t * fs_mt_entry ) {
  10fd00:	55                   	push   %ebp                           
  10fd01:	89 e5                	mov    %esp,%ebp                      
  10fd03:	53                   	push   %ebx                           
  10fd04:	83 ec 08             	sub    $0x8,%esp                      
  10fd07:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
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 );
  10fd0a:	6a 00                	push   $0x0                           
  10fd0c:	6a 00                	push   $0x0                           
  10fd0e:	ff 35 08 53 12 00    	pushl  0x125308                       
  10fd14:	e8 97 b9 ff ff       	call   10b6b0 <rtems_semaphore_obtain>
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
  10fd19:	a1 00 53 12 00       	mov    0x125300,%eax                  
  10fd1e:	8b 0d 4c 11 12 00    	mov    0x12114c,%ecx                  
  10fd24:	83 c4 10             	add    $0x10,%esp                     
  10fd27:	85 c9                	test   %ecx,%ecx                      
  10fd29:	74 18                	je     10fd43 <rtems_libio_is_open_files_in_fs+0x43><== NEVER TAKEN
  10fd2b:	31 d2                	xor    %edx,%edx                      
  10fd2d:	eb 04                	jmp    10fd33 <rtems_libio_is_open_files_in_fs+0x33>
  10fd2f:	90                   	nop                                   
  10fd30:	83 c0 38             	add    $0x38,%eax                     
                                                                      
    if ((iop->flags & LIBIO_FLAGS_OPEN) != 0) {                       
  10fd33:	f6 40 15 01          	testb  $0x1,0x15(%eax)                
  10fd37:	74 05                	je     10fd3e <rtems_libio_is_open_files_in_fs+0x3e>
       /*                                                             
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.mt_entry == fs_mt_entry ) {                 
  10fd39:	39 58 28             	cmp    %ebx,0x28(%eax)                
  10fd3c:	74 1e                	je     10fd5c <rtems_libio_is_open_files_in_fs+0x5c>
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
  10fd3e:	42                   	inc    %edx                           
  10fd3f:	39 ca                	cmp    %ecx,%edx                      
  10fd41:	72 ed                	jb     10fd30 <rtems_libio_is_open_files_in_fs+0x30>
int rtems_libio_is_open_files_in_fs(                                  
  rtems_filesystem_mount_table_entry_t * fs_mt_entry                  
)                                                                     
{                                                                     
  rtems_libio_t     *iop;                                             
  int                result = 0;                                      
  10fd43:	31 db                	xor    %ebx,%ebx                      
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
  10fd45:	83 ec 0c             	sub    $0xc,%esp                      
  10fd48:	ff 35 08 53 12 00    	pushl  0x125308                       
  10fd4e:	e8 59 ba ff ff       	call   10b7ac <rtems_semaphore_release>
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
  10fd53:	89 d8                	mov    %ebx,%eax                      
  10fd55:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10fd58:	c9                   	leave                                 
  10fd59:	c3                   	ret                                   
  10fd5a:	66 90                	xchg   %ax,%ax                        
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.mt_entry == fs_mt_entry ) {                 
          result = 1;                                                 
  10fd5c:	bb 01 00 00 00       	mov    $0x1,%ebx                      
  10fd61:	eb e2                	jmp    10fd45 <rtems_libio_is_open_files_in_fs+0x45>
                                                                      

00109590 <rtems_libio_set_private_env>: rtems_status_code rtems_libio_set_private_env(void) {
  109590:	55                   	push   %ebp                           
  109591:	89 e5                	mov    %esp,%ebp                      
  109593:	57                   	push   %edi                           
  109594:	56                   	push   %esi                           
  109595:	53                   	push   %ebx                           
  109596:	83 ec 5c             	sub    $0x5c,%esp                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_id task_id = rtems_task_self();                               
  109599:	e8 0e 2e 00 00       	call   10c3ac <rtems_task_self>       
  10959e:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
  rtems_filesystem_location_info_t root_loc;                          
  rtems_filesystem_location_info_t current_loc;                       
  rtems_user_env_t *new_env = NULL;                                   
  int rv = 0;                                                         
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, &root_loc, 0);       
  1095a1:	83 ec 0c             	sub    $0xc,%esp                      
  1095a4:	6a 00                	push   $0x0                           
  1095a6:	8d 5d d4             	lea    -0x2c(%ebp),%ebx               
  1095a9:	53                   	push   %ebx                           
  1095aa:	6a 00                	push   $0x0                           
  1095ac:	6a 01                	push   $0x1                           
  1095ae:	68 47 04 12 00       	push   $0x120447                      
  1095b3:	e8 50 ee ff ff       	call   108408 <rtems_filesystem_evaluate_path>
  if (rv != 0)                                                        
  1095b8:	83 c4 20             	add    $0x20,%esp                     
  1095bb:	85 c0                	test   %eax,%eax                      
  1095bd:	74 0d                	je     1095cc <rtems_libio_set_private_env+0x3c><== ALWAYS TAKEN
                                                                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
  1095bf:	b8 1a 00 00 00       	mov    $0x1a,%eax                     
}                                                                     
  1095c4:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  1095c7:	5b                   	pop    %ebx                           <== NOT EXECUTED
  1095c8:	5e                   	pop    %esi                           <== NOT EXECUTED
  1095c9:	5f                   	pop    %edi                           <== NOT EXECUTED
  1095ca:	c9                   	leave                                 <== NOT EXECUTED
  1095cb:	c3                   	ret                                   <== NOT EXECUTED
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, &root_loc, 0);       
  if (rv != 0)                                                        
    goto error_0;                                                     
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, ¤t_loc, 0);    
  1095cc:	83 ec 0c             	sub    $0xc,%esp                      
  1095cf:	6a 00                	push   $0x0                           
  1095d1:	8d 45 c0             	lea    -0x40(%ebp),%eax               
  1095d4:	89 45 a4             	mov    %eax,-0x5c(%ebp)               
  1095d7:	50                   	push   %eax                           
  1095d8:	6a 00                	push   $0x0                           
  1095da:	6a 01                	push   $0x1                           
  1095dc:	68 47 04 12 00       	push   $0x120447                      
  1095e1:	e8 22 ee ff ff       	call   108408 <rtems_filesystem_evaluate_path>
  if (rv != 0)                                                        
  1095e6:	83 c4 20             	add    $0x20,%esp                     
  1095e9:	85 c0                	test   %eax,%eax                      
  1095eb:	0f 85 9a 00 00 00    	jne    10968b <rtems_libio_set_private_env+0xfb><== NEVER TAKEN
   * Bharath: I'm not sure if the check can be reduced to             
   * if( rtems_current_user_env->task_id != task_id ) {               
   */                                                                 
                                                                      
  if (                                                                
    rtems_current_user_env == &rtems_global_user_env                  
  1095f1:	8b 15 30 41 12 00    	mov    0x124130,%edx                  
  /*                                                                  
   * Bharath: I'm not sure if the check can be reduced to             
   * if( rtems_current_user_env->task_id != task_id ) {               
   */                                                                 
                                                                      
  if (                                                                
  1095f7:	81 fa 40 63 12 00    	cmp    $0x126340,%edx                 
  1095fd:	74 07                	je     109606 <rtems_libio_set_private_env+0x76>
    rtems_current_user_env == &rtems_global_user_env                  
      || rtems_current_user_env->task_id != task_id                   
  1095ff:	8b 45 b4             	mov    -0x4c(%ebp),%eax               
  109602:	39 02                	cmp    %eax,(%edx)                    
  109604:	74 3a                	je     109640 <rtems_libio_set_private_env+0xb0>
  ) {                                                                 
    new_env = malloc(sizeof(rtems_user_env_t));                       
  109606:	83 ec 0c             	sub    $0xc,%esp                      
  109609:	6a 48                	push   $0x48                          
  10960b:	e8 14 f4 ff ff       	call   108a24 <malloc>                
  109610:	89 c2                	mov    %eax,%edx                      
  109612:	89 c6                	mov    %eax,%esi                      
    if (new_env == NULL)                                              
  109614:	83 c4 10             	add    $0x10,%esp                     
  109617:	85 c0                	test   %eax,%eax                      
  109619:	74 61                	je     10967c <rtems_libio_set_private_env+0xec>
                                                                      
    #ifdef HAVE_USERENV_REFCNT                                        
      new_env->refcnt = 1;                                            
    #endif                                                            
                                                                      
    sc = rtems_task_variable_add(                                     
  10961b:	50                   	push   %eax                           
  10961c:	68 50 95 10 00       	push   $0x109550                      
  109621:	68 30 41 12 00       	push   $0x124130                      
  109626:	6a 00                	push   $0x0                           
  109628:	89 55 b0             	mov    %edx,-0x50(%ebp)               
  10962b:	e8 00 2e 00 00       	call   10c430 <rtems_task_variable_add>
      RTEMS_SELF,                                                     
      (void*)&rtems_current_user_env,                                 
      (void(*)(void *))free_user_env                                  
    );                                                                
    if (sc != RTEMS_SUCCESSFUL)                                       
  109630:	83 c4 10             	add    $0x10,%esp                     
  109633:	85 c0                	test   %eax,%eax                      
  109635:	8b 55 b0             	mov    -0x50(%ebp),%edx               
  109638:	75 36                	jne    109670 <rtems_libio_set_private_env+0xe0>
      goto error_3;                                                   
                                                                      
    rtems_current_user_env = new_env;                                 
  10963a:	89 15 30 41 12 00    	mov    %edx,0x124130                  
  }                                                                   
                                                                      
  /* Inherit the global values */                                     
  *rtems_current_user_env = rtems_global_user_env;                    
  109640:	be 40 63 12 00       	mov    $0x126340,%esi                 
  109645:	b9 12 00 00 00       	mov    $0x12,%ecx                     
  10964a:	89 d7                	mov    %edx,%edi                      
  10964c:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  rtems_current_user_env->task_id = task_id;                          
  10964e:	8b 75 b4             	mov    -0x4c(%ebp),%esi               
  109651:	89 32                	mov    %esi,(%edx)                    
   * Clone the pathlocs. In contrast to most other code we must _not_ free the
   * original locs because what we are trying to do here is forking off clones.
   * The reason is a pathloc can be allocated by the file system and needs to
   * be freed when deleting the environment.                          
   */                                                                 
  rtems_filesystem_root = root_loc;                                   
  109653:	8d 7a 18             	lea    0x18(%edx),%edi                
  109656:	b1 05                	mov    $0x5,%cl                       
  109658:	89 de                	mov    %ebx,%esi                      
  10965a:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  rtems_filesystem_current = current_loc;                             
  10965c:	8d 7a 04             	lea    0x4(%edx),%edi                 
  10965f:	b1 05                	mov    $0x5,%cl                       
  109661:	8b 75 a4             	mov    -0x5c(%ebp),%esi               
  109664:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  109666:	31 c0                	xor    %eax,%eax                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
}                                                                     
  109668:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10966b:	5b                   	pop    %ebx                           
  10966c:	5e                   	pop    %esi                           
  10966d:	5f                   	pop    %edi                           
  10966e:	c9                   	leave                                 
  10966f:	c3                   	ret                                   
  rtems_filesystem_current = current_loc;                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
                                                                      
error_3:                                                              
  free(new_env);                                                      
  109670:	83 ec 0c             	sub    $0xc,%esp                      
  109673:	56                   	push   %esi                           
  109674:	e8 7b ee ff ff       	call   1084f4 <free>                  
  109679:	83 c4 10             	add    $0x10,%esp                     
                                                                      
error_2:                                                              
  rtems_filesystem_freenode(¤t_loc);                            
  10967c:	83 ec 0c             	sub    $0xc,%esp                      
  10967f:	8d 45 c0             	lea    -0x40(%ebp),%eax               
  109682:	50                   	push   %eax                           
  109683:	e8 58 ee ff ff       	call   1084e0 <rtems_filesystem_freenode>
  109688:	83 c4 10             	add    $0x10,%esp                     
                                                                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
  10968b:	83 ec 0c             	sub    $0xc,%esp                      
  10968e:	53                   	push   %ebx                           
  10968f:	e8 4c ee ff ff       	call   1084e0 <rtems_filesystem_freenode>
  109694:	83 c4 10             	add    $0x10,%esp                     
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
  109697:	b8 1a 00 00 00       	mov    $0x1a,%eax                     
}                                                                     
  10969c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10969f:	5b                   	pop    %ebx                           
  1096a0:	5e                   	pop    %esi                           
  1096a1:	5f                   	pop    %edi                           
  1096a2:	c9                   	leave                                 
  1096a3:	c3                   	ret                                   
                                                                      

001096a4 <rtems_libio_share_private_env>: * b) mutex access to rtems_filesystem_current, rtems_filesytem_root * while changing any of those (chdir(), chroot()). */ rtems_status_code rtems_libio_share_private_env(rtems_id task_id) {
  1096a4:	55                   	push   %ebp                           
  1096a5:	89 e5                	mov    %esp,%ebp                      
  1096a7:	56                   	push   %esi                           
  1096a8:	53                   	push   %ebx                           
  1096a9:	83 ec 20             	sub    $0x20,%esp                     
  1096ac:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  rtems_id           current_task_id;                                 
                                                                      
  /*                                                                  
   * get current task id                                              
   */                                                                 
  current_task_id = rtems_task_self();                                
  1096af:	e8 f8 2c 00 00       	call   10c3ac <rtems_task_self>       
  1096b4:	89 c6                	mov    %eax,%esi                      
  /*                                                                  
   * If this was an attempt to share the task with self,              
   * if somebody wanted to do it... Lets tell them, its shared        
   */                                                                 
                                                                      
  if( task_id == current_task_id )                                    
  1096b6:	39 c3                	cmp    %eax,%ebx                      
  1096b8:	74 32                	je     1096ec <rtems_libio_share_private_env+0x48><== NEVER TAKEN
    return RTEMS_SUCCESSFUL;                                          
  /*                                                                  
   * Try to get the requested user environment                        
   */                                                                 
  sc = rtems_task_variable_get(                                       
  1096ba:	52                   	push   %edx                           
	 task_id,                                                            
	 (void*)&rtems_current_user_env,                                     
	 (void*)&shared_user_env );                                          
  1096bb:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  if( task_id == current_task_id )                                    
    return RTEMS_SUCCESSFUL;                                          
  /*                                                                  
   * Try to get the requested user environment                        
   */                                                                 
  sc = rtems_task_variable_get(                                       
  1096be:	50                   	push   %eax                           
  1096bf:	68 30 41 12 00       	push   $0x124130                      
  1096c4:	53                   	push   %ebx                           
  1096c5:	e8 2a 2e 00 00       	call   10c4f4 <rtems_task_variable_get>
	 (void*)&shared_user_env );                                          
                                                                      
  /*                                                                  
   * If it was not successful, return the error code                  
   */                                                                 
    if (sc != RTEMS_SUCCESSFUL)                                       
  1096ca:	83 c4 10             	add    $0x10,%esp                     
  1096cd:	85 c0                	test   %eax,%eax                      
  1096cf:	75 13                	jne    1096e4 <rtems_libio_share_private_env+0x40>
     * If we have a current environment in place, we need to          
     * free it, since we will be sharing the variable with the        
     * shared_user_env                                                
     */                                                               
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
  1096d1:	8b 15 30 41 12 00    	mov    0x124130,%edx                  
  1096d7:	39 32                	cmp    %esi,(%edx)                    
  1096d9:	74 1d                	je     1096f8 <rtems_libio_share_private_env+0x54>
    rtems_user_env_t  *tmp = rtems_current_user_env;                  
    free_user_env( tmp );                                             
  }                                                                   
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
  1096db:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  1096de:	89 15 30 41 12 00    	mov    %edx,0x124130                  
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  1096e4:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1096e7:	5b                   	pop    %ebx                           
  1096e8:	5e                   	pop    %esi                           
  1096e9:	c9                   	leave                                 
  1096ea:	c3                   	ret                                   
  1096eb:	90                   	nop                                   
   * If this was an attempt to share the task with self,              
   * if somebody wanted to do it... Lets tell them, its shared        
   */                                                                 
                                                                      
  if( task_id == current_task_id )                                    
    return RTEMS_SUCCESSFUL;                                          
  1096ec:	31 c0                	xor    %eax,%eax                      
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  1096ee:	8d 65 f8             	lea    -0x8(%ebp),%esp                <== NOT EXECUTED
  1096f1:	5b                   	pop    %ebx                           <== NOT EXECUTED
  1096f2:	5e                   	pop    %esi                           <== NOT EXECUTED
  1096f3:	c9                   	leave                                 <== NOT EXECUTED
  1096f4:	c3                   	ret                                   <== NOT EXECUTED
  1096f5:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
     * shared_user_env                                                
     */                                                               
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
    rtems_user_env_t  *tmp = rtems_current_user_env;                  
    free_user_env( tmp );                                             
  1096f8:	83 ec 0c             	sub    $0xc,%esp                      
  1096fb:	52                   	push   %edx                           
  1096fc:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  1096ff:	e8 4c fe ff ff       	call   109550 <free_user_env>         
  109704:	83 c4 10             	add    $0x10,%esp                     
  109707:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10970a:	eb cf                	jmp    1096db <rtems_libio_share_private_env+0x37>
                                                                      

0010fbc0 <rtems_libio_to_fcntl_flags>: */ uint32_t rtems_libio_to_fcntl_flags( uint32_t flags ) {
  10fbc0:	55                   	push   %ebp                           
  10fbc1:	89 e5                	mov    %esp,%ebp                      
  10fbc3:	8b 55 08             	mov    0x8(%ebp),%edx                 
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
  10fbc6:	89 d0                	mov    %edx,%eax                      
  10fbc8:	83 e0 06             	and    $0x6,%eax                      
  10fbcb:	83 f8 06             	cmp    $0x6,%eax                      
  10fbce:	74 2c                	je     10fbfc <rtems_libio_to_fcntl_flags+0x3c><== NEVER TAKEN
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
  10fbd0:	f6 c2 02             	test   $0x2,%dl                       
  10fbd3:	75 23                	jne    10fbf8 <rtems_libio_to_fcntl_flags+0x38><== ALWAYS TAKEN
)                                                                     
{                                                                     
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
  10fbd5:	31 c0                	xor    %eax,%eax                      
  10fbd7:	f6 c2 04             	test   $0x4,%dl                       <== NOT EXECUTED
  10fbda:	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 ) {     
  10fbdd:	f6 c2 01             	test   $0x1,%dl                       
  10fbe0:	74 03                	je     10fbe5 <rtems_libio_to_fcntl_flags+0x25>
    fcntl_flags |= O_NONBLOCK;                                        
  10fbe2:	80 cc 40             	or     $0x40,%ah                      
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_APPEND) == LIBIO_FLAGS_APPEND ) {         
  10fbe5:	f6 c6 02             	test   $0x2,%dh                       
  10fbe8:	74 03                	je     10fbed <rtems_libio_to_fcntl_flags+0x2d>
    fcntl_flags |= O_APPEND;                                          
  10fbea:	83 c8 08             	or     $0x8,%eax                      
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_CREATE) == LIBIO_FLAGS_CREATE ) {         
  10fbed:	80 e6 04             	and    $0x4,%dh                       
  10fbf0:	74 03                	je     10fbf5 <rtems_libio_to_fcntl_flags+0x35>
    fcntl_flags |= O_CREAT;                                           
  10fbf2:	80 cc 02             	or     $0x2,%ah                       
  }                                                                   
                                                                      
  return fcntl_flags;                                                 
}                                                                     
  10fbf5:	c9                   	leave                                 
  10fbf6:	c3                   	ret                                   
  10fbf7:	90                   	nop                                   
  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) {       
    fcntl_flags |= O_RDONLY;                                          
  10fbf8:	31 c0                	xor    %eax,%eax                      
  10fbfa:	eb e1                	jmp    10fbdd <rtems_libio_to_fcntl_flags+0x1d>
)                                                                     
{                                                                     
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
  10fbfc:	b8 02 00 00 00       	mov    $0x2,%eax                      <== NOT EXECUTED
  10fc01:	eb da                	jmp    10fbdd <rtems_libio_to_fcntl_flags+0x1d><== NOT EXECUTED
                                                                      

0010af10 <rtems_malloc_statistics_at_free>: * size and thus we skip updating the statistics. */ static void rtems_malloc_statistics_at_free( void *pointer ) {
  10af10:	55                   	push   %ebp                           
  10af11:	89 e5                	mov    %esp,%ebp                      
  10af13:	83 ec 1c             	sub    $0x1c,%esp                     
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
  10af16:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10af19:	50                   	push   %eax                           
  10af1a:	ff 75 08             	pushl  0x8(%ebp)                      
  10af1d:	ff 35 58 87 12 00    	pushl  0x128758                       
  10af23:	e8 ec 5a 00 00       	call   110a14 <_Protected_heap_Get_block_size>
  10af28:	83 c4 10             	add    $0x10,%esp                     
  10af2b:	84 c0                	test   %al,%al                        
  10af2d:	74 11                	je     10af40 <rtems_malloc_statistics_at_free+0x30><== NEVER TAKEN
    MSBUMP(lifetime_freed, size);                                     
  10af2f:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  10af32:	31 d2                	xor    %edx,%edx                      
  10af34:	01 05 84 d2 12 00    	add    %eax,0x12d284                  
  10af3a:	11 15 88 d2 12 00    	adc    %edx,0x12d288                  
  }                                                                   
}                                                                     
  10af40:	c9                   	leave                                 
  10af41:	c3                   	ret                                   
                                                                      

0010af44 <rtems_malloc_statistics_at_malloc>: } static void rtems_malloc_statistics_at_malloc( void *pointer ) {
  10af44:	55                   	push   %ebp                           
  10af45:	89 e5                	mov    %esp,%ebp                      
  10af47:	83 ec 18             	sub    $0x18,%esp                     
  10af4a:	8b 45 08             	mov    0x8(%ebp),%eax                 
  uintptr_t actual_size = 0;                                          
  10af4d:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)                
  uint32_t current_depth;                                             
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
  10af54:	85 c0                	test   %eax,%eax                      
  10af56:	74 43                	je     10af9b <rtems_malloc_statistics_at_malloc+0x57><== NEVER TAKEN
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
  10af58:	52                   	push   %edx                           
  10af59:	8d 55 f4             	lea    -0xc(%ebp),%edx                
  10af5c:	52                   	push   %edx                           
  10af5d:	50                   	push   %eax                           
  10af5e:	ff 35 58 87 12 00    	pushl  0x128758                       
  10af64:	e8 ab 5a 00 00       	call   110a14 <_Protected_heap_Get_block_size>
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
  10af69:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  10af6c:	31 d2                	xor    %edx,%edx                      
  10af6e:	03 05 7c d2 12 00    	add    0x12d27c,%eax                  
  10af74:	13 15 80 d2 12 00    	adc    0x12d280,%edx                  
  10af7a:	a3 7c d2 12 00       	mov    %eax,0x12d27c                  
  10af7f:	89 15 80 d2 12 00    	mov    %edx,0x12d280                  
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  10af85:	2b 05 84 d2 12 00    	sub    0x12d284,%eax                  
  if (current_depth > s->max_depth)                                   
  10af8b:	83 c4 10             	add    $0x10,%esp                     
  10af8e:	3b 05 78 d2 12 00    	cmp    0x12d278,%eax                  
  10af94:	76 05                	jbe    10af9b <rtems_malloc_statistics_at_malloc+0x57>
      s->max_depth = current_depth;                                   
  10af96:	a3 78 d2 12 00       	mov    %eax,0x12d278                  
}                                                                     
  10af9b:	c9                   	leave                                 
  10af9c:	c3                   	ret                                   
                                                                      

00113bc4 <rtems_memalign>: int rtems_memalign( void **pointer, size_t alignment, size_t size ) {
  113bc4:	55                   	push   %ebp                           
  113bc5:	89 e5                	mov    %esp,%ebp                      
  113bc7:	53                   	push   %ebx                           
  113bc8:	83 ec 14             	sub    $0x14,%esp                     
  113bcb:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
  113bce:	85 db                	test   %ebx,%ebx                      
  113bd0:	74 5b                	je     113c2d <rtems_memalign+0x69>   
    return EINVAL;                                                    
                                                                      
  *pointer = NULL;                                                    
  113bd2:	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()) &&                    
  113bd8:	83 3d e0 96 12 00 03 	cmpl   $0x3,0x1296e0                  
  113bdf:	74 43                	je     113c24 <rtems_memalign+0x60>   <== ALWAYS TAKEN
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
  113be1:	e8 7a 55 ff ff       	call   109160 <malloc_deferred_frees_process>
  Heap_Control *heap,                                                 
  uintptr_t size,                                                     
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return                                                              
  113be6:	6a 00                	push   $0x0                           
  113be8:	ff 75 0c             	pushl  0xc(%ebp)                      
  113beb:	ff 75 10             	pushl  0x10(%ebp)                     
  113bee:	ff 35 58 51 12 00    	pushl  0x125158                       
  113bf4:	e8 ab a6 ff ff       	call   10e2a4 <_Protected_heap_Allocate_aligned_with_boundary>
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
  113bf9:	83 c4 10             	add    $0x10,%esp                     
  113bfc:	85 c0                	test   %eax,%eax                      
  113bfe:	74 38                	je     113c38 <rtems_memalign+0x74>   
    return ENOMEM;                                                    
                                                                      
  /*                                                                  
   *  If configured, update the more involved statistics              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
  113c00:	8b 15 08 77 12 00    	mov    0x127708,%edx                  
  113c06:	85 d2                	test   %edx,%edx                      
  113c08:	74 10                	je     113c1a <rtems_memalign+0x56>   
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
  113c0a:	83 ec 0c             	sub    $0xc,%esp                      
  113c0d:	53                   	push   %ebx                           
  113c0e:	89 45 f4             	mov    %eax,-0xc(%ebp)                
  113c11:	ff 52 04             	call   *0x4(%edx)                     
  113c14:	83 c4 10             	add    $0x10,%esp                     
  113c17:	8b 45 f4             	mov    -0xc(%ebp),%eax                
                                                                      
  *pointer = return_this;                                             
  113c1a:	89 03                	mov    %eax,(%ebx)                    
  return 0;                                                           
  113c1c:	31 c0                	xor    %eax,%eax                      
}                                                                     
  113c1e:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  113c21:	c9                   	leave                                 
  113c22:	c3                   	ret                                   
  113c23:	90                   	nop                                   
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
       !malloc_is_system_state_OK() )                                 
  113c24:	e8 f7 54 ff ff       	call   109120 <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()) &&                    
  113c29:	84 c0                	test   %al,%al                        
  113c2b:	75 b4                	jne    113be1 <rtems_memalign+0x1d>   <== ALWAYS TAKEN
       !malloc_is_system_state_OK() )                                 
    return EINVAL;                                                    
  113c2d:	b8 16 00 00 00       	mov    $0x16,%eax                     
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
                                                                      
  *pointer = return_this;                                             
  return 0;                                                           
}                                                                     
  113c32:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  113c35:	c9                   	leave                                 
  113c36:	c3                   	ret                                   
  113c37:	90                   	nop                                   
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
    return ENOMEM;                                                    
  113c38:	b8 0c 00 00 00       	mov    $0xc,%eax                      
  113c3d:	eb df                	jmp    113c1e <rtems_memalign+0x5a>   
                                                                      

001163bc <rtems_message_queue_broadcast>: rtems_id id, const void *buffer, size_t size, uint32_t *count ) {
  1163bc:	55                   	push   %ebp                           
  1163bd:	89 e5                	mov    %esp,%ebp                      
  1163bf:	57                   	push   %edi                           
  1163c0:	56                   	push   %esi                           
  1163c1:	53                   	push   %ebx                           
  1163c2:	83 ec 1c             	sub    $0x1c,%esp                     
  1163c5:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  1163c8:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  1163cb:	8b 75 14             	mov    0x14(%ebp),%esi                
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
  CORE_message_queue_Status       core_status;                        
                                                                      
  if ( !buffer )                                                      
  1163ce:	85 db                	test   %ebx,%ebx                      
  1163d0:	74 62                	je     116434 <rtems_message_queue_broadcast+0x78>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !count )                                                       
  1163d2:	85 f6                	test   %esi,%esi                      
  1163d4:	74 5e                	je     116434 <rtems_message_queue_broadcast+0x78>
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Message_queue_Control *)                                    
     _Objects_Get( &_Message_queue_Information, id, location );       
  1163d6:	51                   	push   %ecx                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  1163d7:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  1163da:	50                   	push   %eax                           
  1163db:	57                   	push   %edi                           
  1163dc:	68 e0 0d 14 00       	push   $0x140de0                      
  1163e1:	e8 c6 4d 00 00       	call   11b1ac <_Objects_Get>          
  switch ( location ) {                                               
  1163e6:	83 c4 10             	add    $0x10,%esp                     
  1163e9:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  1163ec:	85 d2                	test   %edx,%edx                      
  1163ee:	74 10                	je     116400 <rtems_message_queue_broadcast+0x44>
#endif                                                                
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
  1163f0:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  1163f5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1163f8:	5b                   	pop    %ebx                           
  1163f9:	5e                   	pop    %esi                           
  1163fa:	5f                   	pop    %edi                           
  1163fb:	c9                   	leave                                 
  1163fc:	c3                   	ret                                   
  1163fd:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      core_status = _CORE_message_queue_Broadcast(                    
  116400:	83 ec 08             	sub    $0x8,%esp                      
  116403:	56                   	push   %esi                           
  116404:	6a 00                	push   $0x0                           
  116406:	57                   	push   %edi                           
  116407:	ff 75 10             	pushl  0x10(%ebp)                     
  11640a:	53                   	push   %ebx                           
  11640b:	83 c0 14             	add    $0x14,%eax                     
  11640e:	50                   	push   %eax                           
  11640f:	e8 80 34 00 00       	call   119894 <_CORE_message_queue_Broadcast>
  116414:	89 c3                	mov    %eax,%ebx                      
                        NULL,                                         
                      #endif                                          
                      count                                           
                    );                                                
                                                                      
      _Thread_Enable_dispatch();                                      
  116416:	83 c4 20             	add    $0x20,%esp                     
  116419:	e8 16 58 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return                                                          
  11641e:	83 ec 0c             	sub    $0xc,%esp                      
  116421:	53                   	push   %ebx                           
  116422:	e8 69 03 00 00       	call   116790 <_Message_queue_Translate_core_message_queue_return_code>
  116427:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  11642a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11642d:	5b                   	pop    %ebx                           
  11642e:	5e                   	pop    %esi                           
  11642f:	5f                   	pop    %edi                           
  116430:	c9                   	leave                                 
  116431:	c3                   	ret                                   
  116432:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( !buffer )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !count )                                                       
    return RTEMS_INVALID_ADDRESS;                                     
  116434:	b8 09 00 00 00       	mov    $0x9,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116439:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11643c:	5b                   	pop    %ebx                           
  11643d:	5e                   	pop    %esi                           
  11643e:	5f                   	pop    %edi                           
  11643f:	c9                   	leave                                 
  116440:	c3                   	ret                                   
                                                                      

00113858 <rtems_message_queue_create>: uint32_t count, size_t max_message_size, rtems_attribute attribute_set, rtems_id *id ) {
  113858:	55                   	push   %ebp                           
  113859:	89 e5                	mov    %esp,%ebp                      
  11385b:	57                   	push   %edi                           
  11385c:	56                   	push   %esi                           
  11385d:	53                   	push   %ebx                           
  11385e:	83 ec 2c             	sub    $0x2c,%esp                     
  113861:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  113864:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  113867:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  11386a:	8b 7d 18             	mov    0x18(%ebp),%edi                
  CORE_message_queue_Attributes   the_msgq_attributes;                
#if defined(RTEMS_MULTIPROCESSING)                                    
  bool                            is_global;                          
#endif                                                                
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  11386d:	85 db                	test   %ebx,%ebx                      
  11386f:	74 2f                	je     1138a0 <rtems_message_queue_create+0x48>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
  113871:	85 ff                	test   %edi,%edi                      
  113873:	0f 84 a3 00 00 00    	je     11391c <rtems_message_queue_create+0xc4>
  if ( (is_global = _Attributes_Is_global( attribute_set ) ) &&       
       !_System_state_Is_multiprocessing )                            
    return RTEMS_MP_NOT_CONFIGURED;                                   
#endif                                                                
                                                                      
  if ( count == 0 )                                                   
  113879:	85 f6                	test   %esi,%esi                      
  11387b:	74 13                	je     113890 <rtems_message_queue_create+0x38>
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  if ( max_message_size == 0 )                                        
  11387d:	85 c9                	test   %ecx,%ecx                      
  11387f:	75 2f                	jne    1138b0 <rtems_message_queue_create+0x58>
      return RTEMS_INVALID_SIZE;                                      
  113881:	b8 08 00 00 00       	mov    $0x8,%eax                      
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  113886:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  113889:	5b                   	pop    %ebx                           
  11388a:	5e                   	pop    %esi                           
  11388b:	5f                   	pop    %edi                           
  11388c:	c9                   	leave                                 
  11388d:	c3                   	ret                                   
  11388e:	66 90                	xchg   %ax,%ax                        
       !_System_state_Is_multiprocessing )                            
    return RTEMS_MP_NOT_CONFIGURED;                                   
#endif                                                                
                                                                      
  if ( count == 0 )                                                   
      return RTEMS_INVALID_NUMBER;                                    
  113890:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  113895:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  113898:	5b                   	pop    %ebx                           
  113899:	5e                   	pop    %esi                           
  11389a:	5f                   	pop    %edi                           
  11389b:	c9                   	leave                                 
  11389c:	c3                   	ret                                   
  11389d:	8d 76 00             	lea    0x0(%esi),%esi                 
#if defined(RTEMS_MULTIPROCESSING)                                    
  bool                            is_global;                          
#endif                                                                
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
  1138a0:	b8 03 00 00 00       	mov    $0x3,%eax                      
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  1138a5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1138a8:	5b                   	pop    %ebx                           
  1138a9:	5e                   	pop    %esi                           
  1138aa:	5f                   	pop    %edi                           
  1138ab:	c9                   	leave                                 
  1138ac:	c3                   	ret                                   
  1138ad:	8d 76 00             	lea    0x0(%esi),%esi                 
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  1138b0:	a1 50 f9 12 00       	mov    0x12f950,%eax                  
  1138b5:	40                   	inc    %eax                           
  1138b6:	a3 50 f9 12 00       	mov    %eax,0x12f950                  
#endif                                                                
#endif                                                                
                                                                      
  _Thread_Disable_dispatch();              /* protects object pointer */
                                                                      
  the_message_queue = _Message_queue_Allocate();                      
  1138bb:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  1138be:	e8 5d 54 00 00       	call   118d20 <_Message_queue_Allocate>
  1138c3:	89 c2                	mov    %eax,%edx                      
                                                                      
  if ( !the_message_queue ) {                                         
  1138c5:	85 c0                	test   %eax,%eax                      
  1138c7:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  1138ca:	74 7c                	je     113948 <rtems_message_queue_create+0xf0>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_message_queue->attribute_set = attribute_set;                   
  1138cc:	8b 45 14             	mov    0x14(%ebp),%eax                
  1138cf:	89 42 10             	mov    %eax,0x10(%edx)                
                                                                      
  if (_Attributes_Is_priority( attribute_set ) )                      
    the_msgq_attributes.discipline = CORE_MESSAGE_QUEUE_DISCIPLINES_PRIORITY;
  1138d2:	a8 04                	test   $0x4,%al                       
  1138d4:	0f 95 c0             	setne  %al                            
  1138d7:	0f b6 c0             	movzbl %al,%eax                       
  1138da:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  else                                                                
    the_msgq_attributes.discipline = CORE_MESSAGE_QUEUE_DISCIPLINES_FIFO;
                                                                      
  if ( ! _CORE_message_queue_Initialize(                              
  1138dd:	51                   	push   %ecx                           
  1138de:	56                   	push   %esi                           
  1138df:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  1138e2:	50                   	push   %eax                           
  1138e3:	8d 42 14             	lea    0x14(%edx),%eax                
  1138e6:	50                   	push   %eax                           
  1138e7:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  1138ea:	e8 e5 10 00 00       	call   1149d4 <_CORE_message_queue_Initialize>
  1138ef:	83 c4 10             	add    $0x10,%esp                     
  1138f2:	84 c0                	test   %al,%al                        
  1138f4:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  1138f7:	75 2f                	jne    113928 <rtems_message_queue_create+0xd0>
 */                                                                   
RTEMS_INLINE_ROUTINE void _Message_queue_Free (                       
  Message_queue_Control *the_message_queue                            
)                                                                     
{                                                                     
  _Objects_Free( &_Message_queue_Information, &the_message_queue->Object );
  1138f9:	83 ec 08             	sub    $0x8,%esp                      
  1138fc:	52                   	push   %edx                           
  1138fd:	68 a0 fc 12 00       	push   $0x12fca0                      
  113902:	e8 81 1e 00 00       	call   115788 <_Objects_Free>         
        _Objects_MP_Close(                                            
          &_Message_queue_Information, the_message_queue->Object.id); 
#endif                                                                
                                                                      
    _Message_queue_Free( the_message_queue );                         
    _Thread_Enable_dispatch();                                        
  113907:	e8 c4 2a 00 00       	call   1163d0 <_Thread_Enable_dispatch>
    return RTEMS_UNSATISFIED;                                         
  11390c:	83 c4 10             	add    $0x10,%esp                     
  11390f:	b8 0d 00 00 00       	mov    $0xd,%eax                      
  113914:	e9 6d ff ff ff       	jmp    113886 <rtems_message_queue_create+0x2e>
  113919:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
  11391c:	b8 09 00 00 00       	mov    $0x9,%eax                      
  113921:	e9 60 ff ff ff       	jmp    113886 <rtems_message_queue_create+0x2e>
  113926:	66 90                	xchg   %ax,%ax                        
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  113928:	8b 42 08             	mov    0x8(%edx),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  11392b:	0f b7 f0             	movzwl %ax,%esi                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  11392e:	8b 0d bc fc 12 00    	mov    0x12fcbc,%ecx                  
  113934:	89 14 b1             	mov    %edx,(%ecx,%esi,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  113937:	89 5a 0c             	mov    %ebx,0xc(%edx)                 
    &_Message_queue_Information,                                      
    &the_message_queue->Object,                                       
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_message_queue->Object.id;                                 
  11393a:	89 07                	mov    %eax,(%edi)                    
      name,                                                           
      0                                                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  11393c:	e8 8f 2a 00 00       	call   1163d0 <_Thread_Enable_dispatch>
  return RTEMS_SUCCESSFUL;                                            
  113941:	31 c0                	xor    %eax,%eax                      
  113943:	e9 3e ff ff ff       	jmp    113886 <rtems_message_queue_create+0x2e>
  _Thread_Disable_dispatch();              /* protects object pointer */
                                                                      
  the_message_queue = _Message_queue_Allocate();                      
                                                                      
  if ( !the_message_queue ) {                                         
    _Thread_Enable_dispatch();                                        
  113948:	e8 83 2a 00 00       	call   1163d0 <_Thread_Enable_dispatch>
    return RTEMS_TOO_MANY;                                            
  11394d:	b8 05 00 00 00       	mov    $0x5,%eax                      
  113952:	e9 2f ff ff ff       	jmp    113886 <rtems_message_queue_create+0x2e>
                                                                      

00116544 <rtems_message_queue_delete>: */ rtems_status_code rtems_message_queue_delete( rtems_id id ) {
  116544:	55                   	push   %ebp                           
  116545:	89 e5                	mov    %esp,%ebp                      
  116547:	53                   	push   %ebx                           
  116548:	83 ec 18             	sub    $0x18,%esp                     
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  11654b:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Message_queue_Control *)                                    
     _Objects_Get( &_Message_queue_Information, id, location );       
  11654e:	50                   	push   %eax                           
  11654f:	ff 75 08             	pushl  0x8(%ebp)                      
  116552:	68 e0 0d 14 00       	push   $0x140de0                      
  116557:	e8 50 4c 00 00       	call   11b1ac <_Objects_Get>          
  11655c:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  11655e:	83 c4 10             	add    $0x10,%esp                     
  116561:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  116564:	85 c9                	test   %ecx,%ecx                      
  116566:	75 3c                	jne    1165a4 <rtems_message_queue_delete+0x60>
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Close( &_Message_queue_Information,                    
  116568:	83 ec 08             	sub    $0x8,%esp                      
  11656b:	50                   	push   %eax                           
  11656c:	68 e0 0d 14 00       	push   $0x140de0                      
  116571:	e8 be 47 00 00       	call   11ad34 <_Objects_Close>        
                      &the_message_queue->Object );                   
                                                                      
      _CORE_message_queue_Close(                                      
  116576:	83 c4 0c             	add    $0xc,%esp                      
  116579:	6a 05                	push   $0x5                           
  11657b:	6a 00                	push   $0x0                           
  11657d:	8d 43 14             	lea    0x14(%ebx),%eax                
  116580:	50                   	push   %eax                           
  116581:	e8 92 33 00 00       	call   119918 <_CORE_message_queue_Close>
 */                                                                   
RTEMS_INLINE_ROUTINE void _Message_queue_Free (                       
  Message_queue_Control *the_message_queue                            
)                                                                     
{                                                                     
  _Objects_Free( &_Message_queue_Information, &the_message_queue->Object );
  116586:	58                   	pop    %eax                           
  116587:	5a                   	pop    %edx                           
  116588:	53                   	push   %ebx                           
  116589:	68 e0 0d 14 00       	push   $0x140de0                      
  11658e:	e8 9d 4a 00 00       	call   11b030 <_Objects_Free>         
          0,                                 /* Not used */           
          0                                                           
        );                                                            
      }                                                               
#endif                                                                
      _Thread_Enable_dispatch();                                      
  116593:	e8 9c 56 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  116598:	83 c4 10             	add    $0x10,%esp                     
  11659b:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  11659d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1165a0:	c9                   	leave                                 
  1165a1:	c3                   	ret                                   
  1165a2:	66 90                	xchg   %ax,%ax                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  1165a4:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  1165a9:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1165ac:	c9                   	leave                                 
  1165ad:	c3                   	ret                                   
                                                                      

001165b0 <rtems_message_queue_flush>: rtems_status_code rtems_message_queue_flush( rtems_id id, uint32_t *count ) {
  1165b0:	55                   	push   %ebp                           
  1165b1:	89 e5                	mov    %esp,%ebp                      
  1165b3:	53                   	push   %ebx                           
  1165b4:	83 ec 14             	sub    $0x14,%esp                     
  1165b7:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
                                                                      
  if ( !count )                                                       
  1165ba:	85 db                	test   %ebx,%ebx                      
  1165bc:	74 46                	je     116604 <rtems_message_queue_flush+0x54>
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Message_queue_Control *)                                    
     _Objects_Get( &_Message_queue_Information, id, location );       
  1165be:	51                   	push   %ecx                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  1165bf:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  1165c2:	50                   	push   %eax                           
  1165c3:	ff 75 08             	pushl  0x8(%ebp)                      
  1165c6:	68 e0 0d 14 00       	push   $0x140de0                      
  1165cb:	e8 dc 4b 00 00       	call   11b1ac <_Objects_Get>          
  switch ( location ) {                                               
  1165d0:	83 c4 10             	add    $0x10,%esp                     
  1165d3:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  1165d6:	85 d2                	test   %edx,%edx                      
  1165d8:	74 0a                	je     1165e4 <rtems_message_queue_flush+0x34>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  1165da:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  1165df:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1165e2:	c9                   	leave                                 
  1165e3:	c3                   	ret                                   
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      *count = _CORE_message_queue_Flush( &the_message_queue->message_queue );
  1165e4:	83 ec 0c             	sub    $0xc,%esp                      
  1165e7:	83 c0 14             	add    $0x14,%eax                     
  1165ea:	50                   	push   %eax                           
  1165eb:	e8 64 33 00 00       	call   119954 <_CORE_message_queue_Flush>
  1165f0:	89 03                	mov    %eax,(%ebx)                    
      _Thread_Enable_dispatch();                                      
  1165f2:	e8 3d 56 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  1165f7:	83 c4 10             	add    $0x10,%esp                     
  1165fa:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1165fc:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1165ff:	c9                   	leave                                 
  116600:	c3                   	ret                                   
  116601:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
                                                                      
  if ( !count )                                                       
    return RTEMS_INVALID_ADDRESS;                                     
  116604:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116609:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  11660c:	c9                   	leave                                 
  11660d:	c3                   	ret                                   
                                                                      

00116610 <rtems_message_queue_get_number_pending>: rtems_status_code rtems_message_queue_get_number_pending( rtems_id id, uint32_t *count ) {
  116610:	55                   	push   %ebp                           
  116611:	89 e5                	mov    %esp,%ebp                      
  116613:	53                   	push   %ebx                           
  116614:	83 ec 14             	sub    $0x14,%esp                     
  116617:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
                                                                      
  if ( !count )                                                       
  11661a:	85 db                	test   %ebx,%ebx                      
  11661c:	74 3a                	je     116658 <rtems_message_queue_get_number_pending+0x48>
  11661e:	51                   	push   %ecx                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  11661f:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  116622:	50                   	push   %eax                           
  116623:	ff 75 08             	pushl  0x8(%ebp)                      
  116626:	68 e0 0d 14 00       	push   $0x140de0                      
  11662b:	e8 7c 4b 00 00       	call   11b1ac <_Objects_Get>          
  switch ( location ) {                                               
  116630:	83 c4 10             	add    $0x10,%esp                     
  116633:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  116636:	85 d2                	test   %edx,%edx                      
  116638:	74 0a                	je     116644 <rtems_message_queue_get_number_pending+0x34>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  11663a:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  11663f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  116642:	c9                   	leave                                 
  116643:	c3                   	ret                                   
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      *count = the_message_queue->message_queue.number_of_pending_messages;
  116644:	8b 40 5c             	mov    0x5c(%eax),%eax                
  116647:	89 03                	mov    %eax,(%ebx)                    
      _Thread_Enable_dispatch();                                      
  116649:	e8 e6 55 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  11664e:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116650:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  116653:	c9                   	leave                                 
  116654:	c3                   	ret                                   
  116655:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
                                                                      
  if ( !count )                                                       
    return RTEMS_INVALID_ADDRESS;                                     
  116658:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  11665d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  116660:	c9                   	leave                                 
  116661:	c3                   	ret                                   
                                                                      

0011397c <rtems_message_queue_receive>: void *buffer, size_t *size, rtems_option option_set, rtems_interval timeout ) {
  11397c:	55                   	push   %ebp                           
  11397d:	89 e5                	mov    %esp,%ebp                      
  11397f:	56                   	push   %esi                           
  113980:	53                   	push   %ebx                           
  113981:	83 ec 10             	sub    $0x10,%esp                     
  113984:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  113987:	8b 75 10             	mov    0x10(%ebp),%esi                
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
  bool                            wait;                               
                                                                      
  if ( !buffer )                                                      
  11398a:	85 db                	test   %ebx,%ebx                      
  11398c:	74 6e                	je     1139fc <rtems_message_queue_receive+0x80>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !size )                                                        
  11398e:	85 f6                	test   %esi,%esi                      
  113990:	74 6a                	je     1139fc <rtems_message_queue_receive+0x80>
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Message_queue_Control *)                                    
     _Objects_Get( &_Message_queue_Information, id, location );       
  113992:	51                   	push   %ecx                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  113993:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  113996:	50                   	push   %eax                           
  113997:	ff 75 08             	pushl  0x8(%ebp)                      
  11399a:	68 a0 fc 12 00       	push   $0x12fca0                      
  11399f:	e8 24 1f 00 00       	call   1158c8 <_Objects_Get>          
  switch ( location ) {                                               
  1139a4:	83 c4 10             	add    $0x10,%esp                     
  1139a7:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  1139aa:	85 d2                	test   %edx,%edx                      
  1139ac:	75 42                	jne    1139f0 <rtems_message_queue_receive+0x74>
      if ( _Options_Is_no_wait( option_set ) )                        
        wait = false;                                                 
      else                                                            
        wait = true;                                                  
                                                                      
      _CORE_message_queue_Seize(                                      
  1139ae:	83 ec 08             	sub    $0x8,%esp                      
  1139b1:	ff 75 18             	pushl  0x18(%ebp)                     
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Options_Is_no_wait (                       
  rtems_option option_set                                             
)                                                                     
{                                                                     
   return (option_set & RTEMS_NO_WAIT) ? true : false;                
  1139b4:	8b 55 14             	mov    0x14(%ebp),%edx                
  1139b7:	83 e2 01             	and    $0x1,%edx                      
  1139ba:	83 f2 01             	xor    $0x1,%edx                      
  1139bd:	52                   	push   %edx                           
  1139be:	56                   	push   %esi                           
  1139bf:	53                   	push   %ebx                           
  1139c0:	ff 70 08             	pushl  0x8(%eax)                      
  1139c3:	83 c0 14             	add    $0x14,%eax                     
  1139c6:	50                   	push   %eax                           
  1139c7:	e8 a8 10 00 00       	call   114a74 <_CORE_message_queue_Seize>
        buffer,                                                       
        size,                                                         
        wait,                                                         
        timeout                                                       
      );                                                              
      _Thread_Enable_dispatch();                                      
  1139cc:	83 c4 20             	add    $0x20,%esp                     
  1139cf:	e8 fc 29 00 00       	call   1163d0 <_Thread_Enable_dispatch>
      return _Message_queue_Translate_core_message_queue_return_code( 
  1139d4:	83 ec 0c             	sub    $0xc,%esp                      
        _Thread_Executing->Wait.return_code                           
  1139d7:	a1 18 fc 12 00       	mov    0x12fc18,%eax                  
        size,                                                         
        wait,                                                         
        timeout                                                       
      );                                                              
      _Thread_Enable_dispatch();                                      
      return _Message_queue_Translate_core_message_queue_return_code( 
  1139dc:	ff 70 34             	pushl  0x34(%eax)                     
  1139df:	e8 a0 00 00 00       	call   113a84 <_Message_queue_Translate_core_message_queue_return_code>
  1139e4:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1139e7:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1139ea:	5b                   	pop    %ebx                           
  1139eb:	5e                   	pop    %esi                           
  1139ec:	c9                   	leave                                 
  1139ed:	c3                   	ret                                   
  1139ee:	66 90                	xchg   %ax,%ax                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  1139f0:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  1139f5:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1139f8:	5b                   	pop    %ebx                           
  1139f9:	5e                   	pop    %esi                           
  1139fa:	c9                   	leave                                 
  1139fb:	c3                   	ret                                   
                                                                      
  if ( !buffer )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !size )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
  1139fc:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  113a01:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  113a04:	5b                   	pop    %ebx                           
  113a05:	5e                   	pop    %esi                           
  113a06:	c9                   	leave                                 
  113a07:	c3                   	ret                                   
                                                                      

0010b3a8 <rtems_message_queue_send>: rtems_status_code rtems_message_queue_send( rtems_id id, const void *buffer, size_t size ) {
  10b3a8:	55                   	push   %ebp                           
  10b3a9:	89 e5                	mov    %esp,%ebp                      
  10b3ab:	56                   	push   %esi                           
  10b3ac:	53                   	push   %ebx                           
  10b3ad:	83 ec 10             	sub    $0x10,%esp                     
  10b3b0:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10b3b3:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  register Message_queue_Control  *the_message_queue;                 
  Objects_Locations                location;                          
  CORE_message_queue_Status        status;                            
                                                                      
  if ( !buffer )                                                      
  10b3b6:	85 db                	test   %ebx,%ebx                      
  10b3b8:	74 5e                	je     10b418 <rtems_message_queue_send+0x70>
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Message_queue_Control *)                                    
     _Objects_Get( &_Message_queue_Information, id, location );       
  10b3ba:	51                   	push   %ecx                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  10b3bb:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10b3be:	50                   	push   %eax                           
  10b3bf:	56                   	push   %esi                           
  10b3c0:	68 c0 57 12 00       	push   $0x1257c0                      
  10b3c5:	e8 a2 19 00 00       	call   10cd6c <_Objects_Get>          
  switch ( location ) {                                               
  10b3ca:	83 c4 10             	add    $0x10,%esp                     
  10b3cd:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10b3d0:	85 d2                	test   %edx,%edx                      
  10b3d2:	74 0c                	je     10b3e0 <rtems_message_queue_send+0x38>
#endif                                                                
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
  10b3d4:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10b3d9:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10b3dc:	5b                   	pop    %ebx                           
  10b3dd:	5e                   	pop    %esi                           
  10b3de:	c9                   	leave                                 
  10b3df:	c3                   	ret                                   
  CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support,
  bool                                    wait,                       
  Watchdog_Interval                          timeout                  
)                                                                     
{                                                                     
  return _CORE_message_queue_Submit(                                  
  10b3e0:	6a 00                	push   $0x0                           
  10b3e2:	6a 00                	push   $0x0                           
  10b3e4:	68 ff ff ff 7f       	push   $0x7fffffff                    
  10b3e9:	6a 00                	push   $0x0                           
  10b3eb:	56                   	push   %esi                           
  10b3ec:	ff 75 10             	pushl  0x10(%ebp)                     
  10b3ef:	53                   	push   %ebx                           
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      status = _CORE_message_queue_Send(                              
  10b3f0:	83 c0 14             	add    $0x14,%eax                     
  10b3f3:	50                   	push   %eax                           
  10b3f4:	e8 f7 0b 00 00       	call   10bff0 <_CORE_message_queue_Submit>
  10b3f9:	89 c3                	mov    %eax,%ebx                      
        MESSAGE_QUEUE_MP_HANDLER,                                     
        false,   /* sender does not block */                          
        0        /* no timeout */                                     
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
  10b3fb:	83 c4 20             	add    $0x20,%esp                     
  10b3fe:	e8 f1 23 00 00       	call   10d7f4 <_Thread_Enable_dispatch>
      /*                                                              
       *  Since this API does not allow for blocking sends, we can directly
       *  return the returned status.                                 
       */                                                             
                                                                      
      return _Message_queue_Translate_core_message_queue_return_code(status);
  10b403:	83 ec 0c             	sub    $0xc,%esp                      
  10b406:	53                   	push   %ebx                           
  10b407:	e8 18 00 00 00       	call   10b424 <_Message_queue_Translate_core_message_queue_return_code>
  10b40c:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10b40f:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10b412:	5b                   	pop    %ebx                           
  10b413:	5e                   	pop    %esi                           
  10b414:	c9                   	leave                                 
  10b415:	c3                   	ret                                   
  10b416:	66 90                	xchg   %ax,%ax                        
  register Message_queue_Control  *the_message_queue;                 
  Objects_Locations                location;                          
  CORE_message_queue_Status        status;                            
                                                                      
  if ( !buffer )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
  10b418:	b8 09 00 00 00       	mov    $0x9,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10b41d:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10b420:	5b                   	pop    %ebx                           
  10b421:	5e                   	pop    %esi                           
  10b422:	c9                   	leave                                 
  10b423:	c3                   	ret                                   
                                                                      

001167a0 <rtems_message_queue_urgent>: rtems_status_code rtems_message_queue_urgent( rtems_id id, const void *buffer, size_t size ) {
  1167a0:	55                   	push   %ebp                           
  1167a1:	89 e5                	mov    %esp,%ebp                      
  1167a3:	56                   	push   %esi                           
  1167a4:	53                   	push   %ebx                           
  1167a5:	83 ec 10             	sub    $0x10,%esp                     
  1167a8:	8b 75 08             	mov    0x8(%ebp),%esi                 
  1167ab:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  register Message_queue_Control  *the_message_queue;                 
  Objects_Locations                location;                          
  CORE_message_queue_Status        status;                            
                                                                      
  if ( !buffer )                                                      
  1167ae:	85 db                	test   %ebx,%ebx                      
  1167b0:	74 5e                	je     116810 <rtems_message_queue_urgent+0x70>
  1167b2:	51                   	push   %ecx                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  1167b3:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  1167b6:	50                   	push   %eax                           
  1167b7:	56                   	push   %esi                           
  1167b8:	68 e0 0d 14 00       	push   $0x140de0                      
  1167bd:	e8 ea 49 00 00       	call   11b1ac <_Objects_Get>          
  switch ( location ) {                                               
  1167c2:	83 c4 10             	add    $0x10,%esp                     
  1167c5:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  1167c8:	85 d2                	test   %edx,%edx                      
  1167ca:	74 0c                	je     1167d8 <rtems_message_queue_urgent+0x38>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  1167cc:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  1167d1:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1167d4:	5b                   	pop    %ebx                           
  1167d5:	5e                   	pop    %esi                           
  1167d6:	c9                   	leave                                 
  1167d7:	c3                   	ret                                   
  CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support,
  bool                                    wait,                       
  Watchdog_Interval                          timeout                  
)                                                                     
{                                                                     
  return _CORE_message_queue_Submit(                                  
  1167d8:	6a 00                	push   $0x0                           
  1167da:	6a 00                	push   $0x0                           
  1167dc:	68 00 00 00 80       	push   $0x80000000                    
  1167e1:	6a 00                	push   $0x0                           
  1167e3:	56                   	push   %esi                           
  1167e4:	ff 75 10             	pushl  0x10(%ebp)                     
  1167e7:	53                   	push   %ebx                           
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      status = _CORE_message_queue_Urgent(                            
  1167e8:	83 c0 14             	add    $0x14,%eax                     
  1167eb:	50                   	push   %eax                           
  1167ec:	e8 3f 33 00 00       	call   119b30 <_CORE_message_queue_Submit>
  1167f1:	89 c3                	mov    %eax,%ebx                      
        id,                                                           
        MESSAGE_QUEUE_MP_HANDLER,                                     
        false,   /* sender does not block */                          
        0        /* no timeout */                                     
      );                                                              
      _Thread_Enable_dispatch();                                      
  1167f3:	83 c4 20             	add    $0x20,%esp                     
  1167f6:	e8 39 54 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      /*                                                              
       *  Since this API does not allow for blocking sends, we can directly
       *  return the returned status.                                 
       */                                                             
                                                                      
      return _Message_queue_Translate_core_message_queue_return_code(status);
  1167fb:	83 ec 0c             	sub    $0xc,%esp                      
  1167fe:	53                   	push   %ebx                           
  1167ff:	e8 8c ff ff ff       	call   116790 <_Message_queue_Translate_core_message_queue_return_code>
  116804:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116807:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  11680a:	5b                   	pop    %ebx                           
  11680b:	5e                   	pop    %esi                           
  11680c:	c9                   	leave                                 
  11680d:	c3                   	ret                                   
  11680e:	66 90                	xchg   %ax,%ax                        
  register Message_queue_Control  *the_message_queue;                 
  Objects_Locations                location;                          
  CORE_message_queue_Status        status;                            
                                                                      
  if ( !buffer )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
  116810:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116815:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  116818:	5b                   	pop    %ebx                           
  116819:	5e                   	pop    %esi                           
  11681a:	c9                   	leave                                 
  11681b:	c3                   	ret                                   
                                                                      

0011222c <rtems_mkdir>: return (retval); } int rtems_mkdir(const char *path, mode_t mode) {
  11222c:	55                   	push   %ebp                           
  11222d:	89 e5                	mov    %esp,%ebp                      
  11222f:	57                   	push   %edi                           
  112230:	56                   	push   %esi                           
  112231:	53                   	push   %ebx                           
  112232:	83 ec 78             	sub    $0x78,%esp                     
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
  112235:	ff 75 08             	pushl  0x8(%ebp)                      
  112238:	e8 f7 23 00 00       	call   114634 <strdup>                
  11223d:	89 c7                	mov    %eax,%edi                      
                                                                      
  if (dup_path != NULL) {                                             
  11223f:	83 c4 10             	add    $0x10,%esp                     
  112242:	85 c0                	test   %eax,%eax                      
  112244:	0f 84 0a 01 00 00    	je     112354 <rtems_mkdir+0x128>     <== NEVER TAKEN
  char *p;                                                            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
  11224a:	8a 10                	mov    (%eax),%dl                     
  11224c:	80 fa 2f             	cmp    $0x2f,%dl                      
  11224f:	0f 84 0f 01 00 00    	je     112364 <rtems_mkdir+0x138>     
  112255:	89 c3                	mov    %eax,%ebx                      
  112257:	c7 45 94 00 00 00 00 	movl   $0x0,-0x6c(%ebp)               
  11225e:	b8 01 00 00 00       	mov    $0x1,%eax                      
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
  112263:	84 d2                	test   %dl,%dl                        
  112265:	74 11                	je     112278 <rtems_mkdir+0x4c>      <== NEVER TAKEN
  112267:	90                   	nop                                   
      last = 1;                                                       
    else if (p[0] != '/')                                             
  112268:	80 fa 2f             	cmp    $0x2f,%dl                      
  11226b:	0f 84 83 00 00 00    	je     1122f4 <rtems_mkdir+0xc8>      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
  112271:	43                   	inc    %ebx                           
  112272:	8a 13                	mov    (%ebx),%dl                     
    if (p[0] == '\0')                                                 
  112274:	84 d2                	test   %dl,%dl                        
  112276:	75 f0                	jne    112268 <rtems_mkdir+0x3c>      
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
  112278:	c6 03 00             	movb   $0x0,(%ebx)                    
  11227b:	be 01 00 00 00       	mov    $0x1,%esi                      
    if (!last && p[1] == '\0')                                        
      last = 1;                                                       
    if (first) {                                                      
  112280:	85 c0                	test   %eax,%eax                      
  112282:	75 54                	jne    1122d8 <rtems_mkdir+0xac>      
      oumask = umask(0);                                              
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
  112284:	85 f6                	test   %esi,%esi                      
  112286:	75 3c                	jne    1122c4 <rtems_mkdir+0x98>      
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
  112288:	b8 ff 01 00 00       	mov    $0x1ff,%eax                    
  11228d:	83 ec 08             	sub    $0x8,%esp                      
  112290:	50                   	push   %eax                           
  112291:	57                   	push   %edi                           
  112292:	e8 ed 73 ff ff       	call   109684 <mkdir>                 
  112297:	83 c4 10             	add    $0x10,%esp                     
  11229a:	85 c0                	test   %eax,%eax                      
  11229c:	78 6a                	js     112308 <rtems_mkdir+0xdc>      
      } else {                                                        
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
  11229e:	85 f6                	test   %esi,%esi                      
  1122a0:	75 0a                	jne    1122ac <rtems_mkdir+0x80>      
        *p = '/';                                                     
  1122a2:	c6 03 2f             	movb   $0x2f,(%ebx)                   
  1122a5:	31 c0                	xor    %eax,%eax                      
  1122a7:	eb c8                	jmp    112271 <rtems_mkdir+0x45>      
  1122a9:	8d 76 00             	lea    0x0(%esi),%esi                 
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
  1122ac:	83 ec 0c             	sub    $0xc,%esp                      
  1122af:	57                   	push   %edi                           
  1122b0:	e8 f7 6d ff ff       	call   1090ac <free>                  
  1122b5:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
  1122b8:	31 c0                	xor    %eax,%eax                      
}                                                                     
  1122ba:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1122bd:	5b                   	pop    %ebx                           
  1122be:	5e                   	pop    %esi                           
  1122bf:	5f                   	pop    %edi                           
  1122c0:	c9                   	leave                                 
  1122c1:	c3                   	ret                                   
  1122c2:	66 90                	xchg   %ax,%ax                        
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
      (void)umask(oumask);                                            
  1122c4:	83 ec 0c             	sub    $0xc,%esp                      
  1122c7:	ff 75 94             	pushl  -0x6c(%ebp)                    
  1122ca:	e8 81 01 00 00       	call   112450 <umask>                 
  1122cf:	83 c4 10             	add    $0x10,%esp                     
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
  1122d2:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  1122d5:	eb b6                	jmp    11228d <rtems_mkdir+0x61>      
  1122d7:	90                   	nop                                   
       *    mkdir [-m mode] dir                                       
       *                                                              
       * We change the user's umask and then restore it,              
       * instead of doing chmod's.                                    
       */                                                             
      oumask = umask(0);                                              
  1122d8:	83 ec 0c             	sub    $0xc,%esp                      
  1122db:	6a 00                	push   $0x0                           
  1122dd:	e8 6e 01 00 00       	call   112450 <umask>                 
  1122e2:	89 45 94             	mov    %eax,-0x6c(%ebp)               
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
  1122e5:	24 3f                	and    $0x3f,%al                      
      (void)umask(numask);                                            
  1122e7:	89 04 24             	mov    %eax,(%esp)                    
  1122ea:	e8 61 01 00 00       	call   112450 <umask>                 
  1122ef:	83 c4 10             	add    $0x10,%esp                     
  1122f2:	eb 90                	jmp    112284 <rtems_mkdir+0x58>      
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
  1122f4:	c6 03 00             	movb   $0x0,(%ebx)                    
    if (!last && p[1] == '\0')                                        
  1122f7:	31 d2                	xor    %edx,%edx                      
  1122f9:	80 7b 01 00          	cmpb   $0x0,0x1(%ebx)                 
  1122fd:	0f 94 c2             	sete   %dl                            
  112300:	89 d6                	mov    %edx,%esi                      
  112302:	e9 79 ff ff ff       	jmp    112280 <rtems_mkdir+0x54>      
  112307:	90                   	nop                                   
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
      if (errno == EEXIST || errno == EISDIR) {                       
  112308:	e8 a7 16 00 00       	call   1139b4 <__errno>               
  11230d:	83 38 11             	cmpl   $0x11,(%eax)                   
  112310:	74 0a                	je     11231c <rtems_mkdir+0xf0>      
  112312:	e8 9d 16 00 00       	call   1139b4 <__errno>               
  112317:	83 38 15             	cmpl   $0x15,(%eax)                   
  11231a:	75 53                	jne    11236f <rtems_mkdir+0x143>     <== ALWAYS TAKEN
        if (stat(path, &sb) < 0) {                                    
  11231c:	83 ec 08             	sub    $0x8,%esp                      
  11231f:	8d 45 a0             	lea    -0x60(%ebp),%eax               
  112322:	50                   	push   %eax                           
  112323:	57                   	push   %edi                           
  112324:	e8 7f 00 00 00       	call   1123a8 <stat>                  
  112329:	83 c4 10             	add    $0x10,%esp                     
  11232c:	85 c0                	test   %eax,%eax                      
  11232e:	78 3f                	js     11236f <rtems_mkdir+0x143>     <== NEVER TAKEN
          retval = 0;                                                 
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
  112330:	8b 45 ac             	mov    -0x54(%ebp),%eax               
  112333:	25 00 f0 00 00       	and    $0xf000,%eax                   
  112338:	3d 00 40 00 00       	cmp    $0x4000,%eax                   
  11233d:	0f 84 5b ff ff ff    	je     11229e <rtems_mkdir+0x72>      
          if (last)                                                   
  112343:	85 f6                	test   %esi,%esi                      
  112345:	74 53                	je     11239a <rtems_mkdir+0x16e>     
            errno = EEXIST;                                           
  112347:	e8 68 16 00 00       	call   1139b4 <__errno>               
  11234c:	c7 00 11 00 00 00    	movl   $0x11,(%eax)                   
  112352:	eb 2d                	jmp    112381 <rtems_mkdir+0x155>     
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
  112354:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
}                                                                     
  112359:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11235c:	5b                   	pop    %ebx                           <== NOT EXECUTED
  11235d:	5e                   	pop    %esi                           <== NOT EXECUTED
  11235e:	5f                   	pop    %edi                           <== NOT EXECUTED
  11235f:	c9                   	leave                                 <== NOT EXECUTED
  112360:	c3                   	ret                                   <== NOT EXECUTED
  112361:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  112364:	8d 58 01             	lea    0x1(%eax),%ebx                 
  112367:	8a 50 01             	mov    0x1(%eax),%dl                  
  11236a:	e9 e8 fe ff ff       	jmp    112257 <rtems_mkdir+0x2b>      
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
  }                                                                   
  if (!first && !last)                                                
  11236f:	85 f6                	test   %esi,%esi                      
  112371:	75 0e                	jne    112381 <rtems_mkdir+0x155>     <== ALWAYS TAKEN
    (void)umask(oumask);                                              
  112373:	83 ec 0c             	sub    $0xc,%esp                      
  112376:	ff 75 94             	pushl  -0x6c(%ebp)                    
  112379:	e8 d2 00 00 00       	call   112450 <umask>                 
  11237e:	83 c4 10             	add    $0x10,%esp                     
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
  112381:	83 ec 0c             	sub    $0xc,%esp                      
  112384:	57                   	push   %edi                           
  112385:	e8 22 6d ff ff       	call   1090ac <free>                  
  11238a:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
  11238d:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
}                                                                     
  112392:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112395:	5b                   	pop    %ebx                           
  112396:	5e                   	pop    %esi                           
  112397:	5f                   	pop    %edi                           
  112398:	c9                   	leave                                 
  112399:	c3                   	ret                                   
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
          if (last)                                                   
            errno = EEXIST;                                           
          else                                                        
            errno = ENOTDIR;                                          
  11239a:	e8 15 16 00 00       	call   1139b4 <__errno>               
  11239f:	c7 00 14 00 00 00    	movl   $0x14,(%eax)                   
  1123a5:	eb cc                	jmp    112373 <rtems_mkdir+0x147>     
                                                                      

0010cea4 <rtems_object_get_api_class_name>: const char *rtems_object_get_api_class_name( int the_api, int the_class ) {
  10cea4:	55                   	push   %ebp                           
  10cea5:	89 e5                	mov    %esp,%ebp                      
  10cea7:	83 ec 08             	sub    $0x8,%esp                      
  10ceaa:	8b 45 08             	mov    0x8(%ebp),%eax                 
  const rtems_assoc_t *api_assoc;                                     
  const rtems_assoc_t *class_assoc;                                   
                                                                      
  if ( the_api == OBJECTS_INTERNAL_API )                              
  10cead:	83 f8 01             	cmp    $0x1,%eax                      
  10ceb0:	74 2a                	je     10cedc <rtems_object_get_api_class_name+0x38>
    api_assoc = rtems_object_api_internal_assoc;                      
  else if ( the_api == OBJECTS_CLASSIC_API )                          
  10ceb2:	83 f8 02             	cmp    $0x2,%eax                      
  10ceb5:	74 09                	je     10cec0 <rtems_object_get_api_class_name+0x1c>
#ifdef RTEMS_POSIX_API                                                
  else if ( the_api == OBJECTS_POSIX_API )                            
    api_assoc = rtems_object_api_posix_assoc;                         
#endif                                                                
  else                                                                
    return "BAD API";                                                 
  10ceb7:	b8 7b 30 12 00       	mov    $0x12307b,%eax                 
  class_assoc = rtems_assoc_ptr_by_local( api_assoc, the_class );     
  if ( class_assoc )                                                  
    return class_assoc->name;                                         
  return "BAD CLASS";                                                 
}                                                                     
  10cebc:	c9                   	leave                                 
  10cebd:	c3                   	ret                                   
  10cebe:	66 90                	xchg   %ax,%ax                        
  const rtems_assoc_t *class_assoc;                                   
                                                                      
  if ( the_api == OBJECTS_INTERNAL_API )                              
    api_assoc = rtems_object_api_internal_assoc;                      
  else if ( the_api == OBJECTS_CLASSIC_API )                          
    api_assoc = rtems_object_api_classic_assoc;                       
  10cec0:	b8 a0 71 12 00       	mov    $0x1271a0,%eax                 
  else if ( the_api == OBJECTS_POSIX_API )                            
    api_assoc = rtems_object_api_posix_assoc;                         
#endif                                                                
  else                                                                
    return "BAD API";                                                 
  class_assoc = rtems_assoc_ptr_by_local( api_assoc, the_class );     
  10cec5:	83 ec 08             	sub    $0x8,%esp                      
  10cec8:	ff 75 0c             	pushl  0xc(%ebp)                      
  10cecb:	50                   	push   %eax                           
  10cecc:	e8 4f 4a 00 00       	call   111920 <rtems_assoc_ptr_by_local>
  if ( class_assoc )                                                  
  10ced1:	83 c4 10             	add    $0x10,%esp                     
  10ced4:	85 c0                	test   %eax,%eax                      
  10ced6:	74 0c                	je     10cee4 <rtems_object_get_api_class_name+0x40>
    return class_assoc->name;                                         
  10ced8:	8b 00                	mov    (%eax),%eax                    
  return "BAD CLASS";                                                 
}                                                                     
  10ceda:	c9                   	leave                                 
  10cedb:	c3                   	ret                                   
{                                                                     
  const rtems_assoc_t *api_assoc;                                     
  const rtems_assoc_t *class_assoc;                                   
                                                                      
  if ( the_api == OBJECTS_INTERNAL_API )                              
    api_assoc = rtems_object_api_internal_assoc;                      
  10cedc:	b8 80 71 12 00       	mov    $0x127180,%eax                 
  10cee1:	eb e2                	jmp    10cec5 <rtems_object_get_api_class_name+0x21>
  10cee3:	90                   	nop                                   
  else                                                                
    return "BAD API";                                                 
  class_assoc = rtems_assoc_ptr_by_local( api_assoc, the_class );     
  if ( class_assoc )                                                  
    return class_assoc->name;                                         
  return "BAD CLASS";                                                 
  10cee4:	b8 83 30 12 00       	mov    $0x123083,%eax                 
}                                                                     
  10cee9:	c9                   	leave                                 
  10ceea:	c3                   	ret                                   
                                                                      

0010ceec <rtems_object_get_api_name>: }; const char *rtems_object_get_api_name( int api ) {
  10ceec:	55                   	push   %ebp                           
  10ceed:	89 e5                	mov    %esp,%ebp                      
  10ceef:	83 ec 10             	sub    $0x10,%esp                     
  const rtems_assoc_t *api_assoc;                                     
                                                                      
  api_assoc = rtems_assoc_ptr_by_local( rtems_objects_api_assoc, api );
  10cef2:	ff 75 08             	pushl  0x8(%ebp)                      
  10cef5:	68 20 72 12 00       	push   $0x127220                      
  10cefa:	e8 21 4a 00 00       	call   111920 <rtems_assoc_ptr_by_local>
  if ( api_assoc )                                                    
  10ceff:	83 c4 10             	add    $0x10,%esp                     
  10cf02:	85 c0                	test   %eax,%eax                      
  10cf04:	74 06                	je     10cf0c <rtems_object_get_api_name+0x20>
    return api_assoc->name;                                           
  10cf06:	8b 00                	mov    (%eax),%eax                    
  return "BAD CLASS";                                                 
}                                                                     
  10cf08:	c9                   	leave                                 
  10cf09:	c3                   	ret                                   
  10cf0a:	66 90                	xchg   %ax,%ax                        
  const rtems_assoc_t *api_assoc;                                     
                                                                      
  api_assoc = rtems_assoc_ptr_by_local( rtems_objects_api_assoc, api );
  if ( api_assoc )                                                    
    return api_assoc->name;                                           
  return "BAD CLASS";                                                 
  10cf0c:	b8 83 30 12 00       	mov    $0x123083,%eax                 
}                                                                     
  10cf11:	c9                   	leave                                 
  10cf12:	c3                   	ret                                   
                                                                      

0010cf54 <rtems_object_get_class_information>: rtems_status_code rtems_object_get_class_information( int the_api, int the_class, rtems_object_api_class_information *info ) {
  10cf54:	55                   	push   %ebp                           
  10cf55:	89 e5                	mov    %esp,%ebp                      
  10cf57:	57                   	push   %edi                           
  10cf58:	56                   	push   %esi                           
  10cf59:	53                   	push   %ebx                           
  10cf5a:	83 ec 0c             	sub    $0xc,%esp                      
  10cf5d:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  int                  i;                                             
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
  10cf60:	85 db                	test   %ebx,%ebx                      
  10cf62:	74 60                	je     10cfc4 <rtems_object_get_class_information+0x70>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
  10cf64:	83 ec 08             	sub    $0x8,%esp                      
  10cf67:	0f b7 45 0c          	movzwl 0xc(%ebp),%eax                 
  10cf6b:	50                   	push   %eax                           
  10cf6c:	ff 75 08             	pushl  0x8(%ebp)                      
  10cf6f:	e8 80 1a 00 00       	call   10e9f4 <_Objects_Get_information>
  if ( !obj_info )                                                    
  10cf74:	83 c4 10             	add    $0x10,%esp                     
  10cf77:	85 c0                	test   %eax,%eax                      
  10cf79:	74 59                	je     10cfd4 <rtems_object_get_class_information+0x80>
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
  10cf7b:	8b 50 08             	mov    0x8(%eax),%edx                 
  10cf7e:	89 13                	mov    %edx,(%ebx)                    
  info->maximum_id  = obj_info->maximum_id;                           
  10cf80:	8b 50 0c             	mov    0xc(%eax),%edx                 
  10cf83:	89 53 04             	mov    %edx,0x4(%ebx)                 
  info->auto_extend = obj_info->auto_extend;                          
  10cf86:	8a 50 12             	mov    0x12(%eax),%dl                 
  10cf89:	88 53 0c             	mov    %dl,0xc(%ebx)                  
  info->maximum     = obj_info->maximum;                              
  10cf8c:	0f b7 70 10          	movzwl 0x10(%eax),%esi                
  10cf90:	89 73 08             	mov    %esi,0x8(%ebx)                 
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
  10cf93:	85 f6                	test   %esi,%esi                      
  10cf95:	74 44                	je     10cfdb <rtems_object_get_class_information+0x87><== NEVER TAKEN
  10cf97:	8b 78 1c             	mov    0x1c(%eax),%edi                
  10cf9a:	b9 01 00 00 00       	mov    $0x1,%ecx                      
  10cf9f:	b8 01 00 00 00       	mov    $0x1,%eax                      
  10cfa4:	31 d2                	xor    %edx,%edx                      
  10cfa6:	66 90                	xchg   %ax,%ax                        
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
  10cfa8:	83 3c 8f 01          	cmpl   $0x1,(%edi,%ecx,4)             
  10cfac:	83 d2 00             	adc    $0x0,%edx                      
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
  10cfaf:	40                   	inc    %eax                           
  10cfb0:	89 c1                	mov    %eax,%ecx                      
  10cfb2:	39 c6                	cmp    %eax,%esi                      
  10cfb4:	73 f2                	jae    10cfa8 <rtems_object_get_class_information+0x54>
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
  10cfb6:	89 53 10             	mov    %edx,0x10(%ebx)                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  10cfb9:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10cfbb:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10cfbe:	5b                   	pop    %ebx                           
  10cfbf:	5e                   	pop    %esi                           
  10cfc0:	5f                   	pop    %edi                           
  10cfc1:	c9                   	leave                                 
  10cfc2:	c3                   	ret                                   
  10cfc3:	90                   	nop                                   
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
  10cfc4:	b8 09 00 00 00       	mov    $0x9,%eax                      
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10cfc9:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10cfcc:	5b                   	pop    %ebx                           
  10cfcd:	5e                   	pop    %esi                           
  10cfce:	5f                   	pop    %edi                           
  10cfcf:	c9                   	leave                                 
  10cfd0:	c3                   	ret                                   
  10cfd1:	8d 76 00             	lea    0x0(%esi),%esi                 
  if ( !info )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
  if ( !obj_info )                                                    
    return RTEMS_INVALID_NUMBER;                                      
  10cfd4:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  10cfd9:	eb e0                	jmp    10cfbb <rtems_object_get_class_information+0x67>
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
  10cfdb:	31 d2                	xor    %edx,%edx                      
  10cfdd:	eb d7                	jmp    10cfb6 <rtems_object_get_class_information+0x62><== NOT EXECUTED
                                                                      

0010c520 <rtems_object_get_classic_name>: rtems_status_code rtems_object_get_classic_name( rtems_id id, rtems_name *name ) {
  10c520:	55                   	push   %ebp                           
  10c521:	89 e5                	mov    %esp,%ebp                      
  10c523:	53                   	push   %ebx                           
  10c524:	83 ec 14             	sub    $0x14,%esp                     
  10c527:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Name_or_id_lookup_errors  status;                           
  Objects_Name                      name_u;                           
                                                                      
  if ( !name )                                                        
  10c52a:	85 db                	test   %ebx,%ebx                      
  10c52c:	74 26                	je     10c554 <rtems_object_get_classic_name+0x34>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  status = _Objects_Id_to_name( id, &name_u );                        
  10c52e:	83 ec 08             	sub    $0x8,%esp                      
  10c531:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10c534:	50                   	push   %eax                           
  10c535:	ff 75 08             	pushl  0x8(%ebp)                      
  10c538:	e8 db 1a 00 00       	call   10e018 <_Objects_Id_to_name>   
                                                                      
  *name = name_u.name_u32;                                            
  10c53d:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10c540:	89 13                	mov    %edx,(%ebx)                    
  return _Status_Object_name_errors_to_status[ status ];              
  10c542:	8b 04 85 8c 1b 12 00 	mov    0x121b8c(,%eax,4),%eax         
  10c549:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10c54c:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c54f:	c9                   	leave                                 
  10c550:	c3                   	ret                                   
  10c551:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  Objects_Name_or_id_lookup_errors  status;                           
  Objects_Name                      name_u;                           
                                                                      
  if ( !name )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
  10c554:	b8 09 00 00 00       	mov    $0x9,%eax                      
                                                                      
  status = _Objects_Id_to_name( id, &name_u );                        
                                                                      
  *name = name_u.name_u32;                                            
  return _Status_Object_name_errors_to_status[ status ];              
}                                                                     
  10c559:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c55c:	c9                   	leave                                 
  10c55d:	c3                   	ret                                   
                                                                      

0010d038 <rtems_object_set_name>: */ rtems_status_code rtems_object_set_name( rtems_id id, const char *name ) {
  10d038:	55                   	push   %ebp                           
  10d039:	89 e5                	mov    %esp,%ebp                      
  10d03b:	57                   	push   %edi                           
  10d03c:	56                   	push   %esi                           
  10d03d:	53                   	push   %ebx                           
  10d03e:	83 ec 1c             	sub    $0x1c,%esp                     
  10d041:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10d044:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  Objects_Information *information;                                   
  Objects_Locations    location;                                      
  Objects_Control     *the_object;                                    
  Objects_Id           tmpId;                                         
                                                                      
  if ( !name )                                                        
  10d047:	85 ff                	test   %edi,%edi                      
  10d049:	74 61                	je     10d0ac <rtems_object_set_name+0x74>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
  10d04b:	85 f6                	test   %esi,%esi                      
  10d04d:	74 35                	je     10d084 <rtems_object_set_name+0x4c>
                                                                      
  information  = _Objects_Get_information_id( tmpId );                
  10d04f:	83 ec 0c             	sub    $0xc,%esp                      
  10d052:	56                   	push   %esi                           
  10d053:	e8 7c 19 00 00       	call   10e9d4 <_Objects_Get_information_id>
  10d058:	89 c3                	mov    %eax,%ebx                      
  if ( !information )                                                 
  10d05a:	83 c4 10             	add    $0x10,%esp                     
  10d05d:	85 c0                	test   %eax,%eax                      
  10d05f:	74 16                	je     10d077 <rtems_object_set_name+0x3f>
    return RTEMS_INVALID_ID;                                          
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
  10d061:	50                   	push   %eax                           
  10d062:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10d065:	50                   	push   %eax                           
  10d066:	56                   	push   %esi                           
  10d067:	53                   	push   %ebx                           
  10d068:	e8 07 1b 00 00       	call   10eb74 <_Objects_Get>          
  switch ( location ) {                                               
  10d06d:	83 c4 10             	add    $0x10,%esp                     
  10d070:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10d073:	85 c9                	test   %ecx,%ecx                      
  10d075:	74 19                	je     10d090 <rtems_object_set_name+0x58>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10d077:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10d07c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d07f:	5b                   	pop    %ebx                           
  10d080:	5e                   	pop    %esi                           
  10d081:	5f                   	pop    %edi                           
  10d082:	c9                   	leave                                 
  10d083:	c3                   	ret                                   
  Objects_Id           tmpId;                                         
                                                                      
  if ( !name )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
  10d084:	a1 78 98 12 00       	mov    0x129878,%eax                  
  10d089:	8b 70 08             	mov    0x8(%eax),%esi                 
  10d08c:	eb c1                	jmp    10d04f <rtems_object_set_name+0x17>
  10d08e:	66 90                	xchg   %ax,%ax                        
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Set_name( information, the_object, name );             
  10d090:	52                   	push   %edx                           
  10d091:	57                   	push   %edi                           
  10d092:	50                   	push   %eax                           
  10d093:	53                   	push   %ebx                           
  10d094:	e8 13 1d 00 00       	call   10edac <_Objects_Set_name>     
      _Thread_Enable_dispatch();                                      
  10d099:	e8 46 26 00 00       	call   10f6e4 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  10d09e:	83 c4 10             	add    $0x10,%esp                     
  10d0a1:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10d0a3:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d0a6:	5b                   	pop    %ebx                           
  10d0a7:	5e                   	pop    %esi                           
  10d0a8:	5f                   	pop    %edi                           
  10d0a9:	c9                   	leave                                 
  10d0aa:	c3                   	ret                                   
  10d0ab:	90                   	nop                                   
  Objects_Locations    location;                                      
  Objects_Control     *the_object;                                    
  Objects_Id           tmpId;                                         
                                                                      
  if ( !name )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
  10d0ac:	b8 09 00 00 00       	mov    $0x9,%eax                      
  10d0b1:	eb c9                	jmp    10d07c <rtems_object_set_name+0x44>
                                                                      

0011681c <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
  11681c:	55                   	push   %ebp                           
  11681d:	89 e5                	mov    %esp,%ebp                      
  11681f:	57                   	push   %edi                           
  116820:	56                   	push   %esi                           
  116821:	53                   	push   %ebx                           
  116822:	83 ec 1c             	sub    $0x1c,%esp                     
  116825:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  116828:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  11682b:	8b 55 10             	mov    0x10(%ebp),%edx                
  11682e:	8b 7d 14             	mov    0x14(%ebp),%edi                
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  116831:	85 db                	test   %ebx,%ebx                      
  116833:	74 47                	je     11687c <rtems_partition_create+0x60>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
  116835:	85 f6                	test   %esi,%esi                      
  116837:	74 23                	je     11685c <rtems_partition_create+0x40>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
  116839:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  11683c:	85 c0                	test   %eax,%eax                      
  11683e:	74 1c                	je     11685c <rtems_partition_create+0x40><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
  116840:	85 d2                	test   %edx,%edx                      
  116842:	74 28                	je     11686c <rtems_partition_create+0x50>
  116844:	85 ff                	test   %edi,%edi                      
  116846:	74 24                	je     11686c <rtems_partition_create+0x50>
  116848:	39 fa                	cmp    %edi,%edx                      
  11684a:	72 20                	jb     11686c <rtems_partition_create+0x50>
  11684c:	f7 c7 03 00 00 00    	test   $0x3,%edi                      
  116852:	75 18                	jne    11686c <rtems_partition_create+0x50>
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
  116854:	f7 c6 03 00 00 00    	test   $0x3,%esi                      
  11685a:	74 30                	je     11688c <rtems_partition_create+0x70>
     return RTEMS_INVALID_ADDRESS;                                    
  11685c:	b8 09 00 00 00       	mov    $0x9,%eax                      
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  116861:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  116864:	5b                   	pop    %ebx                           
  116865:	5e                   	pop    %esi                           
  116866:	5f                   	pop    %edi                           
  116867:	c9                   	leave                                 
  116868:	c3                   	ret                                   
  116869:	8d 76 00             	lea    0x0(%esi),%esi                 
  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;                                        
  11686c:	b8 08 00 00 00       	mov    $0x8,%eax                      
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  116871:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  116874:	5b                   	pop    %ebx                           
  116875:	5e                   	pop    %esi                           
  116876:	5f                   	pop    %edi                           
  116877:	c9                   	leave                                 
  116878:	c3                   	ret                                   
  116879:	8d 76 00             	lea    0x0(%esi),%esi                 
)                                                                     
{                                                                     
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
  11687c:	b8 03 00 00 00       	mov    $0x3,%eax                      
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  116881:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  116884:	5b                   	pop    %ebx                           
  116885:	5e                   	pop    %esi                           
  116886:	5f                   	pop    %edi                           
  116887:	c9                   	leave                                 
  116888:	c3                   	ret                                   
  116889:	8d 76 00             	lea    0x0(%esi),%esi                 
  11688c:	a1 90 0a 14 00       	mov    0x140a90,%eax                  
  116891:	40                   	inc    %eax                           
  116892:	a3 90 0a 14 00       	mov    %eax,0x140a90                  
 *  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 );
  116897:	83 ec 0c             	sub    $0xc,%esp                      
  11689a:	68 20 09 14 00       	push   $0x140920                      
  11689f:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  1168a2:	e8 11 44 00 00       	call   11acb8 <_Objects_Allocate>     
  1168a7:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
  1168aa:	83 c4 10             	add    $0x10,%esp                     
  1168ad:	85 c0                	test   %eax,%eax                      
  1168af:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  1168b2:	74 58                	je     11690c <rtems_partition_create+0xf0>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  1168b4:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  1168b7:	89 70 10             	mov    %esi,0x10(%eax)                
  the_partition->length                = length;                      
  1168ba:	89 50 14             	mov    %edx,0x14(%eax)                
  the_partition->buffer_size           = buffer_size;                 
  1168bd:	89 78 18             	mov    %edi,0x18(%eax)                
  the_partition->attribute_set         = attribute_set;               
  1168c0:	8b 4d 18             	mov    0x18(%ebp),%ecx                
  1168c3:	89 48 1c             	mov    %ecx,0x1c(%eax)                
  the_partition->number_of_used_blocks = 0;                           
  1168c6:	c7 40 20 00 00 00 00 	movl   $0x0,0x20(%eax)                
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
  1168cd:	57                   	push   %edi                           
  1168ce:	89 d0                	mov    %edx,%eax                      
  1168d0:	31 d2                	xor    %edx,%edx                      
  1168d2:	f7 f7                	div    %edi                           
  1168d4:	50                   	push   %eax                           
  1168d5:	56                   	push   %esi                           
  1168d6:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  1168d9:	83 c0 24             	add    $0x24,%eax                     
  1168dc:	50                   	push   %eax                           
  1168dd:	e8 56 2f 00 00       	call   119838 <_Chain_Initialize>     
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  1168e2:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  1168e5:	8b 47 08             	mov    0x8(%edi),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  1168e8:	0f b7 f0             	movzwl %ax,%esi                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  1168eb:	8b 15 3c 09 14 00    	mov    0x14093c,%edx                  
  1168f1:	89 3c b2             	mov    %edi,(%edx,%esi,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  1168f4:	89 5f 0c             	mov    %ebx,0xc(%edi)                 
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
  1168f7:	8b 55 1c             	mov    0x1c(%ebp),%edx                
  1168fa:	89 02                	mov    %eax,(%edx)                    
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  1168fc:	e8 33 53 00 00       	call   11bc34 <_Thread_Enable_dispatch>
  return RTEMS_SUCCESSFUL;                                            
  116901:	83 c4 10             	add    $0x10,%esp                     
  116904:	31 c0                	xor    %eax,%eax                      
  116906:	e9 66 ff ff ff       	jmp    116871 <rtems_partition_create+0x55>
  11690b:	90                   	nop                                   
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
    _Thread_Enable_dispatch();                                        
  11690c:	e8 23 53 00 00       	call   11bc34 <_Thread_Enable_dispatch>
    return RTEMS_TOO_MANY;                                            
  116911:	b8 05 00 00 00       	mov    $0x5,%eax                      
  116916:	e9 56 ff ff ff       	jmp    116871 <rtems_partition_create+0x55>
                                                                      

00116988 <rtems_partition_get_buffer>: rtems_status_code rtems_partition_get_buffer( rtems_id id, void **buffer ) {
  116988:	55                   	push   %ebp                           
  116989:	89 e5                	mov    %esp,%ebp                      
  11698b:	56                   	push   %esi                           
  11698c:	53                   	push   %ebx                           
  11698d:	83 ec 20             	sub    $0x20,%esp                     
  116990:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
  void                       *the_buffer;                             
                                                                      
  if ( !buffer )                                                      
  116993:	85 db                	test   %ebx,%ebx                      
  116995:	74 59                	je     1169f0 <rtems_partition_get_buffer+0x68>
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
    _Objects_Get( &_Partition_Information, id, location );            
  116997:	52                   	push   %edx                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  116998:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  11699b:	50                   	push   %eax                           
  11699c:	ff 75 08             	pushl  0x8(%ebp)                      
  11699f:	68 20 09 14 00       	push   $0x140920                      
  1169a4:	e8 03 48 00 00       	call   11b1ac <_Objects_Get>          
  1169a9:	89 c6                	mov    %eax,%esi                      
  switch ( location ) {                                               
  1169ab:	83 c4 10             	add    $0x10,%esp                     
  1169ae:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  1169b1:	85 c0                	test   %eax,%eax                      
  1169b3:	75 2f                	jne    1169e4 <rtems_partition_get_buffer+0x5c>
 */                                                                   
RTEMS_INLINE_ROUTINE void *_Partition_Allocate_buffer (               
   Partition_Control *the_partition                                   
)                                                                     
{                                                                     
  return _Chain_Get( &the_partition->Memory );                        
  1169b5:	83 ec 0c             	sub    $0xc,%esp                      
  1169b8:	8d 46 24             	lea    0x24(%esi),%eax                
  1169bb:	50                   	push   %eax                           
  1169bc:	e8 53 2e 00 00       	call   119814 <_Chain_Get>            
                                                                      
    case OBJECTS_LOCAL:                                               
      the_buffer = _Partition_Allocate_buffer( the_partition );       
      if ( the_buffer ) {                                             
  1169c1:	83 c4 10             	add    $0x10,%esp                     
  1169c4:	85 c0                	test   %eax,%eax                      
  1169c6:	74 34                	je     1169fc <rtems_partition_get_buffer+0x74>
        the_partition->number_of_used_blocks += 1;                    
  1169c8:	ff 46 20             	incl   0x20(%esi)                     
        _Thread_Enable_dispatch();                                    
  1169cb:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  1169ce:	e8 61 52 00 00       	call   11bc34 <_Thread_Enable_dispatch>
        *buffer = the_buffer;                                         
  1169d3:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  1169d6:	89 03                	mov    %eax,(%ebx)                    
        return RTEMS_SUCCESSFUL;                                      
  1169d8:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1169da:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1169dd:	5b                   	pop    %ebx                           
  1169de:	5e                   	pop    %esi                           
  1169df:	c9                   	leave                                 
  1169e0:	c3                   	ret                                   
  1169e1:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  1169e4:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  1169e9:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1169ec:	5b                   	pop    %ebx                           
  1169ed:	5e                   	pop    %esi                           
  1169ee:	c9                   	leave                                 
  1169ef:	c3                   	ret                                   
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
  void                       *the_buffer;                             
                                                                      
  if ( !buffer )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
  1169f0:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1169f5:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1169f8:	5b                   	pop    %ebx                           
  1169f9:	5e                   	pop    %esi                           
  1169fa:	c9                   	leave                                 
  1169fb:	c3                   	ret                                   
        the_partition->number_of_used_blocks += 1;                    
        _Thread_Enable_dispatch();                                    
        *buffer = the_buffer;                                         
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
  1169fc:	e8 33 52 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return RTEMS_UNSATISFIED;                                       
  116a01:	b8 0d 00 00 00       	mov    $0xd,%eax                      
  116a06:	eb e1                	jmp    1169e9 <rtems_partition_get_buffer+0x61>
                                                                      

00116a2c <rtems_partition_return_buffer>: rtems_status_code rtems_partition_return_buffer( rtems_id id, void *buffer ) {
  116a2c:	55                   	push   %ebp                           
  116a2d:	89 e5                	mov    %esp,%ebp                      
  116a2f:	56                   	push   %esi                           
  116a30:	53                   	push   %ebx                           
  116a31:	83 ec 14             	sub    $0x14,%esp                     
  116a34:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  116a37:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
    _Objects_Get( &_Partition_Information, id, location );            
  116a3a:	50                   	push   %eax                           
  116a3b:	ff 75 08             	pushl  0x8(%ebp)                      
  116a3e:	68 20 09 14 00       	push   $0x140920                      
  116a43:	e8 64 47 00 00       	call   11b1ac <_Objects_Get>          
  116a48:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  116a4a:	83 c4 10             	add    $0x10,%esp                     
  116a4d:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  116a50:	85 c0                	test   %eax,%eax                      
  116a52:	74 0c                	je     116a60 <rtems_partition_return_buffer+0x34>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  116a54:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  116a59:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  116a5c:	5b                   	pop    %ebx                           
  116a5d:	5e                   	pop    %esi                           
  116a5e:	c9                   	leave                                 
  116a5f:	c3                   	ret                                   
)                                                                     
{                                                                     
  void *starting;                                                     
  void *ending;                                                       
                                                                      
  starting = the_partition->starting_address;                         
  116a60:	8b 43 10             	mov    0x10(%ebx),%eax                
  ending   = _Addresses_Add_offset( starting, the_partition->length );
  116a63:	8b 53 14             	mov    0x14(%ebx),%edx                
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
  116a66:	39 c6                	cmp    %eax,%esi                      
  116a68:	72 3a                	jb     116aa4 <rtems_partition_return_buffer+0x78>
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
  116a6a:	8d 14 10             	lea    (%eax,%edx,1),%edx             
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
  116a6d:	39 d6                	cmp    %edx,%esi                      
  116a6f:	77 33                	ja     116aa4 <rtems_partition_return_buffer+0x78><== NEVER TAKEN
RTEMS_INLINE_ROUTINE int32_t _Addresses_Subtract (                    
  const void *left,                                                   
  const void *right                                                   
)                                                                     
{                                                                     
  return (int32_t) ((const char *) left - (const char *) right);      
  116a71:	89 f2                	mov    %esi,%edx                      
  116a73:	29 c2                	sub    %eax,%edx                      
  116a75:	89 d0                	mov    %edx,%eax                      
  offset = (uint32_t) _Addresses_Subtract(                            
    the_buffer,                                                       
    the_partition->starting_address                                   
  );                                                                  
                                                                      
  return ((offset % the_partition->buffer_size) == 0);                
  116a77:	31 d2                	xor    %edx,%edx                      
  116a79:	f7 73 18             	divl   0x18(%ebx)                     
                                                                      
  starting = the_partition->starting_address;                         
  ending   = _Addresses_Add_offset( starting, the_partition->length );
                                                                      
  return (                                                            
    _Addresses_Is_in_range( the_buffer, starting, ending ) &&         
  116a7c:	85 d2                	test   %edx,%edx                      
  116a7e:	75 24                	jne    116aa4 <rtems_partition_return_buffer+0x78>
RTEMS_INLINE_ROUTINE void _Partition_Free_buffer (                    
  Partition_Control *the_partition,                                   
  Chain_Node        *the_buffer                                       
)                                                                     
{                                                                     
  _Chain_Append( &the_partition->Memory, the_buffer );                
  116a80:	83 ec 08             	sub    $0x8,%esp                      
  116a83:	56                   	push   %esi                           
  116a84:	8d 43 24             	lea    0x24(%ebx),%eax                
  116a87:	50                   	push   %eax                           
  116a88:	e8 4b 2d 00 00       	call   1197d8 <_Chain_Append>         
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _Partition_Is_buffer_valid( buffer, the_partition ) ) {    
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
  116a8d:	ff 4b 20             	decl   0x20(%ebx)                     
        _Thread_Enable_dispatch();                                    
  116a90:	e8 9f 51 00 00       	call   11bc34 <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  116a95:	83 c4 10             	add    $0x10,%esp                     
  116a98:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116a9a:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  116a9d:	5b                   	pop    %ebx                           
  116a9e:	5e                   	pop    %esi                           
  116a9f:	c9                   	leave                                 
  116aa0:	c3                   	ret                                   
  116aa1:	8d 76 00             	lea    0x0(%esi),%esi                 
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
  116aa4:	e8 8b 51 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return RTEMS_INVALID_ADDRESS;                                   
  116aa9:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116aae:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  116ab1:	5b                   	pop    %ebx                           
  116ab2:	5e                   	pop    %esi                           
  116ab3:	c9                   	leave                                 
  116ab4:	c3                   	ret                                   
                                                                      

00115e50 <rtems_port_create>: void *internal_start, void *external_start, uint32_t length, rtems_id *id ) {
  115e50:	55                   	push   %ebp                           
  115e51:	89 e5                	mov    %esp,%ebp                      
  115e53:	57                   	push   %edi                           
  115e54:	56                   	push   %esi                           
  115e55:	53                   	push   %ebx                           
  115e56:	83 ec 1c             	sub    $0x1c,%esp                     
  115e59:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  115e5c:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  115e5f:	8b 7d 10             	mov    0x10(%ebp),%edi                
  115e62:	8b 75 18             	mov    0x18(%ebp),%esi                
  register Dual_ported_memory_Control *the_port;                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  115e65:	85 db                	test   %ebx,%ebx                      
  115e67:	74 1b                	je     115e84 <rtems_port_create+0x34>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
  115e69:	85 f6                	test   %esi,%esi                      
  115e6b:	74 08                	je     115e75 <rtems_port_create+0x25>
 *    id       - port id                                              
 *    RTEMS_SUCCESSFUL - if successful                                
 *    error code - if unsuccessful                                    
 */                                                                   
                                                                      
rtems_status_code rtems_port_create(                                  
  115e6d:	89 f8                	mov    %edi,%eax                      
  115e6f:	09 d0                	or     %edx,%eax                      
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_Addresses_Is_aligned( internal_start ) ||                    
  115e71:	a8 03                	test   $0x3,%al                       
  115e73:	74 1f                	je     115e94 <rtems_port_create+0x44>
       !_Addresses_Is_aligned( external_start ) )                     
    return RTEMS_INVALID_ADDRESS;                                     
  115e75:	b8 09 00 00 00       	mov    $0x9,%eax                      
  );                                                                  
                                                                      
  *id = the_port->Object.id;                                          
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  115e7a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  115e7d:	5b                   	pop    %ebx                           
  115e7e:	5e                   	pop    %esi                           
  115e7f:	5f                   	pop    %edi                           
  115e80:	c9                   	leave                                 
  115e81:	c3                   	ret                                   
  115e82:	66 90                	xchg   %ax,%ax                        
)                                                                     
{                                                                     
  register Dual_ported_memory_Control *the_port;                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
  115e84:	b8 03 00 00 00       	mov    $0x3,%eax                      
  );                                                                  
                                                                      
  *id = the_port->Object.id;                                          
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  115e89:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  115e8c:	5b                   	pop    %ebx                           
  115e8d:	5e                   	pop    %esi                           
  115e8e:	5f                   	pop    %edi                           
  115e8f:	c9                   	leave                                 
  115e90:	c3                   	ret                                   
  115e91:	8d 76 00             	lea    0x0(%esi),%esi                 
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  115e94:	a1 90 0a 14 00       	mov    0x140a90,%eax                  
  115e99:	40                   	inc    %eax                           
  115e9a:	a3 90 0a 14 00       	mov    %eax,0x140a90                  
 */                                                                   
RTEMS_INLINE_ROUTINE Dual_ported_memory_Control                       
   *_Dual_ported_memory_Allocate ( void )                             
{                                                                     
  return (Dual_ported_memory_Control *)                               
     _Objects_Allocate( &_Dual_ported_memory_Information );           
  115e9f:	83 ec 0c             	sub    $0xc,%esp                      
  115ea2:	68 e0 08 14 00       	push   $0x1408e0                      
  115ea7:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  115eaa:	e8 09 4e 00 00       	call   11acb8 <_Objects_Allocate>     
                                                                      
  _Thread_Disable_dispatch();             /* to prevent deletion */   
                                                                      
  the_port = _Dual_ported_memory_Allocate();                          
                                                                      
  if ( !the_port ) {                                                  
  115eaf:	83 c4 10             	add    $0x10,%esp                     
  115eb2:	85 c0                	test   %eax,%eax                      
  115eb4:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  115eb7:	74 33                	je     115eec <rtems_port_create+0x9c>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
                                                                      
  the_port->internal_base = internal_start;                           
  115eb9:	89 50 10             	mov    %edx,0x10(%eax)                
  the_port->external_base = external_start;                           
  115ebc:	89 78 14             	mov    %edi,0x14(%eax)                
  the_port->length        = length - 1;                               
  115ebf:	8b 55 14             	mov    0x14(%ebp),%edx                
  115ec2:	4a                   	dec    %edx                           
  115ec3:	89 50 18             	mov    %edx,0x18(%eax)                
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  115ec6:	8b 50 08             	mov    0x8(%eax),%edx                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  115ec9:	0f b7 fa             	movzwl %dx,%edi                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  115ecc:	8b 0d fc 08 14 00    	mov    0x1408fc,%ecx                  
  115ed2:	89 04 b9             	mov    %eax,(%ecx,%edi,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  115ed5:	89 58 0c             	mov    %ebx,0xc(%eax)                 
    &_Dual_ported_memory_Information,                                 
    &the_port->Object,                                                
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_port->Object.id;                                          
  115ed8:	89 16                	mov    %edx,(%esi)                    
  _Thread_Enable_dispatch();                                          
  115eda:	e8 55 5d 00 00       	call   11bc34 <_Thread_Enable_dispatch>
  return RTEMS_SUCCESSFUL;                                            
  115edf:	31 c0                	xor    %eax,%eax                      
}                                                                     
  115ee1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  115ee4:	5b                   	pop    %ebx                           
  115ee5:	5e                   	pop    %esi                           
  115ee6:	5f                   	pop    %edi                           
  115ee7:	c9                   	leave                                 
  115ee8:	c3                   	ret                                   
  115ee9:	8d 76 00             	lea    0x0(%esi),%esi                 
  _Thread_Disable_dispatch();             /* to prevent deletion */   
                                                                      
  the_port = _Dual_ported_memory_Allocate();                          
                                                                      
  if ( !the_port ) {                                                  
    _Thread_Enable_dispatch();                                        
  115eec:	e8 43 5d 00 00       	call   11bc34 <_Thread_Enable_dispatch>
    return RTEMS_TOO_MANY;                                            
  115ef1:	b8 05 00 00 00       	mov    $0x5,%eax                      
  115ef6:	eb 82                	jmp    115e7a <rtems_port_create+0x2a>
                                                                      

00115ef8 <rtems_port_delete>: */ rtems_status_code rtems_port_delete( rtems_id id ) {
  115ef8:	55                   	push   %ebp                           
  115ef9:	89 e5                	mov    %esp,%ebp                      
  115efb:	83 ec 2c             	sub    $0x2c,%esp                     
  register Dual_ported_memory_Control *the_port;                      
  Objects_Locations                    location;                      
                                                                      
  the_port = _Dual_ported_memory_Get( id, &location );                
  115efe:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Dual_ported_memory_Control *)                               
     _Objects_Get( &_Dual_ported_memory_Information, id, location );  
  115f01:	50                   	push   %eax                           
  115f02:	ff 75 08             	pushl  0x8(%ebp)                      
  115f05:	68 e0 08 14 00       	push   $0x1408e0                      
  115f0a:	e8 9d 52 00 00       	call   11b1ac <_Objects_Get>          
  switch ( location ) {                                               
  115f0f:	83 c4 10             	add    $0x10,%esp                     
  115f12:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  115f15:	85 c9                	test   %ecx,%ecx                      
  115f17:	75 2f                	jne    115f48 <rtems_port_delete+0x50>
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Close( &_Dual_ported_memory_Information, &the_port->Object );
  115f19:	83 ec 08             	sub    $0x8,%esp                      
  115f1c:	50                   	push   %eax                           
  115f1d:	68 e0 08 14 00       	push   $0x1408e0                      
  115f22:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  115f25:	e8 0a 4e 00 00       	call   11ad34 <_Objects_Close>        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Dual_ported_memory_Free (                  
   Dual_ported_memory_Control *the_port                               
)                                                                     
{                                                                     
  _Objects_Free( &_Dual_ported_memory_Information, &the_port->Object );
  115f2a:	58                   	pop    %eax                           
  115f2b:	5a                   	pop    %edx                           
  115f2c:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  115f2f:	50                   	push   %eax                           
  115f30:	68 e0 08 14 00       	push   $0x1408e0                      
  115f35:	e8 f6 50 00 00       	call   11b030 <_Objects_Free>         
      _Dual_ported_memory_Free( the_port );                           
      _Thread_Enable_dispatch();                                      
  115f3a:	e8 f5 5c 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  115f3f:	83 c4 10             	add    $0x10,%esp                     
  115f42:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  115f44:	c9                   	leave                                 
  115f45:	c3                   	ret                                   
  115f46:	66 90                	xchg   %ax,%ax                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  115f48:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  115f4d:	c9                   	leave                                 
  115f4e:	c3                   	ret                                   
                                                                      

00115f50 <rtems_port_external_to_internal>: rtems_status_code rtems_port_external_to_internal( rtems_id id, void *external, void **internal ) {
  115f50:	55                   	push   %ebp                           
  115f51:	89 e5                	mov    %esp,%ebp                      
  115f53:	56                   	push   %esi                           
  115f54:	53                   	push   %ebx                           
  115f55:	83 ec 10             	sub    $0x10,%esp                     
  115f58:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  115f5b:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  register Dual_ported_memory_Control *the_port;                      
  Objects_Locations                    location;                      
  uint32_t                             ending;                        
                                                                      
  if ( !internal )                                                    
  115f5e:	85 db                	test   %ebx,%ebx                      
  115f60:	74 4e                	je     115fb0 <rtems_port_external_to_internal+0x60>
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Dual_ported_memory_Control *)                               
     _Objects_Get( &_Dual_ported_memory_Information, id, location );  
  115f62:	51                   	push   %ecx                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_port = _Dual_ported_memory_Get( id, &location );                
  115f63:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  115f66:	50                   	push   %eax                           
  115f67:	ff 75 08             	pushl  0x8(%ebp)                      
  115f6a:	68 e0 08 14 00       	push   $0x1408e0                      
  115f6f:	e8 38 52 00 00       	call   11b1ac <_Objects_Get>          
  switch ( location ) {                                               
  115f74:	83 c4 10             	add    $0x10,%esp                     
  115f77:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  115f7a:	85 d2                	test   %edx,%edx                      
  115f7c:	74 0e                	je     115f8c <rtems_port_external_to_internal+0x3c>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  115f7e:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  115f83:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  115f86:	5b                   	pop    %ebx                           
  115f87:	5e                   	pop    %esi                           
  115f88:	c9                   	leave                                 
  115f89:	c3                   	ret                                   
  115f8a:	66 90                	xchg   %ax,%ax                        
RTEMS_INLINE_ROUTINE int32_t _Addresses_Subtract (                    
  const void *left,                                                   
  const void *right                                                   
)                                                                     
{                                                                     
  return (int32_t) ((const char *) left - (const char *) right);      
  115f8c:	89 f2                	mov    %esi,%edx                      
  115f8e:	2b 50 14             	sub    0x14(%eax),%edx                
                                                                      
  the_port = _Dual_ported_memory_Get( id, &location );                
  switch ( location ) {                                               
    case OBJECTS_LOCAL:                                               
      ending = _Addresses_Subtract( external, the_port->external_base );
      if ( ending > the_port->length )                                
  115f91:	3b 50 18             	cmp    0x18(%eax),%edx                
  115f94:	77 16                	ja     115fac <rtems_port_external_to_internal+0x5c>
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
  115f96:	03 50 10             	add    0x10(%eax),%edx                
  115f99:	89 13                	mov    %edx,(%ebx)                    
        *internal = external;                                         
      else                                                            
        *internal = _Addresses_Add_offset( the_port->internal_base,   
                                           ending );                  
      _Thread_Enable_dispatch();                                      
  115f9b:	e8 94 5c 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  115fa0:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  115fa2:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  115fa5:	5b                   	pop    %ebx                           
  115fa6:	5e                   	pop    %esi                           
  115fa7:	c9                   	leave                                 
  115fa8:	c3                   	ret                                   
  115fa9:	8d 76 00             	lea    0x0(%esi),%esi                 
  the_port = _Dual_ported_memory_Get( id, &location );                
  switch ( location ) {                                               
    case OBJECTS_LOCAL:                                               
      ending = _Addresses_Subtract( external, the_port->external_base );
      if ( ending > the_port->length )                                
        *internal = external;                                         
  115fac:	89 33                	mov    %esi,(%ebx)                    
  115fae:	eb eb                	jmp    115f9b <rtems_port_external_to_internal+0x4b>
  register Dual_ported_memory_Control *the_port;                      
  Objects_Locations                    location;                      
  uint32_t                             ending;                        
                                                                      
  if ( !internal )                                                    
    return RTEMS_INVALID_ADDRESS;                                     
  115fb0:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  115fb5:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  115fb8:	5b                   	pop    %ebx                           
  115fb9:	5e                   	pop    %esi                           
  115fba:	c9                   	leave                                 
  115fbb:	c3                   	ret                                   
                                                                      

00115fe0 <rtems_port_internal_to_external>: rtems_status_code rtems_port_internal_to_external( rtems_id id, void *internal, void **external ) {
  115fe0:	55                   	push   %ebp                           
  115fe1:	89 e5                	mov    %esp,%ebp                      
  115fe3:	56                   	push   %esi                           
  115fe4:	53                   	push   %ebx                           
  115fe5:	83 ec 10             	sub    $0x10,%esp                     
  115fe8:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  115feb:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  register Dual_ported_memory_Control *the_port;                      
  Objects_Locations                    location;                      
  uint32_t                             ending;                        
                                                                      
  if ( !external )                                                    
  115fee:	85 db                	test   %ebx,%ebx                      
  115ff0:	74 4e                	je     116040 <rtems_port_internal_to_external+0x60><== NEVER TAKEN
  115ff2:	51                   	push   %ecx                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_port = _Dual_ported_memory_Get( id, &location );                
  115ff3:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  115ff6:	50                   	push   %eax                           
  115ff7:	ff 75 08             	pushl  0x8(%ebp)                      
  115ffa:	68 e0 08 14 00       	push   $0x1408e0                      
  115fff:	e8 a8 51 00 00       	call   11b1ac <_Objects_Get>          
  switch ( location ) {                                               
  116004:	83 c4 10             	add    $0x10,%esp                     
  116007:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  11600a:	85 d2                	test   %edx,%edx                      
  11600c:	74 0e                	je     11601c <rtems_port_internal_to_external+0x3c>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  11600e:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  116013:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  116016:	5b                   	pop    %ebx                           
  116017:	5e                   	pop    %esi                           
  116018:	c9                   	leave                                 
  116019:	c3                   	ret                                   
  11601a:	66 90                	xchg   %ax,%ax                        
RTEMS_INLINE_ROUTINE int32_t _Addresses_Subtract (                    
  const void *left,                                                   
  const void *right                                                   
)                                                                     
{                                                                     
  return (int32_t) ((const char *) left - (const char *) right);      
  11601c:	89 f2                	mov    %esi,%edx                      
  11601e:	2b 50 10             	sub    0x10(%eax),%edx                
  the_port = _Dual_ported_memory_Get( id, &location );                
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      ending = _Addresses_Subtract( internal, the_port->internal_base );
      if ( ending > the_port->length )                                
  116021:	3b 50 18             	cmp    0x18(%eax),%edx                
  116024:	77 16                	ja     11603c <rtems_port_internal_to_external+0x5c>
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
  116026:	03 50 14             	add    0x14(%eax),%edx                
  116029:	89 13                	mov    %edx,(%ebx)                    
        *external = internal;                                         
      else                                                            
        *external = _Addresses_Add_offset( the_port->external_base,   
                                           ending );                  
      _Thread_Enable_dispatch();                                      
  11602b:	e8 04 5c 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  116030:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116032:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  116035:	5b                   	pop    %ebx                           
  116036:	5e                   	pop    %esi                           
  116037:	c9                   	leave                                 
  116038:	c3                   	ret                                   
  116039:	8d 76 00             	lea    0x0(%esi),%esi                 
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      ending = _Addresses_Subtract( internal, the_port->internal_base );
      if ( ending > the_port->length )                                
        *external = internal;                                         
  11603c:	89 33                	mov    %esi,(%ebx)                    
  11603e:	eb eb                	jmp    11602b <rtems_port_internal_to_external+0x4b>
  register Dual_ported_memory_Control *the_port;                      
  Objects_Locations                    location;                      
  uint32_t                             ending;                        
                                                                      
  if ( !external )                                                    
    return RTEMS_INVALID_ADDRESS;                                     
  116040:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116045:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  116048:	5b                   	pop    %ebx                           
  116049:	5e                   	pop    %esi                           
  11604a:	c9                   	leave                                 
  11604b:	c3                   	ret                                   
                                                                      

00107830 <rtems_print_buffer>: void rtems_print_buffer( const unsigned char *buffer, int length ) {
  107830:	55                   	push   %ebp                           
  107831:	89 e5                	mov    %esp,%ebp                      
  107833:	57                   	push   %edi                           
  107834:	56                   	push   %esi                           
  107835:	53                   	push   %ebx                           
  107836:	81 ec 9c 00 00 00    	sub    $0x9c,%esp                     
  10783c:	8b 75 0c             	mov    0xc(%ebp),%esi                 
                                                                      
  int i, mod, max;                                                    
                                                                      
  if ( !length ) return;                                              
  10783f:	85 f6                	test   %esi,%esi                      
  107841:	0f 84 00 01 00 00    	je     107947 <rtems_print_buffer+0x117>
                                                                      
  mod = length % 16;                                                  
  107847:	89 f0                	mov    %esi,%eax                      
  107849:	25 0f 00 00 80       	and    $0x8000000f,%eax               
  10784e:	89 85 60 ff ff ff    	mov    %eax,-0xa0(%ebp)               
  107854:	0f 88 21 02 00 00    	js     107a7b <rtems_print_buffer+0x24b>
  10785a:	8b 85 60 ff ff ff    	mov    -0xa0(%ebp),%eax               
  107860:	89 85 58 ff ff ff    	mov    %eax,-0xa8(%ebp)               
                                                                      
  max = length - mod;                                                 
  107866:	29 c6                	sub    %eax,%esi                      
  107868:	89 b5 5c ff ff ff    	mov    %esi,-0xa4(%ebp)               
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
  10786e:	85 f6                	test   %esi,%esi                      
  107870:	0f 8e c7 00 00 00    	jle    10793d <rtems_print_buffer+0x10d>
  107876:	c7 85 64 ff ff ff 00 	movl   $0x0,-0x9c(%ebp)               
  10787d:	00 00 00                                                    
  107880:	8d 9d 70 ff ff ff    	lea    -0x90(%ebp),%ebx               
  107886:	66 90                	xchg   %ax,%ax                        
static inline void Dump_Line(                                         
  const unsigned char *buffer,                                        
  int                  length                                         
);                                                                    
                                                                      
void rtems_print_buffer(                                              
  107888:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10788b:	03 b5 64 ff ff ff    	add    -0x9c(%ebp),%esi               
{                                                                     
                                                                      
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
  107891:	c6 85 70 ff ff ff 00 	movb   $0x0,-0x90(%ebp)               
                                                                      
  for( i=0 ; i<length ; i++ )                                         
  107898:	31 ff                	xor    %edi,%edi                      
  10789a:	66 90                	xchg   %ax,%ax                        
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
  10789c:	0f b6 04 3e          	movzbl (%esi,%edi,1),%eax             
  1078a0:	50                   	push   %eax                           
  1078a1:	53                   	push   %ebx                           
  1078a2:	68 f3 fb 11 00       	push   $0x11fbf3                      
  1078a7:	53                   	push   %ebx                           
  1078a8:	e8 77 b6 00 00       	call   112f24 <sprintf>               
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
  1078ad:	47                   	inc    %edi                           
  1078ae:	83 c4 10             	add    $0x10,%esp                     
  1078b1:	83 ff 10             	cmp    $0x10,%edi                     
  1078b4:	75 e6                	jne    10789c <rtems_print_buffer+0x6c>
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  1078b6:	31 c0                	xor    %eax,%eax                      
  1078b8:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  1078bd:	89 df                	mov    %ebx,%edi                      
  1078bf:	f2 ae                	repnz scas %es:(%edi),%al             
  1078c1:	f7 d1                	not    %ecx                           
  1078c3:	66 c7 44 0b ff 7c 00 	movw   $0x7c,-0x1(%ebx,%ecx,1)        
  for( i=0 ; i<length ; i++ )                                         
  1078ca:	31 ff                	xor    %edi,%edi                      
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
  1078cc:	0f b6 04 3e          	movzbl (%esi,%edi,1),%eax             
  1078d0:	8b 15 14 42 12 00    	mov    0x124214,%edx                  
  1078d6:	0f be 54 02 01       	movsbl 0x1(%edx,%eax,1),%edx          
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
  1078db:	81 e2 97 00 00 00    	and    $0x97,%edx                     
  1078e1:	75 05                	jne    1078e8 <rtems_print_buffer+0xb8>
  1078e3:	b8 2e 00 00 00       	mov    $0x2e,%eax                     
  1078e8:	50                   	push   %eax                           
  1078e9:	53                   	push   %ebx                           
  1078ea:	68 fb fb 11 00       	push   $0x11fbfb                      
  1078ef:	53                   	push   %ebx                           
  1078f0:	e8 2f b6 00 00       	call   112f24 <sprintf>               
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
  1078f5:	47                   	inc    %edi                           
  1078f6:	83 c4 10             	add    $0x10,%esp                     
  1078f9:	83 ff 10             	cmp    $0x10,%edi                     
  1078fc:	75 ce                	jne    1078cc <rtems_print_buffer+0x9c>
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
  1078fe:	31 c0                	xor    %eax,%eax                      
  107900:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  107905:	89 df                	mov    %ebx,%edi                      
  107907:	f2 ae                	repnz scas %es:(%edi),%al             
  107909:	f7 d1                	not    %ecx                           
  10790b:	8d 44 0b ff          	lea    -0x1(%ebx,%ecx,1),%eax         
  10790f:	66 c7 00 7c 0a       	movw   $0xa7c,(%eax)                  
  107914:	c6 40 02 00          	movb   $0x0,0x2(%eax)                 
                                                                      
  printk( line_buffer );                                              
  107918:	83 ec 0c             	sub    $0xc,%esp                      
  10791b:	53                   	push   %ebx                           
  10791c:	e8 17 18 00 00       	call   109138 <printk>                
                                                                      
  mod = length % 16;                                                  
                                                                      
  max = length - mod;                                                 
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
  107921:	83 85 64 ff ff ff 10 	addl   $0x10,-0x9c(%ebp)              
  107928:	83 c4 10             	add    $0x10,%esp                     
  10792b:	8b 85 64 ff ff ff    	mov    -0x9c(%ebp),%eax               
  107931:	39 85 5c ff ff ff    	cmp    %eax,-0xa4(%ebp)               
  107937:	0f 8f 4b ff ff ff    	jg     107888 <rtems_print_buffer+0x58>
    Dump_Line( &buffer[ i ], 16 );                                    
                                                                      
  if ( mod )                                                          
  10793d:	8b 8d 60 ff ff ff    	mov    -0xa0(%ebp),%ecx               
  107943:	85 c9                	test   %ecx,%ecx                      
  107945:	75 08                	jne    10794f <rtems_print_buffer+0x11f>
    Dump_Line( &buffer[ max ], mod );                                 
}                                                                     
  107947:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10794a:	5b                   	pop    %ebx                           
  10794b:	5e                   	pop    %esi                           
  10794c:	5f                   	pop    %edi                           
  10794d:	c9                   	leave                                 
  10794e:	c3                   	ret                                   
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
    Dump_Line( &buffer[ i ], 16 );                                    
                                                                      
  if ( mod )                                                          
    Dump_Line( &buffer[ max ], mod );                                 
  10794f:	8b 75 08             	mov    0x8(%ebp),%esi                 
  107952:	03 b5 5c ff ff ff    	add    -0xa4(%ebp),%esi               
{                                                                     
                                                                      
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
  107958:	c6 85 70 ff ff ff 00 	movb   $0x0,-0x90(%ebp)               
                                                                      
  for( i=0 ; i<length ; i++ )                                         
  10795f:	8b 95 60 ff ff ff    	mov    -0xa0(%ebp),%edx               
  107965:	85 d2                	test   %edx,%edx                      
  107967:	0f 8e 2a 01 00 00    	jle    107a97 <rtems_print_buffer+0x267>
  10796d:	31 ff                	xor    %edi,%edi                      
  10796f:	8d 9d 70 ff ff ff    	lea    -0x90(%ebp),%ebx               
  107975:	8d 76 00             	lea    0x0(%esi),%esi                 
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
  107978:	0f b6 04 3e          	movzbl (%esi,%edi,1),%eax             
  10797c:	50                   	push   %eax                           
  10797d:	53                   	push   %ebx                           
  10797e:	68 f3 fb 11 00       	push   $0x11fbf3                      
  107983:	53                   	push   %ebx                           
  107984:	e8 9b b5 00 00       	call   112f24 <sprintf>               
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
  107989:	47                   	inc    %edi                           
  10798a:	83 c4 10             	add    $0x10,%esp                     
  10798d:	39 bd 60 ff ff ff    	cmp    %edi,-0xa0(%ebp)               
  107993:	7f e3                	jg     107978 <rtems_print_buffer+0x148>
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
  107995:	83 bd 60 ff ff ff 0f 	cmpl   $0xf,-0xa0(%ebp)               
  10799c:	0f 8f 02 01 00 00    	jg     107aa4 <rtems_print_buffer+0x274><== NEVER TAKEN
  1079a2:	8b 95 60 ff ff ff    	mov    -0xa0(%ebp),%edx               
    strcat( line_buffer, "   " );                                     
  1079a8:	31 c0                	xor    %eax,%eax                      
  1079aa:	66 90                	xchg   %ax,%ax                        
  1079ac:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  1079b1:	89 df                	mov    %ebx,%edi                      
  1079b3:	f2 ae                	repnz scas %es:(%edi),%al             
  1079b5:	f7 d1                	not    %ecx                           
  1079b7:	c7 44 0b ff 20 20 20 	movl   $0x202020,-0x1(%ebx,%ecx,1)    
  1079be:	00                                                          
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
  1079bf:	42                   	inc    %edx                           
  1079c0:	83 fa 0f             	cmp    $0xf,%edx                      
  1079c3:	7e e7                	jle    1079ac <rtems_print_buffer+0x17c>
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  1079c5:	31 c0                	xor    %eax,%eax                      
  1079c7:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  1079cc:	89 df                	mov    %ebx,%edi                      
  1079ce:	f2 ae                	repnz scas %es:(%edi),%al             
  1079d0:	f7 d1                	not    %ecx                           
  1079d2:	66 c7 44 0b ff 7c 00 	movw   $0x7c,-0x1(%ebx,%ecx,1)        
  for( i=0 ; i<length ; i++ )                                         
  1079d9:	8b 85 60 ff ff ff    	mov    -0xa0(%ebp),%eax               
  1079df:	85 c0                	test   %eax,%eax                      
  1079e1:	0f 8e a4 00 00 00    	jle    107a8b <rtems_print_buffer+0x25b>
  1079e7:	31 ff                	xor    %edi,%edi                      
  1079e9:	8d 76 00             	lea    0x0(%esi),%esi                 
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
  1079ec:	0f b6 04 3e          	movzbl (%esi,%edi,1),%eax             
  1079f0:	8b 15 14 42 12 00    	mov    0x124214,%edx                  
  1079f6:	0f be 54 02 01       	movsbl 0x1(%edx,%eax,1),%edx          
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
  1079fb:	81 e2 97 00 00 00    	and    $0x97,%edx                     
  107a01:	75 05                	jne    107a08 <rtems_print_buffer+0x1d8>
  107a03:	b8 2e 00 00 00       	mov    $0x2e,%eax                     
  107a08:	50                   	push   %eax                           
  107a09:	53                   	push   %ebx                           
  107a0a:	68 fb fb 11 00       	push   $0x11fbfb                      
  107a0f:	53                   	push   %ebx                           
  107a10:	e8 0f b5 00 00       	call   112f24 <sprintf>               
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
  107a15:	47                   	inc    %edi                           
  107a16:	83 c4 10             	add    $0x10,%esp                     
  107a19:	39 bd 60 ff ff ff    	cmp    %edi,-0xa0(%ebp)               
  107a1f:	7f cb                	jg     1079ec <rtems_print_buffer+0x1bc>
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
  107a21:	83 bd 60 ff ff ff 0f 	cmpl   $0xf,-0xa0(%ebp)               
  107a28:	7f 23                	jg     107a4d <rtems_print_buffer+0x21d><== NEVER TAKEN
    strcat( line_buffer, " " );                                       
  107a2a:	ba ff ff ff ff       	mov    $0xffffffff,%edx               
  107a2f:	31 c0                	xor    %eax,%eax                      
  107a31:	8b b5 58 ff ff ff    	mov    -0xa8(%ebp),%esi               
  107a37:	90                   	nop                                   
  107a38:	89 d1                	mov    %edx,%ecx                      
  107a3a:	89 df                	mov    %ebx,%edi                      
  107a3c:	f2 ae                	repnz scas %es:(%edi),%al             
  107a3e:	f7 d1                	not    %ecx                           
  107a40:	66 c7 44 0b ff 20 00 	movw   $0x20,-0x1(%ebx,%ecx,1)        
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
  107a47:	46                   	inc    %esi                           
  107a48:	83 fe 0f             	cmp    $0xf,%esi                      
  107a4b:	7e eb                	jle    107a38 <rtems_print_buffer+0x208>
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
  107a4d:	31 c0                	xor    %eax,%eax                      
  107a4f:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  107a54:	89 df                	mov    %ebx,%edi                      
  107a56:	f2 ae                	repnz scas %es:(%edi),%al             
  107a58:	f7 d1                	not    %ecx                           
  107a5a:	8d 44 0b ff          	lea    -0x1(%ebx,%ecx,1),%eax         
  107a5e:	66 c7 00 7c 0a       	movw   $0xa7c,(%eax)                  
  107a63:	c6 40 02 00          	movb   $0x0,0x2(%eax)                 
                                                                      
  printk( line_buffer );                                              
  107a67:	83 ec 0c             	sub    $0xc,%esp                      
  107a6a:	53                   	push   %ebx                           
  107a6b:	e8 c8 16 00 00       	call   109138 <printk>                
  107a70:	83 c4 10             	add    $0x10,%esp                     
  for ( i=0 ; i<max ; i+=16 )                                         
    Dump_Line( &buffer[ i ], 16 );                                    
                                                                      
  if ( mod )                                                          
    Dump_Line( &buffer[ max ], mod );                                 
}                                                                     
  107a73:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107a76:	5b                   	pop    %ebx                           
  107a77:	5e                   	pop    %esi                           
  107a78:	5f                   	pop    %edi                           
  107a79:	c9                   	leave                                 
  107a7a:	c3                   	ret                                   
                                                                      
  int i, mod, max;                                                    
                                                                      
  if ( !length ) return;                                              
                                                                      
  mod = length % 16;                                                  
  107a7b:	48                   	dec    %eax                           
  107a7c:	83 c8 f0             	or     $0xfffffff0,%eax               
  107a7f:	40                   	inc    %eax                           
  107a80:	89 85 60 ff ff ff    	mov    %eax,-0xa0(%ebp)               
  107a86:	e9 cf fd ff ff       	jmp    10785a <rtems_print_buffer+0x2a>
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
  107a8b:	c7 85 58 ff ff ff 00 	movl   $0x0,-0xa8(%ebp)               
  107a92:	00 00 00                                                    
  107a95:	eb 93                	jmp    107a2a <rtems_print_buffer+0x1fa>
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
  107a97:	31 d2                	xor    %edx,%edx                      
  107a99:	8d 9d 70 ff ff ff    	lea    -0x90(%ebp),%ebx               
  107a9f:	e9 04 ff ff ff       	jmp    1079a8 <rtems_print_buffer+0x178>
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  107aa4:	31 c0                	xor    %eax,%eax                      
  107aa6:	83 c9 ff             	or     $0xffffffff,%ecx               <== NOT EXECUTED
  107aa9:	89 df                	mov    %ebx,%edi                      <== NOT EXECUTED
  107aab:	f2 ae                	repnz scas %es:(%edi),%al             <== NOT EXECUTED
  107aad:	f7 d1                	not    %ecx                           <== NOT EXECUTED
  107aaf:	66 c7 44 0b ff 7c 00 	movw   $0x7c,-0x1(%ebx,%ecx,1)        <== NOT EXECUTED
  107ab6:	e9 2c ff ff ff       	jmp    1079e7 <rtems_print_buffer+0x1b7><== NOT EXECUTED
                                                                      

00116ab8 <rtems_rate_monotonic_cancel>: */ rtems_status_code rtems_rate_monotonic_cancel( rtems_id id ) {
  116ab8:	55                   	push   %ebp                           
  116ab9:	89 e5                	mov    %esp,%ebp                      
  116abb:	53                   	push   %ebx                           
  116abc:	83 ec 18             	sub    $0x18,%esp                     
  Rate_monotonic_Control *the_period;                                 
  Objects_Locations       location;                                   
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  116abf:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
    _Objects_Get( &_Rate_monotonic_Information, id, location );       
  116ac2:	50                   	push   %eax                           
  116ac3:	ff 75 08             	pushl  0x8(%ebp)                      
  116ac6:	68 60 09 14 00       	push   $0x140960                      
  116acb:	e8 dc 46 00 00       	call   11b1ac <_Objects_Get>          
  116ad0:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  116ad2:	83 c4 10             	add    $0x10,%esp                     
  116ad5:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  116ad8:	85 c0                	test   %eax,%eax                      
  116ada:	74 0c                	je     116ae8 <rtems_rate_monotonic_cancel+0x30>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  116adc:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  116ae1:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  116ae4:	c9                   	leave                                 
  116ae5:	c3                   	ret                                   
  116ae6:	66 90                	xchg   %ax,%ax                        
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
  116ae8:	a1 58 0d 14 00       	mov    0x140d58,%eax                  
  116aed:	39 43 40             	cmp    %eax,0x40(%ebx)                
  116af0:	74 12                	je     116b04 <rtems_rate_monotonic_cancel+0x4c>
        _Thread_Enable_dispatch();                                    
  116af2:	e8 3d 51 00 00       	call   11bc34 <_Thread_Enable_dispatch>
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
  116af7:	b8 17 00 00 00       	mov    $0x17,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116afc:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  116aff:	c9                   	leave                                 
  116b00:	c3                   	ret                                   
  116b01:	8d 76 00             	lea    0x0(%esi),%esi                 
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
      (void) _Watchdog_Remove( &the_period->Timer );                  
  116b04:	83 ec 0c             	sub    $0xc,%esp                      
  116b07:	8d 43 10             	lea    0x10(%ebx),%eax                
  116b0a:	50                   	push   %eax                           
  116b0b:	e8 a4 62 00 00       	call   11cdb4 <_Watchdog_Remove>      
      the_period->state = RATE_MONOTONIC_INACTIVE;                    
  116b10:	c7 43 38 00 00 00 00 	movl   $0x0,0x38(%ebx)                
      _Thread_Enable_dispatch();                                      
  116b17:	e8 18 51 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  116b1c:	83 c4 10             	add    $0x10,%esp                     
  116b1f:	31 c0                	xor    %eax,%eax                      
  116b21:	eb be                	jmp    116ae1 <rtems_rate_monotonic_cancel+0x29>
                                                                      

0010c340 <rtems_rate_monotonic_create>: rtems_status_code rtems_rate_monotonic_create( rtems_name name, rtems_id *id ) {
  10c340:	55                   	push   %ebp                           
  10c341:	89 e5                	mov    %esp,%ebp                      
  10c343:	57                   	push   %edi                           
  10c344:	56                   	push   %esi                           
  10c345:	53                   	push   %ebx                           
  10c346:	83 ec 1c             	sub    $0x1c,%esp                     
  10c349:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10c34c:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  Rate_monotonic_Control *the_period;                                 
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  10c34f:	85 db                	test   %ebx,%ebx                      
  10c351:	0f 84 a9 00 00 00    	je     10c400 <rtems_rate_monotonic_create+0xc0>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
  10c357:	85 f6                	test   %esi,%esi                      
  10c359:	0f 84 c5 00 00 00    	je     10c424 <rtems_rate_monotonic_create+0xe4>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10c35f:	a1 90 85 12 00       	mov    0x128590,%eax                  
  10c364:	40                   	inc    %eax                           
  10c365:	a3 90 85 12 00       	mov    %eax,0x128590                  
 *  the inactive chain of free period control blocks.                 
 */                                                                   
RTEMS_INLINE_ROUTINE Rate_monotonic_Control *_Rate_monotonic_Allocate( void )
{                                                                     
  return (Rate_monotonic_Control *)                                   
    _Objects_Allocate( &_Rate_monotonic_Information );                
  10c36a:	83 ec 0c             	sub    $0xc,%esp                      
  10c36d:	68 a0 84 12 00       	push   $0x1284a0                      
  10c372:	e8 51 1e 00 00       	call   10e1c8 <_Objects_Allocate>     
  10c377:	89 c2                	mov    %eax,%edx                      
                                                                      
  _Thread_Disable_dispatch();            /* to prevent deletion */    
                                                                      
  the_period = _Rate_monotonic_Allocate();                            
                                                                      
  if ( !the_period ) {                                                
  10c379:	83 c4 10             	add    $0x10,%esp                     
  10c37c:	85 c0                	test   %eax,%eax                      
  10c37e:	0f 84 8c 00 00 00    	je     10c410 <rtems_rate_monotonic_create+0xd0>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
                                                                      
  the_period->owner = _Thread_Executing;                              
  10c384:	a1 58 88 12 00       	mov    0x128858,%eax                  
  10c389:	89 42 40             	mov    %eax,0x40(%edx)                
  the_period->state = RATE_MONOTONIC_INACTIVE;                        
  10c38c:	c7 42 38 00 00 00 00 	movl   $0x0,0x38(%edx)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10c393:	c7 42 18 00 00 00 00 	movl   $0x0,0x18(%edx)                
  the_watchdog->routine   = routine;                                  
  10c39a:	c7 42 2c 00 00 00 00 	movl   $0x0,0x2c(%edx)                
  the_watchdog->id        = id;                                       
  10c3a1:	c7 42 30 00 00 00 00 	movl   $0x0,0x30(%edx)                
  the_watchdog->user_data = user_data;                                
  10c3a8:	c7 42 34 00 00 00 00 	movl   $0x0,0x34(%edx)                
                                                                      
  _Watchdog_Initialize( &the_period->Timer, NULL, 0, NULL );          
                                                                      
  _Rate_monotonic_Reset_statistics( the_period );                     
  10c3af:	8d 42 54             	lea    0x54(%edx),%eax                
  10c3b2:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  10c3b5:	b9 38 00 00 00       	mov    $0x38,%ecx                     
  10c3ba:	31 c0                	xor    %eax,%eax                      
  10c3bc:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  10c3bf:	f3 aa                	rep stos %al,%es:(%edi)               
  10c3c1:	c7 42 5c ff ff ff 7f 	movl   $0x7fffffff,0x5c(%edx)         
  10c3c8:	c7 42 60 ff ff ff 7f 	movl   $0x7fffffff,0x60(%edx)         
  10c3cf:	c7 42 74 ff ff ff 7f 	movl   $0x7fffffff,0x74(%edx)         
  10c3d6:	c7 42 78 ff ff ff 7f 	movl   $0x7fffffff,0x78(%edx)         
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  10c3dd:	8b 42 08             	mov    0x8(%edx),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10c3e0:	0f b7 f8             	movzwl %ax,%edi                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10c3e3:	8b 0d bc 84 12 00    	mov    0x1284bc,%ecx                  
  10c3e9:	89 14 b9             	mov    %edx,(%ecx,%edi,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  10c3ec:	89 5a 0c             	mov    %ebx,0xc(%edx)                 
    &_Rate_monotonic_Information,                                     
    &the_period->Object,                                              
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_period->Object.id;                                        
  10c3ef:	89 06                	mov    %eax,(%esi)                    
  _Thread_Enable_dispatch();                                          
  10c3f1:	e8 e2 2d 00 00       	call   10f1d8 <_Thread_Enable_dispatch>
  return RTEMS_SUCCESSFUL;                                            
  10c3f6:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10c3f8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c3fb:	5b                   	pop    %ebx                           
  10c3fc:	5e                   	pop    %esi                           
  10c3fd:	5f                   	pop    %edi                           
  10c3fe:	c9                   	leave                                 
  10c3ff:	c3                   	ret                                   
)                                                                     
{                                                                     
  Rate_monotonic_Control *the_period;                                 
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
  10c400:	b8 03 00 00 00       	mov    $0x3,%eax                      
  );                                                                  
                                                                      
  *id = the_period->Object.id;                                        
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10c405:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c408:	5b                   	pop    %ebx                           
  10c409:	5e                   	pop    %esi                           
  10c40a:	5f                   	pop    %edi                           
  10c40b:	c9                   	leave                                 
  10c40c:	c3                   	ret                                   
  10c40d:	8d 76 00             	lea    0x0(%esi),%esi                 
  _Thread_Disable_dispatch();            /* to prevent deletion */    
                                                                      
  the_period = _Rate_monotonic_Allocate();                            
                                                                      
  if ( !the_period ) {                                                
    _Thread_Enable_dispatch();                                        
  10c410:	e8 c3 2d 00 00       	call   10f1d8 <_Thread_Enable_dispatch>
    return RTEMS_TOO_MANY;                                            
  10c415:	b8 05 00 00 00       	mov    $0x5,%eax                      
  );                                                                  
                                                                      
  *id = the_period->Object.id;                                        
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10c41a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c41d:	5b                   	pop    %ebx                           
  10c41e:	5e                   	pop    %esi                           
  10c41f:	5f                   	pop    %edi                           
  10c420:	c9                   	leave                                 
  10c421:	c3                   	ret                                   
  10c422:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
  10c424:	b8 09 00 00 00       	mov    $0x9,%eax                      
  );                                                                  
                                                                      
  *id = the_period->Object.id;                                        
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10c429:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c42c:	5b                   	pop    %ebx                           
  10c42d:	5e                   	pop    %esi                           
  10c42e:	5f                   	pop    %edi                           
  10c42f:	c9                   	leave                                 
  10c430:	c3                   	ret                                   
                                                                      

00111d94 <rtems_rate_monotonic_get_status>: rtems_status_code rtems_rate_monotonic_get_status( rtems_id id, rtems_rate_monotonic_period_status *status ) {
  111d94:	55                   	push   %ebp                           
  111d95:	89 e5                	mov    %esp,%ebp                      
  111d97:	53                   	push   %ebx                           
  111d98:	83 ec 24             	sub    $0x24,%esp                     
  111d9b:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Locations              location;                            
  Rate_monotonic_Period_time_t   since_last_period;                   
  Rate_monotonic_Control        *the_period;                          
  bool                           valid_status;                        
                                                                      
  if ( !status )                                                      
  111d9e:	85 db                	test   %ebx,%ebx                      
  111da0:	0f 84 92 00 00 00    	je     111e38 <rtems_rate_monotonic_get_status+0xa4>
  111da6:	50                   	push   %eax                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  111da7:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  111daa:	50                   	push   %eax                           
  111dab:	ff 75 08             	pushl  0x8(%ebp)                      
  111dae:	68 a0 84 12 00       	push   $0x1284a0                      
  111db3:	e8 98 c9 ff ff       	call   10e750 <_Objects_Get>          
  switch ( location ) {                                               
  111db8:	83 c4 10             	add    $0x10,%esp                     
  111dbb:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  111dbe:	85 c9                	test   %ecx,%ecx                      
  111dc0:	74 0a                	je     111dcc <rtems_rate_monotonic_get_status+0x38>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  111dc2:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  111dc7:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  111dca:	c9                   	leave                                 
  111dcb:	c3                   	ret                                   
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      status->owner = the_period->owner->Object.id;                   
  111dcc:	8b 50 40             	mov    0x40(%eax),%edx                
  111dcf:	8b 52 08             	mov    0x8(%edx),%edx                 
  111dd2:	89 13                	mov    %edx,(%ebx)                    
      status->state = the_period->state;                              
  111dd4:	8b 50 38             	mov    0x38(%eax),%edx                
  111dd7:	89 53 04             	mov    %edx,0x4(%ebx)                 
                                                                      
      /*                                                              
       *  If the period is inactive, there is no information.         
       */                                                             
      if ( status->state == RATE_MONOTONIC_INACTIVE ) {               
  111dda:	85 d2                	test   %edx,%edx                      
  111ddc:	75 2a                	jne    111e08 <rtems_rate_monotonic_get_status+0x74>
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          _Timespec_Set_to_zero( &status->since_last_period );        
  111dde:	c7 43 08 00 00 00 00 	movl   $0x0,0x8(%ebx)                 
  111de5:	c7 43 0c 00 00 00 00 	movl   $0x0,0xc(%ebx)                 
          _Timespec_Set_to_zero( &status->executed_since_last_period );
  111dec:	c7 43 10 00 00 00 00 	movl   $0x0,0x10(%ebx)                
  111df3:	c7 43 14 00 00 00 00 	movl   $0x0,0x14(%ebx)                
          status->since_last_period = since_last_period;              
          status->executed_since_last_period = executed;              
        #endif                                                        
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
  111dfa:	e8 d9 d3 ff ff       	call   10f1d8 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  111dff:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  111e01:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  111e04:	c9                   	leave                                 
  111e05:	c3                   	ret                                   
  111e06:	66 90                	xchg   %ax,%ax                        
      } else {                                                        
                                                                      
        /*                                                            
         *  Grab the current status.                                  
         */                                                           
        valid_status =                                                
  111e08:	52                   	push   %edx                           
          _Rate_monotonic_Get_status(                                 
  111e09:	8d 55 ec             	lea    -0x14(%ebp),%edx               
      } else {                                                        
                                                                      
        /*                                                            
         *  Grab the current status.                                  
         */                                                           
        valid_status =                                                
  111e0c:	52                   	push   %edx                           
          _Rate_monotonic_Get_status(                                 
  111e0d:	8d 55 e4             	lea    -0x1c(%ebp),%edx               
      } else {                                                        
                                                                      
        /*                                                            
         *  Grab the current status.                                  
         */                                                           
        valid_status =                                                
  111e10:	52                   	push   %edx                           
  111e11:	50                   	push   %eax                           
  111e12:	e8 41 a6 ff ff       	call   10c458 <_Rate_monotonic_Get_status>
          _Rate_monotonic_Get_status(                                 
            the_period, &since_last_period, &executed                 
          );                                                          
        if (!valid_status) {                                          
  111e17:	83 c4 10             	add    $0x10,%esp                     
  111e1a:	84 c0                	test   %al,%al                        
  111e1c:	74 26                	je     111e44 <rtems_rate_monotonic_get_status+0xb0>
          _Thread_Enable_dispatch();                                  
          return RTEMS_NOT_DEFINED;                                   
        }                                                             
                                                                      
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          _Timestamp_To_timespec(                                     
  111e1e:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  111e21:	8b 55 e8             	mov    -0x18(%ebp),%edx               
  111e24:	89 43 08             	mov    %eax,0x8(%ebx)                 
  111e27:	89 53 0c             	mov    %edx,0xc(%ebx)                 
            &since_last_period, &status->since_last_period            
          );                                                          
          _Timestamp_To_timespec(                                     
  111e2a:	8b 45 ec             	mov    -0x14(%ebp),%eax               
  111e2d:	8b 55 f0             	mov    -0x10(%ebp),%edx               
  111e30:	89 43 10             	mov    %eax,0x10(%ebx)                
  111e33:	89 53 14             	mov    %edx,0x14(%ebx)                
  111e36:	eb c2                	jmp    111dfa <rtems_rate_monotonic_get_status+0x66>
  Rate_monotonic_Period_time_t   since_last_period;                   
  Rate_monotonic_Control        *the_period;                          
  bool                           valid_status;                        
                                                                      
  if ( !status )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
  111e38:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  111e3d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  111e40:	c9                   	leave                                 
  111e41:	c3                   	ret                                   
  111e42:	66 90                	xchg   %ax,%ax                        
        valid_status =                                                
          _Rate_monotonic_Get_status(                                 
            the_period, &since_last_period, &executed                 
          );                                                          
        if (!valid_status) {                                          
          _Thread_Enable_dispatch();                                  
  111e44:	e8 8f d3 ff ff       	call   10f1d8 <_Thread_Enable_dispatch>
          return RTEMS_NOT_DEFINED;                                   
  111e49:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  111e4e:	e9 74 ff ff ff       	jmp    111dc7 <rtems_rate_monotonic_get_status+0x33>
                                                                      

0010c654 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
  10c654:	55                   	push   %ebp                           
  10c655:	89 e5                	mov    %esp,%ebp                      
  10c657:	57                   	push   %edi                           
  10c658:	56                   	push   %esi                           
  10c659:	53                   	push   %ebx                           
  10c65a:	83 ec 30             	sub    $0x30,%esp                     
  10c65d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10c660:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  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 );                  
  10c663:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
    _Objects_Get( &_Rate_monotonic_Information, id, location );       
  10c666:	50                   	push   %eax                           
  10c667:	53                   	push   %ebx                           
  10c668:	68 a0 84 12 00       	push   $0x1284a0                      
  10c66d:	e8 de 20 00 00       	call   10e750 <_Objects_Get>          
                                                                      
  switch ( location ) {                                               
  10c672:	83 c4 10             	add    $0x10,%esp                     
  10c675:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10c678:	85 d2                	test   %edx,%edx                      
  10c67a:	74 10                	je     10c68c <rtems_rate_monotonic_period+0x38>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10c67c:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10c681:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c684:	5b                   	pop    %ebx                           
  10c685:	5e                   	pop    %esi                           
  10c686:	5f                   	pop    %edi                           
  10c687:	c9                   	leave                                 
  10c688:	c3                   	ret                                   
  10c689:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
  10c68c:	8b 15 58 88 12 00    	mov    0x128858,%edx                  
  10c692:	39 50 40             	cmp    %edx,0x40(%eax)                
  10c695:	74 15                	je     10c6ac <rtems_rate_monotonic_period+0x58>
        _Thread_Enable_dispatch();                                    
  10c697:	e8 3c 2b 00 00       	call   10f1d8 <_Thread_Enable_dispatch>
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
  10c69c:	b8 17 00 00 00       	mov    $0x17,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c6a1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c6a4:	5b                   	pop    %ebx                           
  10c6a5:	5e                   	pop    %esi                           
  10c6a6:	5f                   	pop    %edi                           
  10c6a7:	c9                   	leave                                 
  10c6a8:	c3                   	ret                                   
  10c6a9:	8d 76 00             	lea    0x0(%esi),%esi                 
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
  10c6ac:	85 f6                	test   %esi,%esi                      
  10c6ae:	75 1c                	jne    10c6cc <rtems_rate_monotonic_period+0x78>
        switch ( the_period->state ) {                                
  10c6b0:	8b 40 38             	mov    0x38(%eax),%eax                
  10c6b3:	83 f8 04             	cmp    $0x4,%eax                      
  10c6b6:	77 6c                	ja     10c724 <rtems_rate_monotonic_period+0xd0><== NEVER TAKEN
  10c6b8:	8b 04 85 3c 20 12 00 	mov    0x12203c(,%eax,4),%eax         
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
  10c6bf:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10c6c2:	e8 11 2b 00 00       	call   10f1d8 <_Thread_Enable_dispatch>
        return( return_value );                                       
  10c6c7:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10c6ca:	eb b5                	jmp    10c681 <rtems_rate_monotonic_period+0x2d>
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
  10c6cc:	9c                   	pushf                                 
  10c6cd:	fa                   	cli                                   
  10c6ce:	5f                   	pop    %edi                           
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
  10c6cf:	8b 50 38             	mov    0x38(%eax),%edx                
  10c6d2:	85 d2                	test   %edx,%edx                      
  10c6d4:	74 52                	je     10c728 <rtems_rate_monotonic_period+0xd4>
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
  10c6d6:	83 fa 02             	cmp    $0x2,%edx                      
  10c6d9:	0f 84 9e 00 00 00    	je     10c77d <rtems_rate_monotonic_period+0x129>
                                                                      
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
  10c6df:	83 fa 04             	cmp    $0x4,%edx                      
  10c6e2:	75 98                	jne    10c67c <rtems_rate_monotonic_period+0x28><== NEVER TAKEN
        /*                                                            
         *  Update statistics from the concluding period              
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
  10c6e4:	83 ec 0c             	sub    $0xc,%esp                      
  10c6e7:	50                   	push   %eax                           
  10c6e8:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10c6eb:	e8 74 fe ff ff       	call   10c564 <_Rate_monotonic_Update_statistics>
                                                                      
        _ISR_Enable( level );                                         
  10c6f0:	57                   	push   %edi                           
  10c6f1:	9d                   	popf                                  
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
  10c6f2:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10c6f5:	c7 40 38 02 00 00 00 	movl   $0x2,0x38(%eax)                
        the_period->next_length = length;                             
  10c6fc:	89 70 3c             	mov    %esi,0x3c(%eax)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10c6ff:	89 70 1c             	mov    %esi,0x1c(%eax)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10c702:	5b                   	pop    %ebx                           
  10c703:	5e                   	pop    %esi                           
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
  10c704:	83 c0 10             	add    $0x10,%eax                     
  10c707:	50                   	push   %eax                           
  10c708:	68 9c 86 12 00       	push   $0x12869c                      
  10c70d:	e8 76 39 00 00       	call   110088 <_Watchdog_Insert>      
        _Thread_Enable_dispatch();                                    
  10c712:	e8 c1 2a 00 00       	call   10f1d8 <_Thread_Enable_dispatch>
        return RTEMS_TIMEOUT;                                         
  10c717:	83 c4 10             	add    $0x10,%esp                     
  10c71a:	b8 06 00 00 00       	mov    $0x6,%eax                      
  10c71f:	e9 5d ff ff ff       	jmp    10c681 <rtems_rate_monotonic_period+0x2d>
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
        switch ( the_period->state ) {                                
  10c724:	31 c0                	xor    %eax,%eax                      
  10c726:	eb 97                	jmp    10c6bf <rtems_rate_monotonic_period+0x6b><== NOT EXECUTED
        return( return_value );                                       
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
        _ISR_Enable( level );                                         
  10c728:	57                   	push   %edi                           
  10c729:	9d                   	popf                                  
                                                                      
        /*                                                            
         *  Baseline statistics information for the beginning of a period.
         */                                                           
        _Rate_monotonic_Initiate_statistics( the_period );            
  10c72a:	83 ec 0c             	sub    $0xc,%esp                      
  10c72d:	50                   	push   %eax                           
  10c72e:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10c731:	e8 ba fd ff ff       	call   10c4f0 <_Rate_monotonic_Initiate_statistics>
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
  10c736:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10c739:	c7 40 38 02 00 00 00 	movl   $0x2,0x38(%eax)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10c740:	c7 40 18 00 00 00 00 	movl   $0x0,0x18(%eax)                
  the_watchdog->routine   = routine;                                  
  10c747:	c7 40 2c ac ca 10 00 	movl   $0x10caac,0x2c(%eax)           
  the_watchdog->id        = id;                                       
  10c74e:	89 58 30             	mov    %ebx,0x30(%eax)                
  the_watchdog->user_data = user_data;                                
  10c751:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
          _Rate_monotonic_Timeout,                                    
          id,                                                         
          NULL                                                        
        );                                                            
                                                                      
        the_period->next_length = length;                             
  10c758:	89 70 3c             	mov    %esi,0x3c(%eax)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10c75b:	89 70 1c             	mov    %esi,0x1c(%eax)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10c75e:	5e                   	pop    %esi                           
  10c75f:	5f                   	pop    %edi                           
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
  10c760:	83 c0 10             	add    $0x10,%eax                     
  10c763:	50                   	push   %eax                           
  10c764:	68 9c 86 12 00       	push   $0x12869c                      
  10c769:	e8 1a 39 00 00       	call   110088 <_Watchdog_Insert>      
        _Thread_Enable_dispatch();                                    
  10c76e:	e8 65 2a 00 00       	call   10f1d8 <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  10c773:	83 c4 10             	add    $0x10,%esp                     
  10c776:	31 c0                	xor    %eax,%eax                      
  10c778:	e9 04 ff ff ff       	jmp    10c681 <rtems_rate_monotonic_period+0x2d>
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
        /*                                                            
         *  Update statistics from the concluding period.             
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
  10c77d:	83 ec 0c             	sub    $0xc,%esp                      
  10c780:	50                   	push   %eax                           
  10c781:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10c784:	e8 db fd ff ff       	call   10c564 <_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;         
  10c789:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10c78c:	c7 40 38 01 00 00 00 	movl   $0x1,0x38(%eax)                
        the_period->next_length = length;                             
  10c793:	89 70 3c             	mov    %esi,0x3c(%eax)                
                                                                      
        _ISR_Enable( level );                                         
  10c796:	57                   	push   %edi                           
  10c797:	9d                   	popf                                  
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
  10c798:	8b 15 58 88 12 00    	mov    0x128858,%edx                  
  10c79e:	8b 48 08             	mov    0x8(%eax),%ecx                 
  10c7a1:	89 4a 20             	mov    %ecx,0x20(%edx)                
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
  10c7a4:	59                   	pop    %ecx                           
  10c7a5:	5b                   	pop    %ebx                           
  10c7a6:	68 00 40 00 00       	push   $0x4000                        
  10c7ab:	52                   	push   %edx                           
  10c7ac:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10c7af:	e8 64 32 00 00       	call   10fa18 <_Thread_Set_state>     
                                                                      
        /*                                                            
         *  Did the watchdog timer expire while we were actually blocking
         *  on it?                                                    
         */                                                           
        _ISR_Disable( level );                                        
  10c7b4:	9c                   	pushf                                 
  10c7b5:	fa                   	cli                                   
  10c7b6:	59                   	pop    %ecx                           
          local_state = the_period->state;                            
  10c7b7:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10c7ba:	8b 50 38             	mov    0x38(%eax),%edx                
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
  10c7bd:	c7 40 38 02 00 00 00 	movl   $0x2,0x38(%eax)                
        _ISR_Enable( level );                                         
  10c7c4:	51                   	push   %ecx                           
  10c7c5:	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 )   
  10c7c6:	83 c4 10             	add    $0x10,%esp                     
  10c7c9:	83 fa 03             	cmp    $0x3,%edx                      
  10c7cc:	74 0c                	je     10c7da <rtems_rate_monotonic_period+0x186>
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
                                                                      
        _Thread_Enable_dispatch();                                    
  10c7ce:	e8 05 2a 00 00       	call   10f1d8 <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  10c7d3:	31 c0                	xor    %eax,%eax                      
  10c7d5:	e9 a7 fe ff ff       	jmp    10c681 <rtems_rate_monotonic_period+0x2d>
        /*                                                            
         *  If it did, then we want to unblock ourself and continue as
         *  if nothing happen.  The period was reset in the timeout routine.
         */                                                           
        if ( local_state == RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING )   
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
  10c7da:	57                   	push   %edi                           
  10c7db:	57                   	push   %edi                           
  10c7dc:	68 00 40 00 00       	push   $0x4000                        
  10c7e1:	ff 35 58 88 12 00    	pushl  0x128858                       
  10c7e7:	e8 6c 26 00 00       	call   10ee58 <_Thread_Clear_state>   
  10c7ec:	83 c4 10             	add    $0x10,%esp                     
  10c7ef:	eb dd                	jmp    10c7ce <rtems_rate_monotonic_period+0x17a>
                                                                      

0010c7f4 <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
  10c7f4:	55                   	push   %ebp                           
  10c7f5:	89 e5                	mov    %esp,%ebp                      
  10c7f7:	57                   	push   %edi                           
  10c7f8:	56                   	push   %esi                           
  10c7f9:	53                   	push   %ebx                           
  10c7fa:	81 ec 8c 00 00 00    	sub    $0x8c,%esp                     
  10c800:	8b 75 08             	mov    0x8(%ebp),%esi                 
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
  10c803:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10c806:	85 ff                	test   %edi,%edi                      
  10c808:	0f 84 be 00 00 00    	je     10c8cc <rtems_rate_monotonic_report_statistics_with_plugin+0xd8><== NEVER TAKEN
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
  10c80e:	83 ec 08             	sub    $0x8,%esp                      
  10c811:	68 50 20 12 00       	push   $0x122050                      
  10c816:	56                   	push   %esi                           
  10c817:	ff 55 0c             	call   *0xc(%ebp)                     
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
  10c81a:	59                   	pop    %ecx                           
  10c81b:	5b                   	pop    %ebx                           
  10c81c:	68 88 20 12 00       	push   $0x122088                      
  10c821:	56                   	push   %esi                           
  10c822:	ff 55 0c             	call   *0xc(%ebp)                     
    (*print)( context, "--- Wall times are in seconds ---\n" );       
  10c825:	58                   	pop    %eax                           
  10c826:	5a                   	pop    %edx                           
  10c827:	68 ac 20 12 00       	push   $0x1220ac                      
  10c82c:	56                   	push   %esi                           
  10c82d:	ff 55 0c             	call   *0xc(%ebp)                     
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
  10c830:	5b                   	pop    %ebx                           
  10c831:	5f                   	pop    %edi                           
  10c832:	68 d0 20 12 00       	push   $0x1220d0                      
  10c837:	56                   	push   %esi                           
  10c838:	ff 55 0c             	call   *0xc(%ebp)                     
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
  10c83b:	5a                   	pop    %edx                           
  10c83c:	59                   	pop    %ecx                           
  10c83d:	68 1c 21 12 00       	push   $0x12211c                      
  10c842:	56                   	push   %esi                           
  10c843:	ff 55 0c             	call   *0xc(%ebp)                     
                                                                      
  /*                                                                  
   * 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 ;                   
  10c846:	8b 1d a8 84 12 00    	mov    0x1284a8,%ebx                  
  10c84c:	83 c4 10             	add    $0x10,%esp                     
  10c84f:	3b 1d ac 84 12 00    	cmp    0x1284ac,%ebx                  
  10c855:	77 75                	ja     10c8cc <rtems_rate_monotonic_report_statistics_with_plugin+0xd8><== NEVER TAKEN
  10c857:	8d 7d 88             	lea    -0x78(%ebp),%edi               
  10c85a:	eb 09                	jmp    10c865 <rtems_rate_monotonic_report_statistics_with_plugin+0x71>
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
  10c85c:	43                   	inc    %ebx                           
                                                                      
  /*                                                                  
   * 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 ;                   
  10c85d:	39 1d ac 84 12 00    	cmp    %ebx,0x1284ac                  
  10c863:	72 67                	jb     10c8cc <rtems_rate_monotonic_report_statistics_with_plugin+0xd8>
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
  10c865:	83 ec 08             	sub    $0x8,%esp                      
  10c868:	57                   	push   %edi                           
  10c869:	53                   	push   %ebx                           
  10c86a:	e8 79 54 00 00       	call   111ce8 <rtems_rate_monotonic_get_statistics>
    if ( status != RTEMS_SUCCESSFUL )                                 
  10c86f:	83 c4 10             	add    $0x10,%esp                     
  10c872:	85 c0                	test   %eax,%eax                      
  10c874:	75 e6                	jne    10c85c <rtems_rate_monotonic_report_statistics_with_plugin+0x68>
    #if defined(RTEMS_DEBUG)                                          
      status = rtems_rate_monotonic_get_status( id, &the_status );    
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #else                                                             
      (void) rtems_rate_monotonic_get_status( id, &the_status );      
  10c876:	83 ec 08             	sub    $0x8,%esp                      
  10c879:	8d 45 c0             	lea    -0x40(%ebp),%eax               
  10c87c:	50                   	push   %eax                           
  10c87d:	53                   	push   %ebx                           
  10c87e:	e8 11 55 00 00       	call   111d94 <rtems_rate_monotonic_get_status>
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
  10c883:	83 c4 0c             	add    $0xc,%esp                      
  10c886:	8d 55 e3             	lea    -0x1d(%ebp),%edx               
  10c889:	52                   	push   %edx                           
  10c88a:	6a 05                	push   $0x5                           
  10c88c:	ff 75 c0             	pushl  -0x40(%ebp)                    
  10c88f:	e8 b4 02 00 00       	call   10cb48 <rtems_object_get_name> 
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
  10c894:	59                   	pop    %ecx                           
  10c895:	58                   	pop    %eax                           
  10c896:	ff 75 8c             	pushl  -0x74(%ebp)                    
  10c899:	ff 75 88             	pushl  -0x78(%ebp)                    
  10c89c:	8d 45 e3             	lea    -0x1d(%ebp),%eax               
  10c89f:	50                   	push   %eax                           
  10c8a0:	53                   	push   %ebx                           
  10c8a1:	68 6e 20 12 00       	push   $0x12206e                      
  10c8a6:	56                   	push   %esi                           
  10c8a7:	ff 55 0c             	call   *0xc(%ebp)                     
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
  10c8aa:	8b 45 88             	mov    -0x78(%ebp),%eax               
  10c8ad:	83 c4 20             	add    $0x20,%esp                     
  10c8b0:	85 c0                	test   %eax,%eax                      
  10c8b2:	75 20                	jne    10c8d4 <rtems_rate_monotonic_report_statistics_with_plugin+0xe0>
      (*print)( context, "\n" );                                      
  10c8b4:	83 ec 08             	sub    $0x8,%esp                      
  10c8b7:	68 59 01 12 00       	push   $0x120159                      
  10c8bc:	56                   	push   %esi                           
  10c8bd:	ff 55 0c             	call   *0xc(%ebp)                     
      continue;                                                       
  10c8c0:	83 c4 10             	add    $0x10,%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++ ) {                                                      
  10c8c3:	43                   	inc    %ebx                           
                                                                      
  /*                                                                  
   * 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 ;                   
  10c8c4:	39 1d ac 84 12 00    	cmp    %ebx,0x1284ac                  
  10c8ca:	73 99                	jae    10c865 <rtems_rate_monotonic_report_statistics_with_plugin+0x71><== ALWAYS TAKEN
        the_stats.min_wall_time, the_stats.max_wall_time, ival_wall, fval_wall
      );                                                              
    #endif                                                            
    }                                                                 
  }                                                                   
}                                                                     
  10c8cc:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c8cf:	5b                   	pop    %ebx                           
  10c8d0:	5e                   	pop    %esi                           
  10c8d1:	5f                   	pop    %edi                           
  10c8d2:	c9                   	leave                                 
  10c8d3:	c3                   	ret                                   
      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 );
  10c8d4:	52                   	push   %edx                           
  10c8d5:	8d 55 d8             	lea    -0x28(%ebp),%edx               
  10c8d8:	52                   	push   %edx                           
  10c8d9:	50                   	push   %eax                           
  10c8da:	8d 45 a0             	lea    -0x60(%ebp),%eax               
  10c8dd:	50                   	push   %eax                           
  10c8de:	e8 05 34 00 00       	call   10fce8 <_Timespec_Divide_by_integer>
      (*print)( context,                                              
  10c8e3:	b9 d3 4d 62 10       	mov    $0x10624dd3,%ecx               
  10c8e8:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10c8eb:	f7 e9                	imul   %ecx                           
  10c8ed:	89 95 74 ff ff ff    	mov    %edx,-0x8c(%ebp)               
  10c8f3:	8b 85 74 ff ff ff    	mov    -0x8c(%ebp),%eax               
  10c8f9:	c1 f8 06             	sar    $0x6,%eax                      
  10c8fc:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  10c8ff:	c1 fa 1f             	sar    $0x1f,%edx                     
  10c902:	29 d0                	sub    %edx,%eax                      
  10c904:	50                   	push   %eax                           
  10c905:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10c908:	8b 45 9c             	mov    -0x64(%ebp),%eax               
  10c90b:	f7 e9                	imul   %ecx                           
  10c90d:	89 95 74 ff ff ff    	mov    %edx,-0x8c(%ebp)               
  10c913:	8b 85 74 ff ff ff    	mov    -0x8c(%ebp),%eax               
  10c919:	c1 f8 06             	sar    $0x6,%eax                      
  10c91c:	8b 55 9c             	mov    -0x64(%ebp),%edx               
  10c91f:	c1 fa 1f             	sar    $0x1f,%edx                     
  10c922:	29 d0                	sub    %edx,%eax                      
  10c924:	50                   	push   %eax                           
  10c925:	ff 75 98             	pushl  -0x68(%ebp)                    
  10c928:	8b 45 94             	mov    -0x6c(%ebp),%eax               
  10c92b:	f7 e9                	imul   %ecx                           
  10c92d:	89 85 70 ff ff ff    	mov    %eax,-0x90(%ebp)               
  10c933:	89 95 74 ff ff ff    	mov    %edx,-0x8c(%ebp)               
  10c939:	8b 85 74 ff ff ff    	mov    -0x8c(%ebp),%eax               
  10c93f:	c1 f8 06             	sar    $0x6,%eax                      
  10c942:	8b 55 94             	mov    -0x6c(%ebp),%edx               
  10c945:	c1 fa 1f             	sar    $0x1f,%edx                     
  10c948:	29 d0                	sub    %edx,%eax                      
  10c94a:	50                   	push   %eax                           
  10c94b:	ff 75 90             	pushl  -0x70(%ebp)                    
  10c94e:	68 68 21 12 00       	push   $0x122168                      
  10c953:	56                   	push   %esi                           
  10c954:	89 4d 84             	mov    %ecx,-0x7c(%ebp)               
  10c957:	ff 55 0c             	call   *0xc(%ebp)                     
      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);
  10c95a:	83 c4 2c             	add    $0x2c,%esp                     
  10c95d:	8d 55 d8             	lea    -0x28(%ebp),%edx               
  10c960:	52                   	push   %edx                           
  10c961:	ff 75 88             	pushl  -0x78(%ebp)                    
  10c964:	8d 45 b8             	lea    -0x48(%ebp),%eax               
  10c967:	50                   	push   %eax                           
  10c968:	e8 7b 33 00 00       	call   10fce8 <_Timespec_Divide_by_integer>
      (*print)( context,                                              
  10c96d:	8b 4d 84             	mov    -0x7c(%ebp),%ecx               
  10c970:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10c973:	f7 e9                	imul   %ecx                           
  10c975:	89 95 74 ff ff ff    	mov    %edx,-0x8c(%ebp)               
  10c97b:	8b 85 74 ff ff ff    	mov    -0x8c(%ebp),%eax               
  10c981:	c1 f8 06             	sar    $0x6,%eax                      
  10c984:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  10c987:	c1 fa 1f             	sar    $0x1f,%edx                     
  10c98a:	29 d0                	sub    %edx,%eax                      
  10c98c:	50                   	push   %eax                           
  10c98d:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10c990:	8b 45 b4             	mov    -0x4c(%ebp),%eax               
  10c993:	f7 e9                	imul   %ecx                           
  10c995:	89 95 74 ff ff ff    	mov    %edx,-0x8c(%ebp)               
  10c99b:	8b 85 74 ff ff ff    	mov    -0x8c(%ebp),%eax               
  10c9a1:	c1 f8 06             	sar    $0x6,%eax                      
  10c9a4:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  10c9a7:	c1 fa 1f             	sar    $0x1f,%edx                     
  10c9aa:	29 d0                	sub    %edx,%eax                      
  10c9ac:	50                   	push   %eax                           
  10c9ad:	ff 75 b0             	pushl  -0x50(%ebp)                    
  10c9b0:	8b 45 ac             	mov    -0x54(%ebp),%eax               
  10c9b3:	f7 e9                	imul   %ecx                           
  10c9b5:	89 85 70 ff ff ff    	mov    %eax,-0x90(%ebp)               
  10c9bb:	89 95 74 ff ff ff    	mov    %edx,-0x8c(%ebp)               
  10c9c1:	8b 85 74 ff ff ff    	mov    -0x8c(%ebp),%eax               
  10c9c7:	c1 f8 06             	sar    $0x6,%eax                      
  10c9ca:	8b 55 ac             	mov    -0x54(%ebp),%edx               
  10c9cd:	c1 fa 1f             	sar    $0x1f,%edx                     
  10c9d0:	29 d0                	sub    %edx,%eax                      
  10c9d2:	50                   	push   %eax                           
  10c9d3:	ff 75 a8             	pushl  -0x58(%ebp)                    
  10c9d6:	68 88 21 12 00       	push   $0x122188                      
  10c9db:	56                   	push   %esi                           
  10c9dc:	ff 55 0c             	call   *0xc(%ebp)                     
  10c9df:	83 c4 30             	add    $0x30,%esp                     
  10c9e2:	e9 75 fe ff ff       	jmp    10c85c <rtems_rate_monotonic_report_statistics_with_plugin+0x68>
                                                                      

0010ca00 <rtems_rate_monotonic_reset_all_statistics>: /* * rtems_rate_monotonic_reset_all_statistics */ void rtems_rate_monotonic_reset_all_statistics( void ) {
  10ca00:	55                   	push   %ebp                           
  10ca01:	89 e5                	mov    %esp,%ebp                      
  10ca03:	53                   	push   %ebx                           
  10ca04:	83 ec 04             	sub    $0x4,%esp                      
  10ca07:	a1 90 85 12 00       	mov    0x128590,%eax                  
  10ca0c:	40                   	inc    %eax                           
  10ca0d:	a3 90 85 12 00       	mov    %eax,0x128590                  
                                                                      
    /*                                                                
     * Cycle through all possible ids and try to reset each one.  If it
     * is a period that is inactive, we just get an error back.  No big deal.
     */                                                               
    for ( id=_Rate_monotonic_Information.minimum_id ;                 
  10ca12:	8b 1d a8 84 12 00    	mov    0x1284a8,%ebx                  
  10ca18:	3b 1d ac 84 12 00    	cmp    0x1284ac,%ebx                  
  10ca1e:	77 15                	ja     10ca35 <rtems_rate_monotonic_reset_all_statistics+0x35><== NEVER TAKEN
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
      (void) rtems_rate_monotonic_reset_statistics( id );             
  10ca20:	83 ec 0c             	sub    $0xc,%esp                      
  10ca23:	53                   	push   %ebx                           
  10ca24:	e8 17 00 00 00       	call   10ca40 <rtems_rate_monotonic_reset_statistics>
     * Cycle through all possible ids and try to reset each one.  If it
     * is a period that is inactive, we just get an error back.  No big deal.
     */                                                               
    for ( id=_Rate_monotonic_Information.minimum_id ;                 
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
  10ca29:	43                   	inc    %ebx                           
                                                                      
    /*                                                                
     * Cycle through all possible ids and try to reset each one.  If it
     * is a period that is inactive, we just get an error back.  No big deal.
     */                                                               
    for ( id=_Rate_monotonic_Information.minimum_id ;                 
  10ca2a:	83 c4 10             	add    $0x10,%esp                     
  10ca2d:	39 1d ac 84 12 00    	cmp    %ebx,0x1284ac                  
  10ca33:	73 eb                	jae    10ca20 <rtems_rate_monotonic_reset_all_statistics+0x20>
                                                                      
  /*                                                                  
   *  Done so exit thread dispatching disabled critical section.      
   */                                                                 
  _Thread_Enable_dispatch();                                          
}                                                                     
  10ca35:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ca38:	c9                   	leave                                 
    }                                                                 
                                                                      
  /*                                                                  
   *  Done so exit thread dispatching disabled critical section.      
   */                                                                 
  _Thread_Enable_dispatch();                                          
  10ca39:	e9 9a 27 00 00       	jmp    10f1d8 <_Thread_Enable_dispatch>
                                                                      

0010ca40 <rtems_rate_monotonic_reset_statistics>: */ rtems_status_code rtems_rate_monotonic_reset_statistics( rtems_id id ) {
  10ca40:	55                   	push   %ebp                           
  10ca41:	89 e5                	mov    %esp,%ebp                      
  10ca43:	57                   	push   %edi                           
  10ca44:	53                   	push   %ebx                           
  10ca45:	83 ec 14             	sub    $0x14,%esp                     
  Objects_Locations              location;                            
  Rate_monotonic_Control        *the_period;                          
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  10ca48:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10ca4b:	50                   	push   %eax                           
  10ca4c:	ff 75 08             	pushl  0x8(%ebp)                      
  10ca4f:	68 a0 84 12 00       	push   $0x1284a0                      
  10ca54:	e8 f7 1c 00 00       	call   10e750 <_Objects_Get>          
  10ca59:	89 c2                	mov    %eax,%edx                      
  switch ( location ) {                                               
  10ca5b:	83 c4 10             	add    $0x10,%esp                     
  10ca5e:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  10ca61:	85 c0                	test   %eax,%eax                      
  10ca63:	75 3b                	jne    10caa0 <rtems_rate_monotonic_reset_statistics+0x60>
                                                                      
    case OBJECTS_LOCAL:                                               
      _Rate_monotonic_Reset_statistics( the_period );                 
  10ca65:	8d 5a 54             	lea    0x54(%edx),%ebx                
  10ca68:	b9 38 00 00 00       	mov    $0x38,%ecx                     
  10ca6d:	31 c0                	xor    %eax,%eax                      
  10ca6f:	89 df                	mov    %ebx,%edi                      
  10ca71:	f3 aa                	rep stos %al,%es:(%edi)               
  10ca73:	c7 42 5c ff ff ff 7f 	movl   $0x7fffffff,0x5c(%edx)         
  10ca7a:	c7 42 60 ff ff ff 7f 	movl   $0x7fffffff,0x60(%edx)         
  10ca81:	c7 42 74 ff ff ff 7f 	movl   $0x7fffffff,0x74(%edx)         
  10ca88:	c7 42 78 ff ff ff 7f 	movl   $0x7fffffff,0x78(%edx)         
      _Thread_Enable_dispatch();                                      
  10ca8f:	e8 44 27 00 00       	call   10f1d8 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  10ca94:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10ca96:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ca99:	5b                   	pop    %ebx                           
  10ca9a:	5f                   	pop    %edi                           
  10ca9b:	c9                   	leave                                 
  10ca9c:	c3                   	ret                                   
  10ca9d:	8d 76 00             	lea    0x0(%esi),%esi                 
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10caa0:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10caa5:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10caa8:	5b                   	pop    %ebx                           
  10caa9:	5f                   	pop    %edi                           
  10caaa:	c9                   	leave                                 
  10caab:	c3                   	ret                                   
                                                                      

0011724c <rtems_region_create>: uintptr_t length, uintptr_t page_size, rtems_attribute attribute_set, rtems_id *id ) {
  11724c:	55                   	push   %ebp                           
  11724d:	89 e5                	mov    %esp,%ebp                      
  11724f:	57                   	push   %edi                           
  117250:	56                   	push   %esi                           
  117251:	53                   	push   %ebx                           
  117252:	83 ec 1c             	sub    $0x1c,%esp                     
  117255:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  117258:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  rtems_status_code  return_status;                                   
  Region_Control    *the_region;                                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  11725b:	85 ff                	test   %edi,%edi                      
  11725d:	0f 84 c1 00 00 00    	je     117324 <rtems_region_create+0xd8>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
  117263:	85 f6                	test   %esi,%esi                      
  117265:	0f 84 e1 00 00 00    	je     11734c <rtems_region_create+0x100>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
  11726b:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  11726e:	85 c0                	test   %eax,%eax                      
  117270:	0f 84 d6 00 00 00    	je     11734c <rtems_region_create+0x100>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                      /* to prevent deletion */
  117276:	83 ec 0c             	sub    $0xc,%esp                      
  117279:	ff 35 7c 0b 14 00    	pushl  0x140b7c                       
  11727f:	e8 dc 24 00 00       	call   119760 <_API_Mutex_Lock>       
 *  This function allocates a region control block from               
 *  the inactive chain of free region control blocks.                 
 */                                                                   
RTEMS_INLINE_ROUTINE Region_Control *_Region_Allocate( void )         
{                                                                     
  return (Region_Control *) _Objects_Allocate( &_Region_Information );
  117284:	c7 04 24 a0 09 14 00 	movl   $0x1409a0,(%esp)               
  11728b:	e8 28 3a 00 00       	call   11acb8 <_Objects_Allocate>     
  117290:	89 c3                	mov    %eax,%ebx                      
                                                                      
    the_region = _Region_Allocate();                                  
                                                                      
    if ( !the_region )                                                
  117292:	83 c4 10             	add    $0x10,%esp                     
  117295:	85 c0                	test   %eax,%eax                      
  117297:	0f 84 bf 00 00 00    	je     11735c <rtems_region_create+0x110>
      return_status = RTEMS_TOO_MANY;                                 
                                                                      
    else {                                                            
                                                                      
      the_region->maximum_segment_size = _Heap_Initialize(            
  11729d:	ff 75 14             	pushl  0x14(%ebp)                     
  1172a0:	ff 75 10             	pushl  0x10(%ebp)                     
  1172a3:	56                   	push   %esi                           
  1172a4:	8d 40 68             	lea    0x68(%eax),%eax                
  1172a7:	50                   	push   %eax                           
  1172a8:	e8 17 36 00 00       	call   11a8c4 <_Heap_Initialize>      
  1172ad:	89 43 5c             	mov    %eax,0x5c(%ebx)                
        &the_region->Memory, starting_address, length, page_size      
      );                                                              
                                                                      
      if ( !the_region->maximum_segment_size ) {                      
  1172b0:	83 c4 10             	add    $0x10,%esp                     
  1172b3:	85 c0                	test   %eax,%eax                      
  1172b5:	74 7d                	je     117334 <rtems_region_create+0xe8>
        return_status = RTEMS_INVALID_SIZE;                           
      }                                                               
                                                                      
      else {                                                          
                                                                      
        the_region->starting_address      = starting_address;         
  1172b7:	89 73 50             	mov    %esi,0x50(%ebx)                
        the_region->length                = length;                   
  1172ba:	8b 45 10             	mov    0x10(%ebp),%eax                
  1172bd:	89 43 54             	mov    %eax,0x54(%ebx)                
        the_region->page_size             = page_size;                
  1172c0:	8b 55 14             	mov    0x14(%ebp),%edx                
  1172c3:	89 53 58             	mov    %edx,0x58(%ebx)                
        the_region->attribute_set         = attribute_set;            
  1172c6:	8b 45 18             	mov    0x18(%ebp),%eax                
  1172c9:	89 43 60             	mov    %eax,0x60(%ebx)                
        the_region->number_of_used_blocks = 0;                        
  1172cc:	c7 43 64 00 00 00 00 	movl   $0x0,0x64(%ebx)                
                                                                      
        _Thread_queue_Initialize(                                     
  1172d3:	6a 06                	push   $0x6                           
  1172d5:	6a 40                	push   $0x40                          
  1172d7:	a8 04                	test   $0x4,%al                       
  1172d9:	0f 95 c0             	setne  %al                            
  1172dc:	0f b6 c0             	movzbl %al,%eax                       
  1172df:	50                   	push   %eax                           
  1172e0:	8d 43 10             	lea    0x10(%ebx),%eax                
  1172e3:	50                   	push   %eax                           
  1172e4:	e8 6b 50 00 00       	call   11c354 <_Thread_queue_Initialize>
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  1172e9:	8b 43 08             	mov    0x8(%ebx),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  1172ec:	0f b7 c8             	movzwl %ax,%ecx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  1172ef:	8b 15 bc 09 14 00    	mov    0x1409bc,%edx                  
  1172f5:	89 1c 8a             	mov    %ebx,(%edx,%ecx,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  1172f8:	89 7b 0c             	mov    %edi,0xc(%ebx)                 
          &_Region_Information,                                       
          &the_region->Object,                                        
          (Objects_Name) name                                         
        );                                                            
                                                                      
        *id = the_region->Object.id;                                  
  1172fb:	8b 55 1c             	mov    0x1c(%ebp),%edx                
  1172fe:	89 02                	mov    %eax,(%edx)                    
  117300:	83 c4 10             	add    $0x10,%esp                     
        return_status = RTEMS_SUCCESSFUL;                             
  117303:	31 c0                	xor    %eax,%eax                      
      }                                                               
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  117305:	83 ec 0c             	sub    $0xc,%esp                      
  117308:	ff 35 7c 0b 14 00    	pushl  0x140b7c                       
  11730e:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  117311:	e8 92 24 00 00       	call   1197a8 <_API_Mutex_Unlock>     
  return return_status;                                               
  117316:	83 c4 10             	add    $0x10,%esp                     
  117319:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
}                                                                     
  11731c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11731f:	5b                   	pop    %ebx                           
  117320:	5e                   	pop    %esi                           
  117321:	5f                   	pop    %edi                           
  117322:	c9                   	leave                                 
  117323:	c3                   	ret                                   
{                                                                     
  rtems_status_code  return_status;                                   
  Region_Control    *the_region;                                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
  117324:	b8 03 00 00 00       	mov    $0x3,%eax                      
      }                                                               
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
  117329:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11732c:	5b                   	pop    %ebx                           
  11732d:	5e                   	pop    %esi                           
  11732e:	5f                   	pop    %edi                           
  11732f:	c9                   	leave                                 
  117330:	c3                   	ret                                   
  117331:	8d 76 00             	lea    0x0(%esi),%esi                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Region_Free (                              
  Region_Control *the_region                                          
)                                                                     
{                                                                     
  _Objects_Free( &_Region_Information, &the_region->Object );         
  117334:	83 ec 08             	sub    $0x8,%esp                      
  117337:	53                   	push   %ebx                           
  117338:	68 a0 09 14 00       	push   $0x1409a0                      
  11733d:	e8 ee 3c 00 00       	call   11b030 <_Objects_Free>         
  117342:	83 c4 10             	add    $0x10,%esp                     
        &the_region->Memory, starting_address, length, page_size      
      );                                                              
                                                                      
      if ( !the_region->maximum_segment_size ) {                      
        _Region_Free( the_region );                                   
        return_status = RTEMS_INVALID_SIZE;                           
  117345:	b8 08 00 00 00       	mov    $0x8,%eax                      
  11734a:	eb b9                	jmp    117305 <rtems_region_create+0xb9>
                                                                      
  if ( !starting_address )                                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
  11734c:	b8 09 00 00 00       	mov    $0x9,%eax                      
      }                                                               
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
  117351:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  117354:	5b                   	pop    %ebx                           
  117355:	5e                   	pop    %esi                           
  117356:	5f                   	pop    %edi                           
  117357:	c9                   	leave                                 
  117358:	c3                   	ret                                   
  117359:	8d 76 00             	lea    0x0(%esi),%esi                 
  _RTEMS_Lock_allocator();                      /* to prevent deletion */
                                                                      
    the_region = _Region_Allocate();                                  
                                                                      
    if ( !the_region )                                                
      return_status = RTEMS_TOO_MANY;                                 
  11735c:	b8 05 00 00 00       	mov    $0x5,%eax                      
  117361:	eb a2                	jmp    117305 <rtems_region_create+0xb9>
                                                                      

00117364 <rtems_region_delete>: */ rtems_status_code rtems_region_delete( rtems_id id ) {
  117364:	55                   	push   %ebp                           
  117365:	89 e5                	mov    %esp,%ebp                      
  117367:	53                   	push   %ebx                           
  117368:	83 ec 30             	sub    $0x30,%esp                     
  Objects_Locations   location;                                       
  rtems_status_code   return_status;                                  
  Region_Control     *the_region;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
  11736b:	ff 35 7c 0b 14 00    	pushl  0x140b7c                       
  117371:	e8 ea 23 00 00       	call   119760 <_API_Mutex_Lock>       
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Region_Control *)                                           
    _Objects_Get_no_protection( &_Region_Information, id, location ); 
  117376:	83 c4 0c             	add    $0xc,%esp                      
                                                                      
    the_region = _Region_Get( id, &location );                        
  117379:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  11737c:	50                   	push   %eax                           
  11737d:	ff 75 08             	pushl  0x8(%ebp)                      
  117380:	68 a0 09 14 00       	push   $0x1409a0                      
  117385:	e8 e6 3d 00 00       	call   11b170 <_Objects_Get_no_protection>
    switch ( location ) {                                             
  11738a:	83 c4 10             	add    $0x10,%esp                     
  11738d:	8b 5d f4             	mov    -0xc(%ebp),%ebx                
  117390:	85 db                	test   %ebx,%ebx                      
  117392:	74 1c                	je     1173b0 <rtems_region_delete+0x4c>
        break;                                                        
#endif                                                                
                                                                      
      case OBJECTS_ERROR:                                             
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
  117394:	bb 04 00 00 00       	mov    $0x4,%ebx                      
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  117399:	83 ec 0c             	sub    $0xc,%esp                      
  11739c:	ff 35 7c 0b 14 00    	pushl  0x140b7c                       
  1173a2:	e8 01 24 00 00       	call   1197a8 <_API_Mutex_Unlock>     
  return return_status;                                               
}                                                                     
  1173a7:	89 d8                	mov    %ebx,%eax                      
  1173a9:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1173ac:	c9                   	leave                                 
  1173ad:	c3                   	ret                                   
  1173ae:	66 90                	xchg   %ax,%ax                        
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
                                                                      
      case OBJECTS_LOCAL:                                             
        _Region_Debug_Walk( the_region, 5 );                          
        if ( the_region->number_of_used_blocks != 0 )                 
  1173b0:	8b 48 64             	mov    0x64(%eax),%ecx                
  1173b3:	85 c9                	test   %ecx,%ecx                      
  1173b5:	74 09                	je     1173c0 <rtems_region_delete+0x5c>
          return_status = RTEMS_RESOURCE_IN_USE;                      
  1173b7:	bb 0c 00 00 00       	mov    $0xc,%ebx                      
  1173bc:	eb db                	jmp    117399 <rtems_region_delete+0x35>
  1173be:	66 90                	xchg   %ax,%ax                        
        else {                                                        
          _Objects_Close( &_Region_Information, &the_region->Object );
  1173c0:	83 ec 08             	sub    $0x8,%esp                      
  1173c3:	50                   	push   %eax                           
  1173c4:	68 a0 09 14 00       	push   $0x1409a0                      
  1173c9:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  1173cc:	e8 63 39 00 00       	call   11ad34 <_Objects_Close>        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Region_Free (                              
  Region_Control *the_region                                          
)                                                                     
{                                                                     
  _Objects_Free( &_Region_Information, &the_region->Object );         
  1173d1:	58                   	pop    %eax                           
  1173d2:	5a                   	pop    %edx                           
  1173d3:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  1173d6:	50                   	push   %eax                           
  1173d7:	68 a0 09 14 00       	push   $0x1409a0                      
  1173dc:	e8 4f 3c 00 00       	call   11b030 <_Objects_Free>         
  1173e1:	83 c4 10             	add    $0x10,%esp                     
          _Region_Free( the_region );                                 
          return_status = RTEMS_SUCCESSFUL;                           
  1173e4:	31 db                	xor    %ebx,%ebx                      
  1173e6:	eb b1                	jmp    117399 <rtems_region_delete+0x35>
                                                                      

001173e8 <rtems_region_extend>: rtems_status_code rtems_region_extend( rtems_id id, void *starting_address, uintptr_t length ) {
  1173e8:	55                   	push   %ebp                           
  1173e9:	89 e5                	mov    %esp,%ebp                      
  1173eb:	56                   	push   %esi                           
  1173ec:	53                   	push   %ebx                           
  1173ed:	83 ec 10             	sub    $0x10,%esp                     
  1173f0:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  bool                extend_ok;                                      
  Objects_Locations   location;                                       
  rtems_status_code   return_status;                                  
  Region_Control     *the_region;                                     
                                                                      
  if ( !starting_address )                                            
  1173f3:	85 db                	test   %ebx,%ebx                      
  1173f5:	74 75                	je     11746c <rtems_region_extend+0x84>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                      /* to prevent deletion */
  1173f7:	83 ec 0c             	sub    $0xc,%esp                      
  1173fa:	ff 35 7c 0b 14 00    	pushl  0x140b7c                       
  117400:	e8 5b 23 00 00       	call   119760 <_API_Mutex_Lock>       
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Region_Control *)                                           
    _Objects_Get_no_protection( &_Region_Information, id, location ); 
  117405:	83 c4 0c             	add    $0xc,%esp                      
                                                                      
    the_region = _Region_Get( id, &location );                        
  117408:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  11740b:	50                   	push   %eax                           
  11740c:	ff 75 08             	pushl  0x8(%ebp)                      
  11740f:	68 a0 09 14 00       	push   $0x1409a0                      
  117414:	e8 57 3d 00 00       	call   11b170 <_Objects_Get_no_protection>
  117419:	89 c6                	mov    %eax,%esi                      
    switch ( location ) {                                             
  11741b:	83 c4 10             	add    $0x10,%esp                     
  11741e:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  117421:	85 c0                	test   %eax,%eax                      
  117423:	74 1f                	je     117444 <rtems_region_extend+0x5c>
        break;                                                        
#endif                                                                
                                                                      
      case OBJECTS_ERROR:                                             
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
  117425:	bb 04 00 00 00       	mov    $0x4,%ebx                      
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  11742a:	83 ec 0c             	sub    $0xc,%esp                      
  11742d:	ff 35 7c 0b 14 00    	pushl  0x140b7c                       
  117433:	e8 70 23 00 00       	call   1197a8 <_API_Mutex_Unlock>     
  return return_status;                                               
  117438:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  11743b:	89 d8                	mov    %ebx,%eax                      
  11743d:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  117440:	5b                   	pop    %ebx                           
  117441:	5e                   	pop    %esi                           
  117442:	c9                   	leave                                 
  117443:	c3                   	ret                                   
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
                                                                      
      case OBJECTS_LOCAL:                                             
                                                                      
        extend_ok = _Heap_Extend(                                     
  117444:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  117447:	50                   	push   %eax                           
  117448:	ff 75 10             	pushl  0x10(%ebp)                     
  11744b:	53                   	push   %ebx                           
  11744c:	8d 46 68             	lea    0x68(%esi),%eax                
  11744f:	50                   	push   %eax                           
  117450:	e8 63 2e 00 00       	call   11a2b8 <_Heap_Extend>          
          starting_address,                                           
          length,                                                     
          &amount_extended                                            
        );                                                            
                                                                      
        if ( extend_ok ) {                                            
  117455:	83 c4 10             	add    $0x10,%esp                     
  117458:	84 c0                	test   %al,%al                        
  11745a:	74 20                	je     11747c <rtems_region_extend+0x94>
          the_region->length                += amount_extended;       
  11745c:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  11745f:	01 46 54             	add    %eax,0x54(%esi)                
          the_region->maximum_segment_size  += amount_extended;       
  117462:	01 46 5c             	add    %eax,0x5c(%esi)                
          return_status = RTEMS_SUCCESSFUL;                           
  117465:	31 db                	xor    %ebx,%ebx                      
  117467:	eb c1                	jmp    11742a <rtems_region_extend+0x42>
  117469:	8d 76 00             	lea    0x0(%esi),%esi                 
  Objects_Locations   location;                                       
  rtems_status_code   return_status;                                  
  Region_Control     *the_region;                                     
                                                                      
  if ( !starting_address )                                            
    return RTEMS_INVALID_ADDRESS;                                     
  11746c:	bb 09 00 00 00       	mov    $0x9,%ebx                      
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
  117471:	89 d8                	mov    %ebx,%eax                      
  117473:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  117476:	5b                   	pop    %ebx                           
  117477:	5e                   	pop    %esi                           
  117478:	c9                   	leave                                 
  117479:	c3                   	ret                                   
  11747a:	66 90                	xchg   %ax,%ax                        
        if ( extend_ok ) {                                            
          the_region->length                += amount_extended;       
          the_region->maximum_segment_size  += amount_extended;       
          return_status = RTEMS_SUCCESSFUL;                           
        } else {                                                      
          return_status = RTEMS_INVALID_ADDRESS;                      
  11747c:	bb 09 00 00 00       	mov    $0x9,%ebx                      
  117481:	eb a7                	jmp    11742a <rtems_region_extend+0x42>
                                                                      

00117484 <rtems_region_get_free_information>: rtems_status_code rtems_region_get_free_information( rtems_id id, Heap_Information_block *the_info ) {
  117484:	55                   	push   %ebp                           
  117485:	89 e5                	mov    %esp,%ebp                      
  117487:	53                   	push   %ebx                           
  117488:	83 ec 14             	sub    $0x14,%esp                     
  11748b:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Locations        location;                                  
  rtems_status_code        return_status;                             
  register Region_Control *the_region;                                
                                                                      
  if ( !the_info )                                                    
  11748e:	85 db                	test   %ebx,%ebx                      
  117490:	74 76                	je     117508 <rtems_region_get_free_information+0x84>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
  117492:	83 ec 0c             	sub    $0xc,%esp                      
  117495:	ff 35 7c 0b 14 00    	pushl  0x140b7c                       
  11749b:	e8 c0 22 00 00       	call   119760 <_API_Mutex_Lock>       
  1174a0:	83 c4 0c             	add    $0xc,%esp                      
                                                                      
    the_region = _Region_Get( id, &location );                        
  1174a3:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  1174a6:	50                   	push   %eax                           
  1174a7:	ff 75 08             	pushl  0x8(%ebp)                      
  1174aa:	68 a0 09 14 00       	push   $0x1409a0                      
  1174af:	e8 bc 3c 00 00       	call   11b170 <_Objects_Get_no_protection>
    switch ( location ) {                                             
  1174b4:	83 c4 10             	add    $0x10,%esp                     
  1174b7:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  1174ba:	85 d2                	test   %edx,%edx                      
  1174bc:	74 1e                	je     1174dc <rtems_region_get_free_information+0x58>
        break;                                                        
#endif                                                                
                                                                      
      case OBJECTS_ERROR:                                             
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
  1174be:	bb 04 00 00 00       	mov    $0x4,%ebx                      
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  1174c3:	83 ec 0c             	sub    $0xc,%esp                      
  1174c6:	ff 35 7c 0b 14 00    	pushl  0x140b7c                       
  1174cc:	e8 d7 22 00 00       	call   1197a8 <_API_Mutex_Unlock>     
  return return_status;                                               
  1174d1:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  1174d4:	89 d8                	mov    %ebx,%eax                      
  1174d6:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1174d9:	c9                   	leave                                 
  1174da:	c3                   	ret                                   
  1174db:	90                   	nop                                   
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
                                                                      
      case OBJECTS_LOCAL:                                             
                                                                      
        the_info->Used.number   = 0;                                  
  1174dc:	c7 43 0c 00 00 00 00 	movl   $0x0,0xc(%ebx)                 
        the_info->Used.total    = 0;                                  
  1174e3:	c7 43 14 00 00 00 00 	movl   $0x0,0x14(%ebx)                
        the_info->Used.largest  = 0;                                  
  1174ea:	c7 43 10 00 00 00 00 	movl   $0x0,0x10(%ebx)                
                                                                      
        _Heap_Get_free_information( &the_region->Memory, &the_info->Free );
  1174f1:	83 ec 08             	sub    $0x8,%esp                      
  1174f4:	53                   	push   %ebx                           
  1174f5:	83 c0 68             	add    $0x68,%eax                     
  1174f8:	50                   	push   %eax                           
  1174f9:	e8 a2 31 00 00       	call   11a6a0 <_Heap_Get_free_information>
                                                                      
        return_status = RTEMS_SUCCESSFUL;                             
        break;                                                        
  1174fe:	83 c4 10             	add    $0x10,%esp                     
        the_info->Used.total    = 0;                                  
        the_info->Used.largest  = 0;                                  
                                                                      
        _Heap_Get_free_information( &the_region->Memory, &the_info->Free );
                                                                      
        return_status = RTEMS_SUCCESSFUL;                             
  117501:	31 db                	xor    %ebx,%ebx                      
        break;                                                        
  117503:	eb be                	jmp    1174c3 <rtems_region_get_free_information+0x3f>
  117505:	8d 76 00             	lea    0x0(%esi),%esi                 
  Objects_Locations        location;                                  
  rtems_status_code        return_status;                             
  register Region_Control *the_region;                                
                                                                      
  if ( !the_info )                                                    
    return RTEMS_INVALID_ADDRESS;                                     
  117508:	bb 09 00 00 00       	mov    $0x9,%ebx                      
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
  11750d:	89 d8                	mov    %ebx,%eax                      
  11750f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  117512:	c9                   	leave                                 
  117513:	c3                   	ret                                   
                                                                      

0011758c <rtems_region_get_segment>: uintptr_t size, rtems_option option_set, rtems_interval timeout, void **segment ) {
  11758c:	55                   	push   %ebp                           
  11758d:	89 e5                	mov    %esp,%ebp                      
  11758f:	57                   	push   %edi                           
  117590:	56                   	push   %esi                           
  117591:	53                   	push   %ebx                           
  117592:	83 ec 2c             	sub    $0x2c,%esp                     
  117595:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  117598:	8b 5d 18             	mov    0x18(%ebp),%ebx                
  Objects_Locations   location;                                       
  rtems_status_code   return_status;                                  
  Region_Control     *the_region;                                     
  void               *the_segment;                                    
                                                                      
  if ( !segment )                                                     
  11759b:	85 db                	test   %ebx,%ebx                      
  11759d:	0f 84 a1 00 00 00    	je     117644 <rtems_region_get_segment+0xb8>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  *segment = NULL;                                                    
  1175a3:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
                                                                      
  if ( size == 0 )                                                    
  1175a9:	85 f6                	test   %esi,%esi                      
  1175ab:	75 0f                	jne    1175bc <rtems_region_get_segment+0x30>
    return RTEMS_INVALID_SIZE;                                        
  1175ad:	b8 08 00 00 00       	mov    $0x8,%eax                      
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
  1175b2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1175b5:	5b                   	pop    %ebx                           
  1175b6:	5e                   	pop    %esi                           
  1175b7:	5f                   	pop    %edi                           
  1175b8:	c9                   	leave                                 
  1175b9:	c3                   	ret                                   
  1175ba:	66 90                	xchg   %ax,%ax                        
  *segment = NULL;                                                    
                                                                      
  if ( size == 0 )                                                    
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  _RTEMS_Lock_allocator();                                            
  1175bc:	83 ec 0c             	sub    $0xc,%esp                      
  1175bf:	ff 35 7c 0b 14 00    	pushl  0x140b7c                       
  1175c5:	e8 96 21 00 00       	call   119760 <_API_Mutex_Lock>       
                                                                      
    executing  = _Thread_Executing;                                   
  1175ca:	a1 58 0d 14 00       	mov    0x140d58,%eax                  
  1175cf:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  1175d2:	83 c4 0c             	add    $0xc,%esp                      
    the_region = _Region_Get( id, &location );                        
  1175d5:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  1175d8:	50                   	push   %eax                           
  1175d9:	ff 75 08             	pushl  0x8(%ebp)                      
  1175dc:	68 a0 09 14 00       	push   $0x1409a0                      
  1175e1:	e8 8a 3b 00 00       	call   11b170 <_Objects_Get_no_protection>
  1175e6:	89 c7                	mov    %eax,%edi                      
    switch ( location ) {                                             
  1175e8:	83 c4 10             	add    $0x10,%esp                     
  1175eb:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  1175ee:	85 c0                	test   %eax,%eax                      
  1175f0:	75 2a                	jne    11761c <rtems_region_get_segment+0x90>
                                                                      
      case OBJECTS_LOCAL:                                             
        if ( size > the_region->maximum_segment_size )                
  1175f2:	3b 77 5c             	cmp    0x5c(%edi),%esi                
  1175f5:	76 2d                	jbe    117624 <rtems_region_get_segment+0x98>
          return_status = RTEMS_INVALID_SIZE;                         
  1175f7:	b8 08 00 00 00       	mov    $0x8,%eax                      
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  1175fc:	83 ec 0c             	sub    $0xc,%esp                      
  1175ff:	ff 35 7c 0b 14 00    	pushl  0x140b7c                       
  117605:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  117608:	e8 9b 21 00 00       	call   1197a8 <_API_Mutex_Unlock>     
  return return_status;                                               
  11760d:	83 c4 10             	add    $0x10,%esp                     
  117610:	8b 45 d0             	mov    -0x30(%ebp),%eax               
}                                                                     
  117613:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  117616:	5b                   	pop    %ebx                           
  117617:	5e                   	pop    %esi                           
  117618:	5f                   	pop    %edi                           
  117619:	c9                   	leave                                 
  11761a:	c3                   	ret                                   
  11761b:	90                   	nop                                   
        break;                                                        
#endif                                                                
                                                                      
      case OBJECTS_ERROR:                                             
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
  11761c:	b8 04 00 00 00       	mov    $0x4,%eax                      
  117621:	eb d9                	jmp    1175fc <rtems_region_get_segment+0x70>
  117623:	90                   	nop                                   
 * @brief See _Heap_Allocate_aligned_with_boundary() with alignment and
 * boundary equals zero.                                              
 */                                                                   
RTEMS_INLINE_ROUTINE void *_Heap_Allocate( Heap_Control *heap, uintptr_t size )
{                                                                     
  return _Heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );    
  117624:	6a 00                	push   $0x0                           
  117626:	6a 00                	push   $0x0                           
  117628:	56                   	push   %esi                           
RTEMS_INLINE_ROUTINE void *_Region_Allocate_segment (                 
  Region_Control *the_region,                                         
  uintptr_t       size                                                
)                                                                     
{                                                                     
  return _Heap_Allocate( &the_region->Memory, size );                 
  117629:	8d 47 68             	lea    0x68(%edi),%eax                
  11762c:	50                   	push   %eax                           
  11762d:	e8 b2 2a 00 00       	call   11a0e4 <_Heap_Allocate_aligned_with_boundary>
                                                                      
          the_segment = _Region_Allocate_segment( the_region, size ); 
                                                                      
          _Region_Debug_Walk( the_region, 2 );                        
                                                                      
          if ( the_segment ) {                                        
  117632:	83 c4 10             	add    $0x10,%esp                     
  117635:	85 c0                	test   %eax,%eax                      
  117637:	74 17                	je     117650 <rtems_region_get_segment+0xc4>
            the_region->number_of_used_blocks += 1;                   
  117639:	ff 47 64             	incl   0x64(%edi)                     
            *segment = the_segment;                                   
  11763c:	89 03                	mov    %eax,(%ebx)                    
            return_status = RTEMS_SUCCESSFUL;                         
  11763e:	31 c0                	xor    %eax,%eax                      
  117640:	eb ba                	jmp    1175fc <rtems_region_get_segment+0x70>
  117642:	66 90                	xchg   %ax,%ax                        
  rtems_status_code   return_status;                                  
  Region_Control     *the_region;                                     
  void               *the_segment;                                    
                                                                      
  if ( !segment )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
  117644:	b8 09 00 00 00       	mov    $0x9,%eax                      
  117649:	e9 64 ff ff ff       	jmp    1175b2 <rtems_region_get_segment+0x26>
  11764e:	66 90                	xchg   %ax,%ax                        
                                                                      
          if ( the_segment ) {                                        
            the_region->number_of_used_blocks += 1;                   
            *segment = the_segment;                                   
            return_status = RTEMS_SUCCESSFUL;                         
          } else if ( _Options_Is_no_wait( option_set ) ) {           
  117650:	f6 45 10 01          	testb  $0x1,0x10(%ebp)                
  117654:	74 07                	je     11765d <rtems_region_get_segment+0xd1>
            return_status = RTEMS_UNSATISFIED;                        
  117656:	b8 0d 00 00 00       	mov    $0xd,%eax                      
  11765b:	eb 9f                	jmp    1175fc <rtems_region_get_segment+0x70>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  11765d:	a1 90 0a 14 00       	mov    0x140a90,%eax                  
  117662:	40                   	inc    %eax                           
  117663:	a3 90 0a 14 00       	mov    %eax,0x140a90                  
             *  Switch from using the memory allocation mutex to using a
             *  dispatching disabled critical section.  We have to do this
             *  because this thread is going to block.                
             */                                                       
            _Thread_Disable_dispatch();                               
            _RTEMS_Unlock_allocator();                                
  117668:	83 ec 0c             	sub    $0xc,%esp                      
  11766b:	ff 35 7c 0b 14 00    	pushl  0x140b7c                       
  117671:	e8 32 21 00 00       	call   1197a8 <_API_Mutex_Unlock>     
                                                                      
            executing->Wait.queue           = &the_region->Wait_queue;
  117676:	8d 47 10             	lea    0x10(%edi),%eax                
  117679:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  11767c:	89 42 44             	mov    %eax,0x44(%edx)                
            executing->Wait.id              = id;                     
  11767f:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  117682:	89 4a 20             	mov    %ecx,0x20(%edx)                
            executing->Wait.count           = size;                   
  117685:	89 72 24             	mov    %esi,0x24(%edx)                
            executing->Wait.return_argument = segment;                
  117688:	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;
  11768b:	c7 47 40 01 00 00 00 	movl   $0x1,0x40(%edi)                
                                                                      
            _Thread_queue_Enter_critical_section( &the_region->Wait_queue );
                                                                      
            _Thread_queue_Enqueue( &the_region->Wait_queue, timeout );
  117692:	83 c4 0c             	add    $0xc,%esp                      
  117695:	68 18 c4 11 00       	push   $0x11c418                      
  11769a:	ff 75 14             	pushl  0x14(%ebp)                     
  11769d:	50                   	push   %eax                           
  11769e:	e8 49 4a 00 00       	call   11c0ec <_Thread_queue_Enqueue_with_handler>
                                                                      
            _Thread_Enable_dispatch();                                
  1176a3:	e8 8c 45 00 00       	call   11bc34 <_Thread_Enable_dispatch>
                                                                      
            return (rtems_status_code) executing->Wait.return_code;   
  1176a8:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  1176ab:	8b 42 34             	mov    0x34(%edx),%eax                
  1176ae:	83 c4 10             	add    $0x10,%esp                     
  1176b1:	e9 fc fe ff ff       	jmp    1175b2 <rtems_region_get_segment+0x26>
                                                                      

0011776c <rtems_region_resize_segment>: rtems_id id, void *segment, uintptr_t size, uintptr_t *old_size ) {
  11776c:	55                   	push   %ebp                           
  11776d:	89 e5                	mov    %esp,%ebp                      
  11776f:	56                   	push   %esi                           
  117770:	53                   	push   %ebx                           
  117771:	83 ec 20             	sub    $0x20,%esp                     
  117774:	8b 5d 14             	mov    0x14(%ebp),%ebx                
  uintptr_t                osize;                                     
  rtems_status_code        return_status;                             
  Heap_Resize_status       status;                                    
  register Region_Control *the_region;                                
                                                                      
  if ( !old_size )                                                    
  117777:	85 db                	test   %ebx,%ebx                      
  117779:	0f 84 89 00 00 00    	je     117808 <rtems_region_resize_segment+0x9c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
  11777f:	83 ec 0c             	sub    $0xc,%esp                      
  117782:	ff 35 7c 0b 14 00    	pushl  0x140b7c                       
  117788:	e8 d3 1f 00 00       	call   119760 <_API_Mutex_Lock>       
  11778d:	83 c4 0c             	add    $0xc,%esp                      
                                                                      
    the_region = _Region_Get( id, &location );                        
  117790:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  117793:	50                   	push   %eax                           
  117794:	ff 75 08             	pushl  0x8(%ebp)                      
  117797:	68 a0 09 14 00       	push   $0x1409a0                      
  11779c:	e8 cf 39 00 00       	call   11b170 <_Objects_Get_no_protection>
  1177a1:	89 c6                	mov    %eax,%esi                      
    switch ( location ) {                                             
  1177a3:	83 c4 10             	add    $0x10,%esp                     
  1177a6:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  1177a9:	85 c0                	test   %eax,%eax                      
  1177ab:	74 1f                	je     1177cc <rtems_region_resize_segment+0x60>
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  1177ad:	83 ec 0c             	sub    $0xc,%esp                      
  1177b0:	ff 35 7c 0b 14 00    	pushl  0x140b7c                       
  1177b6:	e8 ed 1f 00 00       	call   1197a8 <_API_Mutex_Unlock>     
  return return_status;                                               
  1177bb:	83 c4 10             	add    $0x10,%esp                     
  1177be:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  1177c3:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1177c6:	5b                   	pop    %ebx                           
  1177c7:	5e                   	pop    %esi                           
  1177c8:	c9                   	leave                                 
  1177c9:	c3                   	ret                                   
  1177ca:	66 90                	xchg   %ax,%ax                        
                                                                      
      case OBJECTS_LOCAL:                                             
                                                                      
        _Region_Debug_Walk( the_region, 7 );                          
                                                                      
        status = _Heap_Resize_block(                                  
  1177cc:	83 ec 0c             	sub    $0xc,%esp                      
  1177cf:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  1177d2:	50                   	push   %eax                           
  1177d3:	8d 45 ec             	lea    -0x14(%ebp),%eax               
  1177d6:	50                   	push   %eax                           
  1177d7:	ff 75 10             	pushl  0x10(%ebp)                     
  1177da:	ff 75 0c             	pushl  0xc(%ebp)                      
  1177dd:	8d 46 68             	lea    0x68(%esi),%eax                
  1177e0:	50                   	push   %eax                           
  1177e1:	e8 e6 32 00 00       	call   11aacc <_Heap_Resize_block>    
          segment,                                                    
          (uint32_t) size,                                            
          &osize,                                                     
          &avail_size                                                 
        );                                                            
        *old_size = (uint32_t) osize;                                 
  1177e6:	8b 55 ec             	mov    -0x14(%ebp),%edx               
  1177e9:	89 13                	mov    %edx,(%ebx)                    
                                                                      
        _Region_Debug_Walk( the_region, 8 );                          
                                                                      
        if ( status == HEAP_RESIZE_SUCCESSFUL )                       
  1177eb:	83 c4 20             	add    $0x20,%esp                     
  1177ee:	85 c0                	test   %eax,%eax                      
  1177f0:	75 22                	jne    117814 <rtems_region_resize_segment+0xa8>
          _Region_Process_queue( the_region );    /* unlocks allocator */
  1177f2:	83 ec 0c             	sub    $0xc,%esp                      
  1177f5:	56                   	push   %esi                           
  1177f6:	e8 29 71 00 00       	call   11e924 <_Region_Process_queue> 
  1177fb:	83 c4 10             	add    $0x10,%esp                     
        else                                                          
          _RTEMS_Unlock_allocator();                                  
                                                                      
                                                                      
        if (status == HEAP_RESIZE_SUCCESSFUL)                         
          return RTEMS_SUCCESSFUL;                                    
  1177fe:	31 c0                	xor    %eax,%eax                      
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
  117800:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  117803:	5b                   	pop    %ebx                           
  117804:	5e                   	pop    %esi                           
  117805:	c9                   	leave                                 
  117806:	c3                   	ret                                   
  117807:	90                   	nop                                   
  rtems_status_code        return_status;                             
  Heap_Resize_status       status;                                    
  register Region_Control *the_region;                                
                                                                      
  if ( !old_size )                                                    
    return RTEMS_INVALID_ADDRESS;                                     
  117808:	b8 09 00 00 00       	mov    $0x9,%eax                      
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
  11780d:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  117810:	5b                   	pop    %ebx                           
  117811:	5e                   	pop    %esi                           
  117812:	c9                   	leave                                 
  117813:	c3                   	ret                                   
        _Region_Debug_Walk( the_region, 8 );                          
                                                                      
        if ( status == HEAP_RESIZE_SUCCESSFUL )                       
          _Region_Process_queue( the_region );    /* unlocks allocator */
        else                                                          
          _RTEMS_Unlock_allocator();                                  
  117814:	83 ec 0c             	sub    $0xc,%esp                      
  117817:	ff 35 7c 0b 14 00    	pushl  0x140b7c                       
  11781d:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  117820:	e8 83 1f 00 00       	call   1197a8 <_API_Mutex_Unlock>     
                                                                      
                                                                      
        if (status == HEAP_RESIZE_SUCCESSFUL)                         
          return RTEMS_SUCCESSFUL;                                    
        if (status == HEAP_RESIZE_UNSATISFIED)                        
  117825:	83 c4 10             	add    $0x10,%esp                     
          return RTEMS_UNSATISFIED;                                   
  117828:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  11782b:	48                   	dec    %eax                           
  11782c:	0f 94 c0             	sete   %al                            
  11782f:	0f b6 c0             	movzbl %al,%eax                       
  117832:	8d 04 85 09 00 00 00 	lea    0x9(,%eax,4),%eax              
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
  117839:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  11783c:	5b                   	pop    %ebx                           
  11783d:	5e                   	pop    %esi                           
  11783e:	c9                   	leave                                 
  11783f:	c3                   	ret                                   
                                                                      

00117840 <rtems_region_return_segment>: rtems_status_code rtems_region_return_segment( rtems_id id, void *segment ) {
  117840:	55                   	push   %ebp                           
  117841:	89 e5                	mov    %esp,%ebp                      
  117843:	53                   	push   %ebx                           
  117844:	83 ec 20             	sub    $0x20,%esp                     
  uint32_t                 size;                                      
#endif                                                                
  int                      status;                                    
  register Region_Control *the_region;                                
                                                                      
  _RTEMS_Lock_allocator();                                            
  117847:	ff 35 7c 0b 14 00    	pushl  0x140b7c                       
  11784d:	e8 0e 1f 00 00       	call   119760 <_API_Mutex_Lock>       
  117852:	83 c4 0c             	add    $0xc,%esp                      
                                                                      
    the_region = _Region_Get( id, &location );                        
  117855:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  117858:	50                   	push   %eax                           
  117859:	ff 75 08             	pushl  0x8(%ebp)                      
  11785c:	68 a0 09 14 00       	push   $0x1409a0                      
  117861:	e8 0a 39 00 00       	call   11b170 <_Objects_Get_no_protection>
  117866:	89 c3                	mov    %eax,%ebx                      
    switch ( location ) {                                             
  117868:	83 c4 10             	add    $0x10,%esp                     
  11786b:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  11786e:	85 c0                	test   %eax,%eax                      
  117870:	75 1e                	jne    117890 <rtems_region_return_segment+0x50>
RTEMS_INLINE_ROUTINE bool _Region_Free_segment (                      
  Region_Control *the_region,                                         
  void           *the_segment                                         
)                                                                     
{                                                                     
  return _Heap_Free( &the_region->Memory, the_segment );              
  117872:	83 ec 08             	sub    $0x8,%esp                      
  117875:	ff 75 0c             	pushl  0xc(%ebp)                      
  117878:	8d 43 68             	lea    0x68(%ebx),%eax                
  11787b:	50                   	push   %eax                           
  11787c:	e8 cf 2c 00 00       	call   11a550 <_Heap_Free>            
#endif                                                                
          status = _Region_Free_segment( the_region, segment );       
                                                                      
          _Region_Debug_Walk( the_region, 4 );                        
                                                                      
          if ( !status )                                              
  117881:	83 c4 10             	add    $0x10,%esp                     
  117884:	84 c0                	test   %al,%al                        
  117886:	75 28                	jne    1178b0 <rtems_region_return_segment+0x70>
            return_status = RTEMS_INVALID_ADDRESS;                    
  117888:	bb 09 00 00 00       	mov    $0x9,%ebx                      
  11788d:	eb 06                	jmp    117895 <rtems_region_return_segment+0x55>
  11788f:	90                   	nop                                   
        break;                                                        
#endif                                                                
                                                                      
      case OBJECTS_ERROR:                                             
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
  117890:	bb 04 00 00 00       	mov    $0x4,%ebx                      
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  117895:	83 ec 0c             	sub    $0xc,%esp                      
  117898:	ff 35 7c 0b 14 00    	pushl  0x140b7c                       
  11789e:	e8 05 1f 00 00       	call   1197a8 <_API_Mutex_Unlock>     
  return return_status;                                               
  1178a3:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  1178a6:	89 d8                	mov    %ebx,%eax                      
  1178a8:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1178ab:	c9                   	leave                                 
  1178ac:	c3                   	ret                                   
  1178ad:	8d 76 00             	lea    0x0(%esi),%esi                 
          _Region_Debug_Walk( the_region, 4 );                        
                                                                      
          if ( !status )                                              
            return_status = RTEMS_INVALID_ADDRESS;                    
          else {                                                      
            the_region->number_of_used_blocks -= 1;                   
  1178b0:	ff 4b 64             	decl   0x64(%ebx)                     
                                                                      
            _Region_Process_queue(the_region); /* unlocks allocator */
  1178b3:	83 ec 0c             	sub    $0xc,%esp                      
  1178b6:	53                   	push   %ebx                           
  1178b7:	e8 68 70 00 00       	call   11e924 <_Region_Process_queue> 
                                                                      
            return RTEMS_SUCCESSFUL;                                  
  1178bc:	83 c4 10             	add    $0x10,%esp                     
  1178bf:	31 db                	xor    %ebx,%ebx                      
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
  1178c1:	89 d8                	mov    %ebx,%eax                      
  1178c3:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1178c6:	c9                   	leave                                 
  1178c7:	c3                   	ret                                   
                                                                      

0010b434 <rtems_semaphore_create>: uint32_t count, rtems_attribute attribute_set, rtems_task_priority priority_ceiling, rtems_id *id ) {
  10b434:	55                   	push   %ebp                           
  10b435:	89 e5                	mov    %esp,%ebp                      
  10b437:	57                   	push   %edi                           
  10b438:	56                   	push   %esi                           
  10b439:	53                   	push   %ebx                           
  10b43a:	83 ec 3c             	sub    $0x3c,%esp                     
  10b43d:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10b440:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  10b443:	8b 7d 18             	mov    0x18(%ebp),%edi                
  register Semaphore_Control *the_semaphore;                          
  CORE_mutex_Attributes       the_mutex_attr;                         
  CORE_semaphore_Attributes   the_semaphore_attr;                     
  CORE_mutex_Status           mutex_status;                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  10b446:	85 f6                	test   %esi,%esi                      
  10b448:	74 4a                	je     10b494 <rtems_semaphore_create+0x60>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
  10b44a:	85 ff                	test   %edi,%edi                      
  10b44c:	0f 84 f6 00 00 00    	je     10b548 <rtems_semaphore_create+0x114>
      return RTEMS_NOT_DEFINED;                                       
                                                                      
  } else                                                              
#endif                                                                
                                                                      
  if ( _Attributes_Is_inherit_priority( attribute_set ) ||            
  10b452:	89 da                	mov    %ebx,%edx                      
  10b454:	81 e2 c0 00 00 00    	and    $0xc0,%edx                     
  10b45a:	74 48                	je     10b4a4 <rtems_semaphore_create+0x70>
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Attributes_Is_binary_semaphore(            
  rtems_attribute attribute_set                                       
)                                                                     
{                                                                     
  return ((attribute_set & RTEMS_SEMAPHORE_CLASS) == RTEMS_BINARY_SEMAPHORE);
  10b45c:	89 d8                	mov    %ebx,%eax                      
  10b45e:	83 e0 30             	and    $0x30,%eax                     
              _Attributes_Is_priority_ceiling( attribute_set ) ) {    
                                                                      
    if ( ! (_Attributes_Is_binary_semaphore( attribute_set ) &&       
  10b461:	83 f8 10             	cmp    $0x10,%eax                     
  10b464:	74 0e                	je     10b474 <rtems_semaphore_create+0x40>
                                                                      
  }                                                                   
                                                                      
  if ( _Attributes_Is_inherit_priority( attribute_set ) &&            
       _Attributes_Is_priority_ceiling( attribute_set ) )             
    return RTEMS_NOT_DEFINED;                                         
  10b466:	b8 0b 00 00 00       	mov    $0xb,%eax                      
      0                          /* Not used */                       
    );                                                                
#endif                                                                
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10b46b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b46e:	5b                   	pop    %ebx                           
  10b46f:	5e                   	pop    %esi                           
  10b470:	5f                   	pop    %edi                           
  10b471:	c9                   	leave                                 
  10b472:	c3                   	ret                                   
  10b473:	90                   	nop                                   
#endif                                                                
                                                                      
  if ( _Attributes_Is_inherit_priority( attribute_set ) ||            
              _Attributes_Is_priority_ceiling( attribute_set ) ) {    
                                                                      
    if ( ! (_Attributes_Is_binary_semaphore( attribute_set ) &&       
  10b474:	f6 c3 04             	test   $0x4,%bl                       
  10b477:	74 ed                	je     10b466 <rtems_semaphore_create+0x32>
            _Attributes_Is_priority( attribute_set ) ) )              
      return RTEMS_NOT_DEFINED;                                       
                                                                      
  }                                                                   
                                                                      
  if ( _Attributes_Is_inherit_priority( attribute_set ) &&            
  10b479:	81 fa c0 00 00 00    	cmp    $0xc0,%edx                     
  10b47f:	74 e5                	je     10b466 <rtems_semaphore_create+0x32>
  10b481:	b9 10 00 00 00       	mov    $0x10,%ecx                     
       _Attributes_Is_priority_ceiling( attribute_set ) )             
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !_Attributes_Is_counting_semaphore( attribute_set ) && ( count > 1 ) )
  10b486:	83 7d 0c 01          	cmpl   $0x1,0xc(%ebp)                 
  10b48a:	76 1f                	jbe    10b4ab <rtems_semaphore_create+0x77>
    return RTEMS_INVALID_NUMBER;                                      
  10b48c:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  10b491:	eb d8                	jmp    10b46b <rtems_semaphore_create+0x37>
  10b493:	90                   	nop                                   
  CORE_mutex_Attributes       the_mutex_attr;                         
  CORE_semaphore_Attributes   the_semaphore_attr;                     
  CORE_mutex_Status           mutex_status;                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
  10b494:	b8 03 00 00 00       	mov    $0x3,%eax                      
      0                          /* Not used */                       
    );                                                                
#endif                                                                
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10b499:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b49c:	5b                   	pop    %ebx                           
  10b49d:	5e                   	pop    %esi                           
  10b49e:	5f                   	pop    %edi                           
  10b49f:	c9                   	leave                                 
  10b4a0:	c3                   	ret                                   
  10b4a1:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( _Attributes_Is_inherit_priority( attribute_set ) &&            
       _Attributes_Is_priority_ceiling( attribute_set ) )             
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !_Attributes_Is_counting_semaphore( attribute_set ) && ( count > 1 ) )
  10b4a4:	89 d9                	mov    %ebx,%ecx                      
  10b4a6:	83 e1 30             	and    $0x30,%ecx                     
  10b4a9:	75 db                	jne    10b486 <rtems_semaphore_create+0x52>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10b4ab:	a1 70 54 12 00       	mov    0x125470,%eax                  
  10b4b0:	40                   	inc    %eax                           
  10b4b1:	a3 70 54 12 00       	mov    %eax,0x125470                  
 *  This function allocates a semaphore control block from            
 *  the inactive chain of free semaphore control blocks.              
 */                                                                   
RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Allocate( void )   
{                                                                     
  return (Semaphore_Control *) _Objects_Allocate( &_Semaphore_Information );
  10b4b6:	83 ec 0c             	sub    $0xc,%esp                      
  10b4b9:	68 c0 53 12 00       	push   $0x1253c0                      
  10b4be:	89 4d c4             	mov    %ecx,-0x3c(%ebp)               
  10b4c1:	e8 ee 13 00 00       	call   10c8b4 <_Objects_Allocate>     
  10b4c6:	89 c2                	mov    %eax,%edx                      
                                                                      
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_semaphore = _Semaphore_Allocate();                              
                                                                      
  if ( !the_semaphore ) {                                             
  10b4c8:	83 c4 10             	add    $0x10,%esp                     
  10b4cb:	85 c0                	test   %eax,%eax                      
  10b4cd:	8b 4d c4             	mov    -0x3c(%ebp),%ecx               
  10b4d0:	0f 84 ba 00 00 00    	je     10b590 <rtems_semaphore_create+0x15c>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_semaphore->attribute_set = attribute_set;                       
  10b4d6:	89 58 10             	mov    %ebx,0x10(%eax)                
                                                                      
  /*                                                                  
   *  Initialize it as a counting semaphore.                          
   */                                                                 
  if ( _Attributes_Is_counting_semaphore( attribute_set ) ) {         
  10b4d9:	85 c9                	test   %ecx,%ecx                      
  10b4db:	74 77                	je     10b554 <rtems_semaphore_create+0x120>
    /*                                                                
     *  It is either simple binary semaphore or a more powerful mutex 
     *  style binary semaphore.  This is the mutex style.             
     */                                                               
    if ( _Attributes_Is_priority( attribute_set ) )                   
      the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY;    
  10b4dd:	31 c0                	xor    %eax,%eax                      
  10b4df:	f6 c3 04             	test   $0x4,%bl                       
  10b4e2:	0f 95 c0             	setne  %al                            
  10b4e5:	89 45 d8             	mov    %eax,-0x28(%ebp)               
    else                                                              
      the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_FIFO;        
                                                                      
    if ( _Attributes_Is_binary_semaphore( attribute_set ) ) {         
  10b4e8:	83 f9 10             	cmp    $0x10,%ecx                     
  10b4eb:	0f 84 ae 00 00 00    	je     10b59f <rtems_semaphore_create+0x16b>
          the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING;
          the_mutex_attr.only_owner_release = true;                   
        }                                                             
      }                                                               
    } else /* must be simple binary semaphore */ {                    
      the_mutex_attr.lock_nesting_behavior = CORE_MUTEX_NESTING_BLOCKS;
  10b4f1:	c7 45 d0 02 00 00 00 	movl   $0x2,-0x30(%ebp)               
      the_mutex_attr.only_owner_release = false;                      
  10b4f8:	c6 45 d4 00          	movb   $0x0,-0x2c(%ebp)               
    }                                                                 
                                                                      
    mutex_status = _CORE_mutex_Initialize(                            
  10b4fc:	50                   	push   %eax                           
  10b4fd:	31 c0                	xor    %eax,%eax                      
  10b4ff:	83 7d 0c 01          	cmpl   $0x1,0xc(%ebp)                 
  10b503:	0f 94 c0             	sete   %al                            
  10b506:	50                   	push   %eax                           
  10b507:	8d 45 d0             	lea    -0x30(%ebp),%eax               
  10b50a:	50                   	push   %eax                           
  10b50b:	8d 42 14             	lea    0x14(%edx),%eax                
  10b50e:	50                   	push   %eax                           
  10b50f:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  10b512:	e8 95 0b 00 00       	call   10c0ac <_CORE_mutex_Initialize>
      &the_semaphore->Core_control.mutex,                             
      &the_mutex_attr,                                                
      (count == 1) ? CORE_MUTEX_UNLOCKED : CORE_MUTEX_LOCKED          
    );                                                                
                                                                      
    if ( mutex_status == CORE_MUTEX_STATUS_CEILING_VIOLATED ) {       
  10b517:	83 c4 10             	add    $0x10,%esp                     
  10b51a:	83 f8 06             	cmp    $0x6,%eax                      
  10b51d:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  10b520:	0f 84 a9 00 00 00    	je     10b5cf <rtems_semaphore_create+0x19b>
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  10b526:	8b 42 08             	mov    0x8(%edx),%eax                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10b529:	0f b7 d8             	movzwl %ax,%ebx                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10b52c:	8b 0d dc 53 12 00    	mov    0x1253dc,%ecx                  
  10b532:	89 14 99             	mov    %edx,(%ecx,%ebx,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  10b535:	89 72 0c             	mov    %esi,0xc(%edx)                 
    &_Semaphore_Information,                                          
    &the_semaphore->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_semaphore->Object.id;                                     
  10b538:	89 07                	mov    %eax,(%edi)                    
      the_semaphore->Object.id,                                       
      name,                                                           
      0                          /* Not used */                       
    );                                                                
#endif                                                                
  _Thread_Enable_dispatch();                                          
  10b53a:	e8 b5 22 00 00       	call   10d7f4 <_Thread_Enable_dispatch>
  return RTEMS_SUCCESSFUL;                                            
  10b53f:	31 c0                	xor    %eax,%eax                      
  10b541:	e9 25 ff ff ff       	jmp    10b46b <rtems_semaphore_create+0x37>
  10b546:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
  10b548:	b8 09 00 00 00       	mov    $0x9,%eax                      
  10b54d:	e9 19 ff ff ff       	jmp    10b46b <rtems_semaphore_create+0x37>
  10b552:	66 90                	xchg   %ax,%ax                        
   */                                                                 
  if ( _Attributes_Is_counting_semaphore( attribute_set ) ) {         
    /*                                                                
     *  This effectively disables limit checking.                     
     */                                                               
    the_semaphore_attr.maximum_count = 0xFFFFFFFF;                    
  10b554:	c7 45 e0 ff ff ff ff 	movl   $0xffffffff,-0x20(%ebp)        
                                                                      
    if ( _Attributes_Is_priority( attribute_set ) )                   
      the_semaphore_attr.discipline = CORE_SEMAPHORE_DISCIPLINES_PRIORITY;
  10b55b:	31 c0                	xor    %eax,%eax                      
  10b55d:	f6 c3 04             	test   $0x4,%bl                       
  10b560:	0f 95 c0             	setne  %al                            
  10b563:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
      the_semaphore_attr.discipline = CORE_SEMAPHORE_DISCIPLINES_FIFO;
                                                                      
    /*                                                                
     *  The following are just to make Purify happy.                  
     */                                                               
    the_mutex_attr.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
  10b566:	c7 45 d0 00 00 00 00 	movl   $0x0,-0x30(%ebp)               
    the_mutex_attr.priority_ceiling = PRIORITY_MINIMUM;               
  10b56d:	c7 45 dc 00 00 00 00 	movl   $0x0,-0x24(%ebp)               
                                                                      
    _CORE_semaphore_Initialize(                                       
  10b574:	51                   	push   %ecx                           
  10b575:	ff 75 0c             	pushl  0xc(%ebp)                      
  10b578:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10b57b:	50                   	push   %eax                           
  10b57c:	8d 42 14             	lea    0x14(%edx),%eax                
  10b57f:	50                   	push   %eax                           
  10b580:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  10b583:	e8 b4 0d 00 00       	call   10c33c <_CORE_semaphore_Initialize>
  10b588:	83 c4 10             	add    $0x10,%esp                     
  10b58b:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  10b58e:	eb 96                	jmp    10b526 <rtems_semaphore_create+0xf2>
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_semaphore = _Semaphore_Allocate();                              
                                                                      
  if ( !the_semaphore ) {                                             
    _Thread_Enable_dispatch();                                        
  10b590:	e8 5f 22 00 00       	call   10d7f4 <_Thread_Enable_dispatch>
    return RTEMS_TOO_MANY;                                            
  10b595:	b8 05 00 00 00       	mov    $0x5,%eax                      
  10b59a:	e9 cc fe ff ff       	jmp    10b46b <rtems_semaphore_create+0x37>
      the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY;    
    else                                                              
      the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_FIFO;        
                                                                      
    if ( _Attributes_Is_binary_semaphore( attribute_set ) ) {         
      the_mutex_attr.priority_ceiling      = priority_ceiling;        
  10b59f:	8b 45 14             	mov    0x14(%ebp),%eax                
  10b5a2:	89 45 dc             	mov    %eax,-0x24(%ebp)               
      the_mutex_attr.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
  10b5a5:	c7 45 d0 00 00 00 00 	movl   $0x0,-0x30(%ebp)               
      the_mutex_attr.only_owner_release    = false;                   
  10b5ac:	c6 45 d4 00          	movb   $0x0,-0x2c(%ebp)               
                                                                      
      if ( the_mutex_attr.discipline == CORE_MUTEX_DISCIPLINES_PRIORITY ) {
  10b5b0:	83 7d d8 01          	cmpl   $0x1,-0x28(%ebp)               
  10b5b4:	0f 85 42 ff ff ff    	jne    10b4fc <rtems_semaphore_create+0xc8>
        if ( _Attributes_Is_inherit_priority( attribute_set ) ) {     
  10b5ba:	f6 c3 40             	test   $0x40,%bl                      
  10b5bd:	74 30                	je     10b5ef <rtems_semaphore_create+0x1bb>
          the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT;
  10b5bf:	c7 45 d8 02 00 00 00 	movl   $0x2,-0x28(%ebp)               
          the_mutex_attr.only_owner_release = true;                   
  10b5c6:	c6 45 d4 01          	movb   $0x1,-0x2c(%ebp)               
  10b5ca:	e9 2d ff ff ff       	jmp    10b4fc <rtems_semaphore_create+0xc8>
 */                                                                   
RTEMS_INLINE_ROUTINE void _Semaphore_Free (                           
  Semaphore_Control *the_semaphore                                    
)                                                                     
{                                                                     
  _Objects_Free( &_Semaphore_Information, &the_semaphore->Object );   
  10b5cf:	83 ec 08             	sub    $0x8,%esp                      
  10b5d2:	52                   	push   %edx                           
  10b5d3:	68 c0 53 12 00       	push   $0x1253c0                      
  10b5d8:	e8 4f 16 00 00       	call   10cc2c <_Objects_Free>         
      (count == 1) ? CORE_MUTEX_UNLOCKED : CORE_MUTEX_LOCKED          
    );                                                                
                                                                      
    if ( mutex_status == CORE_MUTEX_STATUS_CEILING_VIOLATED ) {       
      _Semaphore_Free( the_semaphore );                               
      _Thread_Enable_dispatch();                                      
  10b5dd:	e8 12 22 00 00       	call   10d7f4 <_Thread_Enable_dispatch>
      return RTEMS_INVALID_PRIORITY;                                  
  10b5e2:	83 c4 10             	add    $0x10,%esp                     
  10b5e5:	b8 13 00 00 00       	mov    $0x13,%eax                     
  10b5ea:	e9 7c fe ff ff       	jmp    10b46b <rtems_semaphore_create+0x37>
                                                                      
      if ( the_mutex_attr.discipline == CORE_MUTEX_DISCIPLINES_PRIORITY ) {
        if ( _Attributes_Is_inherit_priority( attribute_set ) ) {     
          the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT;
          the_mutex_attr.only_owner_release = true;                   
        } else if ( _Attributes_Is_priority_ceiling( attribute_set ) ) {
  10b5ef:	81 e3 80 00 00 00    	and    $0x80,%ebx                     
  10b5f5:	0f 84 01 ff ff ff    	je     10b4fc <rtems_semaphore_create+0xc8>
          the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING;
  10b5fb:	c7 45 d8 03 00 00 00 	movl   $0x3,-0x28(%ebp)               
          the_mutex_attr.only_owner_release = true;                   
  10b602:	c6 45 d4 01          	movb   $0x1,-0x2c(%ebp)               
  10b606:	e9 f1 fe ff ff       	jmp    10b4fc <rtems_semaphore_create+0xc8>
                                                                      

0010b60c <rtems_semaphore_delete>: #endif rtems_status_code rtems_semaphore_delete( rtems_id id ) {
  10b60c:	55                   	push   %ebp                           
  10b60d:	89 e5                	mov    %esp,%ebp                      
  10b60f:	53                   	push   %ebx                           
  10b610:	83 ec 18             	sub    $0x18,%esp                     
  register Semaphore_Control *the_semaphore;                          
  Objects_Locations           location;                               
                                                                      
  the_semaphore = _Semaphore_Get( id, &location );                    
  10b613:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Semaphore_Control *)                                        
    _Objects_Get( &_Semaphore_Information, id, location );            
  10b616:	50                   	push   %eax                           
  10b617:	ff 75 08             	pushl  0x8(%ebp)                      
  10b61a:	68 c0 53 12 00       	push   $0x1253c0                      
  10b61f:	e8 48 17 00 00       	call   10cd6c <_Objects_Get>          
  10b624:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  10b626:	83 c4 10             	add    $0x10,%esp                     
  10b629:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  10b62c:	85 c9                	test   %ecx,%ecx                      
  10b62e:	74 0c                	je     10b63c <rtems_semaphore_delete+0x30>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10b630:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10b635:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b638:	c9                   	leave                                 
  10b639:	c3                   	ret                                   
  10b63a:	66 90                	xchg   %ax,%ax                        
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Attributes_Is_counting_semaphore(          
  rtems_attribute attribute_set                                       
)                                                                     
{                                                                     
  return ((attribute_set & RTEMS_SEMAPHORE_CLASS) == RTEMS_COUNTING_SEMAPHORE);
  10b63c:	8b 40 10             	mov    0x10(%eax),%eax                
                                                                      
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) {
  10b63f:	83 e0 30             	and    $0x30,%eax                     
  10b642:	74 58                	je     10b69c <rtems_semaphore_delete+0x90>
        if ( _CORE_mutex_Is_locked( &the_semaphore->Core_control.mutex ) &&
  10b644:	8b 53 64             	mov    0x64(%ebx),%edx                
  10b647:	85 d2                	test   %edx,%edx                      
  10b649:	75 15                	jne    10b660 <rtems_semaphore_delete+0x54>
  10b64b:	83 f8 20             	cmp    $0x20,%eax                     
  10b64e:	74 10                	je     10b660 <rtems_semaphore_delete+0x54>
             !_Attributes_Is_simple_binary_semaphore(                 
                 the_semaphore->attribute_set ) ) {                   
          _Thread_Enable_dispatch();                                  
  10b650:	e8 9f 21 00 00       	call   10d7f4 <_Thread_Enable_dispatch>
          return RTEMS_RESOURCE_IN_USE;                               
  10b655:	b8 0c 00 00 00       	mov    $0xc,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10b65a:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b65d:	c9                   	leave                                 
  10b65e:	c3                   	ret                                   
  10b65f:	90                   	nop                                   
             !_Attributes_Is_simple_binary_semaphore(                 
                 the_semaphore->attribute_set ) ) {                   
          _Thread_Enable_dispatch();                                  
          return RTEMS_RESOURCE_IN_USE;                               
        }                                                             
        _CORE_mutex_Flush(                                            
  10b660:	50                   	push   %eax                           
  10b661:	6a 04                	push   $0x4                           
  10b663:	6a 00                	push   $0x0                           
  10b665:	8d 43 14             	lea    0x14(%ebx),%eax                
  10b668:	50                   	push   %eax                           
  10b669:	e8 32 0a 00 00       	call   10c0a0 <_CORE_mutex_Flush>     
  10b66e:	83 c4 10             	add    $0x10,%esp                     
          SEMAPHORE_MP_OBJECT_WAS_DELETED,                            
          CORE_SEMAPHORE_WAS_DELETED                                  
        );                                                            
     }                                                                
                                                                      
      _Objects_Close( &_Semaphore_Information, &the_semaphore->Object );
  10b671:	83 ec 08             	sub    $0x8,%esp                      
  10b674:	53                   	push   %ebx                           
  10b675:	68 c0 53 12 00       	push   $0x1253c0                      
  10b67a:	e8 b1 12 00 00       	call   10c930 <_Objects_Close>        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Semaphore_Free (                           
  Semaphore_Control *the_semaphore                                    
)                                                                     
{                                                                     
  _Objects_Free( &_Semaphore_Information, &the_semaphore->Object );   
  10b67f:	58                   	pop    %eax                           
  10b680:	5a                   	pop    %edx                           
  10b681:	53                   	push   %ebx                           
  10b682:	68 c0 53 12 00       	push   $0x1253c0                      
  10b687:	e8 a0 15 00 00       	call   10cc2c <_Objects_Free>         
          0,                         /* Not used */                   
          0                          /* Not used */                   
        );                                                            
      }                                                               
#endif                                                                
      _Thread_Enable_dispatch();                                      
  10b68c:	e8 63 21 00 00       	call   10d7f4 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  10b691:	83 c4 10             	add    $0x10,%esp                     
  10b694:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10b696:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b699:	c9                   	leave                                 
  10b69a:	c3                   	ret                                   
  10b69b:	90                   	nop                                   
          &the_semaphore->Core_control.mutex,                         
          SEMAPHORE_MP_OBJECT_WAS_DELETED,                            
          CORE_MUTEX_WAS_DELETED                                      
        );                                                            
      } else {                                                        
        _CORE_semaphore_Flush(                                        
  10b69c:	51                   	push   %ecx                           
  10b69d:	6a 02                	push   $0x2                           
  10b69f:	6a 00                	push   $0x0                           
  10b6a1:	8d 43 14             	lea    0x14(%ebx),%eax                
  10b6a4:	50                   	push   %eax                           
  10b6a5:	e8 86 0c 00 00       	call   10c330 <_CORE_semaphore_Flush> 
  10b6aa:	83 c4 10             	add    $0x10,%esp                     
  10b6ad:	eb c2                	jmp    10b671 <rtems_semaphore_delete+0x65>
                                                                      

0010b6b0 <rtems_semaphore_obtain>: rtems_status_code rtems_semaphore_obtain( rtems_id id, rtems_option option_set, rtems_interval timeout ) {
  10b6b0:	55                   	push   %ebp                           
  10b6b1:	89 e5                	mov    %esp,%ebp                      
  10b6b3:	57                   	push   %edi                           
  10b6b4:	56                   	push   %esi                           
  10b6b5:	53                   	push   %ebx                           
  10b6b6:	83 ec 1c             	sub    $0x1c,%esp                     
  10b6b9:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10b6bc:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10b6bf:	8b 7d 10             	mov    0x10(%ebp),%edi                
  register Semaphore_Control     *the_semaphore;                      
  Objects_Locations               location;                           
  ISR_Level                       level;                              
                                                                      
  the_semaphore = _Semaphore_Get_interrupt_disable( id, &location, &level );
  10b6c2:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  Objects_Locations *location,                                        
  ISR_Level         *level                                            
)                                                                     
{                                                                     
  return (Semaphore_Control *)                                        
    _Objects_Get_isr_disable( &_Semaphore_Information, id, location, level );
  10b6c5:	50                   	push   %eax                           
  10b6c6:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10b6c9:	50                   	push   %eax                           
  10b6ca:	53                   	push   %ebx                           
  10b6cb:	68 c0 53 12 00       	push   $0x1253c0                      
  10b6d0:	e8 3f 16 00 00       	call   10cd14 <_Objects_Get_isr_disable>
  switch ( location ) {                                               
  10b6d5:	83 c4 10             	add    $0x10,%esp                     
  10b6d8:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10b6db:	85 c9                	test   %ecx,%ecx                      
  10b6dd:	74 0d                	je     10b6ec <rtems_semaphore_obtain+0x3c>
    case OBJECTS_ERROR:                                               
      break;                                                          
                                                                      
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10b6df:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10b6e4:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b6e7:	5b                   	pop    %ebx                           
  10b6e8:	5e                   	pop    %esi                           
  10b6e9:	5f                   	pop    %edi                           
  10b6ea:	c9                   	leave                                 
  10b6eb:	c3                   	ret                                   
                                                                      
  the_semaphore = _Semaphore_Get_interrupt_disable( id, &location, &level );
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) {
  10b6ec:	f6 40 10 30          	testb  $0x30,0x10(%eax)               
  10b6f0:	74 36                	je     10b728 <rtems_semaphore_obtain+0x78>
        _CORE_mutex_Seize(                                            
  10b6f2:	83 ec 0c             	sub    $0xc,%esp                      
  10b6f5:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b6f8:	57                   	push   %edi                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Options_Is_no_wait (                       
  rtems_option option_set                                             
)                                                                     
{                                                                     
   return (option_set & RTEMS_NO_WAIT) ? true : false;                
  10b6f9:	83 e6 01             	and    $0x1,%esi                      
  10b6fc:	83 f6 01             	xor    $0x1,%esi                      
  10b6ff:	56                   	push   %esi                           
  10b700:	53                   	push   %ebx                           
  10b701:	83 c0 14             	add    $0x14,%eax                     
  10b704:	50                   	push   %eax                           
  10b705:	e8 9a 0a 00 00       	call   10c1a4 <_CORE_mutex_Seize>     
          id,                                                         
          ((_Options_Is_no_wait( option_set )) ? false : true),       
          timeout,                                                    
          level                                                       
        );                                                            
        return _Semaphore_Translate_core_mutex_return_code(           
  10b70a:	83 c4 14             	add    $0x14,%esp                     
                  _Thread_Executing->Wait.return_code );              
  10b70d:	a1 38 57 12 00       	mov    0x125738,%eax                  
          id,                                                         
          ((_Options_Is_no_wait( option_set )) ? false : true),       
          timeout,                                                    
          level                                                       
        );                                                            
        return _Semaphore_Translate_core_mutex_return_code(           
  10b712:	ff 70 34             	pushl  0x34(%eax)                     
  10b715:	e8 12 01 00 00       	call   10b82c <_Semaphore_Translate_core_mutex_return_code>
  10b71a:	83 c4 10             	add    $0x10,%esp                     
      break;                                                          
                                                                      
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10b71d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b720:	5b                   	pop    %ebx                           
  10b721:	5e                   	pop    %esi                           
  10b722:	5f                   	pop    %edi                           
  10b723:	c9                   	leave                                 
  10b724:	c3                   	ret                                   
  10b725:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  Thread_Control *executing;                                          
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  10b728:	8b 15 38 57 12 00    	mov    0x125738,%edx                  
  executing->Wait.return_code = CORE_SEMAPHORE_STATUS_SUCCESSFUL;     
  10b72e:	c7 42 34 00 00 00 00 	movl   $0x0,0x34(%edx)                
  if ( the_semaphore->count != 0 ) {                                  
  10b735:	8b 48 5c             	mov    0x5c(%eax),%ecx                
  10b738:	85 c9                	test   %ecx,%ecx                      
  10b73a:	75 2c                	jne    10b768 <rtems_semaphore_obtain+0xb8>
    the_semaphore->count -= 1;                                        
    _ISR_Enable( *level_p );                                          
    return;                                                           
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
  10b73c:	83 e6 01             	and    $0x1,%esi                      
  10b73f:	74 33                	je     10b774 <rtems_semaphore_obtain+0xc4>
    _ISR_Enable( *level_p );                                          
  10b741:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b744:	9d                   	popf                                  
    executing->Wait.return_code = CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT;
  10b745:	c7 42 34 01 00 00 00 	movl   $0x1,0x34(%edx)                
        id,                                                           
        ((_Options_Is_no_wait( option_set )) ? false : true),         
        timeout,                                                      
        &level                                                        
      );                                                              
      return _Semaphore_Translate_core_semaphore_return_code(         
  10b74c:	83 ec 0c             	sub    $0xc,%esp                      
                  _Thread_Executing->Wait.return_code );              
  10b74f:	a1 38 57 12 00       	mov    0x125738,%eax                  
        id,                                                           
        ((_Options_Is_no_wait( option_set )) ? false : true),         
        timeout,                                                      
        &level                                                        
      );                                                              
      return _Semaphore_Translate_core_semaphore_return_code(         
  10b754:	ff 70 34             	pushl  0x34(%eax)                     
  10b757:	e8 e0 00 00 00       	call   10b83c <_Semaphore_Translate_core_semaphore_return_code>
  10b75c:	83 c4 10             	add    $0x10,%esp                     
      break;                                                          
                                                                      
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10b75f:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b762:	5b                   	pop    %ebx                           
  10b763:	5e                   	pop    %esi                           
  10b764:	5f                   	pop    %edi                           
  10b765:	c9                   	leave                                 
  10b766:	c3                   	ret                                   
  10b767:	90                   	nop                                   
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_SEMAPHORE_STATUS_SUCCESSFUL;     
  if ( the_semaphore->count != 0 ) {                                  
    the_semaphore->count -= 1;                                        
  10b768:	49                   	dec    %ecx                           
  10b769:	89 48 5c             	mov    %ecx,0x5c(%eax)                
    _ISR_Enable( *level_p );                                          
  10b76c:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b76f:	9d                   	popf                                  
  10b770:	eb da                	jmp    10b74c <rtems_semaphore_obtain+0x9c>
  10b772:	66 90                	xchg   %ax,%ax                        
  10b774:	8b 0d 70 54 12 00    	mov    0x125470,%ecx                  
  10b77a:	41                   	inc    %ecx                           
  10b77b:	89 0d 70 54 12 00    	mov    %ecx,0x125470                  
                                                                      
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;
  10b781:	c7 40 44 01 00 00 00 	movl   $0x1,0x44(%eax)                
    return;                                                           
  }                                                                   
                                                                      
  _Thread_Disable_dispatch();                                         
  _Thread_queue_Enter_critical_section( &the_semaphore->Wait_queue ); 
  executing->Wait.queue          = &the_semaphore->Wait_queue;        
  10b788:	83 c0 14             	add    $0x14,%eax                     
  10b78b:	89 42 44             	mov    %eax,0x44(%edx)                
  executing->Wait.id             = id;                                
  10b78e:	89 5a 20             	mov    %ebx,0x20(%edx)                
  _ISR_Enable( *level_p );                                            
  10b791:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b794:	9d                   	popf                                  
                                                                      
  _Thread_queue_Enqueue( &the_semaphore->Wait_queue, timeout );       
  10b795:	52                   	push   %edx                           
  10b796:	68 d8 df 10 00       	push   $0x10dfd8                      
  10b79b:	57                   	push   %edi                           
  10b79c:	50                   	push   %eax                           
  10b79d:	e8 0a 25 00 00       	call   10dcac <_Thread_queue_Enqueue_with_handler>
  _Thread_Enable_dispatch();                                          
  10b7a2:	e8 4d 20 00 00       	call   10d7f4 <_Thread_Enable_dispatch>
  10b7a7:	83 c4 10             	add    $0x10,%esp                     
  10b7aa:	eb a0                	jmp    10b74c <rtems_semaphore_obtain+0x9c>
                                                                      

0010b7ac <rtems_semaphore_release>: #endif rtems_status_code rtems_semaphore_release( rtems_id id ) {
  10b7ac:	55                   	push   %ebp                           
  10b7ad:	89 e5                	mov    %esp,%ebp                      
  10b7af:	53                   	push   %ebx                           
  10b7b0:	83 ec 18             	sub    $0x18,%esp                     
  10b7b3:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  register Semaphore_Control *the_semaphore;                          
  Objects_Locations           location;                               
  CORE_mutex_Status           mutex_status;                           
  CORE_semaphore_Status       semaphore_status;                       
                                                                      
  the_semaphore = _Semaphore_Get( id, &location );                    
  10b7b6:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Semaphore_Control *)                                        
    _Objects_Get( &_Semaphore_Information, id, location );            
  10b7b9:	50                   	push   %eax                           
  10b7ba:	53                   	push   %ebx                           
  10b7bb:	68 c0 53 12 00       	push   $0x1253c0                      
  10b7c0:	e8 a7 15 00 00       	call   10cd6c <_Objects_Get>          
  switch ( location ) {                                               
  10b7c5:	83 c4 10             	add    $0x10,%esp                     
  10b7c8:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10b7cb:	85 d2                	test   %edx,%edx                      
  10b7cd:	74 0d                	je     10b7dc <rtems_semaphore_release+0x30>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10b7cf:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10b7d4:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b7d7:	c9                   	leave                                 
  10b7d8:	c3                   	ret                                   
  10b7d9:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) {
  10b7dc:	f6 40 10 30          	testb  $0x30,0x10(%eax)               
  10b7e0:	75 26                	jne    10b808 <rtems_semaphore_release+0x5c>
          MUTEX_MP_SUPPORT                                            
        );                                                            
        _Thread_Enable_dispatch();                                    
        return _Semaphore_Translate_core_mutex_return_code( mutex_status );
      } else {                                                        
        semaphore_status = _CORE_semaphore_Surrender(                 
  10b7e2:	52                   	push   %edx                           
  10b7e3:	6a 00                	push   $0x0                           
  10b7e5:	53                   	push   %ebx                           
  10b7e6:	83 c0 14             	add    $0x14,%eax                     
  10b7e9:	50                   	push   %eax                           
  10b7ea:	e8 8d 0b 00 00       	call   10c37c <_CORE_semaphore_Surrender>
  10b7ef:	89 c3                	mov    %eax,%ebx                      
          &the_semaphore->Core_control.semaphore,                     
          id,                                                         
          MUTEX_MP_SUPPORT                                            
        );                                                            
        _Thread_Enable_dispatch();                                    
  10b7f1:	e8 fe 1f 00 00       	call   10d7f4 <_Thread_Enable_dispatch>
        return                                                        
  10b7f6:	89 1c 24             	mov    %ebx,(%esp)                    
  10b7f9:	e8 3e 00 00 00       	call   10b83c <_Semaphore_Translate_core_semaphore_return_code>
  10b7fe:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10b801:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b804:	c9                   	leave                                 
  10b805:	c3                   	ret                                   
  10b806:	66 90                	xchg   %ax,%ax                        
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) {
        mutex_status = _CORE_mutex_Surrender(                         
  10b808:	51                   	push   %ecx                           
  10b809:	6a 00                	push   $0x0                           
  10b80b:	53                   	push   %ebx                           
  10b80c:	83 c0 14             	add    $0x14,%eax                     
  10b80f:	50                   	push   %eax                           
  10b810:	e8 2f 0a 00 00       	call   10c244 <_CORE_mutex_Surrender> 
  10b815:	89 c3                	mov    %eax,%ebx                      
          &the_semaphore->Core_control.mutex,                         
          id,                                                         
          MUTEX_MP_SUPPORT                                            
        );                                                            
        _Thread_Enable_dispatch();                                    
  10b817:	e8 d8 1f 00 00       	call   10d7f4 <_Thread_Enable_dispatch>
        return _Semaphore_Translate_core_mutex_return_code( mutex_status );
  10b81c:	89 1c 24             	mov    %ebx,(%esp)                    
  10b81f:	e8 08 00 00 00       	call   10b82c <_Semaphore_Translate_core_mutex_return_code>
  10b824:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10b827:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b82a:	c9                   	leave                                 
  10b82b:	c3                   	ret                                   
                                                                      

00117d60 <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
  117d60:	55                   	push   %ebp                           
  117d61:	89 e5                	mov    %esp,%ebp                      
  117d63:	53                   	push   %ebx                           
  117d64:	83 ec 14             	sub    $0x14,%esp                     
  117d67:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
  117d6a:	85 db                	test   %ebx,%ebx                      
  117d6c:	75 0a                	jne    117d78 <rtems_signal_send+0x18>
    return RTEMS_INVALID_NUMBER;                                      
  117d6e:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  117d73:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  117d76:	c9                   	leave                                 
  117d77:	c3                   	ret                                   
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  117d78:	83 ec 08             	sub    $0x8,%esp                      
  117d7b:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  117d7e:	50                   	push   %eax                           
  117d7f:	ff 75 08             	pushl  0x8(%ebp)                      
  117d82:	e8 d1 3e 00 00       	call   11bc58 <_Thread_Get>           
  switch ( location ) {                                               
  117d87:	83 c4 10             	add    $0x10,%esp                     
  117d8a:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  117d8d:	85 d2                	test   %edx,%edx                      
  117d8f:	74 0b                	je     117d9c <rtems_signal_send+0x3c>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  117d91:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  117d96:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  117d99:	c9                   	leave                                 
  117d9a:	c3                   	ret                                   
  117d9b:	90                   	nop                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
  117d9c:	8b 90 e4 00 00 00    	mov    0xe4(%eax),%edx                
      asr = &api->Signal;                                             
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
  117da2:	8b 4a 0c             	mov    0xc(%edx),%ecx                 
  117da5:	85 c9                	test   %ecx,%ecx                      
  117da7:	74 3f                	je     117de8 <rtems_signal_send+0x88>
        if ( asr->is_enabled ) {                                      
  117da9:	80 7a 08 00          	cmpb   $0x0,0x8(%edx)                 
  117dad:	74 25                	je     117dd4 <rtems_signal_send+0x74>
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
  117daf:	9c                   	pushf                                 
  117db0:	fa                   	cli                                   
  117db1:	59                   	pop    %ecx                           
    *signal_set |= signals;                                           
  117db2:	09 5a 14             	or     %ebx,0x14(%edx)                
  _ISR_Enable( _level );                                              
  117db5:	51                   	push   %ecx                           
  117db6:	9d                   	popf                                  
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
  117db7:	8b 15 54 0d 14 00    	mov    0x140d54,%edx                  
  117dbd:	85 d2                	test   %edx,%edx                      
  117dbf:	74 1b                	je     117ddc <rtems_signal_send+0x7c>
  117dc1:	3b 05 58 0d 14 00    	cmp    0x140d58,%eax                  
  117dc7:	75 13                	jne    117ddc <rtems_signal_send+0x7c><== NEVER TAKEN
            _Thread_Dispatch_necessary = true;                        
  117dc9:	c6 05 64 0d 14 00 01 	movb   $0x1,0x140d64                  
  117dd0:	eb 0a                	jmp    117ddc <rtems_signal_send+0x7c>
  117dd2:	66 90                	xchg   %ax,%ax                        
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
  117dd4:	9c                   	pushf                                 
  117dd5:	fa                   	cli                                   
  117dd6:	58                   	pop    %eax                           
    *signal_set |= signals;                                           
  117dd7:	09 5a 18             	or     %ebx,0x18(%edx)                
  _ISR_Enable( _level );                                              
  117dda:	50                   	push   %eax                           
  117ddb:	9d                   	popf                                  
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
  117ddc:	e8 53 3e 00 00       	call   11bc34 <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  117de1:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  117de3:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  117de6:	c9                   	leave                                 
  117de7:	c3                   	ret                                   
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
  117de8:	e8 47 3e 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return RTEMS_NOT_DEFINED;                                       
  117ded:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  117df2:	e9 7c ff ff ff       	jmp    117d73 <rtems_signal_send+0x13>
                                                                      

00107a10 <rtems_stack_checker_begin_extension>: * rtems_stack_checker_Begin_extension */ void rtems_stack_checker_begin_extension( Thread_Control *the_thread ) {
  107a10:	55                   	push   %ebp                           
  107a11:	89 e5                	mov    %esp,%ebp                      
  107a13:	57                   	push   %edi                           
  107a14:	56                   	push   %esi                           
  107a15:	8b 45 08             	mov    0x8(%ebp),%eax                 
  Stack_check_Control  *the_pattern;                                  
                                                                      
  if ( the_thread->Object.id == 0 )        /* skip system tasks */    
  107a18:	8b 48 08             	mov    0x8(%eax),%ecx                 
  107a1b:	85 c9                	test   %ecx,%ecx                      
  107a1d:	74 15                	je     107a34 <rtems_stack_checker_begin_extension+0x24><== NEVER TAKEN
    return;                                                           
                                                                      
  the_pattern = Stack_check_Get_pattern_area(&the_thread->Start.Initial_stack);
                                                                      
  *the_pattern = Stack_check_Pattern;                                 
  107a1f:	8b b8 b8 00 00 00    	mov    0xb8(%eax),%edi                
  107a25:	83 c7 08             	add    $0x8,%edi                      
  107a28:	be a0 67 12 00       	mov    $0x1267a0,%esi                 
  107a2d:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  107a32:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
}                                                                     
  107a34:	5e                   	pop    %esi                           
  107a35:	5f                   	pop    %edi                           
  107a36:	c9                   	leave                                 
  107a37:	c3                   	ret                                   
                                                                      

001079e8 <rtems_stack_checker_create_extension>: */ bool rtems_stack_checker_create_extension( Thread_Control *running __attribute__((unused)), Thread_Control *the_thread ) {
  1079e8:	55                   	push   %ebp                           
  1079e9:	89 e5                	mov    %esp,%ebp                      
  1079eb:	57                   	push   %edi                           
  1079ec:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  Stack_check_Initialize();                                           
  1079ef:	e8 88 ff ff ff       	call   10797c <Stack_check_Initialize>
                                                                      
  if (the_thread)                                                     
  1079f4:	85 ff                	test   %edi,%edi                      
  1079f6:	74 12                	je     107a0a <rtems_stack_checker_create_extension+0x22><== NEVER TAKEN
    Stack_check_Dope_stack(&the_thread->Start.Initial_stack);         
  1079f8:	8b 8f b4 00 00 00    	mov    0xb4(%edi),%ecx                
  1079fe:	8b 97 b8 00 00 00    	mov    0xb8(%edi),%edx                
  107a04:	b0 a5                	mov    $0xa5,%al                      
  107a06:	89 d7                	mov    %edx,%edi                      
  107a08:	f3 aa                	rep stos %al,%es:(%edi)               
                                                                      
  return true;                                                        
}                                                                     
  107a0a:	b0 01                	mov    $0x1,%al                       
  107a0c:	5f                   	pop    %edi                           
  107a0d:	c9                   	leave                                 
  107a0e:	c3                   	ret                                   
                                                                      

00107b4c <rtems_stack_checker_is_blown>: /* * Check if blown */ bool rtems_stack_checker_is_blown( void ) {
  107b4c:	55                   	push   %ebp                           
  107b4d:	89 e5                	mov    %esp,%ebp                      
  107b4f:	57                   	push   %edi                           
  107b50:	56                   	push   %esi                           
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
  107b51:	a1 f8 6b 12 00       	mov    0x126bf8,%eax                  
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
  107b56:	8b b0 b8 00 00 00    	mov    0xb8(%eax),%esi                
  107b5c:	39 f5                	cmp    %esi,%ebp                      
  107b5e:	72 3c                	jb     107b9c <rtems_stack_checker_is_blown+0x50><== NEVER TAKEN
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
  107b60:	8b 80 b4 00 00 00    	mov    0xb4(%eax),%eax                
  107b66:	8d 04 06             	lea    (%esi,%eax,1),%eax             
}                                                                     
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
  107b69:	39 c5                	cmp    %eax,%ebp                      
  107b6b:	0f 96 c0             	setbe  %al                            
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
  107b6e:	8b 15 70 64 12 00    	mov    0x126470,%edx                  
  107b74:	85 d2                	test   %edx,%edx                      
  107b76:	74 30                	je     107ba8 <rtems_stack_checker_is_blown+0x5c><== NEVER TAKEN
    pattern_ok = (!memcmp(                                            
  107b78:	83 c6 08             	add    $0x8,%esi                      
  107b7b:	bf a0 67 12 00       	mov    $0x1267a0,%edi                 
  107b80:	b9 10 00 00 00       	mov    $0x10,%ecx                     
  107b85:	f3 a6                	repz cmpsb %es:(%edi),%ds:(%esi)      
  107b87:	0f 94 c2             	sete   %dl                            
                                                                      
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
  107b8a:	84 c0                	test   %al,%al                        
  107b8c:	74 1e                	je     107bac <rtems_stack_checker_is_blown+0x60><== NEVER TAKEN
  107b8e:	84 d2                	test   %dl,%dl                        
  107b90:	74 1a                	je     107bac <rtems_stack_checker_is_blown+0x60><== NEVER TAKEN
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  return false;                                                       
}                                                                     
  107b92:	31 c0                	xor    %eax,%eax                      
  107b94:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  107b97:	5e                   	pop    %esi                           
  107b98:	5f                   	pop    %edi                           
  107b99:	c9                   	leave                                 
  107b9a:	c3                   	ret                                   
  107b9b:	90                   	nop                                   
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
      return false;                                                   
  107b9c:	31 c0                	xor    %eax,%eax                      
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
  107b9e:	8b 15 70 64 12 00    	mov    0x126470,%edx                  <== NOT EXECUTED
  107ba4:	85 d2                	test   %edx,%edx                      <== NOT EXECUTED
  107ba6:	75 d0                	jne    107b78 <rtems_stack_checker_is_blown+0x2c><== NOT EXECUTED
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
  bool           sp_ok;                                               
  bool           pattern_ok = true;                                   
  107ba8:	b2 01                	mov    $0x1,%dl                       <== NOT EXECUTED
  107baa:	eb de                	jmp    107b8a <rtems_stack_checker_is_blown+0x3e><== NOT EXECUTED
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( _Thread_Executing, pattern_ok );   
  107bac:	57                   	push   %edi                           <== NOT EXECUTED
  107bad:	57                   	push   %edi                           <== NOT EXECUTED
  107bae:	0f b6 d2             	movzbl %dl,%edx                       <== NOT EXECUTED
  107bb1:	52                   	push   %edx                           <== NOT EXECUTED
  107bb2:	ff 35 f8 6b 12 00    	pushl  0x126bf8                       <== NOT EXECUTED
  107bb8:	e8 7b fe ff ff       	call   107a38 <Stack_check_report_blown_task><== NOT EXECUTED
                                                                      

00107c28 <rtems_stack_checker_report_usage>: void rtems_stack_checker_report_usage( void ) {
  107c28:	55                   	push   %ebp                           <== NOT EXECUTED
  107c29:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  107c2b:	83 ec 10             	sub    $0x10,%esp                     <== NOT EXECUTED
  rtems_stack_checker_report_usage_with_plugin( NULL, printk_plugin );
  107c2e:	68 d4 92 10 00       	push   $0x1092d4                      <== NOT EXECUTED
  107c33:	6a 00                	push   $0x0                           <== NOT EXECUTED
  107c35:	e8 86 ff ff ff       	call   107bc0 <rtems_stack_checker_report_usage_with_plugin><== NOT EXECUTED
  107c3a:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
}                                                                     
  107c3d:	c9                   	leave                                 <== NOT EXECUTED
  107c3e:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

00107bc0 <rtems_stack_checker_report_usage_with_plugin>: void rtems_stack_checker_report_usage_with_plugin( void *context, rtems_printk_plugin_t print ) {
  107bc0:	55                   	push   %ebp                           <== NOT EXECUTED
  107bc1:	89 e5                	mov    %esp,%ebp                      <== NOT EXECUTED
  107bc3:	56                   	push   %esi                           <== NOT EXECUTED
  107bc4:	53                   	push   %ebx                           <== NOT EXECUTED
  107bc5:	8b 75 08             	mov    0x8(%ebp),%esi                 <== NOT EXECUTED
  107bc8:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 <== NOT EXECUTED
  if ( !print )                                                       
  107bcb:	85 db                	test   %ebx,%ebx                      <== NOT EXECUTED
  107bcd:	74 50                	je     107c1f <rtems_stack_checker_report_usage_with_plugin+0x5f><== NOT EXECUTED
    return;                                                           
                                                                      
  print_context = context;                                            
  107bcf:	89 35 68 64 12 00    	mov    %esi,0x126468                  <== NOT EXECUTED
  print_handler = print;                                              
  107bd5:	89 1d 6c 64 12 00    	mov    %ebx,0x12646c                  <== NOT EXECUTED
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
  107bdb:	83 ec 08             	sub    $0x8,%esp                      <== NOT EXECUTED
  107bde:	68 cc ff 11 00       	push   $0x11ffcc                      <== NOT EXECUTED
  107be3:	56                   	push   %esi                           <== NOT EXECUTED
  107be4:	ff d3                	call   *%ebx                          <== NOT EXECUTED
  (*print)( context,                                                  
  107be6:	59                   	pop    %ecx                           <== NOT EXECUTED
  107be7:	58                   	pop    %eax                           <== NOT EXECUTED
  107be8:	68 50 00 12 00       	push   $0x120050                      <== NOT EXECUTED
  107bed:	56                   	push   %esi                           <== NOT EXECUTED
  107bee:	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 );   
  107bf0:	c7 04 24 10 78 10 00 	movl   $0x107810,(%esp)               <== NOT EXECUTED
  107bf7:	e8 b4 50 00 00       	call   10ccb0 <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);            
  107bfc:	c7 04 24 ff ff ff ff 	movl   $0xffffffff,(%esp)             <== NOT EXECUTED
  107c03:	e8 08 fc ff ff       	call   107810 <Stack_check_Dump_threads_usage><== NOT EXECUTED
  #endif                                                              
                                                                      
  print_context = NULL;                                               
  107c08:	c7 05 68 64 12 00 00 	movl   $0x0,0x126468                  <== NOT EXECUTED
  107c0f:	00 00 00                                                    
  print_handler = NULL;                                               
  107c12:	c7 05 6c 64 12 00 00 	movl   $0x0,0x12646c                  <== NOT EXECUTED
  107c19:	00 00 00                                                    
  107c1c:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
}                                                                     
  107c1f:	8d 65 f8             	lea    -0x8(%ebp),%esp                <== NOT EXECUTED
  107c22:	5b                   	pop    %ebx                           <== NOT EXECUTED
  107c23:	5e                   	pop    %esi                           <== NOT EXECUTED
  107c24:	c9                   	leave                                 <== NOT EXECUTED
  107c25:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

00107af4 <rtems_stack_checker_switch_extension>: */ void rtems_stack_checker_switch_extension( Thread_Control *running __attribute__((unused)), Thread_Control *heir __attribute__((unused)) ) {
  107af4:	55                   	push   %ebp                           
  107af5:	89 e5                	mov    %esp,%ebp                      
  107af7:	57                   	push   %edi                           
  107af8:	56                   	push   %esi                           
  107af9:	8b 45 08             	mov    0x8(%ebp),%eax                 
  Stack_Control *the_stack = &running->Start.Initial_stack;           
  void          *pattern;                                             
  bool           sp_ok;                                               
  bool           pattern_ok = true;                                   
                                                                      
  pattern = Stack_check_Get_pattern_area(the_stack);                  
  107afc:	8b 90 b8 00 00 00    	mov    0xb8(%eax),%edx                
  107b02:	8d 72 08             	lea    0x8(%edx),%esi                 
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
  107b05:	39 d5                	cmp    %edx,%ebp                      
  107b07:	72 0a                	jb     107b13 <rtems_stack_checker_switch_extension+0x1f><== NEVER TAKEN
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
  107b09:	03 90 b4 00 00 00    	add    0xb4(%eax),%edx                
  107b0f:	39 d5                	cmp    %edx,%ebp                      
  107b11:	76 1d                	jbe    107b30 <rtems_stack_checker_switch_extension+0x3c><== ALWAYS TAKEN
  /*                                                                  
   *  Check for an out of bounds stack pointer or an overwrite        
   */                                                                 
  sp_ok = Stack_check_Frame_pointer_in_range( the_stack );            
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
  107b13:	bf a0 67 12 00       	mov    $0x1267a0,%edi                 <== NOT EXECUTED
  107b18:	b9 10 00 00 00       	mov    $0x10,%ecx                     <== NOT EXECUTED
  107b1d:	f3 a6                	repz cmpsb %es:(%edi),%ds:(%esi)      <== NOT EXECUTED
  107b1f:	0f 94 c2             	sete   %dl                            <== NOT EXECUTED
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( running, pattern_ok );             
  107b22:	56                   	push   %esi                           <== NOT EXECUTED
  107b23:	56                   	push   %esi                           <== NOT EXECUTED
  107b24:	0f b6 d2             	movzbl %dl,%edx                       <== NOT EXECUTED
  107b27:	52                   	push   %edx                           <== NOT EXECUTED
  107b28:	50                   	push   %eax                           <== NOT EXECUTED
  107b29:	e8 0a ff ff ff       	call   107a38 <Stack_check_report_blown_task><== NOT EXECUTED
  107b2e:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
  /*                                                                  
   *  Check for an out of bounds stack pointer or an overwrite        
   */                                                                 
  sp_ok = Stack_check_Frame_pointer_in_range( the_stack );            
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
  107b30:	bf a0 67 12 00       	mov    $0x1267a0,%edi                 
  107b35:	b9 10 00 00 00       	mov    $0x10,%ecx                     
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
  107b3a:	f3 a6                	repz cmpsb %es:(%edi),%ds:(%esi)      
  107b3c:	75 07                	jne    107b45 <rtems_stack_checker_switch_extension+0x51><== NEVER TAKEN
    Stack_check_report_blown_task( running, pattern_ok );             
  }                                                                   
}                                                                     
  107b3e:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  107b41:	5e                   	pop    %esi                           
  107b42:	5f                   	pop    %edi                           
  107b43:	c9                   	leave                                 
  107b44:	c3                   	ret                                   
  sp_ok = Stack_check_Frame_pointer_in_range( the_stack );            
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
  107b45:	31 d2                	xor    %edx,%edx                      <== NOT EXECUTED
  107b47:	eb d9                	jmp    107b22 <rtems_stack_checker_switch_extension+0x2e><== NOT EXECUTED
                                                                      

001109e0 <rtems_string_to_double>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  1109e0:	55                   	push   %ebp                           
  1109e1:	89 e5                	mov    %esp,%ebp                      
  1109e3:	57                   	push   %edi                           
  1109e4:	56                   	push   %esi                           
  1109e5:	53                   	push   %ebx                           
  1109e6:	83 ec 2c             	sub    $0x2c,%esp                     
  1109e9:	8b 75 08             	mov    0x8(%ebp),%esi                 
  1109ec:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  1109ef:	8b 7d 10             	mov    0x10(%ebp),%edi                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  1109f2:	85 db                	test   %ebx,%ebx                      
  1109f4:	74 72                	je     110a68 <rtems_string_to_double+0x88>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  1109f6:	e8 1d 21 00 00       	call   112b18 <__errno>               
  1109fb:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  110a01:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
  110a07:	c7 43 04 00 00 00 00 	movl   $0x0,0x4(%ebx)                 
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  110a0e:	83 ec 08             	sub    $0x8,%esp                      
  110a11:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  110a14:	50                   	push   %eax                           
  110a15:	56                   	push   %esi                           
  110a16:	e8 fd 4a 00 00       	call   115518 <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 )                                                       
  110a1b:	83 c4 10             	add    $0x10,%esp                     
  110a1e:	85 ff                	test   %edi,%edi                      
  110a20:	74 56                	je     110a78 <rtems_string_to_double+0x98>
    *endptr = end;                                                    
  110a22:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110a25:	89 07                	mov    %eax,(%edi)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  110a27:	39 c6                	cmp    %eax,%esi                      
  110a29:	74 55                	je     110a80 <rtems_string_to_double+0xa0>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  110a2b:	dd 05 50 44 12 00    	fldl   0x124450                       
  110a31:	d9 c9                	fxch   %st(1)                         
  110a33:	dd e1                	fucom  %st(1)                         
  110a35:	df e0                	fnstsw %ax                            
  110a37:	dd d9                	fstp   %st(1)                         
  110a39:	f6 c4 45             	test   $0x45,%ah                      
  110a3c:	74 0e                	je     110a4c <rtems_string_to_double+0x6c>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  110a3e:	dd 1b                	fstpl  (%ebx)                         
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  110a40:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110a42:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110a45:	5b                   	pop    %ebx                           
  110a46:	5e                   	pop    %esi                           
  110a47:	5f                   	pop    %edi                           
  110a48:	c9                   	leave                                 
  110a49:	c3                   	ret                                   
  110a4a:	66 90                	xchg   %ax,%ax                        
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  110a4c:	dd 5d c8             	fstpl  -0x38(%ebp)                    
  110a4f:	e8 c4 20 00 00       	call   112b18 <__errno>               
  110a54:	83 38 22             	cmpl   $0x22,(%eax)                   
  110a57:	dd 45 c8             	fldl   -0x38(%ebp)                    
  110a5a:	75 e2                	jne    110a3e <rtems_string_to_double+0x5e><== NEVER TAKEN
  110a5c:	dd d8                	fstp   %st(0)                         
      return RTEMS_INVALID_NUMBER;                                    
  110a5e:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  110a63:	eb dd                	jmp    110a42 <rtems_string_to_double+0x62>
  110a65:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  110a68:	b8 09 00 00 00       	mov    $0x9,%eax                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  110a6d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110a70:	5b                   	pop    %ebx                           
  110a71:	5e                   	pop    %esi                           
  110a72:	5f                   	pop    %edi                           
  110a73:	c9                   	leave                                 
  110a74:	c3                   	ret                                   
  110a75:	8d 76 00             	lea    0x0(%esi),%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 )                                                       
  110a78:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110a7b:	eb aa                	jmp    110a27 <rtems_string_to_double+0x47>
  110a7d:	8d 76 00             	lea    0x0(%esi),%esi                 
  110a80:	dd d8                	fstp   %st(0)                         
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  110a82:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  110a87:	eb b9                	jmp    110a42 <rtems_string_to_double+0x62>
                                                                      

00110a8c <rtems_string_to_float>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  110a8c:	55                   	push   %ebp                           
  110a8d:	89 e5                	mov    %esp,%ebp                      
  110a8f:	57                   	push   %edi                           
  110a90:	56                   	push   %esi                           
  110a91:	53                   	push   %ebx                           
  110a92:	83 ec 2c             	sub    $0x2c,%esp                     
  110a95:	8b 75 08             	mov    0x8(%ebp),%esi                 
  110a98:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  110a9b:	8b 7d 10             	mov    0x10(%ebp),%edi                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  110a9e:	85 db                	test   %ebx,%ebx                      
  110aa0:	74 6a                	je     110b0c <rtems_string_to_float+0x80>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  110aa2:	e8 71 20 00 00       	call   112b18 <__errno>               
  110aa7:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  110aad:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  110ab3:	83 ec 08             	sub    $0x8,%esp                      
  110ab6:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  110ab9:	50                   	push   %eax                           
  110aba:	56                   	push   %esi                           
  110abb:	e8 74 4a 00 00       	call   115534 <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 )                                                       
  110ac0:	83 c4 10             	add    $0x10,%esp                     
  110ac3:	85 ff                	test   %edi,%edi                      
  110ac5:	74 55                	je     110b1c <rtems_string_to_float+0x90>
    *endptr = end;                                                    
  110ac7:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110aca:	89 07                	mov    %eax,(%edi)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  110acc:	39 c6                	cmp    %eax,%esi                      
  110ace:	74 54                	je     110b24 <rtems_string_to_float+0x98>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  110ad0:	d9 05 58 44 12 00    	flds   0x124458                       
  110ad6:	d9 c9                	fxch   %st(1)                         
  110ad8:	dd e1                	fucom  %st(1)                         
  110ada:	df e0                	fnstsw %ax                            
  110adc:	dd d9                	fstp   %st(1)                         
  110ade:	f6 c4 45             	test   $0x45,%ah                      
  110ae1:	74 0d                	je     110af0 <rtems_string_to_float+0x64>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  110ae3:	d9 1b                	fstps  (%ebx)                         
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  110ae5:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110ae7:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110aea:	5b                   	pop    %ebx                           
  110aeb:	5e                   	pop    %esi                           
  110aec:	5f                   	pop    %edi                           
  110aed:	c9                   	leave                                 
  110aee:	c3                   	ret                                   
  110aef:	90                   	nop                                   
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  110af0:	d9 5d c8             	fstps  -0x38(%ebp)                    
  110af3:	e8 20 20 00 00       	call   112b18 <__errno>               
  110af8:	83 38 22             	cmpl   $0x22,(%eax)                   
  110afb:	d9 45 c8             	flds   -0x38(%ebp)                    
  110afe:	75 e3                	jne    110ae3 <rtems_string_to_float+0x57><== NEVER TAKEN
  110b00:	dd d8                	fstp   %st(0)                         
      return RTEMS_INVALID_NUMBER;                                    
  110b02:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  110b07:	eb de                	jmp    110ae7 <rtems_string_to_float+0x5b>
  110b09:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  110b0c:	b8 09 00 00 00       	mov    $0x9,%eax                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  110b11:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110b14:	5b                   	pop    %ebx                           
  110b15:	5e                   	pop    %esi                           
  110b16:	5f                   	pop    %edi                           
  110b17:	c9                   	leave                                 
  110b18:	c3                   	ret                                   
  110b19:	8d 76 00             	lea    0x0(%esi),%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 )                                                       
  110b1c:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110b1f:	eb ab                	jmp    110acc <rtems_string_to_float+0x40>
  110b21:	8d 76 00             	lea    0x0(%esi),%esi                 
  110b24:	dd d8                	fstp   %st(0)                         
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  110b26:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  110b2b:	eb ba                	jmp    110ae7 <rtems_string_to_float+0x5b>
                                                                      

00110b30 <rtems_string_to_int>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  110b30:	55                   	push   %ebp                           
  110b31:	89 e5                	mov    %esp,%ebp                      
  110b33:	57                   	push   %edi                           
  110b34:	56                   	push   %esi                           
  110b35:	53                   	push   %ebx                           
  110b36:	83 ec 2c             	sub    $0x2c,%esp                     
  110b39:	8b 75 08             	mov    0x8(%ebp),%esi                 
  110b3c:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  110b3f:	8b 7d 10             	mov    0x10(%ebp),%edi                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  110b42:	85 db                	test   %ebx,%ebx                      
  110b44:	74 5e                	je     110ba4 <rtems_string_to_int+0x74>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  110b46:	e8 cd 1f 00 00       	call   112b18 <__errno>               
  110b4b:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  110b51:	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 );                       
  110b57:	50                   	push   %eax                           
  110b58:	ff 75 14             	pushl  0x14(%ebp)                     
  110b5b:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  110b5e:	50                   	push   %eax                           
  110b5f:	56                   	push   %esi                           
  110b60:	e8 8f 4b 00 00       	call   1156f4 <strtol>                
  110b65:	89 c2                	mov    %eax,%edx                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
  110b67:	83 c4 10             	add    $0x10,%esp                     
  110b6a:	85 ff                	test   %edi,%edi                      
  110b6c:	74 46                	je     110bb4 <rtems_string_to_int+0x84>
    *endptr = end;                                                    
  110b6e:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110b71:	89 07                	mov    %eax,(%edi)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  110b73:	39 c6                	cmp    %eax,%esi                      
  110b75:	74 45                	je     110bbc <rtems_string_to_int+0x8c>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  110b77:	81 fa ff ff ff 7f    	cmp    $0x7fffffff,%edx               
  110b7d:	74 0d                	je     110b8c <rtems_string_to_int+0x5c>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  110b7f:	89 13                	mov    %edx,(%ebx)                    
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  110b81:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110b83:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110b86:	5b                   	pop    %ebx                           
  110b87:	5e                   	pop    %esi                           
  110b88:	5f                   	pop    %edi                           
  110b89:	c9                   	leave                                 
  110b8a:	c3                   	ret                                   
  110b8b:	90                   	nop                                   
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  110b8c:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  110b8f:	e8 84 1f 00 00       	call   112b18 <__errno>               
  110b94:	83 38 22             	cmpl   $0x22,(%eax)                   
  110b97:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  110b9a:	75 e3                	jne    110b7f <rtems_string_to_int+0x4f>
      return RTEMS_INVALID_NUMBER;                                    
  110b9c:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  110ba1:	eb e0                	jmp    110b83 <rtems_string_to_int+0x53>
  110ba3:	90                   	nop                                   
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  110ba4:	b8 09 00 00 00       	mov    $0x9,%eax                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  110ba9:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110bac:	5b                   	pop    %ebx                           
  110bad:	5e                   	pop    %esi                           
  110bae:	5f                   	pop    %edi                           
  110baf:	c9                   	leave                                 
  110bb0:	c3                   	ret                                   
  110bb1:	8d 76 00             	lea    0x0(%esi),%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 )                                                       
  110bb4:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110bb7:	eb ba                	jmp    110b73 <rtems_string_to_int+0x43>
  110bb9:	8d 76 00             	lea    0x0(%esi),%esi                 
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  110bbc:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  110bc1:	eb c0                	jmp    110b83 <rtems_string_to_int+0x53>
                                                                      

00110c74 <rtems_string_to_long>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  110c74:	55                   	push   %ebp                           
  110c75:	89 e5                	mov    %esp,%ebp                      
  110c77:	57                   	push   %edi                           
  110c78:	56                   	push   %esi                           
  110c79:	53                   	push   %ebx                           
  110c7a:	83 ec 1c             	sub    $0x1c,%esp                     
  110c7d:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  110c80:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  110c83:	85 db                	test   %ebx,%ebx                      
  110c85:	74 69                	je     110cf0 <rtems_string_to_long+0x7c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  110c87:	e8 8c 1e 00 00       	call   112b18 <__errno>               
  110c8c:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  110c92:	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 );                       
  110c98:	52                   	push   %edx                           
  110c99:	ff 75 14             	pushl  0x14(%ebp)                     
  110c9c:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  110c9f:	50                   	push   %eax                           
  110ca0:	57                   	push   %edi                           
  110ca1:	e8 4e 4a 00 00       	call   1156f4 <strtol>                
  110ca6:	89 c6                	mov    %eax,%esi                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
  110ca8:	83 c4 10             	add    $0x10,%esp                     
  110cab:	8b 45 10             	mov    0x10(%ebp),%eax                
  110cae:	85 c0                	test   %eax,%eax                      
  110cb0:	74 4e                	je     110d00 <rtems_string_to_long+0x8c>
    *endptr = end;                                                    
  110cb2:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110cb5:	8b 55 10             	mov    0x10(%ebp),%edx                
  110cb8:	89 02                	mov    %eax,(%edx)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  110cba:	39 c7                	cmp    %eax,%edi                      
  110cbc:	74 4a                	je     110d08 <rtems_string_to_long+0x94>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  110cbe:	81 fe ff ff ff 7f    	cmp    $0x7fffffff,%esi               
  110cc4:	74 16                	je     110cdc <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))              
  110cc6:	81 fe 00 00 00 80    	cmp    $0x80000000,%esi               
  110ccc:	74 0e                	je     110cdc <rtems_string_to_long+0x68>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  110cce:	89 33                	mov    %esi,(%ebx)                    
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  110cd0:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110cd2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110cd5:	5b                   	pop    %ebx                           
  110cd6:	5e                   	pop    %esi                           
  110cd7:	5f                   	pop    %edi                           
  110cd8:	c9                   	leave                                 
  110cd9:	c3                   	ret                                   
  110cda:	66 90                	xchg   %ax,%ax                        
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
  110cdc:	e8 37 1e 00 00       	call   112b18 <__errno>               
  110ce1:	83 38 22             	cmpl   $0x22,(%eax)                   
  110ce4:	75 e8                	jne    110cce <rtems_string_to_long+0x5a>
      return RTEMS_INVALID_NUMBER;                                    
  110ce6:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  110ceb:	eb e5                	jmp    110cd2 <rtems_string_to_long+0x5e>
  110ced:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  110cf0:	b8 09 00 00 00       	mov    $0x9,%eax                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  110cf5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110cf8:	5b                   	pop    %ebx                           
  110cf9:	5e                   	pop    %esi                           
  110cfa:	5f                   	pop    %edi                           
  110cfb:	c9                   	leave                                 
  110cfc:	c3                   	ret                                   
  110cfd:	8d 76 00             	lea    0x0(%esi),%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 )                                                       
  110d00:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110d03:	eb b5                	jmp    110cba <rtems_string_to_long+0x46>
  110d05:	8d 76 00             	lea    0x0(%esi),%esi                 
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  110d08:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  110d0d:	eb c3                	jmp    110cd2 <rtems_string_to_long+0x5e>
                                                                      

00110bc4 <rtems_string_to_long_long>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  110bc4:	55                   	push   %ebp                           
  110bc5:	89 e5                	mov    %esp,%ebp                      
  110bc7:	57                   	push   %edi                           
  110bc8:	56                   	push   %esi                           
  110bc9:	53                   	push   %ebx                           
  110bca:	83 ec 2c             	sub    $0x2c,%esp                     
  110bcd:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  110bd0:	8b 7d 10             	mov    0x10(%ebp),%edi                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  110bd3:	85 db                	test   %ebx,%ebx                      
  110bd5:	74 7d                	je     110c54 <rtems_string_to_long_long+0x90>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  110bd7:	e8 3c 1f 00 00       	call   112b18 <__errno>               
  110bdc:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  110be2:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
  110be8:	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 );                       
  110bef:	50                   	push   %eax                           
  110bf0:	ff 75 14             	pushl  0x14(%ebp)                     
  110bf3:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  110bf6:	50                   	push   %eax                           
  110bf7:	ff 75 08             	pushl  0x8(%ebp)                      
  110bfa:	e8 11 4b 00 00       	call   115710 <strtoll>               
  110bff:	89 c6                	mov    %eax,%esi                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
  110c01:	83 c4 10             	add    $0x10,%esp                     
  110c04:	85 ff                	test   %edi,%edi                      
  110c06:	74 5c                	je     110c64 <rtems_string_to_long_long+0xa0>
    *endptr = end;                                                    
  110c08:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110c0b:	89 07                	mov    %eax,(%edi)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  110c0d:	39 45 08             	cmp    %eax,0x8(%ebp)                 
  110c10:	74 5a                	je     110c6c <rtems_string_to_long_long+0xa8>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  110c12:	89 d1                	mov    %edx,%ecx                      
  110c14:	81 f1 ff ff ff 7f    	xor    $0x7fffffff,%ecx               
  110c1a:	89 f0                	mov    %esi,%eax                      
  110c1c:	f7 d0                	not    %eax                           
  110c1e:	09 c1                	or     %eax,%ecx                      
  110c20:	74 1a                	je     110c3c <rtems_string_to_long_long+0x78>
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
  110c22:	8d 82 00 00 00 80    	lea    -0x80000000(%edx),%eax         
  110c28:	09 f0                	or     %esi,%eax                      
  110c2a:	74 10                	je     110c3c <rtems_string_to_long_long+0x78>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  110c2c:	89 33                	mov    %esi,(%ebx)                    
  110c2e:	89 53 04             	mov    %edx,0x4(%ebx)                 
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  110c31:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110c33:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110c36:	5b                   	pop    %ebx                           
  110c37:	5e                   	pop    %esi                           
  110c38:	5f                   	pop    %edi                           
  110c39:	c9                   	leave                                 
  110c3a:	c3                   	ret                                   
  110c3b:	90                   	nop                                   
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
  110c3c:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  110c3f:	e8 d4 1e 00 00       	call   112b18 <__errno>               
  110c44:	83 38 22             	cmpl   $0x22,(%eax)                   
  110c47:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  110c4a:	75 e0                	jne    110c2c <rtems_string_to_long_long+0x68>
      return RTEMS_INVALID_NUMBER;                                    
  110c4c:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  110c51:	eb e0                	jmp    110c33 <rtems_string_to_long_long+0x6f>
  110c53:	90                   	nop                                   
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  110c54:	b8 09 00 00 00       	mov    $0x9,%eax                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  110c59:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110c5c:	5b                   	pop    %ebx                           
  110c5d:	5e                   	pop    %esi                           
  110c5e:	5f                   	pop    %edi                           
  110c5f:	c9                   	leave                                 
  110c60:	c3                   	ret                                   
  110c61:	8d 76 00             	lea    0x0(%esi),%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 )                                                       
  110c64:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110c67:	eb a4                	jmp    110c0d <rtems_string_to_long_long+0x49>
  110c69:	8d 76 00             	lea    0x0(%esi),%esi                 
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  110c6c:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  110c71:	eb c0                	jmp    110c33 <rtems_string_to_long_long+0x6f>
                                                                      

00110d10 <rtems_string_to_pointer>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  110d10:	55                   	push   %ebp                           
  110d11:	89 e5                	mov    %esp,%ebp                      
  110d13:	57                   	push   %edi                           
  110d14:	56                   	push   %esi                           
  110d15:	53                   	push   %ebx                           
  110d16:	83 ec 2c             	sub    $0x2c,%esp                     
  110d19:	8b 75 08             	mov    0x8(%ebp),%esi                 
  110d1c:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  110d1f:	8b 7d 10             	mov    0x10(%ebp),%edi                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  110d22:	85 db                	test   %ebx,%ebx                      
  110d24:	74 5a                	je     110d80 <rtems_string_to_pointer+0x70>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  110d26:	e8 ed 1d 00 00       	call   112b18 <__errno>               
  110d2b:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  110d31:	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 );                         
  110d37:	50                   	push   %eax                           
  110d38:	6a 10                	push   $0x10                          
  110d3a:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  110d3d:	50                   	push   %eax                           
  110d3e:	56                   	push   %esi                           
  110d3f:	e8 6c 4e 00 00       	call   115bb0 <strtoul>               
  110d44:	89 c2                	mov    %eax,%edx                      
  #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 )                                                       
  110d46:	83 c4 10             	add    $0x10,%esp                     
  110d49:	85 ff                	test   %edi,%edi                      
  110d4b:	74 43                	je     110d90 <rtems_string_to_pointer+0x80>
    *endptr = end;                                                    
  110d4d:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110d50:	89 07                	mov    %eax,(%edi)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  110d52:	39 c6                	cmp    %eax,%esi                      
  110d54:	74 42                	je     110d98 <rtems_string_to_pointer+0x88>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  110d56:	83 fa ff             	cmp    $0xffffffff,%edx               
  110d59:	74 0d                	je     110d68 <rtems_string_to_pointer+0x58><== NEVER TAKEN
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  110d5b:	89 13                	mov    %edx,(%ebx)                    
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  110d5d:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110d5f:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110d62:	5b                   	pop    %ebx                           
  110d63:	5e                   	pop    %esi                           
  110d64:	5f                   	pop    %edi                           
  110d65:	c9                   	leave                                 
  110d66:	c3                   	ret                                   
  110d67:	90                   	nop                                   
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  110d68:	89 55 d4             	mov    %edx,-0x2c(%ebp)               <== NOT EXECUTED
  110d6b:	e8 a8 1d 00 00       	call   112b18 <__errno>               <== NOT EXECUTED
  110d70:	83 38 22             	cmpl   $0x22,(%eax)                   <== NOT EXECUTED
  110d73:	8b 55 d4             	mov    -0x2c(%ebp),%edx               <== NOT EXECUTED
  110d76:	75 e3                	jne    110d5b <rtems_string_to_pointer+0x4b><== NOT EXECUTED
      return RTEMS_INVALID_NUMBER;                                    
  110d78:	b8 0a 00 00 00       	mov    $0xa,%eax                      <== NOT EXECUTED
  110d7d:	eb e0                	jmp    110d5f <rtems_string_to_pointer+0x4f><== NOT EXECUTED
  110d7f:	90                   	nop                                   <== NOT EXECUTED
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  110d80:	b8 09 00 00 00       	mov    $0x9,%eax                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  110d85:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110d88:	5b                   	pop    %ebx                           
  110d89:	5e                   	pop    %esi                           
  110d8a:	5f                   	pop    %edi                           
  110d8b:	c9                   	leave                                 
  110d8c:	c3                   	ret                                   
  110d8d:	8d 76 00             	lea    0x0(%esi),%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 )                                                       
  110d90:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110d93:	eb bd                	jmp    110d52 <rtems_string_to_pointer+0x42>
  110d95:	8d 76 00             	lea    0x0(%esi),%esi                 
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  110d98:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  110d9d:	eb c0                	jmp    110d5f <rtems_string_to_pointer+0x4f>
                                                                      

00110da0 <rtems_string_to_unsigned_char>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  110da0:	55                   	push   %ebp                           
  110da1:	89 e5                	mov    %esp,%ebp                      
  110da3:	57                   	push   %edi                           
  110da4:	56                   	push   %esi                           
  110da5:	53                   	push   %ebx                           
  110da6:	83 ec 1c             	sub    $0x1c,%esp                     
  110da9:	8b 75 08             	mov    0x8(%ebp),%esi                 
  110dac:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  110daf:	8b 7d 10             	mov    0x10(%ebp),%edi                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  110db2:	85 db                	test   %ebx,%ebx                      
  110db4:	74 3a                	je     110df0 <rtems_string_to_unsigned_char+0x50>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  110db6:	e8 5d 1d 00 00       	call   112b18 <__errno>               
  110dbb:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  110dc1:	c6 03 00             	movb   $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 );                       
  110dc4:	50                   	push   %eax                           
  110dc5:	ff 75 14             	pushl  0x14(%ebp)                     
  110dc8:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  110dcb:	50                   	push   %eax                           
  110dcc:	56                   	push   %esi                           
  110dcd:	e8 de 4d 00 00       	call   115bb0 <strtoul>               
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
  110dd2:	83 c4 10             	add    $0x10,%esp                     
  110dd5:	85 ff                	test   %edi,%edi                      
  110dd7:	74 27                	je     110e00 <rtems_string_to_unsigned_char+0x60>
    *endptr = end;                                                    
  110dd9:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  110ddc:	89 17                	mov    %edx,(%edi)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  110dde:	39 d6                	cmp    %edx,%esi                      
  110de0:	74 26                	je     110e08 <rtems_string_to_unsigned_char+0x68>
  #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 );                       
  110de2:	88 03                	mov    %al,(%ebx)                     
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  110de4:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110de6:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110de9:	5b                   	pop    %ebx                           
  110dea:	5e                   	pop    %esi                           
  110deb:	5f                   	pop    %edi                           
  110dec:	c9                   	leave                                 
  110ded:	c3                   	ret                                   
  110dee:	66 90                	xchg   %ax,%ax                        
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  110df0:	b8 09 00 00 00       	mov    $0x9,%eax                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  110df5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110df8:	5b                   	pop    %ebx                           
  110df9:	5e                   	pop    %esi                           
  110dfa:	5f                   	pop    %edi                           
  110dfb:	c9                   	leave                                 
  110dfc:	c3                   	ret                                   
  110dfd:	8d 76 00             	lea    0x0(%esi),%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 )                                                       
  110e00:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  110e03:	eb d9                	jmp    110dde <rtems_string_to_unsigned_char+0x3e>
  110e05:	8d 76 00             	lea    0x0(%esi),%esi                 
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  110e08:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  110e0d:	eb d7                	jmp    110de6 <rtems_string_to_unsigned_char+0x46>
                                                                      

00110e10 <rtems_string_to_unsigned_int>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  110e10:	55                   	push   %ebp                           
  110e11:	89 e5                	mov    %esp,%ebp                      
  110e13:	57                   	push   %edi                           
  110e14:	56                   	push   %esi                           
  110e15:	53                   	push   %ebx                           
  110e16:	83 ec 2c             	sub    $0x2c,%esp                     
  110e19:	8b 75 08             	mov    0x8(%ebp),%esi                 
  110e1c:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  110e1f:	8b 7d 10             	mov    0x10(%ebp),%edi                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  110e22:	85 db                	test   %ebx,%ebx                      
  110e24:	74 5a                	je     110e80 <rtems_string_to_unsigned_int+0x70>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  110e26:	e8 ed 1c 00 00       	call   112b18 <__errno>               
  110e2b:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  110e31:	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 );                       
  110e37:	50                   	push   %eax                           
  110e38:	ff 75 14             	pushl  0x14(%ebp)                     
  110e3b:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  110e3e:	50                   	push   %eax                           
  110e3f:	56                   	push   %esi                           
  110e40:	e8 6b 4d 00 00       	call   115bb0 <strtoul>               
  110e45:	89 c2                	mov    %eax,%edx                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
  110e47:	83 c4 10             	add    $0x10,%esp                     
  110e4a:	85 ff                	test   %edi,%edi                      
  110e4c:	74 42                	je     110e90 <rtems_string_to_unsigned_int+0x80>
    *endptr = end;                                                    
  110e4e:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110e51:	89 07                	mov    %eax,(%edi)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  110e53:	39 c6                	cmp    %eax,%esi                      
  110e55:	74 41                	je     110e98 <rtems_string_to_unsigned_int+0x88>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  110e57:	83 fa ff             	cmp    $0xffffffff,%edx               
  110e5a:	74 0c                	je     110e68 <rtems_string_to_unsigned_int+0x58>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  110e5c:	89 13                	mov    %edx,(%ebx)                    
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  110e5e:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110e60:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110e63:	5b                   	pop    %ebx                           
  110e64:	5e                   	pop    %esi                           
  110e65:	5f                   	pop    %edi                           
  110e66:	c9                   	leave                                 
  110e67:	c3                   	ret                                   
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  110e68:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  110e6b:	e8 a8 1c 00 00       	call   112b18 <__errno>               
  110e70:	83 38 22             	cmpl   $0x22,(%eax)                   
  110e73:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  110e76:	75 e4                	jne    110e5c <rtems_string_to_unsigned_int+0x4c><== NEVER TAKEN
      return RTEMS_INVALID_NUMBER;                                    
  110e78:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  110e7d:	eb e1                	jmp    110e60 <rtems_string_to_unsigned_int+0x50>
  110e7f:	90                   	nop                                   
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  110e80:	b8 09 00 00 00       	mov    $0x9,%eax                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  110e85:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110e88:	5b                   	pop    %ebx                           
  110e89:	5e                   	pop    %esi                           
  110e8a:	5f                   	pop    %edi                           
  110e8b:	c9                   	leave                                 
  110e8c:	c3                   	ret                                   
  110e8d:	8d 76 00             	lea    0x0(%esi),%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 )                                                       
  110e90:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110e93:	eb be                	jmp    110e53 <rtems_string_to_unsigned_int+0x43>
  110e95:	8d 76 00             	lea    0x0(%esi),%esi                 
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  110e98:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  110e9d:	eb c1                	jmp    110e60 <rtems_string_to_unsigned_int+0x50>
                                                                      

00110f3c <rtems_string_to_unsigned_long>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  110f3c:	55                   	push   %ebp                           
  110f3d:	89 e5                	mov    %esp,%ebp                      
  110f3f:	57                   	push   %edi                           
  110f40:	56                   	push   %esi                           
  110f41:	53                   	push   %ebx                           
  110f42:	83 ec 2c             	sub    $0x2c,%esp                     
  110f45:	8b 75 08             	mov    0x8(%ebp),%esi                 
  110f48:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  110f4b:	8b 7d 10             	mov    0x10(%ebp),%edi                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  110f4e:	85 db                	test   %ebx,%ebx                      
  110f50:	74 5a                	je     110fac <rtems_string_to_unsigned_long+0x70>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  110f52:	e8 c1 1b 00 00       	call   112b18 <__errno>               
  110f57:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  110f5d:	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 );                       
  110f63:	50                   	push   %eax                           
  110f64:	ff 75 14             	pushl  0x14(%ebp)                     
  110f67:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  110f6a:	50                   	push   %eax                           
  110f6b:	56                   	push   %esi                           
  110f6c:	e8 3f 4c 00 00       	call   115bb0 <strtoul>               
  110f71:	89 c2                	mov    %eax,%edx                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
  110f73:	83 c4 10             	add    $0x10,%esp                     
  110f76:	85 ff                	test   %edi,%edi                      
  110f78:	74 42                	je     110fbc <rtems_string_to_unsigned_long+0x80>
    *endptr = end;                                                    
  110f7a:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110f7d:	89 07                	mov    %eax,(%edi)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  110f7f:	39 c6                	cmp    %eax,%esi                      
  110f81:	74 41                	je     110fc4 <rtems_string_to_unsigned_long+0x88>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  110f83:	83 fa ff             	cmp    $0xffffffff,%edx               
  110f86:	74 0c                	je     110f94 <rtems_string_to_unsigned_long+0x58>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  110f88:	89 13                	mov    %edx,(%ebx)                    
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  110f8a:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110f8c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110f8f:	5b                   	pop    %ebx                           
  110f90:	5e                   	pop    %esi                           
  110f91:	5f                   	pop    %edi                           
  110f92:	c9                   	leave                                 
  110f93:	c3                   	ret                                   
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  110f94:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  110f97:	e8 7c 1b 00 00       	call   112b18 <__errno>               
  110f9c:	83 38 22             	cmpl   $0x22,(%eax)                   
  110f9f:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  110fa2:	75 e4                	jne    110f88 <rtems_string_to_unsigned_long+0x4c><== NEVER TAKEN
      return RTEMS_INVALID_NUMBER;                                    
  110fa4:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  110fa9:	eb e1                	jmp    110f8c <rtems_string_to_unsigned_long+0x50>
  110fab:	90                   	nop                                   
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  110fac:	b8 09 00 00 00       	mov    $0x9,%eax                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  110fb1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110fb4:	5b                   	pop    %ebx                           
  110fb5:	5e                   	pop    %esi                           
  110fb6:	5f                   	pop    %edi                           
  110fb7:	c9                   	leave                                 
  110fb8:	c3                   	ret                                   
  110fb9:	8d 76 00             	lea    0x0(%esi),%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 )                                                       
  110fbc:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110fbf:	eb be                	jmp    110f7f <rtems_string_to_unsigned_long+0x43>
  110fc1:	8d 76 00             	lea    0x0(%esi),%esi                 
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  110fc4:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  110fc9:	eb c1                	jmp    110f8c <rtems_string_to_unsigned_long+0x50>
                                                                      

00110ea0 <rtems_string_to_unsigned_long_long>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
  110ea0:	55                   	push   %ebp                           
  110ea1:	89 e5                	mov    %esp,%ebp                      
  110ea3:	57                   	push   %edi                           
  110ea4:	56                   	push   %esi                           
  110ea5:	53                   	push   %ebx                           
  110ea6:	83 ec 2c             	sub    $0x2c,%esp                     
  110ea9:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  110eac:	8b 7d 10             	mov    0x10(%ebp),%edi                
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
  110eaf:	85 db                	test   %ebx,%ebx                      
  110eb1:	74 69                	je     110f1c <rtems_string_to_unsigned_long_long+0x7c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  110eb3:	e8 60 1c 00 00       	call   112b18 <__errno>               
  110eb8:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *n    = 0;                                                          
  110ebe:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
  110ec4:	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 );                       
  110ecb:	50                   	push   %eax                           
  110ecc:	ff 75 14             	pushl  0x14(%ebp)                     
  110ecf:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  110ed2:	50                   	push   %eax                           
  110ed3:	ff 75 08             	pushl  0x8(%ebp)                      
  110ed6:	e8 f1 4c 00 00       	call   115bcc <strtoull>              
  110edb:	89 c6                	mov    %eax,%esi                      
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
  110edd:	83 c4 10             	add    $0x10,%esp                     
  110ee0:	85 ff                	test   %edi,%edi                      
  110ee2:	74 48                	je     110f2c <rtems_string_to_unsigned_long_long+0x8c>
    *endptr = end;                                                    
  110ee4:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110ee7:	89 07                	mov    %eax,(%edi)                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
  110ee9:	39 45 08             	cmp    %eax,0x8(%ebp)                 
  110eec:	74 46                	je     110f34 <rtems_string_to_unsigned_long_long+0x94>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  110eee:	89 f0                	mov    %esi,%eax                      
  110ef0:	21 d0                	and    %edx,%eax                      
  110ef2:	40                   	inc    %eax                           
  110ef3:	74 0f                	je     110f04 <rtems_string_to_unsigned_long_long+0x64>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  110ef5:	89 33                	mov    %esi,(%ebx)                    
  110ef7:	89 53 04             	mov    %edx,0x4(%ebx)                 
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
  110efa:	31 c0                	xor    %eax,%eax                      
}                                                                     
  110efc:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110eff:	5b                   	pop    %ebx                           
  110f00:	5e                   	pop    %esi                           
  110f01:	5f                   	pop    %edi                           
  110f02:	c9                   	leave                                 
  110f03:	c3                   	ret                                   
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
  110f04:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  110f07:	e8 0c 1c 00 00       	call   112b18 <__errno>               
  110f0c:	83 38 22             	cmpl   $0x22,(%eax)                   
  110f0f:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  110f12:	75 e1                	jne    110ef5 <rtems_string_to_unsigned_long_long+0x55><== NEVER TAKEN
      return RTEMS_INVALID_NUMBER;                                    
  110f14:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  110f19:	eb e1                	jmp    110efc <rtems_string_to_unsigned_long_long+0x5c>
  110f1b:	90                   	nop                                   
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
  110f1c:	b8 09 00 00 00       	mov    $0x9,%eax                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  110f21:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110f24:	5b                   	pop    %ebx                           
  110f25:	5e                   	pop    %esi                           
  110f26:	5f                   	pop    %edi                           
  110f27:	c9                   	leave                                 
  110f28:	c3                   	ret                                   
  110f29:	8d 76 00             	lea    0x0(%esi),%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 )                                                       
  110f2c:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110f2f:	eb b8                	jmp    110ee9 <rtems_string_to_unsigned_long_long+0x49>
  110f31:	8d 76 00             	lea    0x0(%esi),%esi                 
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
  110f34:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  110f39:	eb c1                	jmp    110efc <rtems_string_to_unsigned_long_long+0x5c>
                                                                      

00107e24 <rtems_tarfs_load>: int rtems_tarfs_load( char *mountpoint, uint8_t *tar_image, size_t tar_size ) {
  107e24:	55                   	push   %ebp                           
  107e25:	89 e5                	mov    %esp,%ebp                      
  107e27:	57                   	push   %edi                           
  107e28:	56                   	push   %esi                           
  107e29:	53                   	push   %ebx                           
  107e2a:	81 ec d8 01 00 00    	sub    $0x1d8,%esp                    
   int                              offset;                           
   unsigned long                    nblocks;                          
   IMFS_jnode_t                    *node;                             
   int                              status;                           
                                                                      
   status = rtems_filesystem_evaluate_path(                           
  107e30:	31 c0                	xor    %eax,%eax                      
  107e32:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  107e37:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  107e3a:	f2 ae                	repnz scas %es:(%edi),%al             
  107e3c:	f7 d1                	not    %ecx                           
  107e3e:	49                   	dec    %ecx                           
  107e3f:	6a 00                	push   $0x0                           
  107e41:	8d 45 d0             	lea    -0x30(%ebp),%eax               
  107e44:	89 85 2c fe ff ff    	mov    %eax,-0x1d4(%ebp)              
  107e4a:	50                   	push   %eax                           
  107e4b:	6a 00                	push   $0x0                           
  107e4d:	51                   	push   %ecx                           
  107e4e:	ff 75 08             	pushl  0x8(%ebp)                      
  107e51:	e8 9a 0a 00 00       	call   1088f0 <rtems_filesystem_evaluate_path>
  107e56:	89 85 44 fe ff ff    	mov    %eax,-0x1bc(%ebp)              
      strlen(mountpoint),                                             
      0,                                                              
      &root_loc,                                                      
      0                                                               
   );                                                                 
   if (status != 0)                                                   
  107e5c:	83 c4 20             	add    $0x20,%esp                     
  107e5f:	85 c0                	test   %eax,%eax                      
  107e61:	0f 85 61 01 00 00    	jne    107fc8 <rtems_tarfs_load+0x1a4>
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
  107e67:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  107e6a:	3d 80 50 12 00       	cmp    $0x125080,%eax                 
  107e6f:	0f 85 47 01 00 00    	jne    107fbc <rtems_tarfs_load+0x198>
  107e75:	31 db                	xor    %ebx,%ebx                      
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
  107e77:	8d 45 bc             	lea    -0x44(%ebp),%eax               
  107e7a:	89 85 30 fe ff ff    	mov    %eax,-0x1d0(%ebp)              
     * - For directories, just create directories as usual.  IMFS     
     *   will take care of the rest.                                  
     * - For files, create a file node with special tarfs properties. 
     */                                                               
    if (linkflag == DIRTYPE) {                                        
      strcpy(full_filename, mountpoint);                              
  107e80:	8d 95 58 fe ff ff    	lea    -0x1a8(%ebp),%edx              
  107e86:	89 95 34 fe ff ff    	mov    %edx,-0x1cc(%ebp)              
  107e8c:	eb 15                	jmp    107ea3 <rtems_tarfs_load+0x7f> 
  107e8e:	66 90                	xchg   %ax,%ax                        
     *        IMFS_create_node was ONLY passed a NULL when we created the
     *        root node.  We added a new IMFS_create_root_node() so this
     *        path no longer existed.  The result was simpler code which
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
  107e90:	80 bd 53 fe ff ff 30 	cmpb   $0x30,-0x1ad(%ebp)             
  107e97:	0f 84 43 01 00 00    	je     107fe0 <rtems_tarfs_load+0x1bc>
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
  107e9d:	8b 9d 54 fe ff ff    	mov    -0x1ac(%ebp),%ebx              
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
  107ea3:	8d 83 00 02 00 00    	lea    0x200(%ebx),%eax               
  107ea9:	89 85 54 fe ff ff    	mov    %eax,-0x1ac(%ebp)              
  107eaf:	8b 55 10             	mov    0x10(%ebp),%edx                
  107eb2:	39 d0                	cmp    %edx,%eax                      
  107eb4:	0f 87 18 01 00 00    	ja     107fd2 <rtems_tarfs_load+0x1ae><== NEVER TAKEN
      break;                                                          
                                                                      
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
  107eba:	03 5d 0c             	add    0xc(%ebp),%ebx                 
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
  107ebd:	8d b3 01 01 00 00    	lea    0x101(%ebx),%esi               
  107ec3:	bf c8 50 12 00       	mov    $0x1250c8,%edi                 
  107ec8:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  107ecd:	f3 a6                	repz cmpsb %es:(%edi),%ds:(%esi)      
  107ecf:	0f 85 fd 00 00 00    	jne    107fd2 <rtems_tarfs_load+0x1ae>
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
  107ed5:	57                   	push   %edi                           
  107ed6:	6a 63                	push   $0x63                          
  107ed8:	53                   	push   %ebx                           
  107ed9:	8d 85 58 ff ff ff    	lea    -0xa8(%ebp),%eax               
  107edf:	50                   	push   %eax                           
  107ee0:	e8 47 e9 00 00       	call   11682c <strncpy>               
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
  107ee5:	c6 45 bb 00          	movb   $0x0,-0x45(%ebp)               
                                                                      
    linkflag   = hdr_ptr[156];                                        
  107ee9:	8a 93 9c 00 00 00    	mov    0x9c(%ebx),%dl                 
  107eef:	88 95 53 fe ff ff    	mov    %dl,-0x1ad(%ebp)               
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
  107ef5:	59                   	pop    %ecx                           
  107ef6:	5e                   	pop    %esi                           
  107ef7:	6a 08                	push   $0x8                           
  107ef9:	8d 43 64             	lea    0x64(%ebx),%eax                
  107efc:	50                   	push   %eax                           
  107efd:	e8 0e 7b 00 00       	call   10fa10 <_rtems_octal2ulong>    
  107f02:	89 85 48 fe ff ff    	mov    %eax,-0x1b8(%ebp)              
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
  107f08:	58                   	pop    %eax                           
  107f09:	5a                   	pop    %edx                           
  107f0a:	6a 0c                	push   $0xc                           
  107f0c:	8d 43 7c             	lea    0x7c(%ebx),%eax                
  107f0f:	50                   	push   %eax                           
  107f10:	e8 fb 7a 00 00       	call   10fa10 <_rtems_octal2ulong>    
  107f15:	89 85 4c fe ff ff    	mov    %eax,-0x1b4(%ebp)              
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
  107f1b:	5e                   	pop    %esi                           
  107f1c:	5f                   	pop    %edi                           
  107f1d:	6a 08                	push   $0x8                           
  107f1f:	8d 83 94 00 00 00    	lea    0x94(%ebx),%eax                
  107f25:	50                   	push   %eax                           
  107f26:	e8 e5 7a 00 00       	call   10fa10 <_rtems_octal2ulong>    
  107f2b:	89 c6                	mov    %eax,%esi                      
                                                                      
    if (_rtems_tar_header_checksum(hdr_ptr) != hdr_chksum)            
  107f2d:	89 1c 24             	mov    %ebx,(%esp)                    
  107f30:	e8 af 7f 00 00       	call   10fee4 <_rtems_tar_header_checksum>
  107f35:	83 c4 10             	add    $0x10,%esp                     
  107f38:	39 f0                	cmp    %esi,%eax                      
  107f3a:	0f 85 92 00 00 00    	jne    107fd2 <rtems_tarfs_load+0x1ae><== NEVER TAKEN
     * Generate an IMFS node depending on the file type.              
     * - For directories, just create directories as usual.  IMFS     
     *   will take care of the rest.                                  
     * - For files, create a file node with special tarfs properties. 
     */                                                               
    if (linkflag == DIRTYPE) {                                        
  107f40:	80 bd 53 fe ff ff 35 	cmpb   $0x35,-0x1ad(%ebp)             
  107f47:	0f 85 43 ff ff ff    	jne    107e90 <rtems_tarfs_load+0x6c> 
      strcpy(full_filename, mountpoint);                              
  107f4d:	83 ec 08             	sub    $0x8,%esp                      
  107f50:	ff 75 08             	pushl  0x8(%ebp)                      
  107f53:	8d 85 58 fe ff ff    	lea    -0x1a8(%ebp),%eax              
  107f59:	50                   	push   %eax                           
  107f5a:	e8 65 e5 00 00       	call   1164c4 <strcpy>                
      if (full_filename[strlen(full_filename)-1] != '/')              
  107f5f:	31 c0                	xor    %eax,%eax                      
  107f61:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  107f66:	8b bd 34 fe ff ff    	mov    -0x1cc(%ebp),%edi              
  107f6c:	f2 ae                	repnz scas %es:(%edi),%al             
  107f6e:	f7 d1                	not    %ecx                           
  107f70:	49                   	dec    %ecx                           
  107f71:	83 c4 10             	add    $0x10,%esp                     
  107f74:	80 bc 0d 57 fe ff ff 	cmpb   $0x2f,-0x1a9(%ebp,%ecx,1)      
  107f7b:	2f                                                          
  107f7c:	74 0a                	je     107f88 <rtems_tarfs_load+0x164><== ALWAYS TAKEN
        strcat(full_filename, "/");                                   
  107f7e:	66 c7 84 0d 58 fe ff 	movw   $0x2f,-0x1a8(%ebp,%ecx,1)      <== NOT EXECUTED
  107f85:	ff 2f 00                                                    
      strcat(full_filename, filename);                                
  107f88:	83 ec 08             	sub    $0x8,%esp                      
  107f8b:	8d 95 58 ff ff ff    	lea    -0xa8(%ebp),%edx               
  107f91:	52                   	push   %edx                           
  107f92:	8d 85 58 fe ff ff    	lea    -0x1a8(%ebp),%eax              
  107f98:	50                   	push   %eax                           
  107f99:	e8 72 e3 00 00       	call   116310 <strcat>                
      mkdir(full_filename, S_IRWXU | S_IRWXG | S_IRWXO);              
  107f9e:	5a                   	pop    %edx                           
  107f9f:	59                   	pop    %ecx                           
  107fa0:	68 ff 01 00 00       	push   $0x1ff                         
  107fa5:	8d 95 58 fe ff ff    	lea    -0x1a8(%ebp),%edx              
  107fab:	52                   	push   %edx                           
  107fac:	e8 fb 10 00 00       	call   1090ac <mkdir>                 
  107fb1:	83 c4 10             	add    $0x10,%esp                     
  107fb4:	e9 e4 fe ff ff       	jmp    107e9d <rtems_tarfs_load+0x79> 
  107fb9:	8d 76 00             	lea    0x0(%esi),%esi                 
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
  107fbc:	3d 00 5b 12 00       	cmp    $0x125b00,%eax                 
  107fc1:	0f 84 ae fe ff ff    	je     107e75 <rtems_tarfs_load+0x51> <== NEVER TAKEN
  107fc7:	90                   	nop                                   
     return -1;                                                       
  107fc8:	c7 85 44 fe ff ff ff 	movl   $0xffffffff,-0x1bc(%ebp)       
  107fcf:	ff ff ff                                                    
      nblocks = (((file_size) + 511) & ~511) / 512;                   
      offset += 512 * nblocks;                                        
    }                                                                 
  }                                                                   
  return status;                                                      
}                                                                     
  107fd2:	8b 85 44 fe ff ff    	mov    -0x1bc(%ebp),%eax              
  107fd8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  107fdb:	5b                   	pop    %ebx                           
  107fdc:	5e                   	pop    %esi                           
  107fdd:	5f                   	pop    %edi                           
  107fde:	c9                   	leave                                 
  107fdf:	c3                   	ret                                   
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
  107fe0:	8b bd 30 fe ff ff    	mov    -0x1d0(%ebp),%edi              
  107fe6:	8b b5 2c fe ff ff    	mov    -0x1d4(%ebp),%esi              
  107fec:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  107ff1:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
  107ff3:	50                   	push   %eax                           
  107ff4:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  107ff7:	50                   	push   %eax                           
  107ff8:	8d 55 bc             	lea    -0x44(%ebp),%edx               
  107ffb:	52                   	push   %edx                           
  107ffc:	8d 85 58 ff ff ff    	lea    -0xa8(%ebp),%eax               
  108002:	50                   	push   %eax                           
  108003:	e8 58 86 00 00       	call   110660 <IMFS_evaluate_for_make>
  108008:	83 c4 10             	add    $0x10,%esp                     
  10800b:	85 c0                	test   %eax,%eax                      
  10800d:	74 1d                	je     10802c <rtems_tarfs_load+0x208><== ALWAYS TAKEN
        );                                                            
        node->info.linearfile.size   = file_size;                     
        node->info.linearfile.direct = &tar_image[offset];            
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
  10800f:	8b 85 4c fe ff ff    	mov    -0x1b4(%ebp),%eax              
  108015:	05 ff 01 00 00       	add    $0x1ff,%eax                    
      offset += 512 * nblocks;                                        
  10801a:	25 00 fe ff ff       	and    $0xfffffe00,%eax               
  10801f:	01 85 54 fe ff ff    	add    %eax,-0x1ac(%ebp)              
  108025:	e9 73 fe ff ff       	jmp    107e9d <rtems_tarfs_load+0x79> 
  10802a:	66 90                	xchg   %ax,%ax                        
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
        node = IMFS_create_node(                                      
  10802c:	83 ec 0c             	sub    $0xc,%esp                      
  10802f:	6a 00                	push   $0x0                           
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
  108031:	8b 85 48 fe ff ff    	mov    -0x1b8(%ebp),%eax              
  108037:	25 ff 01 00 00       	and    $0x1ff,%eax                    
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
        node = IMFS_create_node(                                      
  10803c:	80 cc 80             	or     $0x80,%ah                      
  10803f:	50                   	push   %eax                           
  108040:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  108043:	6a 06                	push   $0x6                           
  108045:	8d 55 bc             	lea    -0x44(%ebp),%edx               
  108048:	52                   	push   %edx                           
  108049:	e8 4a 80 00 00       	call   110098 <IMFS_create_node>      
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
  10804e:	8b 95 4c fe ff ff    	mov    -0x1b4(%ebp),%edx              
  108054:	89 50 50             	mov    %edx,0x50(%eax)                
  108057:	c7 40 54 00 00 00 00 	movl   $0x0,0x54(%eax)                
        node->info.linearfile.direct = &tar_image[offset];            
  10805e:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  108061:	03 95 54 fe ff ff    	add    -0x1ac(%ebp),%edx              
  108067:	89 50 58             	mov    %edx,0x58(%eax)                
  10806a:	83 c4 20             	add    $0x20,%esp                     
  10806d:	eb a0                	jmp    10800f <rtems_tarfs_load+0x1eb>
                                                                      

0010b84c <rtems_task_create>: size_t stack_size, rtems_mode initial_modes, rtems_attribute attribute_set, rtems_id *id ) {
  10b84c:	55                   	push   %ebp                           
  10b84d:	89 e5                	mov    %esp,%ebp                      
  10b84f:	57                   	push   %edi                           
  10b850:	56                   	push   %esi                           
  10b851:	53                   	push   %ebx                           
  10b852:	83 ec 1c             	sub    $0x1c,%esp                     
  10b855:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10b858:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10b85b:	8b 75 1c             	mov    0x1c(%ebp),%esi                
  Priority_Control         core_priority;                             
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
                                                                      
  if ( !id )                                                          
  10b85e:	85 f6                	test   %esi,%esi                      
  10b860:	0f 84 3e 01 00 00    	je     10b9a4 <rtems_task_create+0x158>
   return RTEMS_INVALID_ADDRESS;                                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  10b866:	85 db                	test   %ebx,%ebx                      
  10b868:	0f 84 d2 00 00 00    	je     10b940 <rtems_task_create+0xf4>
                                                                      
  /*                                                                  
   *  Validate the RTEMS API priority and convert it to the core priority range.
   */                                                                 
                                                                      
  if ( !_Attributes_Is_system_task( the_attribute_set ) ) {           
  10b86e:	f7 45 18 00 80 00 00 	testl  $0x8000,0x18(%ebp)             
  10b875:	75 17                	jne    10b88e <rtems_task_create+0x42>
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
  10b877:	85 ff                	test   %edi,%edi                      
  10b879:	0f 84 b1 00 00 00    	je     10b930 <rtems_task_create+0xe4>
            ( the_priority <= RTEMS_MAXIMUM_PRIORITY ) );             
  10b87f:	0f b6 05 14 12 12 00 	movzbl 0x121214,%eax                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
  10b886:	39 c7                	cmp    %eax,%edi                      
  10b888:	0f 87 a2 00 00 00    	ja     10b930 <rtems_task_create+0xe4>
   */                                                                 
                                                                      
  /*                                                                  
   *  Lock the allocator mutex for protection                         
   */                                                                 
  _RTEMS_Lock_allocator();                                            
  10b88e:	83 ec 0c             	sub    $0xc,%esp                      
  10b891:	ff 35 5c 55 12 00    	pushl  0x12555c                       
  10b897:	e8 7c 06 00 00       	call   10bf18 <_API_Mutex_Lock>       
 *  This function allocates a task control block from                 
 *  the inactive chain of free task control blocks.                   
 */                                                                   
RTEMS_INLINE_ROUTINE Thread_Control *_RTEMS_tasks_Allocate( void )    
{                                                                     
  return (Thread_Control *) _Objects_Allocate( &_RTEMS_tasks_Information );
  10b89c:	c7 04 24 00 54 12 00 	movl   $0x125400,(%esp)               
  10b8a3:	e8 0c 10 00 00       	call   10c8b4 <_Objects_Allocate>     
  10b8a8:	89 c2                	mov    %eax,%edx                      
   *         the event of an error.                                   
   */                                                                 
                                                                      
  the_thread = _RTEMS_tasks_Allocate();                               
                                                                      
  if ( !the_thread ) {                                                
  10b8aa:	83 c4 10             	add    $0x10,%esp                     
  10b8ad:	85 c0                	test   %eax,%eax                      
  10b8af:	0f 84 cf 00 00 00    	je     10b984 <rtems_task_create+0x138>
                                                                      
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
                                                                      
  status = _Thread_Initialize(                                        
  10b8b5:	50                   	push   %eax                           
  10b8b6:	53                   	push   %ebx                           
 */                                                                   
RTEMS_INLINE_ROUTINE ISR_Level _Modes_Get_interrupt_level (           
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  return ( mode_set & RTEMS_INTERRUPT_MASK );                         
  10b8b7:	8b 45 14             	mov    0x14(%ebp),%eax                
  10b8ba:	83 e0 01             	and    $0x1,%eax                      
  10b8bd:	50                   	push   %eax                           
  10b8be:	6a 00                	push   $0x0                           
  10b8c0:	31 c0                	xor    %eax,%eax                      
  10b8c2:	f7 45 14 00 02 00 00 	testl  $0x200,0x14(%ebp)              
  10b8c9:	0f 95 c0             	setne  %al                            
  10b8cc:	50                   	push   %eax                           
  10b8cd:	31 c0                	xor    %eax,%eax                      
  10b8cf:	f7 45 14 00 01 00 00 	testl  $0x100,0x14(%ebp)              
  10b8d6:	0f 94 c0             	sete   %al                            
  10b8d9:	50                   	push   %eax                           
  10b8da:	57                   	push   %edi                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Attributes_Is_floating_point(              
  rtems_attribute attribute_set                                       
)                                                                     
{                                                                     
   return ( attribute_set & RTEMS_FLOATING_POINT ) ? true : false;    
  10b8db:	8b 45 18             	mov    0x18(%ebp),%eax                
  10b8de:	83 e0 01             	and    $0x1,%eax                      
  10b8e1:	50                   	push   %eax                           
  10b8e2:	ff 75 10             	pushl  0x10(%ebp)                     
  10b8e5:	6a 00                	push   $0x0                           
  10b8e7:	52                   	push   %edx                           
  10b8e8:	68 00 54 12 00       	push   $0x125400                      
  10b8ed:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10b8f0:	e8 9b 1f 00 00       	call   10d890 <_Thread_Initialize>    
    NULL,        /* no budget algorithm callout */                    
    _Modes_Get_interrupt_level(initial_modes),                        
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  if ( !status ) {                                                    
  10b8f5:	83 c4 30             	add    $0x30,%esp                     
  10b8f8:	84 c0                	test   %al,%al                        
  10b8fa:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10b8fd:	74 51                	je     10b950 <rtems_task_create+0x104>
    _RTEMS_Unlock_allocator();                                        
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_RTEMS ];               
  asr = &api->Signal;                                                 
  10b8ff:	8b 82 e4 00 00 00    	mov    0xe4(%edx),%eax                
 *    id               - thread id                                    
 *    RTEMS_SUCCESSFUL - if successful                                
 *    error code       - if unsuccessful                              
 */                                                                   
                                                                      
rtems_status_code rtems_task_create(                                  
  10b905:	f7 45 14 00 04 00 00 	testl  $0x400,0x14(%ebp)              
  }                                                                   
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_RTEMS ];               
  asr = &api->Signal;                                                 
                                                                      
  asr->is_enabled = _Modes_Is_asr_disabled(initial_modes) ? false : true;
  10b90c:	0f 94 40 08          	sete   0x8(%eax)                      
                                                                      
  *id = the_thread->Object.id;                                        
  10b910:	8b 42 08             	mov    0x8(%edx),%eax                 
  10b913:	89 06                	mov    %eax,(%esi)                    
    );                                                                
                                                                      
   }                                                                  
#endif                                                                
                                                                      
  _RTEMS_Unlock_allocator();                                          
  10b915:	83 ec 0c             	sub    $0xc,%esp                      
  10b918:	ff 35 5c 55 12 00    	pushl  0x12555c                       
  10b91e:	e8 3d 06 00 00       	call   10bf60 <_API_Mutex_Unlock>     
  return RTEMS_SUCCESSFUL;                                            
  10b923:	83 c4 10             	add    $0x10,%esp                     
  10b926:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10b928:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b92b:	5b                   	pop    %ebx                           
  10b92c:	5e                   	pop    %esi                           
  10b92d:	5f                   	pop    %edi                           
  10b92e:	c9                   	leave                                 
  10b92f:	c3                   	ret                                   
   *  Validate the RTEMS API priority and convert it to the core priority range.
   */                                                                 
                                                                      
  if ( !_Attributes_Is_system_task( the_attribute_set ) ) {           
    if ( !_RTEMS_tasks_Priority_is_valid( initial_priority ) )        
      return RTEMS_INVALID_PRIORITY;                                  
  10b930:	b8 13 00 00 00       	mov    $0x13,%eax                     
   }                                                                  
#endif                                                                
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10b935:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b938:	5b                   	pop    %ebx                           
  10b939:	5e                   	pop    %esi                           
  10b93a:	5f                   	pop    %edi                           
  10b93b:	c9                   	leave                                 
  10b93c:	c3                   	ret                                   
  10b93d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( !id )                                                          
   return RTEMS_INVALID_ADDRESS;                                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
  10b940:	b8 03 00 00 00       	mov    $0x3,%eax                      
   }                                                                  
#endif                                                                
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10b945:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b948:	5b                   	pop    %ebx                           
  10b949:	5e                   	pop    %esi                           
  10b94a:	5f                   	pop    %edi                           
  10b94b:	c9                   	leave                                 
  10b94c:	c3                   	ret                                   
  10b94d:	8d 76 00             	lea    0x0(%esi),%esi                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _RTEMS_tasks_Free (                         
  Thread_Control *the_task                                            
)                                                                     
{                                                                     
  _Objects_Free(                                                      
  10b950:	83 ec 0c             	sub    $0xc,%esp                      
  10b953:	ff 72 08             	pushl  0x8(%edx)                      
  10b956:	e8 41 13 00 00       	call   10cc9c <_Objects_Get_information_id>
  10b95b:	5a                   	pop    %edx                           
  10b95c:	59                   	pop    %ecx                           
  10b95d:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10b960:	52                   	push   %edx                           
  10b961:	50                   	push   %eax                           
  10b962:	e8 c5 12 00 00       	call   10cc2c <_Objects_Free>         
#if defined(RTEMS_MULTIPROCESSING)                                    
    if ( is_global )                                                  
      _Objects_MP_Free_global_object( the_global_object );            
#endif                                                                
    _RTEMS_tasks_Free( the_thread );                                  
    _RTEMS_Unlock_allocator();                                        
  10b967:	58                   	pop    %eax                           
  10b968:	ff 35 5c 55 12 00    	pushl  0x12555c                       
  10b96e:	e8 ed 05 00 00       	call   10bf60 <_API_Mutex_Unlock>     
    return RTEMS_UNSATISFIED;                                         
  10b973:	83 c4 10             	add    $0x10,%esp                     
  10b976:	b8 0d 00 00 00       	mov    $0xd,%eax                      
   }                                                                  
#endif                                                                
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10b97b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b97e:	5b                   	pop    %ebx                           
  10b97f:	5e                   	pop    %esi                           
  10b980:	5f                   	pop    %edi                           
  10b981:	c9                   	leave                                 
  10b982:	c3                   	ret                                   
  10b983:	90                   	nop                                   
   */                                                                 
                                                                      
  the_thread = _RTEMS_tasks_Allocate();                               
                                                                      
  if ( !the_thread ) {                                                
    _RTEMS_Unlock_allocator();                                        
  10b984:	83 ec 0c             	sub    $0xc,%esp                      
  10b987:	ff 35 5c 55 12 00    	pushl  0x12555c                       
  10b98d:	e8 ce 05 00 00       	call   10bf60 <_API_Mutex_Unlock>     
    return RTEMS_TOO_MANY;                                            
  10b992:	83 c4 10             	add    $0x10,%esp                     
  10b995:	b8 05 00 00 00       	mov    $0x5,%eax                      
   }                                                                  
#endif                                                                
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10b99a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b99d:	5b                   	pop    %ebx                           
  10b99e:	5e                   	pop    %esi                           
  10b99f:	5f                   	pop    %edi                           
  10b9a0:	c9                   	leave                                 
  10b9a1:	c3                   	ret                                   
  10b9a2:	66 90                	xchg   %ax,%ax                        
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
                                                                      
  if ( !id )                                                          
   return RTEMS_INVALID_ADDRESS;                                      
  10b9a4:	b8 09 00 00 00       	mov    $0x9,%eax                      
  10b9a9:	eb 8a                	jmp    10b935 <rtems_task_create+0xe9>
                                                                      

0010b9ac <rtems_task_delete>: */ rtems_status_code rtems_task_delete( rtems_id id ) {
  10b9ac:	55                   	push   %ebp                           
  10b9ad:	89 e5                	mov    %esp,%ebp                      
  10b9af:	53                   	push   %ebx                           
  10b9b0:	83 ec 20             	sub    $0x20,%esp                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  Objects_Information     *the_information;                           
                                                                      
  _RTEMS_Lock_allocator();                                            
  10b9b3:	ff 35 5c 55 12 00    	pushl  0x12555c                       
  10b9b9:	e8 5a 05 00 00       	call   10bf18 <_API_Mutex_Lock>       
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10b9be:	5a                   	pop    %edx                           
  10b9bf:	59                   	pop    %ecx                           
  10b9c0:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10b9c3:	50                   	push   %eax                           
  10b9c4:	ff 75 08             	pushl  0x8(%ebp)                      
  10b9c7:	e8 4c 1e 00 00       	call   10d818 <_Thread_Get>           
  10b9cc:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  10b9ce:	83 c4 10             	add    $0x10,%esp                     
  10b9d1:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  10b9d4:	85 c0                	test   %eax,%eax                      
  10b9d6:	75 44                	jne    10ba1c <rtems_task_delete+0x70>
                                                                      
    case OBJECTS_LOCAL:                                               
      the_information = _Objects_Get_information_id( the_thread->Object.id );
  10b9d8:	83 ec 0c             	sub    $0xc,%esp                      
  10b9db:	ff 73 08             	pushl  0x8(%ebx)                      
  10b9de:	e8 b9 12 00 00       	call   10cc9c <_Objects_Get_information_id>
            0                                /* Not used */           
          );                                                          
        }                                                             
      #endif                                                          
                                                                      
      _Thread_Close( the_information, the_thread );                   
  10b9e3:	5a                   	pop    %edx                           
  10b9e4:	59                   	pop    %ecx                           
  10b9e5:	53                   	push   %ebx                           
  10b9e6:	50                   	push   %eax                           
  10b9e7:	e8 c8 1a 00 00       	call   10d4b4 <_Thread_Close>         
  10b9ec:	58                   	pop    %eax                           
  10b9ed:	ff 73 08             	pushl  0x8(%ebx)                      
  10b9f0:	e8 a7 12 00 00       	call   10cc9c <_Objects_Get_information_id>
  10b9f5:	5a                   	pop    %edx                           
  10b9f6:	59                   	pop    %ecx                           
  10b9f7:	53                   	push   %ebx                           
  10b9f8:	50                   	push   %eax                           
  10b9f9:	e8 2e 12 00 00       	call   10cc2c <_Objects_Free>         
                                                                      
      _RTEMS_tasks_Free( the_thread );                                
                                                                      
      _RTEMS_Unlock_allocator();                                      
  10b9fe:	58                   	pop    %eax                           
  10b9ff:	ff 35 5c 55 12 00    	pushl  0x12555c                       
  10ba05:	e8 56 05 00 00       	call   10bf60 <_API_Mutex_Unlock>     
      _Thread_Enable_dispatch();                                      
  10ba0a:	e8 e5 1d 00 00       	call   10d7f4 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  10ba0f:	83 c4 10             	add    $0x10,%esp                     
  10ba12:	31 c0                	xor    %eax,%eax                      
      break;                                                          
  }                                                                   
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10ba14:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ba17:	c9                   	leave                                 
  10ba18:	c3                   	ret                                   
  10ba19:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  _RTEMS_Unlock_allocator();                                          
  10ba1c:	83 ec 0c             	sub    $0xc,%esp                      
  10ba1f:	ff 35 5c 55 12 00    	pushl  0x12555c                       
  10ba25:	e8 36 05 00 00       	call   10bf60 <_API_Mutex_Unlock>     
  return RTEMS_INVALID_ID;                                            
  10ba2a:	83 c4 10             	add    $0x10,%esp                     
  10ba2d:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10ba32:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ba35:	c9                   	leave                                 
  10ba36:	c3                   	ret                                   
                                                                      

0010d4e4 <rtems_task_get_note>: rtems_status_code rtems_task_get_note( rtems_id id, uint32_t notepad, uint32_t *note ) {
  10d4e4:	55                   	push   %ebp                           
  10d4e5:	89 e5                	mov    %esp,%ebp                      
  10d4e7:	56                   	push   %esi                           
  10d4e8:	53                   	push   %ebx                           
  10d4e9:	83 ec 10             	sub    $0x10,%esp                     
  10d4ec:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10d4ef:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10d4f2:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
  10d4f5:	80 3d e4 51 12 00 00 	cmpb   $0x0,0x1251e4                  
  10d4fc:	74 6e                	je     10d56c <rtems_task_get_note+0x88>
    return RTEMS_NOT_CONFIGURED;                                      
                                                                      
  if ( !note )                                                        
  10d4fe:	85 db                	test   %ebx,%ebx                      
  10d500:	74 7e                	je     10d580 <rtems_task_get_note+0x9c>
  /*                                                                  
   *  NOTE:  There is no check for < RTEMS_NOTEPAD_FIRST because that would
   *         be checking an unsigned number for being negative.       
   */                                                                 
                                                                      
  if ( notepad > RTEMS_NOTEPAD_LAST )                                 
  10d502:	83 fe 0f             	cmp    $0xf,%esi                      
  10d505:	77 3d                	ja     10d544 <rtems_task_get_note+0x60>
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
  10d507:	85 c0                	test   %eax,%eax                      
  10d509:	74 45                	je     10d550 <rtems_task_get_note+0x6c>
       _Objects_Are_ids_equal( id, _Thread_Executing->Object.id ) ) { 
  10d50b:	8b 15 58 9a 12 00    	mov    0x129a58,%edx                  
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
  10d511:	3b 42 08             	cmp    0x8(%edx),%eax                 
  10d514:	74 40                	je     10d556 <rtems_task_get_note+0x72>
      api = _Thread_Executing->API_Extensions[ THREAD_API_RTEMS ];    
      *note = api->Notepads[ notepad ];                               
      return RTEMS_SUCCESSFUL;                                        
  }                                                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10d516:	83 ec 08             	sub    $0x8,%esp                      
  10d519:	8d 55 f4             	lea    -0xc(%ebp),%edx                
  10d51c:	52                   	push   %edx                           
  10d51d:	50                   	push   %eax                           
  10d51e:	e8 3d 21 00 00       	call   10f660 <_Thread_Get>           
  switch ( location ) {                                               
  10d523:	83 c4 10             	add    $0x10,%esp                     
  10d526:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10d529:	85 d2                	test   %edx,%edx                      
  10d52b:	75 4b                	jne    10d578 <rtems_task_get_note+0x94>
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
      *note = api->Notepads[ notepad ];                               
  10d52d:	8b 80 e4 00 00 00    	mov    0xe4(%eax),%eax                
  10d533:	8b 44 b0 20          	mov    0x20(%eax,%esi,4),%eax         
  10d537:	89 03                	mov    %eax,(%ebx)                    
      _Thread_Enable_dispatch();                                      
  10d539:	e8 fe 20 00 00       	call   10f63c <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  10d53e:	31 c0                	xor    %eax,%eax                      
  10d540:	eb 07                	jmp    10d549 <rtems_task_get_note+0x65>
  10d542:	66 90                	xchg   %ax,%ax                        
   *  NOTE:  There is no check for < RTEMS_NOTEPAD_FIRST because that would
   *         be checking an unsigned number for being negative.       
   */                                                                 
                                                                      
  if ( notepad > RTEMS_NOTEPAD_LAST )                                 
    return RTEMS_INVALID_NUMBER;                                      
  10d544:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10d549:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10d54c:	5b                   	pop    %ebx                           
  10d54d:	5e                   	pop    %esi                           
  10d54e:	c9                   	leave                                 
  10d54f:	c3                   	ret                                   
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
  10d550:	8b 15 58 9a 12 00    	mov    0x129a58,%edx                  
       _Objects_Are_ids_equal( id, _Thread_Executing->Object.id ) ) { 
      api = _Thread_Executing->API_Extensions[ THREAD_API_RTEMS ];    
      *note = api->Notepads[ notepad ];                               
  10d556:	8b 82 e4 00 00 00    	mov    0xe4(%edx),%eax                
  10d55c:	8b 44 b0 20          	mov    0x20(%eax,%esi,4),%eax         
  10d560:	89 03                	mov    %eax,(%ebx)                    
      return RTEMS_SUCCESSFUL;                                        
  10d562:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10d564:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10d567:	5b                   	pop    %ebx                           
  10d568:	5e                   	pop    %esi                           
  10d569:	c9                   	leave                                 
  10d56a:	c3                   	ret                                   
  10d56b:	90                   	nop                                   
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
    return RTEMS_NOT_CONFIGURED;                                      
  10d56c:	b8 16 00 00 00       	mov    $0x16,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10d571:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10d574:	5b                   	pop    %ebx                           
  10d575:	5e                   	pop    %esi                           
  10d576:	c9                   	leave                                 
  10d577:	c3                   	ret                                   
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10d578:	b8 04 00 00 00       	mov    $0x4,%eax                      
  10d57d:	eb ca                	jmp    10d549 <rtems_task_get_note+0x65>
  10d57f:	90                   	nop                                   
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
    return RTEMS_NOT_CONFIGURED;                                      
                                                                      
  if ( !note )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
  10d580:	b8 09 00 00 00       	mov    $0x9,%eax                      
  10d585:	eb c2                	jmp    10d549 <rtems_task_get_note+0x65>
                                                                      

00118144 <rtems_task_is_suspended>: */ rtems_status_code rtems_task_is_suspended( rtems_id id ) {
  118144:	55                   	push   %ebp                           
  118145:	89 e5                	mov    %esp,%ebp                      
  118147:	83 ec 20             	sub    $0x20,%esp                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  11814a:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  11814d:	50                   	push   %eax                           
  11814e:	ff 75 08             	pushl  0x8(%ebp)                      
  118151:	e8 02 3b 00 00       	call   11bc58 <_Thread_Get>           
  switch ( location ) {                                               
  118156:	83 c4 10             	add    $0x10,%esp                     
  118159:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  11815c:	85 d2                	test   %edx,%edx                      
  11815e:	74 08                	je     118168 <rtems_task_is_suspended+0x24>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  118160:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  118165:	c9                   	leave                                 
  118166:	c3                   	ret                                   
  118167:	90                   	nop                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_States_Is_suspended( the_thread->current_state ) ) {     
  118168:	f6 40 10 02          	testb  $0x2,0x10(%eax)                
  11816c:	74 0e                	je     11817c <rtems_task_is_suspended+0x38>
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
  11816e:	e8 c1 3a 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return RTEMS_ALREADY_SUSPENDED;                                 
  118173:	b8 0f 00 00 00       	mov    $0xf,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  118178:	c9                   	leave                                 
  118179:	c3                   	ret                                   
  11817a:	66 90                	xchg   %ax,%ax                        
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_States_Is_suspended( the_thread->current_state ) ) {     
        _Thread_Enable_dispatch();                                    
  11817c:	e8 b3 3a 00 00       	call   11bc34 <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  118181:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  118183:	c9                   	leave                                 
  118184:	c3                   	ret                                   
                                                                      

00111f24 <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
  111f24:	55                   	push   %ebp                           
  111f25:	89 e5                	mov    %esp,%ebp                      
  111f27:	57                   	push   %edi                           
  111f28:	56                   	push   %esi                           
  111f29:	53                   	push   %ebx                           
  111f2a:	83 ec 1c             	sub    $0x1c,%esp                     
  111f2d:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  ASR_Information    *asr;                                            
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
  111f30:	85 c9                	test   %ecx,%ecx                      
  111f32:	0f 84 40 01 00 00    	je     112078 <rtems_task_mode+0x154> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  111f38:	8b 1d 38 57 12 00    	mov    0x125738,%ebx                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  111f3e:	8b bb e4 00 00 00    	mov    0xe4(%ebx),%edi                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
  111f44:	80 7b 74 01          	cmpb   $0x1,0x74(%ebx)                
  111f48:	19 f6                	sbb    %esi,%esi                      
  111f4a:	81 e6 00 01 00 00    	and    $0x100,%esi                    
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
  111f50:	8b 53 7c             	mov    0x7c(%ebx),%edx                
  111f53:	85 d2                	test   %edx,%edx                      
  111f55:	0f 85 f1 00 00 00    	jne    11204c <rtems_task_mode+0x128> 
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
  111f5b:	80 7f 08 01          	cmpb   $0x1,0x8(%edi)                 
  111f5f:	19 d2                	sbb    %edx,%edx                      
  111f61:	81 e2 00 04 00 00    	and    $0x400,%edx                    
  old_mode |= _ISR_Get_level();                                       
  111f67:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  111f6a:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  111f6d:	e8 9a cc ff ff       	call   10ec0c <_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;           
  111f72:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  111f75:	09 d0                	or     %edx,%eax                      
  old_mode |= _ISR_Get_level();                                       
  111f77:	09 f0                	or     %esi,%eax                      
  111f79:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  111f7c:	89 01                	mov    %eax,(%ecx)                    
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
  111f7e:	f7 45 0c 00 01 00 00 	testl  $0x100,0xc(%ebp)               
  111f85:	74 0b                	je     111f92 <rtems_task_mode+0x6e>  
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
  111f87:	f7 45 08 00 01 00 00 	testl  $0x100,0x8(%ebp)               
  111f8e:	0f 94 43 74          	sete   0x74(%ebx)                     
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
  111f92:	f7 45 0c 00 02 00 00 	testl  $0x200,0xc(%ebp)               
  111f99:	74 1c                	je     111fb7 <rtems_task_mode+0x93>  
    if ( _Modes_Is_timeslice(mode_set) ) {                            
  111f9b:	f7 45 08 00 02 00 00 	testl  $0x200,0x8(%ebp)               
  111fa2:	0f 84 b8 00 00 00    	je     112060 <rtems_task_mode+0x13c> 
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
  111fa8:	c7 43 7c 01 00 00 00 	movl   $0x1,0x7c(%ebx)                
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
  111faf:	a1 40 54 12 00       	mov    0x125440,%eax                  
  111fb4:	89 43 78             	mov    %eax,0x78(%ebx)                
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
  111fb7:	f6 45 0c 01          	testb  $0x1,0xc(%ebp)                 
  111fbb:	74 0b                	je     111fc8 <rtems_task_mode+0xa4>  
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
  111fbd:	f6 45 08 01          	testb  $0x1,0x8(%ebp)                 
  111fc1:	0f 84 91 00 00 00    	je     112058 <rtems_task_mode+0x134> 
  111fc7:	fa                   	cli                                   
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
  111fc8:	f7 45 0c 00 04 00 00 	testl  $0x400,0xc(%ebp)               
  111fcf:	74 3f                	je     112010 <rtems_task_mode+0xec>  
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
  111fd1:	f7 45 08 00 04 00 00 	testl  $0x400,0x8(%ebp)               
  111fd8:	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 ) {                        
  111fdb:	38 47 08             	cmp    %al,0x8(%edi)                  
  111fde:	74 30                	je     112010 <rtems_task_mode+0xec>  
      asr->is_enabled = is_asr_enabled;                               
  111fe0:	88 47 08             	mov    %al,0x8(%edi)                  
)                                                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
  111fe3:	9c                   	pushf                                 
  111fe4:	fa                   	cli                                   
  111fe5:	58                   	pop    %eax                           
    _signals                     = information->signals_pending;      
  111fe6:	8b 57 18             	mov    0x18(%edi),%edx                
    information->signals_pending = information->signals_posted;       
  111fe9:	8b 4f 14             	mov    0x14(%edi),%ecx                
  111fec:	89 4f 18             	mov    %ecx,0x18(%edi)                
    information->signals_posted  = _signals;                          
  111fef:	89 57 14             	mov    %edx,0x14(%edi)                
  _ISR_Enable( _level );                                              
  111ff2:	50                   	push   %eax                           
  111ff3:	9d                   	popf                                  
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
  111ff4:	8b 47 14             	mov    0x14(%edi),%eax                
  111ff7:	85 c0                	test   %eax,%eax                      
  111ff9:	0f 95 c0             	setne  %al                            
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
  111ffc:	83 3d 40 56 12 00 03 	cmpl   $0x3,0x125640                  
  112003:	74 16                	je     11201b <rtems_task_mode+0xf7>  <== ALWAYS TAKEN
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  112005:	31 c0                	xor    %eax,%eax                      
}                                                                     
  112007:	83 c4 1c             	add    $0x1c,%esp                     
  11200a:	5b                   	pop    %ebx                           
  11200b:	5e                   	pop    %esi                           
  11200c:	5f                   	pop    %edi                           
  11200d:	c9                   	leave                                 
  11200e:	c3                   	ret                                   
  11200f:	90                   	nop                                   
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
  112010:	31 c0                	xor    %eax,%eax                      
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
  112012:	83 3d 40 56 12 00 03 	cmpl   $0x3,0x125640                  
  112019:	75 ea                	jne    112005 <rtems_task_mode+0xe1>  <== NEVER TAKEN
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
  11201b:	8b 15 38 57 12 00    	mov    0x125738,%edx                  
                                                                      
  if ( are_signals_pending ||                                         
  112021:	84 c0                	test   %al,%al                        
  112023:	75 0e                	jne    112033 <rtems_task_mode+0x10f> 
  112025:	3b 15 3c 57 12 00    	cmp    0x12573c,%edx                  
  11202b:	74 d8                	je     112005 <rtems_task_mode+0xe1>  
       (!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
  11202d:	80 7a 74 00          	cmpb   $0x0,0x74(%edx)                
  112031:	74 d2                	je     112005 <rtems_task_mode+0xe1>  <== NEVER TAKEN
    _Thread_Dispatch_necessary = true;                                
  112033:	c6 05 44 57 12 00 01 	movb   $0x1,0x125744                  
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  11203a:	e8 3d b6 ff ff       	call   10d67c <_Thread_Dispatch>      
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  11203f:	31 c0                	xor    %eax,%eax                      
}                                                                     
  112041:	83 c4 1c             	add    $0x1c,%esp                     
  112044:	5b                   	pop    %ebx                           
  112045:	5e                   	pop    %esi                           
  112046:	5f                   	pop    %edi                           
  112047:	c9                   	leave                                 
  112048:	c3                   	ret                                   
  112049:	8d 76 00             	lea    0x0(%esi),%esi                 
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
  11204c:	81 ce 00 02 00 00    	or     $0x200,%esi                    
  112052:	e9 04 ff ff ff       	jmp    111f5b <rtems_task_mode+0x37>  
  112057:	90                   	nop                                   
  112058:	fb                   	sti                                   
  112059:	e9 6a ff ff ff       	jmp    111fc8 <rtems_task_mode+0xa4>  
  11205e:	66 90                	xchg   %ax,%ax                        
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
    if ( _Modes_Is_timeslice(mode_set) ) {                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
  112060:	c7 43 7c 00 00 00 00 	movl   $0x0,0x7c(%ebx)                
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
  112067:	f6 45 0c 01          	testb  $0x1,0xc(%ebp)                 
  11206b:	0f 84 57 ff ff ff    	je     111fc8 <rtems_task_mode+0xa4>  
  112071:	e9 47 ff ff ff       	jmp    111fbd <rtems_task_mode+0x99>  
  112076:	66 90                	xchg   %ax,%ax                        
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
  112078:	b8 09 00 00 00       	mov    $0x9,%eax                      
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  11207d:	83 c4 1c             	add    $0x1c,%esp                     
  112080:	5b                   	pop    %ebx                           
  112081:	5e                   	pop    %esi                           
  112082:	5f                   	pop    %edi                           
  112083:	c9                   	leave                                 
  112084:	c3                   	ret                                   
                                                                      

0010ecdc <rtems_task_resume>: */ rtems_status_code rtems_task_resume( rtems_id id ) {
  10ecdc:	55                   	push   %ebp                           
  10ecdd:	89 e5                	mov    %esp,%ebp                      
  10ecdf:	83 ec 20             	sub    $0x20,%esp                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10ece2:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10ece5:	50                   	push   %eax                           
  10ece6:	ff 75 08             	pushl  0x8(%ebp)                      
  10ece9:	e8 62 1e 00 00       	call   110b50 <_Thread_Get>           
  switch ( location ) {                                               
  10ecee:	83 c4 10             	add    $0x10,%esp                     
  10ecf1:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10ecf4:	85 d2                	test   %edx,%edx                      
  10ecf6:	74 08                	je     10ed00 <rtems_task_resume+0x24>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10ecf8:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10ecfd:	c9                   	leave                                 
  10ecfe:	c3                   	ret                                   
  10ecff:	90                   	nop                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _States_Is_suspended( the_thread->current_state ) ) {      
  10ed00:	f6 40 10 02          	testb  $0x2,0x10(%eax)                
  10ed04:	75 0e                	jne    10ed14 <rtems_task_resume+0x38>
        _Thread_Resume( the_thread, true );                           
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
  10ed06:	e8 21 1e 00 00       	call   110b2c <_Thread_Enable_dispatch>
      return RTEMS_INCORRECT_STATE;                                   
  10ed0b:	b8 0e 00 00 00       	mov    $0xe,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10ed10:	c9                   	leave                                 
  10ed11:	c3                   	ret                                   
  10ed12:	66 90                	xchg   %ax,%ax                        
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _States_Is_suspended( the_thread->current_state ) ) {      
        _Thread_Resume( the_thread, true );                           
  10ed14:	83 ec 08             	sub    $0x8,%esp                      
  10ed17:	6a 01                	push   $0x1                           
  10ed19:	50                   	push   %eax                           
  10ed1a:	e8 29 26 00 00       	call   111348 <_Thread_Resume>        
        _Thread_Enable_dispatch();                                    
  10ed1f:	e8 08 1e 00 00       	call   110b2c <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  10ed24:	83 c4 10             	add    $0x10,%esp                     
  10ed27:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10ed29:	c9                   	leave                                 
  10ed2a:	c3                   	ret                                   
                                                                      

0010d65c <rtems_task_set_note>: rtems_status_code rtems_task_set_note( rtems_id id, uint32_t notepad, uint32_t note ) {
  10d65c:	55                   	push   %ebp                           
  10d65d:	89 e5                	mov    %esp,%ebp                      
  10d65f:	56                   	push   %esi                           
  10d660:	53                   	push   %ebx                           
  10d661:	83 ec 10             	sub    $0x10,%esp                     
  10d664:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10d667:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10d66a:	8b 75 10             	mov    0x10(%ebp),%esi                
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
  10d66d:	80 3d e4 51 12 00 00 	cmpb   $0x0,0x1251e4                  
  10d674:	74 66                	je     10d6dc <rtems_task_set_note+0x80>
  /*                                                                  
   *  NOTE:  There is no check for < RTEMS_NOTEPAD_FIRST because that would
   *         be checking an unsigned number for being negative.       
   */                                                                 
                                                                      
  if ( notepad > RTEMS_NOTEPAD_LAST )                                 
  10d676:	83 fb 0f             	cmp    $0xf,%ebx                      
  10d679:	77 39                	ja     10d6b4 <rtems_task_set_note+0x58>
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
  10d67b:	85 c0                	test   %eax,%eax                      
  10d67d:	74 41                	je     10d6c0 <rtems_task_set_note+0x64>
       _Objects_Are_ids_equal( id, _Thread_Executing->Object.id ) ) { 
  10d67f:	8b 15 58 9a 12 00    	mov    0x129a58,%edx                  
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
  10d685:	3b 42 08             	cmp    0x8(%edx),%eax                 
  10d688:	74 3c                	je     10d6c6 <rtems_task_set_note+0x6a>
      api = _Thread_Executing->API_Extensions[ THREAD_API_RTEMS ];    
      api->Notepads[ notepad ] = note;                                
      return RTEMS_SUCCESSFUL;                                        
  }                                                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10d68a:	83 ec 08             	sub    $0x8,%esp                      
  10d68d:	8d 55 f4             	lea    -0xc(%ebp),%edx                
  10d690:	52                   	push   %edx                           
  10d691:	50                   	push   %eax                           
  10d692:	e8 c9 1f 00 00       	call   10f660 <_Thread_Get>           
  switch ( location ) {                                               
  10d697:	83 c4 10             	add    $0x10,%esp                     
  10d69a:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10d69d:	85 d2                	test   %edx,%edx                      
  10d69f:	75 47                	jne    10d6e8 <rtems_task_set_note+0x8c>
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
      api->Notepads[ notepad ] = note;                                
  10d6a1:	8b 80 e4 00 00 00    	mov    0xe4(%eax),%eax                
  10d6a7:	89 74 98 20          	mov    %esi,0x20(%eax,%ebx,4)         
      _Thread_Enable_dispatch();                                      
  10d6ab:	e8 8c 1f 00 00       	call   10f63c <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  10d6b0:	31 c0                	xor    %eax,%eax                      
  10d6b2:	eb 05                	jmp    10d6b9 <rtems_task_set_note+0x5d>
   *  NOTE:  There is no check for < RTEMS_NOTEPAD_FIRST because that would
   *         be checking an unsigned number for being negative.       
   */                                                                 
                                                                      
  if ( notepad > RTEMS_NOTEPAD_LAST )                                 
    return RTEMS_INVALID_NUMBER;                                      
  10d6b4:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10d6b9:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10d6bc:	5b                   	pop    %ebx                           
  10d6bd:	5e                   	pop    %esi                           
  10d6be:	c9                   	leave                                 
  10d6bf:	c3                   	ret                                   
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
  10d6c0:	8b 15 58 9a 12 00    	mov    0x129a58,%edx                  
       _Objects_Are_ids_equal( id, _Thread_Executing->Object.id ) ) { 
      api = _Thread_Executing->API_Extensions[ THREAD_API_RTEMS ];    
      api->Notepads[ notepad ] = note;                                
  10d6c6:	8b 82 e4 00 00 00    	mov    0xe4(%edx),%eax                
  10d6cc:	89 74 98 20          	mov    %esi,0x20(%eax,%ebx,4)         
      return RTEMS_SUCCESSFUL;                                        
  10d6d0:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10d6d2:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10d6d5:	5b                   	pop    %ebx                           
  10d6d6:	5e                   	pop    %esi                           
  10d6d7:	c9                   	leave                                 
  10d6d8:	c3                   	ret                                   
  10d6d9:	8d 76 00             	lea    0x0(%esi),%esi                 
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
    return RTEMS_NOT_CONFIGURED;                                      
  10d6dc:	b8 16 00 00 00       	mov    $0x16,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10d6e1:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10d6e4:	5b                   	pop    %ebx                           
  10d6e5:	5e                   	pop    %esi                           
  10d6e6:	c9                   	leave                                 
  10d6e7:	c3                   	ret                                   
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10d6e8:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10d6ed:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10d6f0:	5b                   	pop    %ebx                           
  10d6f1:	5e                   	pop    %esi                           
  10d6f2:	c9                   	leave                                 
  10d6f3:	c3                   	ret                                   
                                                                      

0010f9a0 <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
  10f9a0:	55                   	push   %ebp                           
  10f9a1:	89 e5                	mov    %esp,%ebp                      
  10f9a3:	56                   	push   %esi                           
  10f9a4:	53                   	push   %ebx                           
  10f9a5:	83 ec 10             	sub    $0x10,%esp                     
  10f9a8:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10f9ab:	8b 75 10             	mov    0x10(%ebp),%esi                
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
  10f9ae:	85 db                	test   %ebx,%ebx                      
  10f9b0:	74 0b                	je     10f9bd <rtems_task_set_priority+0x1d>
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 ) );             
  10f9b2:	0f b6 05 14 52 12 00 	movzbl 0x125214,%eax                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
  10f9b9:	39 c3                	cmp    %eax,%ebx                      
  10f9bb:	77 5f                	ja     10fa1c <rtems_task_set_priority+0x7c>
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
  10f9bd:	85 f6                	test   %esi,%esi                      
  10f9bf:	74 67                	je     10fa28 <rtems_task_set_priority+0x88>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10f9c1:	83 ec 08             	sub    $0x8,%esp                      
  10f9c4:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10f9c7:	50                   	push   %eax                           
  10f9c8:	ff 75 08             	pushl  0x8(%ebp)                      
  10f9cb:	e8 c0 1f 00 00       	call   111990 <_Thread_Get>           
  switch ( location ) {                                               
  10f9d0:	83 c4 10             	add    $0x10,%esp                     
  10f9d3:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10f9d6:	85 d2                	test   %edx,%edx                      
  10f9d8:	75 36                	jne    10fa10 <rtems_task_set_priority+0x70>
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
  10f9da:	8b 50 14             	mov    0x14(%eax),%edx                
  10f9dd:	89 16                	mov    %edx,(%esi)                    
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
  10f9df:	85 db                	test   %ebx,%ebx                      
  10f9e1:	74 1c                	je     10f9ff <rtems_task_set_priority+0x5f>
        the_thread->real_priority = new_priority;                     
  10f9e3:	89 58 18             	mov    %ebx,0x18(%eax)                
        if ( the_thread->resource_count == 0 ||                       
  10f9e6:	8b 48 1c             	mov    0x1c(%eax),%ecx                
  10f9e9:	85 c9                	test   %ecx,%ecx                      
  10f9eb:	74 05                	je     10f9f2 <rtems_task_set_priority+0x52>
  10f9ed:	3b 58 14             	cmp    0x14(%eax),%ebx                
  10f9f0:	73 0d                	jae    10f9ff <rtems_task_set_priority+0x5f><== ALWAYS TAKEN
             the_thread->current_priority > new_priority )            
          _Thread_Change_priority( the_thread, new_priority, false ); 
  10f9f2:	52                   	push   %edx                           
  10f9f3:	6a 00                	push   $0x0                           
  10f9f5:	53                   	push   %ebx                           
  10f9f6:	50                   	push   %eax                           
  10f9f7:	e8 bc 1a 00 00       	call   1114b8 <_Thread_Change_priority>
  10f9fc:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
      _Thread_Enable_dispatch();                                      
  10f9ff:	e8 68 1f 00 00       	call   11196c <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  10fa04:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10fa06:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10fa09:	5b                   	pop    %ebx                           
  10fa0a:	5e                   	pop    %esi                           
  10fa0b:	c9                   	leave                                 
  10fa0c:	c3                   	ret                                   
  10fa0d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10fa10:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10fa15:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10fa18:	5b                   	pop    %ebx                           
  10fa19:	5e                   	pop    %esi                           
  10fa1a:	c9                   	leave                                 
  10fa1b:	c3                   	ret                                   
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
  10fa1c:	b8 13 00 00 00       	mov    $0x13,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10fa21:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10fa24:	5b                   	pop    %ebx                           
  10fa25:	5e                   	pop    %esi                           
  10fa26:	c9                   	leave                                 
  10fa27:	c3                   	ret                                   
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
    return RTEMS_INVALID_ADDRESS;                                     
  10fa28:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10fa2d:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10fa30:	5b                   	pop    %ebx                           
  10fa31:	5e                   	pop    %esi                           
  10fa32:	c9                   	leave                                 
  10fa33:	c3                   	ret                                   
                                                                      

0010baf4 <rtems_task_start>: rtems_status_code rtems_task_start( rtems_id id, rtems_task_entry entry_point, rtems_task_argument argument ) {
  10baf4:	55                   	push   %ebp                           
  10baf5:	89 e5                	mov    %esp,%ebp                      
  10baf7:	53                   	push   %ebx                           
  10baf8:	83 ec 14             	sub    $0x14,%esp                     
  10bafb:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( entry_point == NULL )                                          
  10bafe:	85 db                	test   %ebx,%ebx                      
  10bb00:	74 4e                	je     10bb50 <rtems_task_start+0x5c> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10bb02:	83 ec 08             	sub    $0x8,%esp                      
  10bb05:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10bb08:	50                   	push   %eax                           
  10bb09:	ff 75 08             	pushl  0x8(%ebp)                      
  10bb0c:	e8 07 1d 00 00       	call   10d818 <_Thread_Get>           
  switch ( location ) {                                               
  10bb11:	83 c4 10             	add    $0x10,%esp                     
  10bb14:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10bb17:	85 d2                	test   %edx,%edx                      
  10bb19:	75 29                	jne    10bb44 <rtems_task_start+0x50> 
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _Thread_Start(                                             
  10bb1b:	83 ec 0c             	sub    $0xc,%esp                      
  10bb1e:	ff 75 10             	pushl  0x10(%ebp)                     
  10bb21:	6a 00                	push   $0x0                           
  10bb23:	53                   	push   %ebx                           
  10bb24:	6a 00                	push   $0x0                           
  10bb26:	50                   	push   %eax                           
  10bb27:	e8 a8 26 00 00       	call   10e1d4 <_Thread_Start>         
  10bb2c:	83 c4 20             	add    $0x20,%esp                     
  10bb2f:	84 c0                	test   %al,%al                        
  10bb31:	75 29                	jne    10bb5c <rtems_task_start+0x68> 
             the_thread, THREAD_START_NUMERIC, entry_point, NULL, argument ) ) {
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
  10bb33:	e8 bc 1c 00 00       	call   10d7f4 <_Thread_Enable_dispatch>
      return RTEMS_INCORRECT_STATE;                                   
  10bb38:	b8 0e 00 00 00       	mov    $0xe,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10bb3d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10bb40:	c9                   	leave                                 
  10bb41:	c3                   	ret                                   
  10bb42:	66 90                	xchg   %ax,%ax                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10bb44:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10bb49:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10bb4c:	c9                   	leave                                 
  10bb4d:	c3                   	ret                                   
  10bb4e:	66 90                	xchg   %ax,%ax                        
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( entry_point == NULL )                                          
    return RTEMS_INVALID_ADDRESS;                                     
  10bb50:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10bb55:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10bb58:	c9                   	leave                                 
  10bb59:	c3                   	ret                                   
  10bb5a:	66 90                	xchg   %ax,%ax                        
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _Thread_Start(                                             
             the_thread, THREAD_START_NUMERIC, entry_point, NULL, argument ) ) {
        _Thread_Enable_dispatch();                                    
  10bb5c:	e8 93 1c 00 00       	call   10d7f4 <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  10bb61:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10bb63:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10bb66:	c9                   	leave                                 
  10bb67:	c3                   	ret                                   
                                                                      

00110424 <rtems_task_suspend>: */ rtems_status_code rtems_task_suspend( rtems_id id ) {
  110424:	55                   	push   %ebp                           
  110425:	89 e5                	mov    %esp,%ebp                      
  110427:	83 ec 20             	sub    $0x20,%esp                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  11042a:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  11042d:	50                   	push   %eax                           
  11042e:	ff 75 08             	pushl  0x8(%ebp)                      
  110431:	e8 e2 d3 ff ff       	call   10d818 <_Thread_Get>           
  switch ( location ) {                                               
  110436:	83 c4 10             	add    $0x10,%esp                     
  110439:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  11043c:	85 d2                	test   %edx,%edx                      
  11043e:	74 08                	je     110448 <rtems_task_suspend+0x24>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  110440:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  110445:	c9                   	leave                                 
  110446:	c3                   	ret                                   
  110447:	90                   	nop                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_States_Is_suspended( the_thread->current_state ) ) {     
  110448:	f6 40 10 02          	testb  $0x2,0x10(%eax)                
  11044c:	74 0e                	je     11045c <rtems_task_suspend+0x38>
        _Thread_Suspend( the_thread );                                
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
  11044e:	e8 a1 d3 ff ff       	call   10d7f4 <_Thread_Enable_dispatch>
      return RTEMS_ALREADY_SUSPENDED;                                 
  110453:	b8 0f 00 00 00       	mov    $0xf,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  110458:	c9                   	leave                                 
  110459:	c3                   	ret                                   
  11045a:	66 90                	xchg   %ax,%ax                        
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_States_Is_suspended( the_thread->current_state ) ) {     
        _Thread_Suspend( the_thread );                                
  11045c:	83 ec 0c             	sub    $0xc,%esp                      
  11045f:	50                   	push   %eax                           
  110460:	e8 67 09 00 00       	call   110dcc <_Thread_Suspend>       
        _Thread_Enable_dispatch();                                    
  110465:	e8 8a d3 ff ff       	call   10d7f4 <_Thread_Enable_dispatch>
        return RTEMS_SUCCESSFUL;                                      
  11046a:	83 c4 10             	add    $0x10,%esp                     
  11046d:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  11046f:	c9                   	leave                                 
  110470:	c3                   	ret                                   
                                                                      

0010c650 <rtems_task_variable_add>: rtems_status_code rtems_task_variable_add( rtems_id tid, void **ptr, void (*dtor)(void *) ) {
  10c650:	55                   	push   %ebp                           
  10c651:	89 e5                	mov    %esp,%ebp                      
  10c653:	57                   	push   %edi                           
  10c654:	56                   	push   %esi                           
  10c655:	53                   	push   %ebx                           
  10c656:	83 ec 1c             	sub    $0x1c,%esp                     
  10c659:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10c65c:	8b 7d 10             	mov    0x10(%ebp),%edi                
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *new;                                   
                                                                      
  if ( !ptr )                                                         
  10c65f:	85 db                	test   %ebx,%ebx                      
  10c661:	0f 84 9d 00 00 00    	je     10c704 <rtems_task_variable_add+0xb4>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
  10c667:	83 ec 08             	sub    $0x8,%esp                      
  10c66a:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10c66d:	50                   	push   %eax                           
  10c66e:	ff 75 08             	pushl  0x8(%ebp)                      
  10c671:	e8 b2 1e 00 00       	call   10e528 <_Thread_Get>           
  10c676:	89 c6                	mov    %eax,%esi                      
  switch (location) {                                                 
  10c678:	83 c4 10             	add    $0x10,%esp                     
  10c67b:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10c67e:	85 c0                	test   %eax,%eax                      
  10c680:	74 0e                	je     10c690 <rtems_task_variable_add+0x40>
#endif                                                                
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
  10c682:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10c687:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c68a:	5b                   	pop    %ebx                           
  10c68b:	5e                   	pop    %esi                           
  10c68c:	5f                   	pop    %edi                           
  10c68d:	c9                   	leave                                 
  10c68e:	c3                   	ret                                   
  10c68f:	90                   	nop                                   
                                                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is already in this task's list.  
       */                                                             
      tvp = the_thread->task_variables;                               
  10c690:	8b 86 f0 00 00 00    	mov    0xf0(%esi),%eax                
      while (tvp) {                                                   
  10c696:	85 c0                	test   %eax,%eax                      
  10c698:	75 44                	jne    10c6de <rtems_task_variable_add+0x8e>
  10c69a:	66 90                	xchg   %ax,%ax                        
                                                                      
      /*                                                              
       *  Now allocate memory for this task variable.                 
       */                                                             
      new = (rtems_task_variable_t *)                                 
         _Workspace_Allocate(sizeof(rtems_task_variable_t));          
  10c69c:	83 ec 0c             	sub    $0xc,%esp                      
  10c69f:	6a 14                	push   $0x14                          
  10c6a1:	e8 72 2e 00 00       	call   10f518 <_Workspace_Allocate>   
      if (new == NULL) {                                              
  10c6a6:	83 c4 10             	add    $0x10,%esp                     
  10c6a9:	85 c0                	test   %eax,%eax                      
  10c6ab:	74 4b                	je     10c6f8 <rtems_task_variable_add+0xa8>
        _Thread_Enable_dispatch();                                    
        return RTEMS_NO_MEMORY;                                       
      }                                                               
      new->gval = *ptr;                                               
  10c6ad:	8b 13                	mov    (%ebx),%edx                    
  10c6af:	89 50 08             	mov    %edx,0x8(%eax)                 
      new->ptr = ptr;                                                 
  10c6b2:	89 58 04             	mov    %ebx,0x4(%eax)                 
      new->dtor = dtor;                                               
  10c6b5:	89 78 10             	mov    %edi,0x10(%eax)                
                                                                      
      new->next = (struct rtems_task_variable_tt *)the_thread->task_variables;
  10c6b8:	8b 96 f0 00 00 00    	mov    0xf0(%esi),%edx                
  10c6be:	89 10                	mov    %edx,(%eax)                    
      the_thread->task_variables = new;                               
  10c6c0:	89 86 f0 00 00 00    	mov    %eax,0xf0(%esi)                
      _Thread_Enable_dispatch();                                      
  10c6c6:	e8 39 1e 00 00       	call   10e504 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  10c6cb:	31 c0                	xor    %eax,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c6cd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c6d0:	5b                   	pop    %ebx                           
  10c6d1:	5e                   	pop    %esi                           
  10c6d2:	5f                   	pop    %edi                           
  10c6d3:	c9                   	leave                                 
  10c6d4:	c3                   	ret                                   
  10c6d5:	8d 76 00             	lea    0x0(%esi),%esi                 
        if (tvp->ptr == ptr) {                                        
          tvp->dtor = dtor;                                           
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
  10c6d8:	8b 00                	mov    (%eax),%eax                    
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is already in this task's list.  
       */                                                             
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
  10c6da:	85 c0                	test   %eax,%eax                      
  10c6dc:	74 be                	je     10c69c <rtems_task_variable_add+0x4c>
        if (tvp->ptr == ptr) {                                        
  10c6de:	39 58 04             	cmp    %ebx,0x4(%eax)                 
  10c6e1:	75 f5                	jne    10c6d8 <rtems_task_variable_add+0x88>
          tvp->dtor = dtor;                                           
  10c6e3:	89 78 10             	mov    %edi,0x10(%eax)                
          _Thread_Enable_dispatch();                                  
  10c6e6:	e8 19 1e 00 00       	call   10e504 <_Thread_Enable_dispatch>
          return RTEMS_SUCCESSFUL;                                    
  10c6eb:	31 c0                	xor    %eax,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c6ed:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c6f0:	5b                   	pop    %ebx                           
  10c6f1:	5e                   	pop    %esi                           
  10c6f2:	5f                   	pop    %edi                           
  10c6f3:	c9                   	leave                                 
  10c6f4:	c3                   	ret                                   
  10c6f5:	8d 76 00             	lea    0x0(%esi),%esi                 
       *  Now allocate memory for this task variable.                 
       */                                                             
      new = (rtems_task_variable_t *)                                 
         _Workspace_Allocate(sizeof(rtems_task_variable_t));          
      if (new == NULL) {                                              
        _Thread_Enable_dispatch();                                    
  10c6f8:	e8 07 1e 00 00       	call   10e504 <_Thread_Enable_dispatch>
        return RTEMS_NO_MEMORY;                                       
  10c6fd:	b8 1a 00 00 00       	mov    $0x1a,%eax                     
  10c702:	eb 83                	jmp    10c687 <rtems_task_variable_add+0x37>
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *new;                                   
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
  10c704:	b8 09 00 00 00       	mov    $0x9,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c709:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c70c:	5b                   	pop    %ebx                           
  10c70d:	5e                   	pop    %esi                           
  10c70e:	5f                   	pop    %edi                           
  10c70f:	c9                   	leave                                 
  10c710:	c3                   	ret                                   
                                                                      

0010c714 <rtems_task_variable_delete>: rtems_status_code rtems_task_variable_delete( rtems_id tid, void **ptr ) {
  10c714:	55                   	push   %ebp                           
  10c715:	89 e5                	mov    %esp,%ebp                      
  10c717:	53                   	push   %ebx                           
  10c718:	83 ec 14             	sub    $0x14,%esp                     
  10c71b:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
  10c71e:	85 db                	test   %ebx,%ebx                      
  10c720:	74 76                	je     10c798 <rtems_task_variable_delete+0x84>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  prev = NULL;                                                        
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
  10c722:	83 ec 08             	sub    $0x8,%esp                      
  10c725:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10c728:	50                   	push   %eax                           
  10c729:	ff 75 08             	pushl  0x8(%ebp)                      
  10c72c:	e8 f7 1d 00 00       	call   10e528 <_Thread_Get>           
  switch (location) {                                                 
  10c731:	83 c4 10             	add    $0x10,%esp                     
  10c734:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10c737:	85 d2                	test   %edx,%edx                      
  10c739:	74 0d                	je     10c748 <rtems_task_variable_delete+0x34>
                                                                      
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10c73b:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10c740:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c743:	c9                   	leave                                 
  10c744:	c3                   	ret                                   
  10c745:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
  10c748:	8b 88 f0 00 00 00    	mov    0xf0(%eax),%ecx                
      while (tvp) {                                                   
  10c74e:	85 c9                	test   %ecx,%ecx                      
  10c750:	74 17                	je     10c769 <rtems_task_variable_delete+0x55>
        if (tvp->ptr == ptr) {                                        
  10c752:	39 59 04             	cmp    %ebx,0x4(%ecx)                 
  10c755:	75 0c                	jne    10c763 <rtems_task_variable_delete+0x4f>
  10c757:	eb 49                	jmp    10c7a2 <rtems_task_variable_delete+0x8e>
  10c759:	8d 76 00             	lea    0x0(%esi),%esi                 
  10c75c:	39 5a 04             	cmp    %ebx,0x4(%edx)                 
  10c75f:	74 17                	je     10c778 <rtems_task_variable_delete+0x64>
  10c761:	89 d1                	mov    %edx,%ecx                      
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
  10c763:	8b 11                	mov    (%ecx),%edx                    
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
  10c765:	85 d2                	test   %edx,%edx                      
  10c767:	75 f3                	jne    10c75c <rtems_task_variable_delete+0x48><== ALWAYS TAKEN
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
  10c769:	e8 96 1d 00 00       	call   10e504 <_Thread_Enable_dispatch>
      return RTEMS_INVALID_ADDRESS;                                   
  10c76e:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c773:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c776:	c9                   	leave                                 
  10c777:	c3                   	ret                                   
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
  10c778:	8b 1a                	mov    (%edx),%ebx                    
  10c77a:	89 19                	mov    %ebx,(%ecx)                    
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
                                                                      
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
  10c77c:	83 ec 08             	sub    $0x8,%esp                      
  10c77f:	52                   	push   %edx                           
  10c780:	50                   	push   %eax                           
  10c781:	e8 b2 00 00 00       	call   10c838 <_RTEMS_Tasks_Invoke_task_variable_dtor>
          _Thread_Enable_dispatch();                                  
  10c786:	e8 79 1d 00 00       	call   10e504 <_Thread_Enable_dispatch>
          return RTEMS_SUCCESSFUL;                                    
  10c78b:	83 c4 10             	add    $0x10,%esp                     
  10c78e:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c790:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c793:	c9                   	leave                                 
  10c794:	c3                   	ret                                   
  10c795:	8d 76 00             	lea    0x0(%esi),%esi                 
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
  10c798:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c79d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c7a0:	c9                   	leave                                 
  10c7a1:	c3                   	ret                                   
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
  10c7a2:	8b 11                	mov    (%ecx),%edx                    
  10c7a4:	89 90 f0 00 00 00    	mov    %edx,0xf0(%eax)                
  10c7aa:	89 ca                	mov    %ecx,%edx                      
  10c7ac:	eb ce                	jmp    10c77c <rtems_task_variable_delete+0x68>
                                                                      

0010c7b0 <rtems_task_variable_get>: rtems_status_code rtems_task_variable_get( rtems_id tid, void **ptr, void **result ) {
  10c7b0:	55                   	push   %ebp                           
  10c7b1:	89 e5                	mov    %esp,%ebp                      
  10c7b3:	56                   	push   %esi                           
  10c7b4:	53                   	push   %ebx                           
  10c7b5:	83 ec 10             	sub    $0x10,%esp                     
  10c7b8:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10c7bb:	8b 75 10             	mov    0x10(%ebp),%esi                
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
  10c7be:	85 db                	test   %ebx,%ebx                      
  10c7c0:	74 56                	je     10c818 <rtems_task_variable_get+0x68>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !result )                                                      
  10c7c2:	85 f6                	test   %esi,%esi                      
  10c7c4:	74 52                	je     10c818 <rtems_task_variable_get+0x68>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
  10c7c6:	83 ec 08             	sub    $0x8,%esp                      
  10c7c9:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10c7cc:	50                   	push   %eax                           
  10c7cd:	ff 75 08             	pushl  0x8(%ebp)                      
  10c7d0:	e8 53 1d 00 00       	call   10e528 <_Thread_Get>           
  switch (location) {                                                 
  10c7d5:	83 c4 10             	add    $0x10,%esp                     
  10c7d8:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10c7db:	85 d2                	test   %edx,%edx                      
  10c7dd:	75 2d                	jne    10c80c <rtems_task_variable_get+0x5c>
                                                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
  10c7df:	8b 80 f0 00 00 00    	mov    0xf0(%eax),%eax                
      while (tvp) {                                                   
  10c7e5:	85 c0                	test   %eax,%eax                      
  10c7e7:	75 09                	jne    10c7f2 <rtems_task_variable_get+0x42>
  10c7e9:	eb 39                	jmp    10c824 <rtems_task_variable_get+0x74>
  10c7eb:	90                   	nop                                   
	   */                                                                
          *result = tvp->tval;                                        
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
  10c7ec:	8b 00                	mov    (%eax),%eax                    
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
  10c7ee:	85 c0                	test   %eax,%eax                      
  10c7f0:	74 32                	je     10c824 <rtems_task_variable_get+0x74><== NEVER TAKEN
        if (tvp->ptr == ptr) {                                        
  10c7f2:	39 58 04             	cmp    %ebx,0x4(%eax)                 
  10c7f5:	75 f5                	jne    10c7ec <rtems_task_variable_get+0x3c>
	  /*                                                                 
	   * Should this return the current (i.e not the                     
	   * saved) value if `tid' is the current task?                      
	   */                                                                
          *result = tvp->tval;                                        
  10c7f7:	8b 40 0c             	mov    0xc(%eax),%eax                 
  10c7fa:	89 06                	mov    %eax,(%esi)                    
          _Thread_Enable_dispatch();                                  
  10c7fc:	e8 03 1d 00 00       	call   10e504 <_Thread_Enable_dispatch>
          return RTEMS_SUCCESSFUL;                                    
  10c801:	31 c0                	xor    %eax,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c803:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c806:	5b                   	pop    %ebx                           
  10c807:	5e                   	pop    %esi                           
  10c808:	c9                   	leave                                 
  10c809:	c3                   	ret                                   
  10c80a:	66 90                	xchg   %ax,%ax                        
#endif                                                                
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
  10c80c:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10c811:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c814:	5b                   	pop    %ebx                           
  10c815:	5e                   	pop    %esi                           
  10c816:	c9                   	leave                                 
  10c817:	c3                   	ret                                   
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !result )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
  10c818:	b8 09 00 00 00       	mov    $0x9,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c81d:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c820:	5b                   	pop    %ebx                           
  10c821:	5e                   	pop    %esi                           
  10c822:	c9                   	leave                                 
  10c823:	c3                   	ret                                   
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
  10c824:	e8 db 1c 00 00       	call   10e504 <_Thread_Enable_dispatch>
      return RTEMS_INVALID_ADDRESS;                                   
  10c829:	b8 09 00 00 00       	mov    $0x9,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c82e:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c831:	5b                   	pop    %ebx                           
  10c832:	5e                   	pop    %esi                           
  10c833:	c9                   	leave                                 
  10c834:	c3                   	ret                                   
                                                                      

0010c9cc <rtems_task_wake_when>: */ rtems_status_code rtems_task_wake_when( rtems_time_of_day *time_buffer ) {
  10c9cc:	55                   	push   %ebp                           
  10c9cd:	89 e5                	mov    %esp,%ebp                      
  10c9cf:	53                   	push   %ebx                           
  10c9d0:	83 ec 14             	sub    $0x14,%esp                     
  10c9d3:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  Watchdog_Interval   seconds;                                        
                                                                      
  if ( !_TOD_Is_set )                                                 
  10c9d6:	80 3d 44 85 12 00 00 	cmpb   $0x0,0x128544                  
  10c9dd:	0f 84 a9 00 00 00    	je     10ca8c <rtems_task_wake_when+0xc0>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !time_buffer )                                                 
  10c9e3:	85 db                	test   %ebx,%ebx                      
  10c9e5:	0f 84 ad 00 00 00    	je     10ca98 <rtems_task_wake_when+0xcc>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  time_buffer->ticks = 0;                                             
  10c9eb:	c7 43 18 00 00 00 00 	movl   $0x0,0x18(%ebx)                
                                                                      
  if ( !_TOD_Validate( time_buffer ) )                                
  10c9f2:	83 ec 0c             	sub    $0xc,%esp                      
  10c9f5:	53                   	push   %ebx                           
  10c9f6:	e8 c5 f3 ff ff       	call   10bdc0 <_TOD_Validate>         
  10c9fb:	83 c4 10             	add    $0x10,%esp                     
  10c9fe:	84 c0                	test   %al,%al                        
  10ca00:	75 0a                	jne    10ca0c <rtems_task_wake_when+0x40>
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( time_buffer );                           
                                                                      
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
    return RTEMS_INVALID_CLOCK;                                       
  10ca02:	b8 14 00 00 00       	mov    $0x14,%eax                     
      &_Thread_Executing->Timer,                                      
      seconds - _TOD_Seconds_since_epoch()                            
    );                                                                
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10ca07:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ca0a:	c9                   	leave                                 
  10ca0b:	c3                   	ret                                   
  time_buffer->ticks = 0;                                             
                                                                      
  if ( !_TOD_Validate( time_buffer ) )                                
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( time_buffer );                           
  10ca0c:	83 ec 0c             	sub    $0xc,%esp                      
  10ca0f:	53                   	push   %ebx                           
  10ca10:	e8 1f f3 ff ff       	call   10bd34 <_TOD_To_seconds>       
                                                                      
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
  10ca15:	83 c4 10             	add    $0x10,%esp                     
  10ca18:	3b 05 04 86 12 00    	cmp    0x128604,%eax                  
  10ca1e:	76 e2                	jbe    10ca02 <rtems_task_wake_when+0x36>
  10ca20:	8b 15 30 85 12 00    	mov    0x128530,%edx                  
  10ca26:	42                   	inc    %edx                           
  10ca27:	89 15 30 85 12 00    	mov    %edx,0x128530                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  _Thread_Disable_dispatch();                                         
    _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_TIME );  
  10ca2d:	83 ec 08             	sub    $0x8,%esp                      
  10ca30:	6a 10                	push   $0x10                          
  10ca32:	ff 35 f8 87 12 00    	pushl  0x1287f8                       
  10ca38:	89 45 f4             	mov    %eax,-0xc(%ebp)                
  10ca3b:	e8 44 25 00 00       	call   10ef84 <_Thread_Set_state>     
    _Watchdog_Initialize(                                             
      &_Thread_Executing->Timer,                                      
      _Thread_Delay_ended,                                            
      _Thread_Executing->Object.id,                                   
  10ca40:	8b 15 f8 87 12 00    	mov    0x1287f8,%edx                  
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  _Thread_Disable_dispatch();                                         
    _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_TIME );  
    _Watchdog_Initialize(                                             
  10ca46:	8b 4a 08             	mov    0x8(%edx),%ecx                 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10ca49:	c7 42 50 00 00 00 00 	movl   $0x0,0x50(%edx)                
  the_watchdog->routine   = routine;                                  
  10ca50:	c7 42 64 90 e5 10 00 	movl   $0x10e590,0x64(%edx)           
  the_watchdog->id        = id;                                       
  10ca57:	89 4a 68             	mov    %ecx,0x68(%edx)                
  the_watchdog->user_data = user_data;                                
  10ca5a:	c7 42 6c 00 00 00 00 	movl   $0x0,0x6c(%edx)                
      &_Thread_Executing->Timer,                                      
      _Thread_Delay_ended,                                            
      _Thread_Executing->Object.id,                                   
      NULL                                                            
    );                                                                
    _Watchdog_Insert_seconds(                                         
  10ca61:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  10ca64:	2b 05 04 86 12 00    	sub    0x128604,%eax                  
  10ca6a:	89 42 54             	mov    %eax,0x54(%edx)                
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Seconds_chain, the_watchdog );         
  10ca6d:	58                   	pop    %eax                           
  10ca6e:	59                   	pop    %ecx                           
  10ca6f:	83 c2 48             	add    $0x48,%edx                     
  10ca72:	52                   	push   %edx                           
  10ca73:	68 30 86 12 00       	push   $0x128630                      
  10ca78:	e8 eb 2a 00 00       	call   10f568 <_Watchdog_Insert>      
      &_Thread_Executing->Timer,                                      
      seconds - _TOD_Seconds_since_epoch()                            
    );                                                                
  _Thread_Enable_dispatch();                                          
  10ca7d:	e8 c2 1c 00 00       	call   10e744 <_Thread_Enable_dispatch>
  return RTEMS_SUCCESSFUL;                                            
  10ca82:	83 c4 10             	add    $0x10,%esp                     
  10ca85:	31 c0                	xor    %eax,%eax                      
  10ca87:	e9 7b ff ff ff       	jmp    10ca07 <rtems_task_wake_when+0x3b>
)                                                                     
{                                                                     
  Watchdog_Interval   seconds;                                        
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
  10ca8c:	b8 0b 00 00 00       	mov    $0xb,%eax                      
      &_Thread_Executing->Timer,                                      
      seconds - _TOD_Seconds_since_epoch()                            
    );                                                                
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10ca91:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ca94:	c9                   	leave                                 
  10ca95:	c3                   	ret                                   
  10ca96:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !time_buffer )                                                 
    return RTEMS_INVALID_ADDRESS;                                     
  10ca98:	b8 09 00 00 00       	mov    $0x9,%eax                      
      &_Thread_Executing->Timer,                                      
      seconds - _TOD_Seconds_since_epoch()                            
    );                                                                
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10ca9d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10caa0:	c9                   	leave                                 
  10caa1:	c3                   	ret                                   
                                                                      

0010a8cc <rtems_termios_baud_to_index>: #include <rtems/termiostypes.h> int rtems_termios_baud_to_index( rtems_termios_baud_t termios_baud ) {
  10a8cc:	55                   	push   %ebp                           
  10a8cd:	89 e5                	mov    %esp,%ebp                      
  10a8cf:	8b 45 08             	mov    0x8(%ebp),%eax                 
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
  10a8d2:	83 f8 09             	cmp    $0x9,%eax                      
  10a8d5:	0f 84 f1 00 00 00    	je     10a9cc <rtems_termios_baud_to_index+0x100>
  10a8db:	7e 37                	jle    10a914 <rtems_termios_baud_to_index+0x48>
  10a8dd:	83 f8 0e             	cmp    $0xe,%eax                      
  10a8e0:	0f 84 f6 00 00 00    	je     10a9dc <rtems_termios_baud_to_index+0x110>
  10a8e6:	7e 5c                	jle    10a944 <rtems_termios_baud_to_index+0x78>
  10a8e8:	3d 02 10 00 00       	cmp    $0x1002,%eax                   
  10a8ed:	0f 84 01 01 00 00    	je     10a9f4 <rtems_termios_baud_to_index+0x128>
  10a8f3:	0f 8e 97 00 00 00    	jle    10a990 <rtems_termios_baud_to_index+0xc4>
  10a8f9:	3d 03 10 00 00       	cmp    $0x1003,%eax                   
  10a8fe:	0f 84 e0 00 00 00    	je     10a9e4 <rtems_termios_baud_to_index+0x118>
  10a904:	3d 04 10 00 00       	cmp    $0x1004,%eax                   
  10a909:	75 51                	jne    10a95c <rtems_termios_baud_to_index+0x90><== NEVER TAKEN
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
    case B460800:   baud_index = 19;  break;                          
  10a90b:	b8 13 00 00 00       	mov    $0x13,%eax                     
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a910:	c9                   	leave                                 
  10a911:	c3                   	ret                                   
  10a912:	66 90                	xchg   %ax,%ax                        
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
  10a914:	83 f8 04             	cmp    $0x4,%eax                      
  10a917:	0f 84 b7 00 00 00    	je     10a9d4 <rtems_termios_baud_to_index+0x108>
  10a91d:	7f 45                	jg     10a964 <rtems_termios_baud_to_index+0x98>
  10a91f:	83 f8 01             	cmp    $0x1,%eax                      
  10a922:	0f 84 8c 00 00 00    	je     10a9b4 <rtems_termios_baud_to_index+0xe8>
  10a928:	0f 8e de 00 00 00    	jle    10aa0c <rtems_termios_baud_to_index+0x140>
  10a92e:	83 f8 02             	cmp    $0x2,%eax                      
  10a931:	0f 84 c5 00 00 00    	je     10a9fc <rtems_termios_baud_to_index+0x130>
  10a937:	83 f8 03             	cmp    $0x3,%eax                      
  10a93a:	75 20                	jne    10a95c <rtems_termios_baud_to_index+0x90><== NEVER TAKEN
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
  10a93c:	b8 03 00 00 00       	mov    $0x3,%eax                      
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a941:	c9                   	leave                                 
  10a942:	c3                   	ret                                   
  10a943:	90                   	nop                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
  10a944:	83 f8 0b             	cmp    $0xb,%eax                      
  10a947:	0f 84 9f 00 00 00    	je     10a9ec <rtems_termios_baud_to_index+0x120>
  10a94d:	7c 39                	jl     10a988 <rtems_termios_baud_to_index+0xbc>
  10a94f:	83 f8 0c             	cmp    $0xc,%eax                      
  10a952:	74 50                	je     10a9a4 <rtems_termios_baud_to_index+0xd8>
  10a954:	83 f8 0d             	cmp    $0xd,%eax                      
  10a957:	74 62                	je     10a9bb <rtems_termios_baud_to_index+0xef><== ALWAYS TAKEN
  10a959:	8d 76 00             	lea    0x0(%esi),%esi                 
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  10a95c:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a961:	c9                   	leave                                 
  10a962:	c3                   	ret                                   
  10a963:	90                   	nop                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
  10a964:	83 f8 06             	cmp    $0x6,%eax                      
  10a967:	74 43                	je     10a9ac <rtems_termios_baud_to_index+0xe0>
  10a969:	7c 15                	jl     10a980 <rtems_termios_baud_to_index+0xb4>
  10a96b:	83 f8 07             	cmp    $0x7,%eax                      
  10a96e:	0f 84 90 00 00 00    	je     10aa04 <rtems_termios_baud_to_index+0x138>
  10a974:	83 f8 08             	cmp    $0x8,%eax                      
  10a977:	75 e3                	jne    10a95c <rtems_termios_baud_to_index+0x90><== NEVER TAKEN
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
  10a979:	b8 08 00 00 00       	mov    $0x8,%eax                      
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a97e:	c9                   	leave                                 
  10a97f:	c3                   	ret                                   
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
  10a980:	b8 05 00 00 00       	mov    $0x5,%eax                      
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a985:	c9                   	leave                                 
  10a986:	c3                   	ret                                   
  10a987:	90                   	nop                                   
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
  10a988:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a98d:	c9                   	leave                                 
  10a98e:	c3                   	ret                                   
  10a98f:	90                   	nop                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
  10a990:	83 f8 0f             	cmp    $0xf,%eax                      
  10a993:	74 2f                	je     10a9c4 <rtems_termios_baud_to_index+0xf8>
  10a995:	3d 01 10 00 00       	cmp    $0x1001,%eax                   
  10a99a:	75 c0                	jne    10a95c <rtems_termios_baud_to_index+0x90><== NEVER TAKEN
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
  10a99c:	b8 10 00 00 00       	mov    $0x10,%eax                     
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a9a1:	c9                   	leave                                 
  10a9a2:	c3                   	ret                                   
  10a9a3:	90                   	nop                                   
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
  10a9a4:	b8 0c 00 00 00       	mov    $0xc,%eax                      
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a9a9:	c9                   	leave                                 
  10a9aa:	c3                   	ret                                   
  10a9ab:	90                   	nop                                   
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
  10a9ac:	b8 06 00 00 00       	mov    $0x6,%eax                      
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a9b1:	c9                   	leave                                 
  10a9b2:	c3                   	ret                                   
  10a9b3:	90                   	nop                                   
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
  10a9b4:	b8 01 00 00 00       	mov    $0x1,%eax                      
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a9b9:	c9                   	leave                                 
  10a9ba:	c3                   	ret                                   
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
  10a9bb:	b8 0d 00 00 00       	mov    $0xd,%eax                      
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a9c0:	c9                   	leave                                 
  10a9c1:	c3                   	ret                                   
  10a9c2:	66 90                	xchg   %ax,%ax                        
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
  10a9c4:	b8 0f 00 00 00       	mov    $0xf,%eax                      
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a9c9:	c9                   	leave                                 
  10a9ca:	c3                   	ret                                   
  10a9cb:	90                   	nop                                   
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
  10a9cc:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a9d1:	c9                   	leave                                 
  10a9d2:	c3                   	ret                                   
  10a9d3:	90                   	nop                                   
  switch (termios_baud) {                                             
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
  10a9d4:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a9d9:	c9                   	leave                                 
  10a9da:	c3                   	ret                                   
  10a9db:	90                   	nop                                   
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
  10a9dc:	b8 0e 00 00 00       	mov    $0xe,%eax                      
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a9e1:	c9                   	leave                                 
  10a9e2:	c3                   	ret                                   
  10a9e3:	90                   	nop                                   
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
  10a9e4:	b8 12 00 00 00       	mov    $0x12,%eax                     
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a9e9:	c9                   	leave                                 
  10a9ea:	c3                   	ret                                   
  10a9eb:	90                   	nop                                   
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
  10a9ec:	b8 0b 00 00 00       	mov    $0xb,%eax                      
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a9f1:	c9                   	leave                                 
  10a9f2:	c3                   	ret                                   
  10a9f3:	90                   	nop                                   
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
  10a9f4:	b8 11 00 00 00       	mov    $0x11,%eax                     
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10a9f9:	c9                   	leave                                 
  10a9fa:	c3                   	ret                                   
  10a9fb:	90                   	nop                                   
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
  10a9fc:	b8 02 00 00 00       	mov    $0x2,%eax                      
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10aa01:	c9                   	leave                                 
  10aa02:	c3                   	ret                                   
  10aa03:	90                   	nop                                   
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
  10aa04:	b8 07 00 00 00       	mov    $0x7,%eax                      
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10aa09:	c9                   	leave                                 
  10aa0a:	c3                   	ret                                   
  10aa0b:	90                   	nop                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
  10aa0c:	85 c0                	test   %eax,%eax                      
  10aa0e:	0f 85 48 ff ff ff    	jne    10a95c <rtems_termios_baud_to_index+0x90>
    case B0:        baud_index =  0;  break;                          
  10aa14:	31 c0                	xor    %eax,%eax                      
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
  10aa16:	c9                   	leave                                 
  10aa17:	c3                   	ret                                   
                                                                      

00108f38 <rtems_termios_baud_to_number>: extern rtems_assoc_t termios_assoc_table[]; int32_t rtems_termios_baud_to_number( int termios_baud ) {
  108f38:	55                   	push   %ebp                           
  108f39:	89 e5                	mov    %esp,%ebp                      
  108f3b:	53                   	push   %ebx                           
  108f3c:	83 ec 0c             	sub    $0xc,%esp                      
  108f3f:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  int baud;                                                           
                                                                      
  baud = rtems_assoc_local_by_remote( termios_assoc_table, termios_baud );
  108f42:	53                   	push   %ebx                           
  108f43:	68 40 30 12 00       	push   $0x123040                      
  108f48:	e8 8f 6a 00 00       	call   10f9dc <rtems_assoc_local_by_remote>
  if ( baud == 0 && termios_baud != 0 )                               
  108f4d:	83 c4 10             	add    $0x10,%esp                     
  108f50:	85 c0                	test   %eax,%eax                      
  108f52:	74 08                	je     108f5c <rtems_termios_baud_to_number+0x24>
    return -1;                                                        
                                                                      
  return baud;                                                        
}                                                                     
  108f54:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  108f57:	c9                   	leave                                 
  108f58:	c3                   	ret                                   
  108f59:	8d 76 00             	lea    0x0(%esi),%esi                 
)                                                                     
{                                                                     
  int baud;                                                           
                                                                      
  baud = rtems_assoc_local_by_remote( termios_assoc_table, termios_baud );
  if ( baud == 0 && termios_baud != 0 )                               
  108f5c:	83 fb 01             	cmp    $0x1,%ebx                      
  108f5f:	19 c0                	sbb    %eax,%eax                      
  108f61:	f7 d0                	not    %eax                           
  108f63:	eb ef                	jmp    108f54 <rtems_termios_baud_to_number+0x1c>
                                                                      

001094bc <rtems_termios_close>: } } rtems_status_code rtems_termios_close (void *arg) {
  1094bc:	55                   	push   %ebp                           
  1094bd:	89 e5                	mov    %esp,%ebp                      
  1094bf:	56                   	push   %esi                           
  1094c0:	53                   	push   %ebx                           
  1094c1:	8b 75 08             	mov    0x8(%ebp),%esi                 
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
  1094c4:	8b 06                	mov    (%esi),%eax                    
  1094c6:	8b 58 34             	mov    0x34(%eax),%ebx                
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
  1094c9:	52                   	push   %edx                           
  1094ca:	6a 00                	push   $0x0                           
  1094cc:	6a 00                	push   $0x0                           
  1094ce:	ff 35 4c 53 12 00    	pushl  0x12534c                       
  1094d4:	e8 d7 21 00 00       	call   10b6b0 <rtems_semaphore_obtain>
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
  1094d9:	83 c4 10             	add    $0x10,%esp                     
  1094dc:	85 c0                	test   %eax,%eax                      
  1094de:	0f 85 9a 01 00 00    	jne    10967e <rtems_termios_close+0x1c2><== NEVER TAKEN
    rtems_fatal_error_occurred (sc);                                  
  if (--tty->refcount == 0) {                                         
  1094e4:	8b 43 08             	mov    0x8(%ebx),%eax                 
  1094e7:	48                   	dec    %eax                           
  1094e8:	89 43 08             	mov    %eax,0x8(%ebx)                 
  1094eb:	85 c0                	test   %eax,%eax                      
  1094ed:	0f 85 bf 00 00 00    	jne    1095b2 <rtems_termios_close+0xf6>
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
  1094f3:	8b 83 cc 00 00 00    	mov    0xcc(%ebx),%eax                
  1094f9:	c1 e0 05             	shl    $0x5,%eax                      
  1094fc:	8b 80 e4 4f 12 00    	mov    0x124fe4(%eax),%eax            
  109502:	85 c0                	test   %eax,%eax                      
  109504:	0f 84 0a 01 00 00    	je     109614 <rtems_termios_close+0x158>
      /*                                                              
       * call discipline-specific close                               
       */                                                             
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
  10950a:	83 ec 0c             	sub    $0xc,%esp                      
  10950d:	53                   	push   %ebx                           
  10950e:	ff d0                	call   *%eax                          
  109510:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
      drainOutput (tty);                                              
      rtems_semaphore_release (tty->osem);                            
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
  109513:	83 bb b4 00 00 00 02 	cmpl   $0x2,0xb4(%ebx)                
  10951a:	0f 84 2c 01 00 00    	je     10964c <rtems_termios_close+0x190><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send( tty->txTaskId, TERMIOS_TX_TERMINATE_EVENT );
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
    if (tty->device.lastClose)                                        
  109520:	8b 83 9c 00 00 00    	mov    0x9c(%ebx),%eax                
  109526:	85 c0                	test   %eax,%eax                      
  109528:	74 0d                	je     109537 <rtems_termios_close+0x7b>
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
  10952a:	51                   	push   %ecx                           
  10952b:	56                   	push   %esi                           
  10952c:	ff 73 10             	pushl  0x10(%ebx)                     
  10952f:	ff 73 0c             	pushl  0xc(%ebx)                      
  109532:	ff d0                	call   *%eax                          
  109534:	83 c4 10             	add    $0x10,%esp                     
    if (tty->forw == NULL) {                                          
  109537:	8b 03                	mov    (%ebx),%eax                    
  109539:	85 c0                	test   %eax,%eax                      
  10953b:	0f 84 b7 00 00 00    	je     1095f8 <rtems_termios_close+0x13c>
      rtems_termios_ttyTail = tty->back;                              
      if ( rtems_termios_ttyTail != NULL ) {                          
        rtems_termios_ttyTail->forw = NULL;                           
      }                                                               
    } else {                                                          
      tty->forw->back = tty->back;                                    
  109541:	8b 53 04             	mov    0x4(%ebx),%edx                 
  109544:	89 50 04             	mov    %edx,0x4(%eax)                 
  109547:	8b 53 04             	mov    0x4(%ebx),%edx                 
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
  10954a:	85 d2                	test   %edx,%edx                      
  10954c:	0f 84 8a 00 00 00    	je     1095dc <rtems_termios_close+0x120><== ALWAYS TAKEN
      rtems_termios_ttyHead = tty->forw;                              
      if ( rtems_termios_ttyHead != NULL ) {                          
        rtems_termios_ttyHead->back = NULL;                           
      }                                                               
    } else {                                                          
      tty->back->forw = tty->forw;                                    
  109552:	89 02                	mov    %eax,(%edx)                    
    }                                                                 
                                                                      
    rtems_semaphore_delete (tty->isem);                               
  109554:	83 ec 0c             	sub    $0xc,%esp                      
  109557:	ff 73 14             	pushl  0x14(%ebx)                     
  10955a:	e8 ad 20 00 00       	call   10b60c <rtems_semaphore_delete>
    rtems_semaphore_delete (tty->osem);                               
  10955f:	5a                   	pop    %edx                           
  109560:	ff 73 18             	pushl  0x18(%ebx)                     
  109563:	e8 a4 20 00 00       	call   10b60c <rtems_semaphore_delete>
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
  109568:	58                   	pop    %eax                           
  109569:	ff b3 8c 00 00 00    	pushl  0x8c(%ebx)                     
  10956f:	e8 98 20 00 00       	call   10b60c <rtems_semaphore_delete>
    if ((tty->device.pollRead == NULL) ||                             
  109574:	83 c4 10             	add    $0x10,%esp                     
  109577:	8b b3 a0 00 00 00    	mov    0xa0(%ebx),%esi                
  10957d:	85 f6                	test   %esi,%esi                      
  10957f:	74 4b                	je     1095cc <rtems_termios_close+0x110>
  109581:	83 bb b4 00 00 00 02 	cmpl   $0x2,0xb4(%ebx)                
  109588:	74 42                	je     1095cc <rtems_termios_close+0x110>
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
    free (tty->rawInBuf.theBuf);                                      
  10958a:	83 ec 0c             	sub    $0xc,%esp                      
  10958d:	ff 73 58             	pushl  0x58(%ebx)                     
  109590:	e8 1f eb ff ff       	call   1080b4 <free>                  
    free (tty->rawOutBuf.theBuf);                                     
  109595:	59                   	pop    %ecx                           
  109596:	ff 73 7c             	pushl  0x7c(%ebx)                     
  109599:	e8 16 eb ff ff       	call   1080b4 <free>                  
    free (tty->cbuf);                                                 
  10959e:	5a                   	pop    %edx                           
  10959f:	ff 73 1c             	pushl  0x1c(%ebx)                     
  1095a2:	e8 0d eb ff ff       	call   1080b4 <free>                  
    free (tty);                                                       
  1095a7:	89 1c 24             	mov    %ebx,(%esp)                    
  1095aa:	e8 05 eb ff ff       	call   1080b4 <free>                  
  1095af:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
  1095b2:	83 ec 0c             	sub    $0xc,%esp                      
  1095b5:	ff 35 4c 53 12 00    	pushl  0x12534c                       
  1095bb:	e8 ec 21 00 00       	call   10b7ac <rtems_semaphore_release>
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  1095c0:	31 c0                	xor    %eax,%eax                      
  1095c2:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1095c5:	5b                   	pop    %ebx                           
  1095c6:	5e                   	pop    %esi                           
  1095c7:	c9                   	leave                                 
  1095c8:	c3                   	ret                                   
  1095c9:	8d 76 00             	lea    0x0(%esi),%esi                 
    rtems_semaphore_delete (tty->isem);                               
    rtems_semaphore_delete (tty->osem);                               
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
  1095cc:	83 ec 0c             	sub    $0xc,%esp                      
  1095cf:	ff 73 68             	pushl  0x68(%ebx)                     
  1095d2:	e8 35 20 00 00       	call   10b60c <rtems_semaphore_delete>
  1095d7:	83 c4 10             	add    $0x10,%esp                     
  1095da:	eb ae                	jmp    10958a <rtems_termios_close+0xce>
    } else {                                                          
      tty->forw->back = tty->back;                                    
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
      rtems_termios_ttyHead = tty->forw;                              
  1095dc:	a3 54 53 12 00       	mov    %eax,0x125354                  
      if ( rtems_termios_ttyHead != NULL ) {                          
  1095e1:	85 c0                	test   %eax,%eax                      
  1095e3:	0f 84 6b ff ff ff    	je     109554 <rtems_termios_close+0x98>
        rtems_termios_ttyHead->back = NULL;                           
  1095e9:	c7 40 04 00 00 00 00 	movl   $0x0,0x4(%eax)                 
  1095f0:	e9 5f ff ff ff       	jmp    109554 <rtems_termios_close+0x98>
  1095f5:	8d 76 00             	lea    0x0(%esi),%esi                 
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
    if (tty->device.lastClose)                                        
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
    if (tty->forw == NULL) {                                          
      rtems_termios_ttyTail = tty->back;                              
  1095f8:	8b 53 04             	mov    0x4(%ebx),%edx                 
  1095fb:	89 15 50 53 12 00    	mov    %edx,0x125350                  
      if ( rtems_termios_ttyTail != NULL ) {                          
  109601:	85 d2                	test   %edx,%edx                      
  109603:	74 d7                	je     1095dc <rtems_termios_close+0x120>
        rtems_termios_ttyTail->forw = NULL;                           
  109605:	c7 02 00 00 00 00    	movl   $0x0,(%edx)                    
  10960b:	8b 03                	mov    (%ebx),%eax                    
  10960d:	e9 40 ff ff ff       	jmp    109552 <rtems_termios_close+0x96>
  109612:	66 90                	xchg   %ax,%ax                        
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
    } else {                                                          
      /*                                                              
       * default: just flush output buffer                            
       */                                                             
      sc = rtems_semaphore_obtain(tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  109614:	50                   	push   %eax                           
  109615:	6a 00                	push   $0x0                           
  109617:	6a 00                	push   $0x0                           
  109619:	ff 73 18             	pushl  0x18(%ebx)                     
  10961c:	e8 8f 20 00 00       	call   10b6b0 <rtems_semaphore_obtain>
      if (sc != RTEMS_SUCCESSFUL) {                                   
  109621:	83 c4 10             	add    $0x10,%esp                     
  109624:	85 c0                	test   %eax,%eax                      
  109626:	75 56                	jne    10967e <rtems_termios_close+0x1c2><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      }                                                               
      drainOutput (tty);                                              
  109628:	89 d8                	mov    %ebx,%eax                      
  10962a:	e8 75 f9 ff ff       	call   108fa4 <drainOutput>           
      rtems_semaphore_release (tty->osem);                            
  10962f:	83 ec 0c             	sub    $0xc,%esp                      
  109632:	ff 73 18             	pushl  0x18(%ebx)                     
  109635:	e8 72 21 00 00       	call   10b7ac <rtems_semaphore_release>
  10963a:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
  10963d:	83 bb b4 00 00 00 02 	cmpl   $0x2,0xb4(%ebx)                
  109644:	0f 85 d6 fe ff ff    	jne    109520 <rtems_termios_close+0x64>
  10964a:	66 90                	xchg   %ax,%ax                        
      /*                                                              
       * send "terminate" to I/O tasks                                
       */                                                             
      sc = rtems_event_send( tty->rxTaskId, TERMIOS_RX_TERMINATE_EVENT );
  10964c:	83 ec 08             	sub    $0x8,%esp                      
  10964f:	6a 01                	push   $0x1                           
  109651:	ff b3 c4 00 00 00    	pushl  0xc4(%ebx)                     
  109657:	e8 40 1b 00 00       	call   10b19c <rtems_event_send>      
      if (sc != RTEMS_SUCCESSFUL)                                     
  10965c:	83 c4 10             	add    $0x10,%esp                     
  10965f:	85 c0                	test   %eax,%eax                      
  109661:	75 1b                	jne    10967e <rtems_termios_close+0x1c2><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send( tty->txTaskId, TERMIOS_TX_TERMINATE_EVENT );
  109663:	83 ec 08             	sub    $0x8,%esp                      
  109666:	6a 01                	push   $0x1                           
  109668:	ff b3 c8 00 00 00    	pushl  0xc8(%ebx)                     
  10966e:	e8 29 1b 00 00       	call   10b19c <rtems_event_send>      
      if (sc != RTEMS_SUCCESSFUL)                                     
  109673:	83 c4 10             	add    $0x10,%esp                     
  109676:	85 c0                	test   %eax,%eax                      
  109678:	0f 84 a2 fe ff ff    	je     109520 <rtems_termios_close+0x64><== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
  10967e:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  109681:	50                   	push   %eax                           <== NOT EXECUTED
  109682:	e8 75 26 00 00       	call   10bcfc <rtems_fatal_error_occurred><== NOT EXECUTED
                                                                      

0010ab64 <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) {
  10ab64:	55                   	push   %ebp                           
  10ab65:	89 e5                	mov    %esp,%ebp                      
  10ab67:	83 ec 08             	sub    $0x8,%esp                      
  10ab6a:	8b 45 08             	mov    0x8(%ebp),%eax                 
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
  10ab6d:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10ab70:	01 90 90 00 00 00    	add    %edx,0x90(%eax)                
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
  10ab76:	83 b8 b4 00 00 00 02 	cmpl   $0x2,0xb4(%eax)                
  10ab7d:	74 2d                	je     10abac <rtems_termios_dequeue_characters+0x48>
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
  10ab7f:	83 b8 cc 00 00 00 05 	cmpl   $0x5,0xcc(%eax)                
  10ab86:	74 0c                	je     10ab94 <rtems_termios_dequeue_characters+0x30>
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
  10ab88:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  10ab8b:	c9                   	leave                                 
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
  10ab8c:	e9 27 fd ff ff       	jmp    10a8b8 <rtems_termios_refill_transmitter>
  10ab91:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
  10ab94:	8b 15 94 50 12 00    	mov    0x125094,%edx                  
  10ab9a:	85 d2                	test   %edx,%edx                      
  10ab9c:	74 09                	je     10aba7 <rtems_termios_dequeue_characters+0x43><== NEVER TAKEN
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
  10ab9e:	83 ec 0c             	sub    $0xc,%esp                      
  10aba1:	50                   	push   %eax                           
  10aba2:	ff d2                	call   *%edx                          
  10aba4:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
}                                                                     
  10aba7:	31 c0                	xor    %eax,%eax                      
  10aba9:	c9                   	leave                                 
  10abaa:	c3                   	ret                                   
  10abab:	90                   	nop                                   
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
    /*                                                                
     * send wake up to transmitter task                               
     */                                                               
    sc = rtems_event_send(tty->txTaskId, TERMIOS_TX_START_EVENT);     
  10abac:	83 ec 08             	sub    $0x8,%esp                      
  10abaf:	6a 02                	push   $0x2                           
  10abb1:	ff b0 c8 00 00 00    	pushl  0xc8(%eax)                     
  10abb7:	e8 e0 05 00 00       	call   10b19c <rtems_event_send>      
    if (sc != RTEMS_SUCCESSFUL)                                       
  10abbc:	83 c4 10             	add    $0x10,%esp                     
  10abbf:	85 c0                	test   %eax,%eax                      
  10abc1:	74 e4                	je     10aba7 <rtems_termios_dequeue_characters+0x43><== ALWAYS TAKEN
      rtems_fatal_error_occurred (sc);                                
  10abc3:	83 ec 0c             	sub    $0xc,%esp                      
  10abc6:	50                   	push   %eax                           <== NOT EXECUTED
  10abc7:	e8 30 11 00 00       	call   10bcfc <rtems_fatal_error_occurred><== NOT EXECUTED
                                                                      

0010a540 <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) {
  10a540:	55                   	push   %ebp                           
  10a541:	89 e5                	mov    %esp,%ebp                      
  10a543:	57                   	push   %edi                           
  10a544:	56                   	push   %esi                           
  10a545:	53                   	push   %ebx                           
  10a546:	83 ec 3c             	sub    $0x3c,%esp                     
  10a549:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10a54c:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  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) {             
  10a54f:	8b 83 cc 00 00 00    	mov    0xcc(%ebx),%eax                
  10a555:	c1 e0 05             	shl    $0x5,%eax                      
  10a558:	8b 80 f0 4f 12 00    	mov    0x124ff0(%eax),%eax            
  10a55e:	85 c0                	test   %eax,%eax                      
  10a560:	0f 84 8a 00 00 00    	je     10a5f0 <rtems_termios_enqueue_raw_characters+0xb0>
    while (len--) {                                                   
  10a566:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10a569:	85 c9                	test   %ecx,%ecx                      
  10a56b:	74 2a                	je     10a597 <rtems_termios_enqueue_raw_characters+0x57><== NEVER TAKEN
  10a56d:	31 ff                	xor    %edi,%edi                      
  10a56f:	eb 12                	jmp    10a583 <rtems_termios_enqueue_raw_characters+0x43>
  10a571:	8d 76 00             	lea    0x0(%esi),%esi                 
  10a574:	8b 83 cc 00 00 00    	mov    0xcc(%ebx),%eax                
  10a57a:	c1 e0 05             	shl    $0x5,%eax                      
  10a57d:	8b 80 f0 4f 12 00    	mov    0x124ff0(%eax),%eax            
      c = *buf++;                                                     
      rtems_termios_linesw[tty->t_line].l_rint(c,tty);                
  10a583:	83 ec 08             	sub    $0x8,%esp                      
  10a586:	53                   	push   %ebx                           
  10a587:	0f be 14 3e          	movsbl (%esi,%edi,1),%edx             
  10a58b:	52                   	push   %edx                           
  10a58c:	ff d0                	call   *%eax                          
  10a58e:	47                   	inc    %edi                           
  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--) {                                                   
  10a58f:	83 c4 10             	add    $0x10,%esp                     
  10a592:	3b 7d 10             	cmp    0x10(%ebp),%edi                
  10a595:	75 dd                	jne    10a574 <rtems_termios_enqueue_raw_characters+0x34>
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
  10a597:	8b 93 e4 00 00 00    	mov    0xe4(%ebx),%edx                
  10a59d:	85 d2                	test   %edx,%edx                      
  10a59f:	75 3b                	jne    10a5dc <rtems_termios_enqueue_raw_characters+0x9c><== NEVER TAKEN
  10a5a1:	8b 83 dc 00 00 00    	mov    0xdc(%ebx),%eax                
  10a5a7:	85 c0                	test   %eax,%eax                      
  10a5a9:	74 31                	je     10a5dc <rtems_termios_enqueue_raw_characters+0x9c><== NEVER TAKEN
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
  10a5ab:	83 ec 08             	sub    $0x8,%esp                      
  10a5ae:	ff b3 e0 00 00 00    	pushl  0xe0(%ebx)                     
  10a5b4:	8d 53 30             	lea    0x30(%ebx),%edx                
  10a5b7:	52                   	push   %edx                           
  10a5b8:	ff d0                	call   *%eax                          
      tty->tty_rcvwakeup = 1;                                         
  10a5ba:	c7 83 e4 00 00 00 01 	movl   $0x1,0xe4(%ebx)                
  10a5c1:	00 00 00                                                    
  10a5c4:	83 c4 10             	add    $0x10,%esp                     
        }                                                             
    return 0;                                                         
  10a5c7:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
  return dropped;                                                     
}                                                                     
  10a5ce:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10a5d1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a5d4:	5b                   	pop    %ebx                           
  10a5d5:	5e                   	pop    %esi                           
  10a5d6:	5f                   	pop    %edi                           
  10a5d7:	c9                   	leave                                 
  10a5d8:	c3                   	ret                                   
  10a5d9:	8d 76 00             	lea    0x0(%esi),%esi                 
     */                                                               
    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;                                                         
  10a5dc:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               <== NOT EXECUTED
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
  return dropped;                                                     
}                                                                     
  10a5e3:	8b 45 e0             	mov    -0x20(%ebp),%eax               <== NOT EXECUTED
  10a5e6:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  10a5e9:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10a5ea:	5e                   	pop    %esi                           <== NOT EXECUTED
  10a5eb:	5f                   	pop    %edi                           <== NOT EXECUTED
  10a5ec:	c9                   	leave                                 <== NOT EXECUTED
  10a5ed:	c3                   	ret                                   <== NOT EXECUTED
  10a5ee:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
  char c;                                                             
  int dropped = 0;                                                    
  bool flow_rcv = false; /* true, if flow control char received */    
  rtems_interrupt_level level;                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {             
  10a5f0:	8b 7d 10             	mov    0x10(%ebp),%edi                
  10a5f3:	c6 45 db 00          	movb   $0x0,-0x25(%ebp)               
  10a5f7:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
                                                                      
        /*                                                            
         * 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); 
  10a5fe:	8d 43 30             	lea    0x30(%ebx),%eax                
  10a601:	89 45 d0             	mov    %eax,-0x30(%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,                          
  10a604:	8d 53 4a             	lea    0x4a(%ebx),%edx                
  10a607:	89 55 cc             	mov    %edx,-0x34(%ebp)               
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
  10a60a:	85 ff                	test   %edi,%edi                      
  10a60c:	0f 84 0b 01 00 00    	je     10a71d <rtems_termios_enqueue_raw_characters+0x1dd><== NEVER TAKEN
  10a612:	66 90                	xchg   %ax,%ax                        
    c = *buf++;                                                       
  10a614:	8a 06                	mov    (%esi),%al                     
  10a616:	88 45 e7             	mov    %al,-0x19(%ebp)                
  10a619:	46                   	inc    %esi                           
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
  10a61a:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  10a620:	f6 c4 02             	test   $0x2,%ah                       
  10a623:	74 1c                	je     10a641 <rtems_termios_enqueue_raw_characters+0x101>
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
  10a625:	0f be 45 e7          	movsbl -0x19(%ebp),%eax               
  10a629:	0f b6 53 4a          	movzbl 0x4a(%ebx),%edx                
  10a62d:	39 d0                	cmp    %edx,%eax                      
  10a62f:	0f 84 07 01 00 00    	je     10a73c <rtems_termios_enqueue_raw_characters+0x1fc>
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
        }                                                             
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
  10a635:	0f b6 53 49          	movzbl 0x49(%ebx),%edx                
  10a639:	39 d0                	cmp    %edx,%eax                      
  10a63b:	0f 84 4f 01 00 00    	je     10a790 <rtems_termios_enqueue_raw_characters+0x250><== NEVER TAKEN
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
  10a641:	80 7d db 00          	cmpb   $0x0,-0x25(%ebp)               
  10a645:	0f 85 0c 01 00 00    	jne    10a757 <rtems_termios_enqueue_raw_characters+0x217><== NEVER TAKEN
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
      }                                                               
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
  10a64b:	8b 43 60             	mov    0x60(%ebx),%eax                
  10a64e:	8b 53 64             	mov    0x64(%ebx),%edx                
  10a651:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  10a654:	40                   	inc    %eax                           
  10a655:	31 d2                	xor    %edx,%edx                      
  10a657:	f7 75 dc             	divl   -0x24(%ebp)                    
  10a65a:	89 d1                	mov    %edx,%ecx                      
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
  10a65c:	9c                   	pushf                                 
  10a65d:	fa                   	cli                                   
  10a65e:	8f 45 d4             	popl   -0x2c(%ebp)                    
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
  10a661:	8b 43 5c             	mov    0x5c(%ebx),%eax                
  10a664:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  10a667:	8b 43 64             	mov    0x64(%ebx),%eax                
            % tty->rawInBuf.Size) > tty->highwater) &&                
  10a66a:	8b 53 64             	mov    0x64(%ebx),%edx                
  10a66d:	89 55 dc             	mov    %edx,-0x24(%ebp)               
      }                                                               
    } 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)       
  10a670:	2b 45 c4             	sub    -0x3c(%ebp),%eax               
  10a673:	01 c8                	add    %ecx,%eax                      
            % tty->rawInBuf.Size) > tty->highwater) &&                
  10a675:	31 d2                	xor    %edx,%edx                      
  10a677:	f7 75 dc             	divl   -0x24(%ebp)                    
      }                                                               
    } 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)       
  10a67a:	3b 93 c0 00 00 00    	cmp    0xc0(%ebx),%edx                
  10a680:	76 46                	jbe    10a6c8 <rtems_termios_enqueue_raw_characters+0x188><== ALWAYS TAKEN
            % tty->rawInBuf.Size) > tty->highwater) &&                
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
  10a682:	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) &&                
  10a688:	a8 01                	test   $0x1,%al                       <== NOT EXECUTED
  10a68a:	75 3c                	jne    10a6c8 <rtems_termios_enqueue_raw_characters+0x188><== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
  10a68c:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10a692:	83 c8 01             	or     $0x1,%eax                      <== NOT EXECUTED
  10a695:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
  10a69b:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10a6a1:	25 02 04 00 00       	and    $0x402,%eax                    <== NOT EXECUTED
  10a6a6:	3d 00 04 00 00       	cmp    $0x400,%eax                    <== NOT EXECUTED
  10a6ab:	0f 84 22 01 00 00    	je     10a7d3 <rtems_termios_enqueue_raw_characters+0x293><== NOT EXECUTED
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
            (*tty->device.write)(tty->minor,                          
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
  10a6b1:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10a6b7:	25 04 01 00 00       	and    $0x104,%eax                    <== NOT EXECUTED
  10a6bc:	3d 00 01 00 00       	cmp    $0x100,%eax                    <== NOT EXECUTED
  10a6c1:	0f 84 50 01 00 00    	je     10a817 <rtems_termios_enqueue_raw_characters+0x2d7><== NOT EXECUTED
  10a6c7:	90                   	nop                                   <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
  10a6c8:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10a6cb:	9d                   	popf                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
  10a6cc:	8b 43 5c             	mov    0x5c(%ebx),%eax                
  10a6cf:	39 c8                	cmp    %ecx,%eax                      
  10a6d1:	0f 84 b1 00 00 00    	je     10a788 <rtems_termios_enqueue_raw_characters+0x248><== NEVER TAKEN
        dropped++;                                                    
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
  10a6d7:	8b 43 58             	mov    0x58(%ebx),%eax                
  10a6da:	8a 55 e7             	mov    -0x19(%ebp),%dl                
  10a6dd:	88 14 08             	mov    %dl,(%eax,%ecx,1)              
        tty->rawInBuf.Tail = newTail;                                 
  10a6e0:	89 4b 60             	mov    %ecx,0x60(%ebx)                
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
  10a6e3:	8b 83 e4 00 00 00    	mov    0xe4(%ebx),%eax                
  10a6e9:	85 c0                	test   %eax,%eax                      
  10a6eb:	75 27                	jne    10a714 <rtems_termios_enqueue_raw_characters+0x1d4><== NEVER TAKEN
  10a6ed:	8b 83 dc 00 00 00    	mov    0xdc(%ebx),%eax                
  10a6f3:	85 c0                	test   %eax,%eax                      
  10a6f5:	74 1d                	je     10a714 <rtems_termios_enqueue_raw_characters+0x1d4><== ALWAYS TAKEN
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
  10a6f7:	83 ec 08             	sub    $0x8,%esp                      <== NOT EXECUTED
  10a6fa:	ff b3 e0 00 00 00    	pushl  0xe0(%ebx)                     <== NOT EXECUTED
  10a700:	ff 75 d0             	pushl  -0x30(%ebp)                    <== NOT EXECUTED
  10a703:	ff d0                	call   *%eax                          <== NOT EXECUTED
          tty->tty_rcvwakeup = 1;                                     
  10a705:	c7 83 e4 00 00 00 01 	movl   $0x1,0xe4(%ebx)                <== NOT EXECUTED
  10a70c:	00 00 00                                                    
  10a70f:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10a712:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
  10a714:	4f                   	dec    %edi                           
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
  10a715:	85 ff                	test   %edi,%edi                      
  10a717:	0f 85 f7 fe ff ff    	jne    10a614 <rtems_termios_enqueue_raw_characters+0xd4><== NEVER TAKEN
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
  10a71d:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10a720:	01 43 78             	add    %eax,0x78(%ebx)                
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
  10a723:	83 ec 0c             	sub    $0xc,%esp                      
  10a726:	ff 73 68             	pushl  0x68(%ebx)                     
  10a729:	e8 7e 10 00 00       	call   10b7ac <rtems_semaphore_release>
  return dropped;                                                     
  10a72e:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10a731:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10a734:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a737:	5b                   	pop    %ebx                           
  10a738:	5e                   	pop    %esi                           
  10a739:	5f                   	pop    %edi                           
  10a73a:	c9                   	leave                                 
  10a73b:	c3                   	ret                                   
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
        if (c == tty->termios.c_cc[VSTART]) {                         
  10a73c:	0f b6 53 49          	movzbl 0x49(%ebx),%edx                
  10a740:	39 d0                	cmp    %edx,%eax                      
  10a742:	74 7e                	je     10a7c2 <rtems_termios_enqueue_raw_characters+0x282><== NEVER TAKEN
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
  10a744:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  10a74a:	83 c8 10             	or     $0x10,%eax                     
  10a74d:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                
  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--) {                                                   
  10a753:	c6 45 db 01          	movb   $0x1,-0x25(%ebp)               
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
      /* restart output according to FL_ORCVXOF flag */               
      if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {   
  10a757:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  10a75d:	83 e0 30             	and    $0x30,%eax                     
  10a760:	83 f8 20             	cmp    $0x20,%eax                     
  10a763:	75 af                	jne    10a714 <rtems_termios_enqueue_raw_characters+0x1d4><== ALWAYS TAKEN
        /* disable interrupts    */                                   
        rtems_interrupt_disable(level);                               
  10a765:	9c                   	pushf                                 <== NOT EXECUTED
  10a766:	fa                   	cli                                   <== NOT EXECUTED
  10a767:	5a                   	pop    %edx                           <== NOT EXECUTED
        tty->flow_ctrl &= ~FL_OSTOP;                                  
  10a768:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10a76e:	83 e0 df             	and    $0xffffffdf,%eax               <== NOT EXECUTED
  10a771:	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) {                        
  10a777:	8b 83 94 00 00 00    	mov    0x94(%ebx),%eax                <== NOT EXECUTED
  10a77d:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  10a77f:	75 20                	jne    10a7a1 <rtems_termios_enqueue_raw_characters+0x261><== NOT EXECUTED
          /* if chars available, call write function... */            
          (*tty->device.write)(                                       
            tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
  10a781:	52                   	push   %edx                           <== NOT EXECUTED
  10a782:	9d                   	popf                                  <== NOT EXECUTED
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
          tty->tty_rcvwakeup = 1;                                     
  10a783:	4f                   	dec    %edi                           <== NOT EXECUTED
  10a784:	eb 8f                	jmp    10a715 <rtems_termios_enqueue_raw_characters+0x1d5><== NOT EXECUTED
  10a786:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
        dropped++;                                                    
  10a788:	ff 45 e0             	incl   -0x20(%ebp)                    <== NOT EXECUTED
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
          tty->tty_rcvwakeup = 1;                                     
  10a78b:	4f                   	dec    %edi                           <== NOT EXECUTED
  10a78c:	eb 87                	jmp    10a715 <rtems_termios_enqueue_raw_characters+0x1d5><== NOT EXECUTED
  10a78e:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
  10a790:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10a796:	83 e0 ef             	and    $0xffffffef,%eax               <== NOT EXECUTED
  10a799:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
  10a79f:	eb b2                	jmp    10a753 <rtems_termios_enqueue_raw_characters+0x213><== NOT EXECUTED
        tty->flow_ctrl &= ~FL_OSTOP;                                  
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
          /* if chars available, call write function... */            
          (*tty->device.write)(                                       
            tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);
  10a7a1:	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)(                                       
  10a7a7:	51                   	push   %ecx                           <== NOT EXECUTED
  10a7a8:	6a 01                	push   $0x1                           <== NOT EXECUTED
  10a7aa:	03 43 7c             	add    0x7c(%ebx),%eax                <== NOT EXECUTED
  10a7ad:	50                   	push   %eax                           <== NOT EXECUTED
  10a7ae:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  10a7b1:	89 55 c8             	mov    %edx,-0x38(%ebp)               <== NOT EXECUTED
  10a7b4:	ff 93 a4 00 00 00    	call   *0xa4(%ebx)                    <== NOT EXECUTED
  10a7ba:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10a7bd:	8b 55 c8             	mov    -0x38(%ebp),%edx               <== NOT EXECUTED
  10a7c0:	eb bf                	jmp    10a781 <rtems_termios_enqueue_raw_characters+0x241><== NOT EXECUTED
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
        if (c == tty->termios.c_cc[VSTART]) {                         
          /* received VSTOP and VSTART==VSTOP? */                     
          /* then toggle "stop output" status  */                     
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
  10a7c2:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10a7c8:	83 f0 10             	xor    $0x10,%eax                     <== NOT EXECUTED
  10a7cb:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
  10a7d1:	eb 80                	jmp    10a753 <rtems_termios_enqueue_raw_characters+0x213><== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
  10a7d3:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10a7d9:	a8 20                	test   $0x20,%al                      <== NOT EXECUTED
  10a7db:	75 0e                	jne    10a7eb <rtems_termios_enqueue_raw_characters+0x2ab><== NOT EXECUTED
  10a7dd:	8b 83 94 00 00 00    	mov    0x94(%ebx),%eax                <== NOT EXECUTED
  10a7e3:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  10a7e5:	0f 85 dd fe ff ff    	jne    10a6c8 <rtems_termios_enqueue_raw_characters+0x188><== 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;                             
  10a7eb:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10a7f1:	83 c8 02             	or     $0x2,%eax                      <== NOT EXECUTED
  10a7f4:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
  10a7fa:	52                   	push   %edx                           <== NOT EXECUTED
  10a7fb:	6a 01                	push   $0x1                           <== NOT EXECUTED
  10a7fd:	ff 75 cc             	pushl  -0x34(%ebp)                    <== NOT EXECUTED
  10a800:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  10a803:	89 4d c8             	mov    %ecx,-0x38(%ebp)               <== NOT EXECUTED
  10a806:	ff 93 a4 00 00 00    	call   *0xa4(%ebx)                    <== NOT EXECUTED
  10a80c:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10a80f:	8b 4d c8             	mov    -0x38(%ebp),%ecx               <== NOT EXECUTED
  10a812:	e9 b1 fe ff ff       	jmp    10a6c8 <rtems_termios_enqueue_raw_characters+0x188><== NOT EXECUTED
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
          tty->flow_ctrl |= FL_IRTSOFF;                               
  10a817:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10a81d:	83 c8 04             	or     $0x4,%eax                      <== NOT EXECUTED
  10a820:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
  10a826:	8b 83 ac 00 00 00    	mov    0xac(%ebx),%eax                <== NOT EXECUTED
  10a82c:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  10a82e:	0f 84 94 fe ff ff    	je     10a6c8 <rtems_termios_enqueue_raw_characters+0x188><== NOT EXECUTED
            tty->device.stopRemoteTx(tty->minor);                     
  10a834:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10a837:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  10a83a:	89 4d c8             	mov    %ecx,-0x38(%ebp)               <== NOT EXECUTED
  10a83d:	ff d0                	call   *%eax                          <== NOT EXECUTED
  10a83f:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10a842:	8b 4d c8             	mov    -0x38(%ebp),%ecx               <== NOT EXECUTED
  10a845:	e9 7e fe ff ff       	jmp    10a6c8 <rtems_termios_enqueue_raw_characters+0x188><== NOT EXECUTED
                                                                      

00108f68 <rtems_termios_initialize>: struct rtems_termios_tty *rtems_termios_ttyTail; rtems_id rtems_termios_ttyMutex; void rtems_termios_initialize (void) {
  108f68:	55                   	push   %ebp                           
  108f69:	89 e5                	mov    %esp,%ebp                      
  108f6b:	83 ec 08             	sub    $0x8,%esp                      
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
  108f6e:	a1 4c 53 12 00       	mov    0x12534c,%eax                  
  108f73:	85 c0                	test   %eax,%eax                      
  108f75:	74 05                	je     108f7c <rtems_termios_initialize+0x14>
      RTEMS_NO_PRIORITY,                                              
      &rtems_termios_ttyMutex);                                       
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
  }                                                                   
}                                                                     
  108f77:	c9                   	leave                                 
  108f78:	c3                   	ret                                   
  108f79:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
    sc = rtems_semaphore_create (                                     
  108f7c:	83 ec 0c             	sub    $0xc,%esp                      
  108f7f:	68 4c 53 12 00       	push   $0x12534c                      
  108f84:	6a 00                	push   $0x0                           
  108f86:	6a 54                	push   $0x54                          
  108f88:	6a 01                	push   $0x1                           
  108f8a:	68 69 6d 52 54       	push   $0x54526d69                    
  108f8f:	e8 a0 24 00 00       	call   10b434 <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)                                       
  108f94:	83 c4 20             	add    $0x20,%esp                     
  108f97:	85 c0                	test   %eax,%eax                      
  108f99:	74 dc                	je     108f77 <rtems_termios_initialize+0xf>
      rtems_fatal_error_occurred (sc);                                
  108f9b:	83 ec 0c             	sub    $0xc,%esp                      
  108f9e:	50                   	push   %eax                           
  108f9f:	e8 58 2d 00 00       	call   10bcfc <rtems_fatal_error_occurred>
                                                                      

001096a8 <rtems_termios_ioctl>: } } rtems_status_code rtems_termios_ioctl (void *arg) {
  1096a8:	55                   	push   %ebp                           
  1096a9:	89 e5                	mov    %esp,%ebp                      
  1096ab:	57                   	push   %edi                           
  1096ac:	56                   	push   %esi                           
  1096ad:	53                   	push   %ebx                           
  1096ae:	83 ec 20             	sub    $0x20,%esp                     
  1096b1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
  1096b4:	8b 03                	mov    (%ebx),%eax                    
  1096b6:	8b 40 34             	mov    0x34(%eax),%eax                
  1096b9:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
  1096bc:	8b 73 08             	mov    0x8(%ebx),%esi                 
  rtems_status_code sc;                                               
                                                                      
   args->ioctl_return = 0;                                            
  1096bf:	c7 43 0c 00 00 00 00 	movl   $0x0,0xc(%ebx)                 
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  1096c6:	6a 00                	push   $0x0                           
  1096c8:	6a 00                	push   $0x0                           
  1096ca:	ff 70 18             	pushl  0x18(%eax)                     
  1096cd:	e8 de 1f 00 00       	call   10b6b0 <rtems_semaphore_obtain>
  1096d2:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  if (sc != RTEMS_SUCCESSFUL) {                                       
  1096d5:	83 c4 10             	add    $0x10,%esp                     
  1096d8:	85 c0                	test   %eax,%eax                      
  1096da:	75 24                	jne    109700 <rtems_termios_ioctl+0x58><== NEVER TAKEN
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
  1096dc:	8b 43 04             	mov    0x4(%ebx),%eax                 
  1096df:	83 f8 04             	cmp    $0x4,%eax                      
  1096e2:	74 70                	je     109754 <rtems_termios_ioctl+0xac>
  1096e4:	77 2a                	ja     109710 <rtems_termios_ioctl+0x68>
  1096e6:	83 f8 02             	cmp    $0x2,%eax                      
  1096e9:	0f 84 9d 00 00 00    	je     10978c <rtems_termios_ioctl+0xe4>
  1096ef:	0f 86 3f 02 00 00    	jbe    109934 <rtems_termios_ioctl+0x28c>
    if (tty->device.setAttributes)                                    
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
    break;                                                            
                                                                      
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
  1096f5:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  1096f8:	e8 a7 f8 ff ff       	call   108fa4 <drainOutput>           
    break;                                                            
  1096fd:	eb 69                	jmp    109768 <rtems_termios_ioctl+0xc0>
  1096ff:	90                   	nop                                   
  rtems_status_code sc;                                               
                                                                      
   args->ioctl_return = 0;                                            
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    args->ioctl_return = sc;                                          
  109700:	89 43 0c             	mov    %eax,0xc(%ebx)                 <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
  args->ioctl_return = sc;                                            
  return sc;                                                          
}                                                                     
  109703:	8b 45 e0             	mov    -0x20(%ebp),%eax               <== NOT EXECUTED
  109706:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  109709:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10970a:	5e                   	pop    %esi                           <== NOT EXECUTED
  10970b:	5f                   	pop    %edi                           <== NOT EXECUTED
  10970c:	c9                   	leave                                 <== NOT EXECUTED
  10970d:	c3                   	ret                                   <== NOT EXECUTED
  10970e:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
  109710:	3d 7f 66 04 40       	cmp    $0x4004667f,%eax               
  109715:	0f 84 f1 01 00 00    	je     10990c <rtems_termios_ioctl+0x264><== NEVER TAKEN
  10971b:	0f 87 33 02 00 00    	ja     109954 <rtems_termios_ioctl+0x2ac>
  109721:	83 f8 05             	cmp    $0x5,%eax                      
  109724:	0f 84 ae 02 00 00    	je     1099d8 <rtems_termios_ioctl+0x330>
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
  10972a:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10972d:	8b 82 cc 00 00 00    	mov    0xcc(%edx),%eax                
  109733:	c1 e0 05             	shl    $0x5,%eax                      
  109736:	8b 80 f8 4f 12 00    	mov    0x124ff8(%eax),%eax            
  10973c:	85 c0                	test   %eax,%eax                      
  10973e:	0f 84 b8 02 00 00    	je     1099fc <rtems_termios_ioctl+0x354><== NEVER TAKEN
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
  109744:	83 ec 08             	sub    $0x8,%esp                      
  109747:	53                   	push   %ebx                           
  109748:	52                   	push   %edx                           
  109749:	ff d0                	call   *%eax                          
  10974b:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  10974e:	83 c4 10             	add    $0x10,%esp                     
  109751:	eb 15                	jmp    109768 <rtems_termios_ioctl+0xc0>
  109753:	90                   	nop                                   
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
    break;                                                            
                                                                      
  case RTEMS_IO_RCVWAKEUP:                                            
    tty->tty_rcv = *wakeup;                                           
  109754:	8b 06                	mov    (%esi),%eax                    
  109756:	8b 56 04             	mov    0x4(%esi),%edx                 
  109759:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10975c:	89 81 dc 00 00 00    	mov    %eax,0xdc(%ecx)                
  109762:	89 91 e0 00 00 00    	mov    %edx,0xe0(%ecx)                
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
  109768:	83 ec 0c             	sub    $0xc,%esp                      
  10976b:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10976e:	ff 70 18             	pushl  0x18(%eax)                     
  109771:	e8 36 20 00 00       	call   10b7ac <rtems_semaphore_release>
  args->ioctl_return = sc;                                            
  109776:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  109779:	89 53 0c             	mov    %edx,0xc(%ebx)                 
  return sc;                                                          
  10977c:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10977f:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  109782:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109785:	5b                   	pop    %ebx                           
  109786:	5e                   	pop    %esi                           
  109787:	5f                   	pop    %edi                           
  109788:	c9                   	leave                                 
  109789:	c3                   	ret                                   
  10978a:	66 90                	xchg   %ax,%ax                        
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
    break;                                                            
                                                                      
  case RTEMS_IO_SET_ATTRIBUTES:                                       
    tty->termios = *(struct termios *)args->buffer;                   
  10978c:	8b 73 08             	mov    0x8(%ebx),%esi                 
  10978f:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  109792:	83 c1 30             	add    $0x30,%ecx                     
  109795:	89 4d dc             	mov    %ecx,-0x24(%ebp)               
  109798:	b9 09 00 00 00       	mov    $0x9,%ecx                      
  10979d:	8b 7d dc             	mov    -0x24(%ebp),%edi               
  1097a0:	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) &&                                 
  1097a2:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  1097a5:	8b 82 b8 00 00 00    	mov    0xb8(%edx),%eax                
  1097ab:	f6 c4 02             	test   $0x2,%ah                       
  1097ae:	74 44                	je     1097f4 <rtems_termios_ioctl+0x14c>
  1097b0:	f6 42 31 04          	testb  $0x4,0x31(%edx)                
  1097b4:	75 3e                	jne    1097f4 <rtems_termios_ioctl+0x14c><== ALWAYS TAKEN
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
  1097b6:	8b 82 b8 00 00 00    	mov    0xb8(%edx),%eax                <== NOT EXECUTED
  1097bc:	25 ef fd ff ff       	and    $0xfffffdef,%eax               <== NOT EXECUTED
  1097c1:	89 82 b8 00 00 00    	mov    %eax,0xb8(%edx)                <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
  1097c7:	8b 82 b8 00 00 00    	mov    0xb8(%edx),%eax                <== NOT EXECUTED
  1097cd:	a8 20                	test   $0x20,%al                      <== NOT EXECUTED
  1097cf:	74 23                	je     1097f4 <rtems_termios_ioctl+0x14c><== NOT EXECUTED
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
  1097d1:	9c                   	pushf                                 <== NOT EXECUTED
  1097d2:	fa                   	cli                                   <== NOT EXECUTED
  1097d3:	5e                   	pop    %esi                           <== NOT EXECUTED
      tty->flow_ctrl &= ~FL_OSTOP;                                    
  1097d4:	8b 82 b8 00 00 00    	mov    0xb8(%edx),%eax                <== NOT EXECUTED
  1097da:	83 e0 df             	and    $0xffffffdf,%eax               <== NOT EXECUTED
  1097dd:	89 82 b8 00 00 00    	mov    %eax,0xb8(%edx)                <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
  1097e3:	8b ba 94 00 00 00    	mov    0x94(%edx),%edi                <== NOT EXECUTED
  1097e9:	85 ff                	test   %edi,%edi                      <== NOT EXECUTED
  1097eb:	0f 85 bb 02 00 00    	jne    109aac <rtems_termios_ioctl+0x404><== NOT EXECUTED
        /* if chars available, call write function... */              
        (*tty->device.write)(                                         
          tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1); 
      }                                                               
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
  1097f1:	56                   	push   %esi                           <== NOT EXECUTED
  1097f2:	9d                   	popf                                  <== NOT EXECUTED
  1097f3:	90                   	nop                                   <== NOT EXECUTED
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) && !(tty->termios.c_iflag & IXOFF)) {
  1097f4:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  1097f7:	8b 81 b8 00 00 00    	mov    0xb8(%ecx),%eax                
  1097fd:	f6 c4 04             	test   $0x4,%ah                       
  109800:	74 24                	je     109826 <rtems_termios_ioctl+0x17e>
  109802:	f6 41 31 10          	testb  $0x10,0x31(%ecx)               
  109806:	75 1e                	jne    109826 <rtems_termios_ioctl+0x17e><== ALWAYS TAKEN
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
  109808:	8b 81 b8 00 00 00    	mov    0xb8(%ecx),%eax                <== NOT EXECUTED
  10980e:	80 e4 fb             	and    $0xfb,%ah                      <== NOT EXECUTED
  109811:	89 81 b8 00 00 00    	mov    %eax,0xb8(%ecx)                <== NOT EXECUTED
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
  109817:	8b 81 b8 00 00 00    	mov    0xb8(%ecx),%eax                <== NOT EXECUTED
  10981d:	83 e0 fd             	and    $0xfffffffd,%eax               <== NOT EXECUTED
  109820:	89 81 b8 00 00 00    	mov    %eax,0xb8(%ecx)                <== NOT EXECUTED
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) && !(tty->termios.c_cflag & CRTSCTS)) {
  109826:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  109829:	8b 82 b8 00 00 00    	mov    0xb8(%edx),%eax                
  10982f:	f6 c4 01             	test   $0x1,%ah                       
  109832:	0f 84 bc 01 00 00    	je     1099f4 <rtems_termios_ioctl+0x34c><== ALWAYS TAKEN
  109838:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               <== NOT EXECUTED
  10983b:	8b 41 38             	mov    0x38(%ecx),%eax                <== NOT EXECUTED
  10983e:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  109840:	0f 88 12 02 00 00    	js     109a58 <rtems_termios_ioctl+0x3b0><== NOT EXECUTED
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
  109846:	8b 91 b8 00 00 00    	mov    0xb8(%ecx),%edx                <== NOT EXECUTED
  10984c:	80 e6 fe             	and    $0xfe,%dh                      <== NOT EXECUTED
  10984f:	89 91 b8 00 00 00    	mov    %edx,0xb8(%ecx)                <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) && (tty->device.startRemoteTx != NULL)) {
  109855:	8b 91 b8 00 00 00    	mov    0xb8(%ecx),%edx                <== NOT EXECUTED
  10985b:	83 e2 04             	and    $0x4,%edx                      <== NOT EXECUTED
  10985e:	74 1b                	je     10987b <rtems_termios_ioctl+0x1d3><== NOT EXECUTED
  109860:	8b 91 b0 00 00 00    	mov    0xb0(%ecx),%edx                <== NOT EXECUTED
  109866:	85 d2                	test   %edx,%edx                      <== NOT EXECUTED
  109868:	74 11                	je     10987b <rtems_termios_ioctl+0x1d3><== NOT EXECUTED
      tty->device.startRemoteTx(tty->minor);                          
  10986a:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10986d:	ff 71 10             	pushl  0x10(%ecx)                     <== NOT EXECUTED
  109870:	ff d2                	call   *%edx                          <== NOT EXECUTED
  109872:	8b 55 e4             	mov    -0x1c(%ebp),%edx               <== NOT EXECUTED
  109875:	8b 42 38             	mov    0x38(%edx),%eax                <== NOT EXECUTED
  109878:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
  10987b:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               <== NOT EXECUTED
  10987e:	8b 91 b8 00 00 00    	mov    0xb8(%ecx),%edx                <== NOT EXECUTED
  109884:	83 e2 fb             	and    $0xfffffffb,%edx               <== NOT EXECUTED
  109887:	89 91 b8 00 00 00    	mov    %edx,0xb8(%ecx)                <== 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) {                               
  10988d:	85 c0                	test   %eax,%eax                      
  10988f:	0f 88 c3 01 00 00    	js     109a58 <rtems_termios_ioctl+0x3b0><== NEVER TAKEN
    tty->flow_ctrl |= FL_MDRTS;                                       
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
  109895:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  109898:	8b 41 30             	mov    0x30(%ecx),%eax                
  10989b:	f6 c4 10             	test   $0x10,%ah                      
  10989e:	74 0f                	je     1098af <rtems_termios_ioctl+0x207>
    tty->flow_ctrl |= FL_MDXOF;                                       
  1098a0:	8b 91 b8 00 00 00    	mov    0xb8(%ecx),%edx                
  1098a6:	80 ce 04             	or     $0x4,%dh                       
  1098a9:	89 91 b8 00 00 00    	mov    %edx,0xb8(%ecx)                
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
  1098af:	f6 c4 04             	test   $0x4,%ah                       
  1098b2:	74 12                	je     1098c6 <rtems_termios_ioctl+0x21e>
    tty->flow_ctrl |= FL_MDXON;                                       
  1098b4:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  1098b7:	8b 82 b8 00 00 00    	mov    0xb8(%edx),%eax                
  1098bd:	80 cc 02             	or     $0x2,%ah                       
  1098c0:	89 82 b8 00 00 00    	mov    %eax,0xb8(%edx)                
    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) {                              
  1098c6:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  1098c9:	f6 41 3c 02          	testb  $0x2,0x3c(%ecx)                
  1098cd:	0f 84 41 01 00 00    	je     109a14 <rtems_termios_ioctl+0x36c>
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
  1098d3:	c7 41 6c 00 00 00 00 	movl   $0x0,0x6c(%ecx)                
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
  1098da:	c7 41 70 00 00 00 00 	movl   $0x0,0x70(%ecx)                
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
  1098e1:	c7 41 74 00 00 00 00 	movl   $0x0,0x74(%ecx)                
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
        }                                                             
      }                                                               
    }                                                                 
    if (tty->device.setAttributes)                                    
  1098e8:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  1098eb:	8b 82 a8 00 00 00    	mov    0xa8(%edx),%eax                
  1098f1:	85 c0                	test   %eax,%eax                      
  1098f3:	0f 84 6f fe ff ff    	je     109768 <rtems_termios_ioctl+0xc0><== NEVER TAKEN
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
  1098f9:	83 ec 08             	sub    $0x8,%esp                      
  1098fc:	ff 75 dc             	pushl  -0x24(%ebp)                    
  1098ff:	ff 72 10             	pushl  0x10(%edx)                     
  109902:	ff d0                	call   *%eax                          
  109904:	83 c4 10             	add    $0x10,%esp                     
  109907:	e9 5c fe ff ff       	jmp    109768 <rtems_termios_ioctl+0xc0>
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
    break;                                                            
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
  10990c:	8b 55 e4             	mov    -0x1c(%ebp),%edx               <== NOT EXECUTED
  10990f:	8b 42 60             	mov    0x60(%edx),%eax                <== NOT EXECUTED
  109912:	89 d1                	mov    %edx,%ecx                      <== NOT EXECUTED
  109914:	8b 52 5c             	mov    0x5c(%edx),%edx                <== NOT EXECUTED
      if ( rawnc < 0 )                                                
  109917:	29 d0                	sub    %edx,%eax                      <== NOT EXECUTED
  109919:	0f 88 e9 00 00 00    	js     109a08 <rtems_termios_ioctl+0x360><== NOT EXECUTED
        rawnc += tty->rawInBuf.Size;                                  
      /* Half guess that this is the right operation */               
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
  10991f:	8b 53 08             	mov    0x8(%ebx),%edx                 <== NOT EXECUTED
  109922:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               <== NOT EXECUTED
  109925:	03 41 20             	add    0x20(%ecx),%eax                <== NOT EXECUTED
  109928:	2b 41 24             	sub    0x24(%ecx),%eax                <== NOT EXECUTED
  10992b:	89 02                	mov    %eax,(%edx)                    <== NOT EXECUTED
    }                                                                 
    break;                                                            
  10992d:	e9 36 fe ff ff       	jmp    109768 <rtems_termios_ioctl+0xc0><== NOT EXECUTED
  109932:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
  109934:	48                   	dec    %eax                           
  109935:	0f 85 ef fd ff ff    	jne    10972a <rtems_termios_ioctl+0x82><== NEVER TAKEN
      sc = RTEMS_INVALID_NUMBER;                                      
    }                                                                 
    break;                                                            
                                                                      
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
  10993b:	8b 43 08             	mov    0x8(%ebx),%eax                 
  10993e:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
  109941:	83 c6 30             	add    $0x30,%esi                     
  109944:	b9 09 00 00 00       	mov    $0x9,%ecx                      
  109949:	89 c7                	mov    %eax,%edi                      
  10994b:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
    break;                                                            
  10994d:	e9 16 fe ff ff       	jmp    109768 <rtems_termios_ioctl+0xc0>
  109952:	66 90                	xchg   %ax,%ax                        
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
  109954:	3d 1a 74 04 40       	cmp    $0x4004741a,%eax               
  109959:	74 69                	je     1099c4 <rtems_termios_ioctl+0x31c>
  10995b:	3d 1b 74 04 80       	cmp    $0x8004741b,%eax               
  109960:	0f 85 c4 fd ff ff    	jne    10972a <rtems_termios_ioctl+0x82><== NEVER TAKEN
#if 1 /* FIXME */                                                     
  case TIOCSETD:                                                      
    /*                                                                
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
  109966:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  109969:	8b 82 cc 00 00 00    	mov    0xcc(%edx),%eax                
  10996f:	c1 e0 05             	shl    $0x5,%eax                      
  109972:	8b 80 e4 4f 12 00    	mov    0x124fe4(%eax),%eax            
  109978:	85 c0                	test   %eax,%eax                      
  10997a:	74 0c                	je     109988 <rtems_termios_ioctl+0x2e0>
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
  10997c:	83 ec 0c             	sub    $0xc,%esp                      
  10997f:	52                   	push   %edx                           
  109980:	ff d0                	call   *%eax                          
  109982:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  109985:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
  109988:	8b 43 08             	mov    0x8(%ebx),%eax                 
  10998b:	8b 00                	mov    (%eax),%eax                    
  10998d:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  109990:	89 81 cc 00 00 00    	mov    %eax,0xcc(%ecx)                
    tty->t_sc = NULL; /* ensure that no more valid data */            
  109996:	c7 81 d0 00 00 00 00 	movl   $0x0,0xd0(%ecx)                
  10999d:	00 00 00                                                    
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
  1099a0:	c1 e0 05             	shl    $0x5,%eax                      
  1099a3:	8b 80 e0 4f 12 00    	mov    0x124fe0(%eax),%eax            
  1099a9:	85 c0                	test   %eax,%eax                      
  1099ab:	0f 84 b7 fd ff ff    	je     109768 <rtems_termios_ioctl+0xc0><== NEVER TAKEN
      sc = rtems_termios_linesw[tty->t_line].l_open(tty);             
  1099b1:	83 ec 0c             	sub    $0xc,%esp                      
  1099b4:	51                   	push   %ecx                           
  1099b5:	ff d0                	call   *%eax                          
  1099b7:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  1099ba:	83 c4 10             	add    $0x10,%esp                     
  1099bd:	e9 a6 fd ff ff       	jmp    109768 <rtems_termios_ioctl+0xc0>
  1099c2:	66 90                	xchg   %ax,%ax                        
    }                                                                 
    break;                                                            
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
  1099c4:	8b 43 08             	mov    0x8(%ebx),%eax                 
  1099c7:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  1099ca:	8b 91 cc 00 00 00    	mov    0xcc(%ecx),%edx                
  1099d0:	89 10                	mov    %edx,(%eax)                    
    break;                                                            
  1099d2:	e9 91 fd ff ff       	jmp    109768 <rtems_termios_ioctl+0xc0>
  1099d7:	90                   	nop                                   
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
    break;                                                            
                                                                      
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
  1099d8:	8b 06                	mov    (%esi),%eax                    
  1099da:	8b 56 04             	mov    0x4(%esi),%edx                 
  1099dd:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  1099e0:	89 81 d4 00 00 00    	mov    %eax,0xd4(%ecx)                
  1099e6:	89 91 d8 00 00 00    	mov    %edx,0xd8(%ecx)                
    break;                                                            
  1099ec:	e9 77 fd ff ff       	jmp    109768 <rtems_termios_ioctl+0xc0>
  1099f1:	8d 76 00             	lea    0x0(%esi),%esi                 
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) && !(tty->termios.c_cflag & CRTSCTS)) {
  1099f4:	8b 42 38             	mov    0x38(%edx),%eax                
  1099f7:	e9 91 fe ff ff       	jmp    10988d <rtems_termios_ioctl+0x1e5>
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
    }                                                                 
    else {                                                            
      sc = RTEMS_INVALID_NUMBER;                                      
  1099fc:	c7 45 e0 0a 00 00 00 	movl   $0xa,-0x20(%ebp)               <== NOT EXECUTED
  109a03:	e9 60 fd ff ff       	jmp    109768 <rtems_termios_ioctl+0xc0><== NOT EXECUTED
    break;                                                            
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
      if ( rawnc < 0 )                                                
        rawnc += tty->rawInBuf.Size;                                  
  109a08:	8b 51 64             	mov    0x64(%ecx),%edx                <== NOT EXECUTED
  109a0b:	01 d0                	add    %edx,%eax                      <== NOT EXECUTED
  109a0d:	e9 0d ff ff ff       	jmp    10991f <rtems_termios_ioctl+0x277><== NOT EXECUTED
  109a12:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
    if (tty->termios.c_lflag & ICANON) {                              
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
  109a14:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  109a17:	0f b6 70 46          	movzbl 0x46(%eax),%esi                
                    rtems_clock_get_ticks_per_second() / 10;          
  109a1b:	e8 74 15 00 00       	call   10af94 <rtems_clock_get_ticks_per_second>
    if (tty->termios.c_lflag & ICANON) {                              
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
  109a20:	0f af c6             	imul   %esi,%eax                      
                    rtems_clock_get_ticks_per_second() / 10;          
  109a23:	ba cd cc cc cc       	mov    $0xcccccccd,%edx               
  109a28:	f7 e2                	mul    %edx                           
  109a2a:	c1 ea 03             	shr    $0x3,%edx                      
    if (tty->termios.c_lflag & ICANON) {                              
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
  109a2d:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  109a30:	89 51 54             	mov    %edx,0x54(%ecx)                
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
  109a33:	80 79 46 00          	cmpb   $0x0,0x46(%ecx)                
  109a37:	74 36                	je     109a6f <rtems_termios_ioctl+0x3c7>
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
  109a39:	c7 41 6c 00 00 00 00 	movl   $0x0,0x6c(%ecx)                
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
  109a40:	89 51 70             	mov    %edx,0x70(%ecx)                
        if (tty->termios.c_cc[VMIN])                                  
  109a43:	80 79 47 00          	cmpb   $0x0,0x47(%ecx)                
  109a47:	74 49                	je     109a92 <rtems_termios_ioctl+0x3ea>
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
  109a49:	c7 41 74 00 00 00 00 	movl   $0x0,0x74(%ecx)                
  109a50:	e9 93 fe ff ff       	jmp    1098e8 <rtems_termios_ioctl+0x240>
  109a55:	8d 76 00             	lea    0x0(%esi),%esi                 
  /*                                                                  
   * check for flow control options to be switched on                 
   */                                                                 
  /* check for incoming RTS/CTS flow control switched on */           
  if (tty->termios.c_cflag & CRTSCTS) {                               
    tty->flow_ctrl |= FL_MDRTS;                                       
  109a58:	8b 55 e4             	mov    -0x1c(%ebp),%edx               <== NOT EXECUTED
  109a5b:	8b 82 b8 00 00 00    	mov    0xb8(%edx),%eax                <== NOT EXECUTED
  109a61:	80 cc 01             	or     $0x1,%ah                       <== NOT EXECUTED
  109a64:	89 82 b8 00 00 00    	mov    %eax,0xb8(%edx)                <== NOT EXECUTED
  109a6a:	e9 26 fe ff ff       	jmp    109895 <rtems_termios_ioctl+0x1ed><== NOT EXECUTED
        if (tty->termios.c_cc[VMIN])                                  
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
      } else {                                                        
        if (tty->termios.c_cc[VMIN]) {                                
  109a6f:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  109a72:	80 7a 47 00          	cmpb   $0x0,0x47(%edx)                
  109a76:	74 25                	je     109a9d <rtems_termios_ioctl+0x3f5><== ALWAYS TAKEN
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
  109a78:	c7 42 6c 00 00 00 00 	movl   $0x0,0x6c(%edx)                <== NOT EXECUTED
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
  109a7f:	c7 42 70 00 00 00 00 	movl   $0x0,0x70(%edx)                <== NOT EXECUTED
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
  109a86:	c7 42 74 00 00 00 00 	movl   $0x0,0x74(%edx)                <== NOT EXECUTED
  109a8d:	e9 56 fe ff ff       	jmp    1098e8 <rtems_termios_ioctl+0x240><== NOT EXECUTED
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
        if (tty->termios.c_cc[VMIN])                                  
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
  109a92:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  109a95:	89 50 74             	mov    %edx,0x74(%eax)                
  109a98:	e9 4b fe ff ff       	jmp    1098e8 <rtems_termios_ioctl+0x240>
        if (tty->termios.c_cc[VMIN]) {                                
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
  109a9d:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  109aa0:	c7 41 6c 01 00 00 00 	movl   $0x1,0x6c(%ecx)                
  109aa7:	e9 3c fe ff ff       	jmp    1098e8 <rtems_termios_ioctl+0x240>
      tty->flow_ctrl &= ~FL_OSTOP;                                    
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
        /* if chars available, call write function... */              
        (*tty->device.write)(                                         
          tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1); 
  109aac:	8b 82 84 00 00 00    	mov    0x84(%edx),%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)(                                         
  109ab2:	51                   	push   %ecx                           <== NOT EXECUTED
  109ab3:	6a 01                	push   $0x1                           <== NOT EXECUTED
  109ab5:	03 42 7c             	add    0x7c(%edx),%eax                <== NOT EXECUTED
  109ab8:	50                   	push   %eax                           <== NOT EXECUTED
  109ab9:	ff 72 10             	pushl  0x10(%edx)                     <== NOT EXECUTED
  109abc:	ff 92 a4 00 00 00    	call   *0xa4(%edx)                    <== NOT EXECUTED
  109ac2:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  109ac5:	e9 27 fd ff ff       	jmp    1097f1 <rtems_termios_ioctl+0x149><== NOT EXECUTED
                                                                      

0010aa84 <rtems_termios_number_to_baud>: extern rtems_assoc_t termios_assoc_table[]; int rtems_termios_number_to_baud( int32_t baud ) {
  10aa84:	55                   	push   %ebp                           
  10aa85:	89 e5                	mov    %esp,%ebp                      
  10aa87:	53                   	push   %ebx                           
  10aa88:	83 ec 0c             	sub    $0xc,%esp                      
  10aa8b:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  int termios_baud;                                                   
                                                                      
  termios_baud = rtems_assoc_remote_by_local( termios_assoc_table, baud );
  10aa8e:	53                   	push   %ebx                           
  10aa8f:	68 e0 72 12 00       	push   $0x1272e0                      
  10aa94:	e8 43 6d 00 00       	call   1117dc <rtems_assoc_remote_by_local>
  if ( termios_baud == 0 && baud != 0 )                               
  10aa99:	83 c4 10             	add    $0x10,%esp                     
  10aa9c:	85 c0                	test   %eax,%eax                      
  10aa9e:	74 08                	je     10aaa8 <rtems_termios_number_to_baud+0x24>
    return -1;                                                        
  return termios_baud;                                                
}                                                                     
  10aaa0:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10aaa3:	c9                   	leave                                 
  10aaa4:	c3                   	ret                                   
  10aaa5:	8d 76 00             	lea    0x0(%esi),%esi                 
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  termios_baud = rtems_assoc_remote_by_local( termios_assoc_table, baud );
  if ( termios_baud == 0 && baud != 0 )                               
  10aaa8:	85 db                	test   %ebx,%ebx                      
  10aaaa:	74 f4                	je     10aaa0 <rtems_termios_number_to_baud+0x1c>
    return -1;                                                        
  10aaac:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10aab1:	eb ed                	jmp    10aaa0 <rtems_termios_number_to_baud+0x1c>
                                                                      

00109014 <rtems_termios_open>: rtems_device_major_number major, rtems_device_minor_number minor, void *arg, const rtems_termios_callbacks *callbacks ) {
  109014:	55                   	push   %ebp                           
  109015:	89 e5                	mov    %esp,%ebp                      
  109017:	57                   	push   %edi                           
  109018:	56                   	push   %esi                           
  109019:	53                   	push   %ebx                           
  10901a:	83 ec 40             	sub    $0x40,%esp                     
  10901d:	8b 55 08             	mov    0x8(%ebp),%edx                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
  109020:	6a 00                	push   $0x0                           
  109022:	6a 00                	push   $0x0                           
  109024:	ff 35 4c 53 12 00    	pushl  0x12534c                       
  10902a:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  10902d:	e8 7e 26 00 00       	call   10b6b0 <rtems_semaphore_obtain>
  109032:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
  109035:	83 c4 10             	add    $0x10,%esp                     
  109038:	85 c0                	test   %eax,%eax                      
  10903a:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  10903d:	75 6d                	jne    1090ac <rtems_termios_open+0x98><== NEVER TAKEN
    return sc;                                                        
                                                                      
  for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) { 
  10903f:	8b 35 54 53 12 00    	mov    0x125354,%esi                  
  109045:	85 f6                	test   %esi,%esi                      
  109047:	0f 84 a7 00 00 00    	je     1090f4 <rtems_termios_open+0xe0>
  10904d:	89 f3                	mov    %esi,%ebx                      
  10904f:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  109052:	eb 0a                	jmp    10905e <rtems_termios_open+0x4a>
  109054:	8b 1b                	mov    (%ebx),%ebx                    
  109056:	85 db                	test   %ebx,%ebx                      
  109058:	0f 84 96 00 00 00    	je     1090f4 <rtems_termios_open+0xe0><== ALWAYS TAKEN
    if ((tty->major == major) && (tty->minor == minor))               
  10905e:	39 53 0c             	cmp    %edx,0xc(%ebx)                 
  109061:	75 f1                	jne    109054 <rtems_termios_open+0x40>
  109063:	39 43 10             	cmp    %eax,0x10(%ebx)                
  109066:	75 ec                	jne    109054 <rtems_termios_open+0x40><== NEVER TAKEN
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
  109068:	8b 75 10             	mov    0x10(%ebp),%esi                
  10906b:	8b 06                	mov    (%esi),%eax                    
  10906d:	89 58 34             	mov    %ebx,0x34(%eax)                
  if (!tty->refcount++) {                                             
  109070:	8b 43 08             	mov    0x8(%ebx),%eax                 
  109073:	8d 48 01             	lea    0x1(%eax),%ecx                 
  109076:	89 4b 08             	mov    %ecx,0x8(%ebx)                 
  109079:	85 c0                	test   %eax,%eax                      
  10907b:	75 1e                	jne    10909b <rtems_termios_open+0x87>
    if (tty->device.firstOpen)                                        
  10907d:	8b 83 98 00 00 00    	mov    0x98(%ebx),%eax                
  109083:	85 c0                	test   %eax,%eax                      
  109085:	74 0b                	je     109092 <rtems_termios_open+0x7e>
      (*tty->device.firstOpen)(major, minor, arg);                    
  109087:	57                   	push   %edi                           
  109088:	56                   	push   %esi                           
  109089:	ff 75 0c             	pushl  0xc(%ebp)                      
  10908c:	52                   	push   %edx                           
  10908d:	ff d0                	call   *%eax                          
  10908f:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
  109092:	83 bb b4 00 00 00 02 	cmpl   $0x2,0xb4(%ebx)                
  109099:	74 1c                	je     1090b7 <rtems_termios_open+0xa3>
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
  10909b:	83 ec 0c             	sub    $0xc,%esp                      
  10909e:	ff 35 4c 53 12 00    	pushl  0x12534c                       
  1090a4:	e8 03 27 00 00       	call   10b7ac <rtems_semaphore_release>
  return RTEMS_SUCCESSFUL;                                            
  1090a9:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  1090ac:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  1090af:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1090b2:	5b                   	pop    %ebx                           
  1090b3:	5e                   	pop    %esi                           
  1090b4:	5f                   	pop    %edi                           
  1090b5:	c9                   	leave                                 
  1090b6:	c3                   	ret                                   
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_start(                                          
  1090b7:	56                   	push   %esi                           
  1090b8:	53                   	push   %ebx                           
  1090b9:	68 4c a8 10 00       	push   $0x10a84c                      
  1090be:	ff b3 c4 00 00 00    	pushl  0xc4(%ebx)                     
  1090c4:	e8 2b 2a 00 00       	call   10baf4 <rtems_task_start>      
        tty->rxTaskId, rtems_termios_rxdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
  1090c9:	83 c4 10             	add    $0x10,%esp                     
  1090cc:	85 c0                	test   %eax,%eax                      
  1090ce:	0f 85 3f 03 00 00    	jne    109413 <rtems_termios_open+0x3ff><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(                                          
  1090d4:	51                   	push   %ecx                           
  1090d5:	53                   	push   %ebx                           
  1090d6:	68 fc aa 10 00       	push   $0x10aafc                      
  1090db:	ff b3 c8 00 00 00    	pushl  0xc8(%ebx)                     
  1090e1:	e8 0e 2a 00 00       	call   10baf4 <rtems_task_start>      
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
  1090e6:	83 c4 10             	add    $0x10,%esp                     
  1090e9:	85 c0                	test   %eax,%eax                      
  1090eb:	74 ae                	je     10909b <rtems_termios_open+0x87><== ALWAYS TAKEN
  1090ed:	e9 21 03 00 00       	jmp    109413 <rtems_termios_open+0x3ff><== NOT EXECUTED
  1090f2:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
  1090f4:	83 ec 08             	sub    $0x8,%esp                      
  1090f7:	68 e8 00 00 00       	push   $0xe8                          
  1090fc:	6a 01                	push   $0x1                           
  1090fe:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  109101:	e8 1e ee ff ff       	call   107f24 <calloc>                
  109106:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  109109:	89 c3                	mov    %eax,%ebx                      
    if (tty == NULL) {                                                
  10910b:	83 c4 10             	add    $0x10,%esp                     
  10910e:	85 c0                	test   %eax,%eax                      
  109110:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  109113:	0f 84 75 02 00 00    	je     10938e <rtems_termios_open+0x37a>
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
  109119:	a1 44 31 12 00       	mov    0x123144,%eax                  
  10911e:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  109121:	89 41 64             	mov    %eax,0x64(%ecx)                
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
  109124:	8b 41 64             	mov    0x64(%ecx),%eax                
  109127:	83 ec 0c             	sub    $0xc,%esp                      
  10912a:	50                   	push   %eax                           
  10912b:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  10912e:	e8 55 f2 ff ff       	call   108388 <malloc>                
  109133:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  109136:	8b 7d e0             	mov    -0x20(%ebp),%edi               
  109139:	89 47 58             	mov    %eax,0x58(%edi)                
    if (tty->rawInBuf.theBuf == NULL) {                               
  10913c:	83 c4 10             	add    $0x10,%esp                     
  10913f:	85 c0                	test   %eax,%eax                      
  109141:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  109144:	0f 84 61 02 00 00    	je     1093ab <rtems_termios_open+0x397>
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
  10914a:	a1 48 31 12 00       	mov    0x123148,%eax                  
  10914f:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  109152:	89 81 88 00 00 00    	mov    %eax,0x88(%ecx)                
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
  109158:	8b 81 88 00 00 00    	mov    0x88(%ecx),%eax                
  10915e:	83 ec 0c             	sub    $0xc,%esp                      
  109161:	50                   	push   %eax                           
  109162:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  109165:	e8 1e f2 ff ff       	call   108388 <malloc>                
  10916a:	89 c7                	mov    %eax,%edi                      
  10916c:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10916f:	89 78 7c             	mov    %edi,0x7c(%eax)                
    if (tty->rawOutBuf.theBuf == NULL) {                              
  109172:	83 c4 10             	add    $0x10,%esp                     
  109175:	85 ff                	test   %edi,%edi                      
  109177:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  10917a:	0f 84 4f 02 00 00    	je     1093cf <rtems_termios_open+0x3bb><== NEVER TAKEN
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
  109180:	83 ec 0c             	sub    $0xc,%esp                      
  109183:	ff 35 40 31 12 00    	pushl  0x123140                       
  109189:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  10918c:	e8 f7 f1 ff ff       	call   108388 <malloc>                
  109191:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  109194:	89 41 1c             	mov    %eax,0x1c(%ecx)                
    if (tty->cbuf == NULL) {                                          
  109197:	83 c4 10             	add    $0x10,%esp                     
  10919a:	85 c0                	test   %eax,%eax                      
  10919c:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  10919f:	0f 84 77 02 00 00    	je     10941c <rtems_termios_open+0x408>
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
  1091a5:	8b 7d e0             	mov    -0x20(%ebp),%edi               
  1091a8:	c7 87 d4 00 00 00 00 	movl   $0x0,0xd4(%edi)                
  1091af:	00 00 00                                                    
    tty->tty_snd.sw_arg = NULL;                                       
  1091b2:	c7 87 d8 00 00 00 00 	movl   $0x0,0xd8(%edi)                
  1091b9:	00 00 00                                                    
    tty->tty_rcv.sw_pfn = NULL;                                       
  1091bc:	c7 87 dc 00 00 00 00 	movl   $0x0,0xdc(%edi)                
  1091c3:	00 00 00                                                    
    tty->tty_rcv.sw_arg = NULL;                                       
  1091c6:	c7 87 e0 00 00 00 00 	movl   $0x0,0xe0(%edi)                
  1091cd:	00 00 00                                                    
    tty->tty_rcvwakeup  = 0;                                          
  1091d0:	c7 87 e4 00 00 00 00 	movl   $0x0,0xe4(%edi)                
  1091d7:	00 00 00                                                    
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
  1091da:	89 37                	mov    %esi,(%edi)                    
    tty->back = NULL;                                                 
  1091dc:	c7 47 04 00 00 00 00 	movl   $0x0,0x4(%edi)                 
    if (rtems_termios_ttyHead != NULL)                                
  1091e3:	85 f6                	test   %esi,%esi                      
  1091e5:	74 03                	je     1091ea <rtems_termios_open+0x1d6>
      rtems_termios_ttyHead->back = tty;                              
  1091e7:	89 7e 04             	mov    %edi,0x4(%esi)                 
    rtems_termios_ttyHead = tty;                                      
  1091ea:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  1091ed:	a3 54 53 12 00       	mov    %eax,0x125354                  
    if (rtems_termios_ttyTail == NULL)                                
  1091f2:	8b 0d 50 53 12 00    	mov    0x125350,%ecx                  
  1091f8:	85 c9                	test   %ecx,%ecx                      
  1091fa:	0f 84 af 02 00 00    	je     1094af <rtems_termios_open+0x49b>
      rtems_termios_ttyTail = tty;                                    
                                                                      
    tty->minor = minor;                                               
  109200:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  109203:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  109206:	89 71 10             	mov    %esi,0x10(%ecx)                
    tty->major = major;                                               
  109209:	89 51 0c             	mov    %edx,0xc(%ecx)                 
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
  10920c:	83 ec 0c             	sub    $0xc,%esp                      
  10920f:	89 c8                	mov    %ecx,%eax                      
  109211:	83 c0 14             	add    $0x14,%eax                     
  109214:	50                   	push   %eax                           
  109215:	6a 00                	push   $0x0                           
  109217:	6a 54                	push   $0x54                          
  109219:	6a 01                	push   $0x1                           
      rtems_build_name ('T', 'R', 'i', c),                            
  10921b:	0f be 05 4c 31 12 00 	movsbl 0x12314c,%eax                  
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
  109222:	0d 00 69 52 54       	or     $0x54526900,%eax               
  109227:	50                   	push   %eax                           
  109228:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  10922b:	e8 04 22 00 00       	call   10b434 <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)                                       
  109230:	83 c4 20             	add    $0x20,%esp                     
  109233:	85 c0                	test   %eax,%eax                      
  109235:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  109238:	0f 85 d5 01 00 00    	jne    109413 <rtems_termios_open+0x3ff>
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
  10923e:	83 ec 0c             	sub    $0xc,%esp                      
  109241:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  109244:	83 c0 18             	add    $0x18,%eax                     
  109247:	50                   	push   %eax                           
  109248:	6a 00                	push   $0x0                           
  10924a:	6a 54                	push   $0x54                          
  10924c:	6a 01                	push   $0x1                           
      rtems_build_name ('T', 'R', 'o', c),                            
  10924e:	0f be 05 4c 31 12 00 	movsbl 0x12314c,%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 (                                     
  109255:	0d 00 6f 52 54       	or     $0x54526f00,%eax               
  10925a:	50                   	push   %eax                           
  10925b:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  10925e:	e8 d1 21 00 00       	call   10b434 <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)                                       
  109263:	83 c4 20             	add    $0x20,%esp                     
  109266:	85 c0                	test   %eax,%eax                      
  109268:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  10926b:	0f 85 a2 01 00 00    	jne    109413 <rtems_termios_open+0x3ff>
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
  109271:	83 ec 0c             	sub    $0xc,%esp                      
  109274:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  109277:	05 8c 00 00 00       	add    $0x8c,%eax                     
  10927c:	50                   	push   %eax                           
  10927d:	6a 00                	push   $0x0                           
  10927f:	6a 20                	push   $0x20                          
  109281:	6a 00                	push   $0x0                           
      rtems_build_name ('T', 'R', 'x', c),                            
  109283:	0f be 05 4c 31 12 00 	movsbl 0x12314c,%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 (                                     
  10928a:	0d 00 78 52 54       	or     $0x54527800,%eax               
  10928f:	50                   	push   %eax                           
  109290:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  109293:	e8 9c 21 00 00       	call   10b434 <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)                                       
  109298:	83 c4 20             	add    $0x20,%esp                     
  10929b:	85 c0                	test   %eax,%eax                      
  10929d:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  1092a0:	0f 85 6d 01 00 00    	jne    109413 <rtems_termios_open+0x3ff>
      rtems_fatal_error_occurred (sc);                                
    tty->rawOutBufState = rob_idle;                                   
  1092a6:	8b 7d e0             	mov    -0x20(%ebp),%edi               
  1092a9:	c7 87 94 00 00 00 00 	movl   $0x0,0x94(%edi)                
  1092b0:	00 00 00                                                    
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
  1092b3:	81 c7 98 00 00 00    	add    $0x98,%edi                     
  1092b9:	b9 08 00 00 00       	mov    $0x8,%ecx                      
  1092be:	8b 75 14             	mov    0x14(%ebp),%esi                
  1092c1:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
  1092c3:	8b 7d e0             	mov    -0x20(%ebp),%edi               
  1092c6:	83 bf b4 00 00 00 02 	cmpl   $0x2,0xb4(%edi)                
  1092cd:	0f 84 64 01 00 00    	je     109437 <rtems_termios_open+0x423><== NEVER TAKEN
           &tty->rxTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
  1092d3:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  1092d6:	8b 88 a0 00 00 00    	mov    0xa0(%eax),%ecx                
  1092dc:	85 c9                	test   %ecx,%ecx                      
  1092de:	0f 84 fc 00 00 00    	je     1093e0 <rtems_termios_open+0x3cc>
  1092e4:	83 b8 b4 00 00 00 02 	cmpl   $0x2,0xb4(%eax)                
  1092eb:	0f 84 ef 00 00 00    	je     1093e0 <rtems_termios_open+0x3cc><== NEVER TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
  1092f1:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  1092f4:	c7 41 30 02 25 00 00 	movl   $0x2502,0x30(%ecx)             
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
  1092fb:	c7 41 34 05 18 00 00 	movl   $0x1805,0x34(%ecx)             
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
  109302:	c7 41 38 bd 08 00 00 	movl   $0x8bd,0x38(%ecx)              
    tty->termios.c_lflag =                                            
  109309:	c7 41 3c 3b 82 00 00 	movl   $0x823b,0x3c(%ecx)             
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
  109310:	c6 41 41 03          	movb   $0x3,0x41(%ecx)                
    tty->termios.c_cc[VQUIT] = '\034';                                
  109314:	c6 41 42 1c          	movb   $0x1c,0x42(%ecx)               
    tty->termios.c_cc[VERASE] = '\177';                               
  109318:	c6 41 43 7f          	movb   $0x7f,0x43(%ecx)               
    tty->termios.c_cc[VKILL] = '\025';                                
  10931c:	c6 41 44 15          	movb   $0x15,0x44(%ecx)               
    tty->termios.c_cc[VEOF] = '\004';                                 
  109320:	c6 41 45 04          	movb   $0x4,0x45(%ecx)                
    tty->termios.c_cc[VEOL] = '\000';                                 
  109324:	c6 41 4c 00          	movb   $0x0,0x4c(%ecx)                
    tty->termios.c_cc[VEOL2] = '\000';                                
  109328:	c6 41 51 00          	movb   $0x0,0x51(%ecx)                
    tty->termios.c_cc[VSTART] = '\021';                               
  10932c:	c6 41 49 11          	movb   $0x11,0x49(%ecx)               
    tty->termios.c_cc[VSTOP] = '\023';                                
  109330:	c6 41 4a 13          	movb   $0x13,0x4a(%ecx)               
    tty->termios.c_cc[VSUSP] = '\032';                                
  109334:	c6 41 4b 1a          	movb   $0x1a,0x4b(%ecx)               
    tty->termios.c_cc[VREPRINT] = '\022';                             
  109338:	c6 41 4d 12          	movb   $0x12,0x4d(%ecx)               
    tty->termios.c_cc[VDISCARD] = '\017';                             
  10933c:	c6 41 4e 0f          	movb   $0xf,0x4e(%ecx)                
    tty->termios.c_cc[VWERASE] = '\027';                              
  109340:	c6 41 4f 17          	movb   $0x17,0x4f(%ecx)               
    tty->termios.c_cc[VLNEXT] = '\026';                               
  109344:	c6 41 50 16          	movb   $0x16,0x50(%ecx)               
                                                                      
    /* start with no flow control, clear flow control flags */        
    tty->flow_ctrl = 0;                                               
  109348:	c7 81 b8 00 00 00 00 	movl   $0x0,0xb8(%ecx)                
  10934f:	00 00 00                                                    
    /*                                                                
     * set low/highwater mark for XON/XOFF support                    
     */                                                               
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
  109352:	8b 41 64             	mov    0x64(%ecx),%eax                
  109355:	d1 e8                	shr    %eax                           
  109357:	89 81 bc 00 00 00    	mov    %eax,0xbc(%ecx)                
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
  10935d:	8b 41 64             	mov    0x64(%ecx),%eax                
  109360:	8d 04 40             	lea    (%eax,%eax,2),%eax             
  109363:	c1 e8 02             	shr    $0x2,%eax                      
  109366:	89 81 c0 00 00 00    	mov    %eax,0xc0(%ecx)                
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
  10936c:	a0 4c 31 12 00       	mov    0x12314c,%al                   
  109371:	8d 48 01             	lea    0x1(%eax),%ecx                 
  109374:	88 0d 4c 31 12 00    	mov    %cl,0x12314c                   
  10937a:	3c 7a                	cmp    $0x7a,%al                      
  10937c:	0f 85 e6 fc ff ff    	jne    109068 <rtems_termios_open+0x54>
      c = 'a';                                                        
  109382:	c6 05 4c 31 12 00 61 	movb   $0x61,0x12314c                 
  109389:	e9 da fc ff ff       	jmp    109068 <rtems_termios_open+0x54>
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
    if (tty == NULL) {                                                
      rtems_semaphore_release (rtems_termios_ttyMutex);               
  10938e:	83 ec 0c             	sub    $0xc,%esp                      
  109391:	ff 35 4c 53 12 00    	pushl  0x12534c                       
  109397:	e8 10 24 00 00       	call   10b7ac <rtems_semaphore_release>
      return RTEMS_NO_MEMORY;                                         
  10939c:	83 c4 10             	add    $0x10,%esp                     
  10939f:	c7 45 e4 1a 00 00 00 	movl   $0x1a,-0x1c(%ebp)              
  1093a6:	e9 01 fd ff ff       	jmp    1090ac <rtems_termios_open+0x98>
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
    if (tty->rawInBuf.theBuf == NULL) {                               
            free(tty);                                                
  1093ab:	83 ec 0c             	sub    $0xc,%esp                      
  1093ae:	57                   	push   %edi                           
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
    if (tty->rawOutBuf.theBuf == NULL) {                              
            free((void *)(tty->rawInBuf.theBuf));                     
            free(tty);                                                
  1093af:	e8 00 ed ff ff       	call   1080b4 <free>                  
      rtems_semaphore_release (rtems_termios_ttyMutex);               
  1093b4:	5f                   	pop    %edi                           
  1093b5:	ff 35 4c 53 12 00    	pushl  0x12534c                       
  1093bb:	e8 ec 23 00 00       	call   10b7ac <rtems_semaphore_release>
      return RTEMS_NO_MEMORY;                                         
  1093c0:	83 c4 10             	add    $0x10,%esp                     
  1093c3:	c7 45 e4 1a 00 00 00 	movl   $0x1a,-0x1c(%ebp)              
  1093ca:	e9 dd fc ff ff       	jmp    1090ac <rtems_termios_open+0x98>
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
    if (tty->rawOutBuf.theBuf == NULL) {                              
            free((void *)(tty->rawInBuf.theBuf));                     
  1093cf:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  1093d2:	ff 75 c4             	pushl  -0x3c(%ebp)                    <== NOT EXECUTED
  1093d5:	e8 da ec ff ff       	call   1080b4 <free>                  <== NOT EXECUTED
            free(tty);                                                
  1093da:	58                   	pop    %eax                           <== NOT EXECUTED
  1093db:	ff 75 e0             	pushl  -0x20(%ebp)                    <== NOT EXECUTED
  1093de:	eb cf                	jmp    1093af <rtems_termios_open+0x39b><== NOT EXECUTED
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
  1093e0:	83 ec 0c             	sub    $0xc,%esp                      
  1093e3:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  1093e6:	83 c0 68             	add    $0x68,%eax                     
  1093e9:	50                   	push   %eax                           
  1093ea:	6a 00                	push   $0x0                           
  1093ec:	6a 24                	push   $0x24                          
  1093ee:	6a 00                	push   $0x0                           
        rtems_build_name ('T', 'R', 'r', c),                          
  1093f0:	0f be 05 4c 31 12 00 	movsbl 0x12314c,%eax                  
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
  1093f7:	0d 00 72 52 54       	or     $0x54527200,%eax               
  1093fc:	50                   	push   %eax                           
  1093fd:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  109400:	e8 2f 20 00 00       	call   10b434 <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)                                     
  109405:	83 c4 20             	add    $0x20,%esp                     
  109408:	85 c0                	test   %eax,%eax                      
  10940a:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  10940d:	0f 84 de fe ff ff    	je     1092f1 <rtems_termios_open+0x2dd>
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(                                          
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
  109413:	83 ec 0c             	sub    $0xc,%esp                      
  109416:	50                   	push   %eax                           
  109417:	e8 e0 28 00 00       	call   10bcfc <rtems_fatal_error_occurred>
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
    if (tty->cbuf == NULL) {                                          
            free((void *)(tty->rawOutBuf.theBuf));                    
  10941c:	83 ec 0c             	sub    $0xc,%esp                      
  10941f:	57                   	push   %edi                           
  109420:	e8 8f ec ff ff       	call   1080b4 <free>                  
            free((void *)(tty->rawInBuf.theBuf));                     
  109425:	5e                   	pop    %esi                           
  109426:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  109429:	e8 86 ec ff ff       	call   1080b4 <free>                  
            free(tty);                                                
  10942e:	5b                   	pop    %ebx                           
  10942f:	ff 75 e0             	pushl  -0x20(%ebp)                    
  109432:	e9 78 ff ff ff       	jmp    1093af <rtems_termios_open+0x39b>
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
  109437:	50                   	push   %eax                           
  109438:	50                   	push   %eax                           
  109439:	89 f8                	mov    %edi,%eax                      
  10943b:	05 c8 00 00 00       	add    $0xc8,%eax                     
  109440:	50                   	push   %eax                           
  109441:	6a 00                	push   $0x0                           
  109443:	68 00 05 00 00       	push   $0x500                         
  109448:	68 00 04 00 00       	push   $0x400                         
  10944d:	6a 0a                	push   $0xa                           
                                   rtems_build_name ('T', 'x', 'T', c),
  10944f:	0f be 05 4c 31 12 00 	movsbl 0x12314c,%eax                  
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
  109456:	0d 00 54 78 54       	or     $0x54785400,%eax               
  10945b:	50                   	push   %eax                           
  10945c:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  10945f:	e8 e8 23 00 00       	call   10b84c <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)                                     
  109464:	83 c4 20             	add    $0x20,%esp                     
  109467:	85 c0                	test   %eax,%eax                      
  109469:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  10946c:	75 a5                	jne    109413 <rtems_termios_open+0x3ff><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
  10946e:	56                   	push   %esi                           
  10946f:	56                   	push   %esi                           
  109470:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  109473:	05 c4 00 00 00       	add    $0xc4,%eax                     
  109478:	50                   	push   %eax                           
  109479:	6a 00                	push   $0x0                           
  10947b:	68 00 05 00 00       	push   $0x500                         
  109480:	68 00 04 00 00       	push   $0x400                         
  109485:	6a 09                	push   $0x9                           
                                   rtems_build_name ('R', 'x', 'T', c),
  109487:	0f be 05 4c 31 12 00 	movsbl 0x12314c,%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 (                                        
  10948e:	0d 00 54 78 52       	or     $0x52785400,%eax               
  109493:	50                   	push   %eax                           
  109494:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  109497:	e8 b0 23 00 00       	call   10b84c <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)                                     
  10949c:	83 c4 20             	add    $0x20,%esp                     
  10949f:	85 c0                	test   %eax,%eax                      
  1094a1:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  1094a4:	0f 84 29 fe ff ff    	je     1092d3 <rtems_termios_open+0x2bf>
  1094aa:	e9 64 ff ff ff       	jmp    109413 <rtems_termios_open+0x3ff><== NOT EXECUTED
    tty->back = NULL;                                                 
    if (rtems_termios_ttyHead != NULL)                                
      rtems_termios_ttyHead->back = tty;                              
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
      rtems_termios_ttyTail = tty;                                    
  1094af:	a3 50 53 12 00       	mov    %eax,0x125350                  
  1094b4:	e9 47 fd ff ff       	jmp    109200 <rtems_termios_open+0x1ec>
                                                                      

00109acc <rtems_termios_puts>: * Send characters to device-specific code */ void rtems_termios_puts ( const void *_buf, int len, struct rtems_termios_tty *tty) {
  109acc:	55                   	push   %ebp                           
  109acd:	89 e5                	mov    %esp,%ebp                      
  109acf:	57                   	push   %edi                           
  109ad0:	56                   	push   %esi                           
  109ad1:	53                   	push   %ebx                           
  109ad2:	83 ec 1c             	sub    $0x1c,%esp                     
  109ad5:	8b 45 08             	mov    0x8(%ebp),%eax                 
  109ad8:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  109adb:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  109ade:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  const unsigned char *buf = _buf;                                    
  109ae1:	89 c6                	mov    %eax,%esi                      
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
  109ae3:	8b 8b b4 00 00 00    	mov    0xb4(%ebx),%ecx                
  109ae9:	85 c9                	test   %ecx,%ecx                      
  109aeb:	0f 84 eb 00 00 00    	je     109bdc <rtems_termios_puts+0x110>
    (*tty->device.write)(tty->minor, (void *)buf, len);               
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  109af1:	8b 83 80 00 00 00    	mov    0x80(%ebx),%eax                
  109af7:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  while (len) {                                                       
  109afa:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  109afd:	85 d2                	test   %edx,%edx                      
  109aff:	0f 84 cf 00 00 00    	je     109bd4 <rtems_termios_puts+0x108><== NEVER TAKEN
  109b05:	8d 76 00             	lea    0x0(%esi),%esi                 
     *  len -= ncopy                                                  
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
  109b08:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  109b0b:	40                   	inc    %eax                           
  109b0c:	8b 8b 88 00 00 00    	mov    0x88(%ebx),%ecx                
  109b12:	31 d2                	xor    %edx,%edx                      
  109b14:	f7 f1                	div    %ecx                           
  109b16:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  109b19:	89 55 e0             	mov    %edx,-0x20(%ebp)               
    rtems_interrupt_disable (level);                                  
  109b1c:	9c                   	pushf                                 
  109b1d:	fa                   	cli                                   
  109b1e:	5f                   	pop    %edi                           
    while (newHead == tty->rawOutBuf.Tail) {                          
  109b1f:	8b 93 84 00 00 00    	mov    0x84(%ebx),%edx                
  109b25:	3b 55 e0             	cmp    -0x20(%ebp),%edx               
  109b28:	75 3e                	jne    109b68 <rtems_termios_puts+0x9c>
  109b2a:	89 f8                	mov    %edi,%eax                      
  109b2c:	89 f7                	mov    %esi,%edi                      
  109b2e:	89 d6                	mov    %edx,%esi                      
      tty->rawOutBufState = rob_wait;                                 
  109b30:	c7 83 94 00 00 00 02 	movl   $0x2,0x94(%ebx)                
  109b37:	00 00 00                                                    
      rtems_interrupt_enable (level);                                 
  109b3a:	50                   	push   %eax                           
  109b3b:	9d                   	popf                                  
      sc = rtems_semaphore_obtain(                                    
  109b3c:	50                   	push   %eax                           
  109b3d:	6a 00                	push   $0x0                           
  109b3f:	6a 00                	push   $0x0                           
  109b41:	ff b3 8c 00 00 00    	pushl  0x8c(%ebx)                     
  109b47:	e8 64 1b 00 00       	call   10b6b0 <rtems_semaphore_obtain>
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
  109b4c:	83 c4 10             	add    $0x10,%esp                     
  109b4f:	85 c0                	test   %eax,%eax                      
  109b51:	0f 85 a0 00 00 00    	jne    109bf7 <rtems_termios_puts+0x12b><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
  109b57:	9c                   	pushf                                 
  109b58:	fa                   	cli                                   
  109b59:	58                   	pop    %eax                           
     * 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) {                          
  109b5a:	8b 93 84 00 00 00    	mov    0x84(%ebx),%edx                
  109b60:	39 f2                	cmp    %esi,%edx                      
  109b62:	74 cc                	je     109b30 <rtems_termios_puts+0x64><== NEVER TAKEN
  109b64:	89 fe                	mov    %edi,%esi                      
  109b66:	89 c7                	mov    %eax,%edi                      
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;              
  109b68:	8b 83 80 00 00 00    	mov    0x80(%ebx),%eax                
  109b6e:	8b 4b 7c             	mov    0x7c(%ebx),%ecx                
  109b71:	8a 16                	mov    (%esi),%dl                     
  109b73:	88 14 01             	mov    %dl,(%ecx,%eax,1)              
    tty->rawOutBuf.Head = newHead;                                    
  109b76:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  109b79:	89 83 80 00 00 00    	mov    %eax,0x80(%ebx)                
    if (tty->rawOutBufState == rob_idle) {                            
  109b7f:	8b 8b 94 00 00 00    	mov    0x94(%ebx),%ecx                
  109b85:	85 c9                	test   %ecx,%ecx                      
  109b87:	75 23                	jne    109bac <rtems_termios_puts+0xe0>
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
  109b89:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  109b8f:	a8 10                	test   $0x10,%al                      
  109b91:	74 26                	je     109bb9 <rtems_termios_puts+0xed><== ALWAYS TAKEN
        (*tty->device.write)(tty->minor,                              
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
      } else {                                                        
        /* remember that output has been stopped due to flow ctrl*/   
        tty->flow_ctrl |= FL_OSTOP;                                   
  109b93:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  109b99:	83 c8 20             	or     $0x20,%eax                     <== NOT EXECUTED
  109b9c:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy;                                 
  109ba2:	c7 83 94 00 00 00 01 	movl   $0x1,0x94(%ebx)                
  109ba9:	00 00 00                                                    
    }                                                                 
    rtems_interrupt_enable (level);                                   
  109bac:	57                   	push   %edi                           
  109bad:	9d                   	popf                                  
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, (void *)buf, len);               
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
  109bae:	ff 4d e4             	decl   -0x1c(%ebp)                    
  109bb1:	74 21                	je     109bd4 <rtems_termios_puts+0x108>
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;              
  109bb3:	46                   	inc    %esi                           
  109bb4:	e9 4f ff ff ff       	jmp    109b08 <rtems_termios_puts+0x3c>
    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,                              
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
  109bb9:	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,                              
  109bbf:	52                   	push   %edx                           
  109bc0:	6a 01                	push   $0x1                           
  109bc2:	03 43 7c             	add    0x7c(%ebx),%eax                
  109bc5:	50                   	push   %eax                           
  109bc6:	ff 73 10             	pushl  0x10(%ebx)                     
  109bc9:	ff 93 a4 00 00 00    	call   *0xa4(%ebx)                    
  109bcf:	83 c4 10             	add    $0x10,%esp                     
  109bd2:	eb ce                	jmp    109ba2 <rtems_termios_puts+0xd6>
      tty->rawOutBufState = rob_busy;                                 
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
  }                                                                   
}                                                                     
  109bd4:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109bd7:	5b                   	pop    %ebx                           
  109bd8:	5e                   	pop    %esi                           
  109bd9:	5f                   	pop    %edi                           
  109bda:	c9                   	leave                                 
  109bdb:	c3                   	ret                                   
  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);               
  109bdc:	89 55 10             	mov    %edx,0x10(%ebp)                
  109bdf:	89 45 0c             	mov    %eax,0xc(%ebp)                 
  109be2:	8b 43 10             	mov    0x10(%ebx),%eax                
  109be5:	89 45 08             	mov    %eax,0x8(%ebp)                 
  109be8:	8b 83 a4 00 00 00    	mov    0xa4(%ebx),%eax                
      tty->rawOutBufState = rob_busy;                                 
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
  }                                                                   
}                                                                     
  109bee:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  109bf1:	5b                   	pop    %ebx                           
  109bf2:	5e                   	pop    %esi                           
  109bf3:	5f                   	pop    %edi                           
  109bf4:	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);               
  109bf5:	ff e0                	jmp    *%eax                          
      tty->rawOutBufState = rob_wait;                                 
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
  109bf7:	83 ec 0c             	sub    $0xc,%esp                      
  109bfa:	50                   	push   %eax                           <== NOT EXECUTED
  109bfb:	e8 fc 20 00 00       	call   10bcfc <rtems_fatal_error_occurred><== NOT EXECUTED
                                                                      

0010a1d8 <rtems_termios_read>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_termios_read (void *arg) {
  10a1d8:	55                   	push   %ebp                           
  10a1d9:	89 e5                	mov    %esp,%ebp                      
  10a1db:	57                   	push   %edi                           
  10a1dc:	56                   	push   %esi                           
  10a1dd:	53                   	push   %ebx                           
  10a1de:	83 ec 30             	sub    $0x30,%esp                     
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
  10a1e1:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10a1e4:	8b 02                	mov    (%edx),%eax                    
  10a1e6:	8b 58 34             	mov    0x34(%eax),%ebx                
  uint32_t   count = args->count;                                     
  10a1e9:	8b 4a 10             	mov    0x10(%edx),%ecx                
  10a1ec:	89 4d dc             	mov    %ecx,-0x24(%ebp)               
  char      *buffer = args->buffer;                                   
  10a1ef:	8b 42 0c             	mov    0xc(%edx),%eax                 
  10a1f2:	89 45 d8             	mov    %eax,-0x28(%ebp)               
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  10a1f5:	6a 00                	push   $0x0                           
  10a1f7:	6a 00                	push   $0x0                           
  10a1f9:	ff 73 14             	pushl  0x14(%ebx)                     
  10a1fc:	e8 af 14 00 00       	call   10b6b0 <rtems_semaphore_obtain>
  10a201:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  if (sc != RTEMS_SUCCESSFUL)                                         
  10a204:	83 c4 10             	add    $0x10,%esp                     
  10a207:	85 c0                	test   %eax,%eax                      
  10a209:	75 35                	jne    10a240 <rtems_termios_read+0x68><== NEVER TAKEN
    return sc;                                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_read != NULL) {             
  10a20b:	8b 83 cc 00 00 00    	mov    0xcc(%ebx),%eax                
  10a211:	c1 e0 05             	shl    $0x5,%eax                      
  10a214:	8b 80 e8 4f 12 00    	mov    0x124fe8(%eax),%eax            
  10a21a:	85 c0                	test   %eax,%eax                      
  10a21c:	74 2e                	je     10a24c <rtems_termios_read+0x74>
    sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);          
  10a21e:	83 ec 08             	sub    $0x8,%esp                      
  10a221:	ff 75 08             	pushl  0x8(%ebp)                      
  10a224:	53                   	push   %ebx                           
  10a225:	ff d0                	call   *%eax                          
  10a227:	89 45 e0             	mov    %eax,-0x20(%ebp)               
    tty->tty_rcvwakeup = 0;                                           
  10a22a:	c7 83 e4 00 00 00 00 	movl   $0x0,0xe4(%ebx)                
  10a231:	00 00 00                                                    
    rtems_semaphore_release (tty->isem);                              
  10a234:	59                   	pop    %ecx                           
  10a235:	ff 73 14             	pushl  0x14(%ebx)                     
  10a238:	e8 6f 15 00 00       	call   10b7ac <rtems_semaphore_release>
    return sc;                                                        
  10a23d:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
  args->bytes_moved = args->count - count;                            
  tty->tty_rcvwakeup = 0;                                             
  rtems_semaphore_release (tty->isem);                                
  return sc;                                                          
}                                                                     
  10a240:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10a243:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a246:	5b                   	pop    %ebx                           
  10a247:	5e                   	pop    %esi                           
  10a248:	5f                   	pop    %edi                           
  10a249:	c9                   	leave                                 
  10a24a:	c3                   	ret                                   
  10a24b:	90                   	nop                                   
    tty->tty_rcvwakeup = 0;                                           
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
  10a24c:	8b 53 20             	mov    0x20(%ebx),%edx                
  10a24f:	39 53 24             	cmp    %edx,0x24(%ebx)                
  10a252:	74 5f                	je     10a2b3 <rtems_termios_read+0xdb><== ALWAYS TAKEN
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
  10a254:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10a257:	85 c0                	test   %eax,%eax                      
  10a259:	74 29                	je     10a284 <rtems_termios_read+0xac><== NEVER TAKEN
  10a25b:	8b 43 24             	mov    0x24(%ebx),%eax                
  10a25e:	3b 43 20             	cmp    0x20(%ebx),%eax                
  10a261:	7d 21                	jge    10a284 <rtems_termios_read+0xac><== NEVER TAKEN
  10a263:	8b 55 d8             	mov    -0x28(%ebp),%edx               
  10a266:	8b 7d dc             	mov    -0x24(%ebp),%edi               
  10a269:	eb 06                	jmp    10a271 <rtems_termios_read+0x99>
  10a26b:	90                   	nop                                   
  10a26c:	39 43 20             	cmp    %eax,0x20(%ebx)                
  10a26f:	7e 10                	jle    10a281 <rtems_termios_read+0xa9>
    *buffer++ = tty->cbuf[tty->cindex++];                             
  10a271:	8b 73 1c             	mov    0x1c(%ebx),%esi                
  10a274:	8a 0c 06             	mov    (%esi,%eax,1),%cl              
  10a277:	88 0a                	mov    %cl,(%edx)                     
  10a279:	42                   	inc    %edx                           
  10a27a:	40                   	inc    %eax                           
  10a27b:	89 43 24             	mov    %eax,0x24(%ebx)                
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
  10a27e:	4f                   	dec    %edi                           
  10a27f:	75 eb                	jne    10a26c <rtems_termios_read+0x94>
  10a281:	89 7d dc             	mov    %edi,-0x24(%ebp)               
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
  10a284:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10a287:	8b 42 10             	mov    0x10(%edx),%eax                
  10a28a:	2b 45 dc             	sub    -0x24(%ebp),%eax               
  10a28d:	89 42 18             	mov    %eax,0x18(%edx)                
  tty->tty_rcvwakeup = 0;                                             
  10a290:	c7 83 e4 00 00 00 00 	movl   $0x0,0xe4(%ebx)                
  10a297:	00 00 00                                                    
  rtems_semaphore_release (tty->isem);                                
  10a29a:	83 ec 0c             	sub    $0xc,%esp                      
  10a29d:	ff 73 14             	pushl  0x14(%ebx)                     
  10a2a0:	e8 07 15 00 00       	call   10b7ac <rtems_semaphore_release>
  return sc;                                                          
  10a2a5:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10a2a8:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10a2ab:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a2ae:	5b                   	pop    %ebx                           
  10a2af:	5e                   	pop    %esi                           
  10a2b0:	5f                   	pop    %edi                           
  10a2b1:	c9                   	leave                                 
  10a2b2:	c3                   	ret                                   
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
  10a2b3:	c7 43 20 00 00 00 00 	movl   $0x0,0x20(%ebx)                
  10a2ba:	c7 43 24 00 00 00 00 	movl   $0x0,0x24(%ebx)                
    tty->read_start_column = tty->column;                             
  10a2c1:	8b 43 28             	mov    0x28(%ebx),%eax                
  10a2c4:	89 43 2c             	mov    %eax,0x2c(%ebx)                
    if (tty->device.pollRead != NULL &&                               
  10a2c7:	8b 83 a0 00 00 00    	mov    0xa0(%ebx),%eax                
  10a2cd:	85 c0                	test   %eax,%eax                      
  10a2cf:	74 0e                	je     10a2df <rtems_termios_read+0x107>
  10a2d1:	8b 93 b4 00 00 00    	mov    0xb4(%ebx),%edx                
  10a2d7:	85 d2                	test   %edx,%edx                      
  10a2d9:	0f 84 82 01 00 00    	je     10a461 <rtems_termios_read+0x289>
 * Fill the input buffer from the raw input queue                     
 */                                                                   
static rtems_status_code                                              
fillBufferQueue (struct rtems_termios_tty *tty)                       
{                                                                     
  rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;        
  10a2df:	8b 73 74             	mov    0x74(%ebx),%esi                
  rtems_status_code sc;                                               
  int               wait = (int)1;                                    
  10a2e2:	c7 45 e4 01 00 00 00 	movl   $0x1,-0x1c(%ebp)               
        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)(                                       
  10a2e9:	8d 4b 49             	lea    0x49(%ebx),%ecx                
  10a2ec:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  10a2ef:	90                   	nop                                   
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
  10a2f0:	8b 53 5c             	mov    0x5c(%ebx),%edx                
  10a2f3:	8b 43 60             	mov    0x60(%ebx),%eax                
  10a2f6:	39 c2                	cmp    %eax,%edx                      
  10a2f8:	0f 84 06 01 00 00    	je     10a404 <rtems_termios_read+0x22c>
                       (tty->ccount < (CBUFSIZE-1))) {                
  10a2fe:	a1 40 31 12 00       	mov    0x123140,%eax                  
  10a303:	48                   	dec    %eax                           
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
  10a304:	3b 43 20             	cmp    0x20(%ebx),%eax                
  10a307:	7f 3c                	jg     10a345 <rtems_termios_read+0x16d><== ALWAYS TAKEN
  10a309:	e9 f6 00 00 00       	jmp    10a404 <rtems_termios_read+0x22c><== NOT EXECUTED
  10a30e:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
        if (siproc (c, tty))                                          
  10a310:	0f b6 c1             	movzbl %cl,%eax                       
  10a313:	89 da                	mov    %ebx,%edx                      
  10a315:	e8 9e fd ff ff       	call   10a0b8 <siproc>                
  10a31a:	85 c0                	test   %eax,%eax                      
  10a31c:	74 07                	je     10a325 <rtems_termios_read+0x14d>
          wait = 0;                                                   
      } else {                                                        
        siproc (c, tty);                                              
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
          wait = 0;                                                   
  10a31e:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
      }                                                               
      timeout = tty->rawInBufSemaphoreTimeout;                        
  10a325:	8b 73 70             	mov    0x70(%ebx),%esi                
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
  10a328:	8b 53 5c             	mov    0x5c(%ebx),%edx                
  10a32b:	8b 43 60             	mov    0x60(%ebx),%eax                
  10a32e:	39 c2                	cmp    %eax,%edx                      
  10a330:	0f 84 ce 00 00 00    	je     10a404 <rtems_termios_read+0x22c>
                       (tty->ccount < (CBUFSIZE-1))) {                
  10a336:	a1 40 31 12 00       	mov    0x123140,%eax                  
  10a33b:	48                   	dec    %eax                           
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
  10a33c:	39 43 20             	cmp    %eax,0x20(%ebx)                
  10a33f:	0f 8d bf 00 00 00    	jge    10a404 <rtems_termios_read+0x22c><== NEVER TAKEN
                       (tty->ccount < (CBUFSIZE-1))) {                
      unsigned char c;                                                
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
  10a345:	8b 43 5c             	mov    0x5c(%ebx),%eax                
  10a348:	8b 4b 64             	mov    0x64(%ebx),%ecx                
  10a34b:	40                   	inc    %eax                           
  10a34c:	31 d2                	xor    %edx,%edx                      
  10a34e:	f7 f1                	div    %ecx                           
      c = tty->rawInBuf.theBuf[newHead];                              
  10a350:	8b 43 58             	mov    0x58(%ebx),%eax                
  10a353:	8a 0c 10             	mov    (%eax,%edx,1),%cl              
      tty->rawInBuf.Head = newHead;                                   
  10a356:	89 53 5c             	mov    %edx,0x5c(%ebx)                
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
  10a359:	8b 43 60             	mov    0x60(%ebx),%eax                
  10a35c:	8b 7b 64             	mov    0x64(%ebx),%edi                
          % tty->rawInBuf.Size)                                       
  10a35f:	8b 73 64             	mov    0x64(%ebx),%esi                
      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)             
  10a362:	8d 04 07             	lea    (%edi,%eax,1),%eax             
  10a365:	29 d0                	sub    %edx,%eax                      
          % tty->rawInBuf.Size)                                       
  10a367:	31 d2                	xor    %edx,%edx                      
  10a369:	f7 f6                	div    %esi                           
      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)             
  10a36b:	3b 93 bc 00 00 00    	cmp    0xbc(%ebx),%edx                
  10a371:	73 5d                	jae    10a3d0 <rtems_termios_read+0x1f8><== NEVER TAKEN
          % tty->rawInBuf.Size)                                       
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
  10a373:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  10a379:	83 e0 fe             	and    $0xfffffffe,%eax               
  10a37c:	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))               
  10a382:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  10a388:	25 02 02 00 00       	and    $0x202,%eax                    
  10a38d:	3d 02 02 00 00       	cmp    $0x202,%eax                    
  10a392:	0f 84 94 00 00 00    	je     10a42c <rtems_termios_read+0x254><== NEVER TAKEN
            && ((tty->rawOutBufState == rob_idle)                     
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
            tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);     
        } else if (tty->flow_ctrl & FL_MDRTS) {                       
  10a398:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  10a39e:	f6 c4 01             	test   $0x1,%ah                       
  10a3a1:	74 2d                	je     10a3d0 <rtems_termios_read+0x1f8><== ALWAYS TAKEN
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
  10a3a3:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10a3a9:	83 e0 fb             	and    $0xfffffffb,%eax               <== NOT EXECUTED
  10a3ac:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
  10a3b2:	8b 83 b0 00 00 00    	mov    0xb0(%ebx),%eax                <== NOT EXECUTED
  10a3b8:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  10a3ba:	74 14                	je     10a3d0 <rtems_termios_read+0x1f8><== NOT EXECUTED
            tty->device.startRemoteTx(tty->minor);                    
  10a3bc:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10a3bf:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  10a3c2:	88 4d d0             	mov    %cl,-0x30(%ebp)                <== NOT EXECUTED
  10a3c5:	ff d0                	call   *%eax                          <== NOT EXECUTED
  10a3c7:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10a3ca:	8a 4d d0             	mov    -0x30(%ebp),%cl                <== NOT EXECUTED
  10a3cd:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
  10a3d0:	f6 43 3c 02          	testb  $0x2,0x3c(%ebx)                
  10a3d4:	0f 85 36 ff ff ff    	jne    10a310 <rtems_termios_read+0x138><== ALWAYS TAKEN
        if (siproc (c, tty))                                          
          wait = 0;                                                   
      } else {                                                        
        siproc (c, tty);                                              
  10a3da:	0f b6 c1             	movzbl %cl,%eax                       <== NOT EXECUTED
  10a3dd:	89 da                	mov    %ebx,%edx                      <== NOT EXECUTED
  10a3df:	e8 d4 fc ff ff       	call   10a0b8 <siproc>                <== NOT EXECUTED
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
  10a3e4:	0f b6 43 47          	movzbl 0x47(%ebx),%eax                <== NOT EXECUTED
  10a3e8:	39 43 20             	cmp    %eax,0x20(%ebx)                <== NOT EXECUTED
  10a3eb:	0f 8d 2d ff ff ff    	jge    10a31e <rtems_termios_read+0x146><== NOT EXECUTED
          wait = 0;                                                   
      }                                                               
      timeout = tty->rawInBufSemaphoreTimeout;                        
  10a3f1:	8b 73 70             	mov    0x70(%ebx),%esi                <== NOT EXECUTED
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
  10a3f4:	8b 53 5c             	mov    0x5c(%ebx),%edx                <== NOT EXECUTED
  10a3f7:	8b 43 60             	mov    0x60(%ebx),%eax                <== NOT EXECUTED
  10a3fa:	39 c2                	cmp    %eax,%edx                      <== NOT EXECUTED
  10a3fc:	0f 85 34 ff ff ff    	jne    10a336 <rtems_termios_read+0x15e><== NOT EXECUTED
  10a402:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * Wait for characters                                            
     */                                                               
    if ( wait ) {                                                     
  10a404:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10a407:	85 c9                	test   %ecx,%ecx                      
  10a409:	0f 84 45 fe ff ff    	je     10a254 <rtems_termios_read+0x7c>
      sc = rtems_semaphore_obtain(                                    
  10a40f:	52                   	push   %edx                           
  10a410:	56                   	push   %esi                           
  10a411:	ff 73 6c             	pushl  0x6c(%ebx)                     
  10a414:	ff 73 68             	pushl  0x68(%ebx)                     
  10a417:	e8 94 12 00 00       	call   10b6b0 <rtems_semaphore_obtain>
        tty->rawInBuf.Semaphore, tty->rawInBufSemaphoreOptions, timeout);
      if (sc != RTEMS_SUCCESSFUL)                                     
  10a41c:	83 c4 10             	add    $0x10,%esp                     
  10a41f:	85 c0                	test   %eax,%eax                      
  10a421:	0f 84 c9 fe ff ff    	je     10a2f0 <rtems_termios_read+0x118><== ALWAYS TAKEN
  10a427:	e9 28 fe ff ff       	jmp    10a254 <rtems_termios_read+0x7c><== NOT EXECUTED
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
  10a42c:	8b bb 94 00 00 00    	mov    0x94(%ebx),%edi                <== NOT EXECUTED
  10a432:	85 ff                	test   %edi,%edi                      <== NOT EXECUTED
  10a434:	74 0e                	je     10a444 <rtems_termios_read+0x26c><== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
  10a436:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10a43c:	a8 20                	test   $0x20,%al                      <== NOT EXECUTED
  10a43e:	0f 84 54 ff ff ff    	je     10a398 <rtems_termios_read+0x1c0><== NOT EXECUTED
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
  10a444:	56                   	push   %esi                           <== NOT EXECUTED
  10a445:	6a 01                	push   $0x1                           <== NOT EXECUTED
  10a447:	ff 75 d4             	pushl  -0x2c(%ebp)                    <== NOT EXECUTED
  10a44a:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  10a44d:	88 4d d0             	mov    %cl,-0x30(%ebp)                <== NOT EXECUTED
  10a450:	ff 93 a4 00 00 00    	call   *0xa4(%ebx)                    <== NOT EXECUTED
  10a456:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10a459:	8a 4d d0             	mov    -0x30(%ebp),%cl                <== NOT EXECUTED
  10a45c:	e9 6f ff ff ff       	jmp    10a3d0 <rtems_termios_read+0x1f8><== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
  10a461:	f6 43 3c 02          	testb  $0x2,0x3c(%ebx)                
  10a465:	75 1d                	jne    10a484 <rtems_termios_read+0x2ac><== NEVER TAKEN
  10a467:	eb 39                	jmp    10a4a2 <rtems_termios_read+0x2ca>
  10a469:	8d 76 00             	lea    0x0(%esi),%esi                 
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        rtems_task_wake_after (1);                                    
      } else {                                                        
        if  (siproc (n, tty))                                         
  10a46c:	0f b6 c0             	movzbl %al,%eax                       
  10a46f:	89 da                	mov    %ebx,%edx                      
  10a471:	e8 42 fc ff ff       	call   10a0b8 <siproc>                
  10a476:	85 c0                	test   %eax,%eax                      
  10a478:	0f 85 d6 fd ff ff    	jne    10a254 <rtems_termios_read+0x7c><== NEVER TAKEN
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
  10a47e:	8b 83 a0 00 00 00    	mov    0xa0(%ebx),%eax                
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
  10a484:	83 ec 0c             	sub    $0xc,%esp                      
  10a487:	ff 73 10             	pushl  0x10(%ebx)                     
  10a48a:	ff d0                	call   *%eax                          
      if (n < 0) {                                                    
  10a48c:	83 c4 10             	add    $0x10,%esp                     
  10a48f:	85 c0                	test   %eax,%eax                      
  10a491:	79 d9                	jns    10a46c <rtems_termios_read+0x294><== NEVER TAKEN
        rtems_task_wake_after (1);                                    
  10a493:	83 ec 0c             	sub    $0xc,%esp                      
  10a496:	6a 01                	push   $0x1                           
  10a498:	e8 cb 16 00 00       	call   10bb68 <rtems_task_wake_after> 
  10a49d:	83 c4 10             	add    $0x10,%esp                     
  10a4a0:	eb dc                	jmp    10a47e <rtems_termios_read+0x2a6>
      }                                                               
    }                                                                 
  } else {                                                            
    rtems_interval then, now;                                         
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
  10a4a2:	e8 01 0b 00 00       	call   10afa8 <rtems_clock_get_ticks_since_boot>
  10a4a7:	89 c6                	mov    %eax,%esi                      
  10a4a9:	8d 76 00             	lea    0x0(%esi),%esi                 
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
  10a4ac:	83 ec 0c             	sub    $0xc,%esp                      
  10a4af:	ff 73 10             	pushl  0x10(%ebx)                     
  10a4b2:	ff 93 a0 00 00 00    	call   *0xa0(%ebx)                    
      if (n < 0) {                                                    
  10a4b8:	83 c4 10             	add    $0x10,%esp                     
  10a4bb:	85 c0                	test   %eax,%eax                      
  10a4bd:	78 25                	js     10a4e4 <rtems_termios_read+0x30c>
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
      } else {                                                        
        siproc (n, tty);                                              
  10a4bf:	0f b6 c0             	movzbl %al,%eax                       
  10a4c2:	89 da                	mov    %ebx,%edx                      
  10a4c4:	e8 ef fb ff ff       	call   10a0b8 <siproc>                
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
  10a4c9:	8a 43 47             	mov    0x47(%ebx),%al                 
  10a4cc:	0f b6 d0             	movzbl %al,%edx                       
  10a4cf:	39 53 20             	cmp    %edx,0x20(%ebx)                
  10a4d2:	0f 8d 7c fd ff ff    	jge    10a254 <rtems_termios_read+0x7c><== NEVER TAKEN
          break;                                                      
        if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])      
  10a4d8:	84 c0                	test   %al,%al                        
  10a4da:	74 d0                	je     10a4ac <rtems_termios_read+0x2d4><== NEVER TAKEN
  10a4dc:	80 7b 46 00          	cmpb   $0x0,0x46(%ebx)                
  10a4e0:	74 ca                	je     10a4ac <rtems_termios_read+0x2d4><== NEVER TAKEN
  10a4e2:	eb be                	jmp    10a4a2 <rtems_termios_read+0x2ca>
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        if (tty->termios.c_cc[VMIN]) {                                
  10a4e4:	80 7b 47 00          	cmpb   $0x0,0x47(%ebx)                
  10a4e8:	74 1d                	je     10a507 <rtems_termios_read+0x32f><== NEVER TAKEN
          if (tty->termios.c_cc[VTIME] && tty->ccount) {              
  10a4ea:	80 7b 46 00          	cmpb   $0x0,0x46(%ebx)                
  10a4ee:	74 08                	je     10a4f8 <rtems_termios_read+0x320><== NEVER TAKEN
  10a4f0:	8b 43 20             	mov    0x20(%ebx),%eax                
  10a4f3:	85 c0                	test   %eax,%eax                      
  10a4f5:	75 1a                	jne    10a511 <rtems_termios_read+0x339>
  10a4f7:	90                   	nop                                   
          now = rtems_clock_get_ticks_since_boot();                   
          if ((now - then) > tty->vtimeTicks) {                       
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
  10a4f8:	83 ec 0c             	sub    $0xc,%esp                      
  10a4fb:	6a 01                	push   $0x1                           
  10a4fd:	e8 66 16 00 00       	call   10bb68 <rtems_task_wake_after> 
  10a502:	83 c4 10             	add    $0x10,%esp                     
  10a505:	eb a5                	jmp    10a4ac <rtems_termios_read+0x2d4>
            if ((now - then) > tty->vtimeTicks) {                     
              break;                                                  
            }                                                         
          }                                                           
        } else {                                                      
          if (!tty->termios.c_cc[VTIME])                              
  10a507:	80 7b 46 00          	cmpb   $0x0,0x46(%ebx)                <== NOT EXECUTED
  10a50b:	0f 84 43 fd ff ff    	je     10a254 <rtems_termios_read+0x7c><== NOT EXECUTED
            break;                                                    
          now = rtems_clock_get_ticks_since_boot();                   
  10a511:	e8 92 0a 00 00       	call   10afa8 <rtems_clock_get_ticks_since_boot>
          if ((now - then) > tty->vtimeTicks) {                       
  10a516:	29 f0                	sub    %esi,%eax                      
  10a518:	3b 43 54             	cmp    0x54(%ebx),%eax                
  10a51b:	76 db                	jbe    10a4f8 <rtems_termios_read+0x320>
  10a51d:	e9 32 fd ff ff       	jmp    10a254 <rtems_termios_read+0x7c>
                                                                      

0010a8b8 <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) {
  10a8b8:	55                   	push   %ebp                           
  10a8b9:	89 e5                	mov    %esp,%ebp                      
  10a8bb:	57                   	push   %edi                           
  10a8bc:	56                   	push   %esi                           
  10a8bd:	53                   	push   %ebx                           
  10a8be:	83 ec 0c             	sub    $0xc,%esp                      
  10a8c1:	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))         
  10a8c4:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  10a8ca:	25 03 04 00 00       	and    $0x403,%eax                    
  10a8cf:	3d 01 04 00 00       	cmp    $0x401,%eax                    
  10a8d4:	0f 84 62 01 00 00    	je     10aa3c <rtems_termios_refill_transmitter+0x184><== NEVER TAKEN
    tty->flow_ctrl |= FL_ISNTXOF;                                     
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
                                                                      
  } else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF)) == FL_ISNTXOF) {
  10a8da:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  10a8e0:	83 e0 03             	and    $0x3,%eax                      
  10a8e3:	83 f8 02             	cmp    $0x2,%eax                      
  10a8e6:	0f 84 8c 01 00 00    	je     10aa78 <rtems_termios_refill_transmitter+0x1c0><== NEVER TAKEN
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
  10a8ec:	8b 93 80 00 00 00    	mov    0x80(%ebx),%edx                
  10a8f2:	8b 83 84 00 00 00    	mov    0x84(%ebx),%eax                
  10a8f8:	39 c2                	cmp    %eax,%edx                      
  10a8fa:	0f 84 a4 00 00 00    	je     10a9a4 <rtems_termios_refill_transmitter+0xec>
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
      }                                                               
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
  10a900:	9c                   	pushf                                 
  10a901:	fa                   	cli                                   
  10a902:	58                   	pop    %eax                           
    len = tty->t_dqlen;                                               
  10a903:	8b b3 90 00 00 00    	mov    0x90(%ebx),%esi                
    tty->t_dqlen = 0;                                                 
  10a909:	c7 83 90 00 00 00 00 	movl   $0x0,0x90(%ebx)                
  10a910:	00 00 00                                                    
    rtems_interrupt_enable(level);                                    
  10a913:	50                   	push   %eax                           
  10a914:	9d                   	popf                                  
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
  10a915:	8b 83 84 00 00 00    	mov    0x84(%ebx),%eax                
  10a91b:	8b 8b 88 00 00 00    	mov    0x88(%ebx),%ecx                
  10a921:	8d 04 06             	lea    (%esi,%eax,1),%eax             
  10a924:	31 d2                	xor    %edx,%edx                      
  10a926:	f7 f1                	div    %ecx                           
  10a928:	89 d6                	mov    %edx,%esi                      
    tty->rawOutBuf.Tail = newTail;                                    
  10a92a:	89 93 84 00 00 00    	mov    %edx,0x84(%ebx)                
    if (tty->rawOutBufState == rob_wait) {                            
  10a930:	83 bb 94 00 00 00 02 	cmpl   $0x2,0x94(%ebx)                
  10a937:	0f 84 e7 00 00 00    	je     10aa24 <rtems_termios_refill_transmitter+0x16c>
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
    }                                                                 
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
  10a93d:	8b 83 80 00 00 00    	mov    0x80(%ebx),%eax                
  10a943:	39 f0                	cmp    %esi,%eax                      
  10a945:	74 79                	je     10a9c0 <rtems_termios_refill_transmitter+0x108>
      if ( tty->tty_snd.sw_pfn != NULL) {                             
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
      }                                                               
    }                                                                 
    /* check, whether output should stop due to received XOFF */      
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
  10a947:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  10a94d:	25 10 02 00 00       	and    $0x210,%eax                    
  10a952:	3d 10 02 00 00       	cmp    $0x210,%eax                    
  10a957:	0f 84 57 01 00 00    	je     10aab4 <rtems_termios_refill_transmitter+0x1fc><== NEVER TAKEN
      nToSend = 0;                                                    
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
  10a95d:	8b 83 80 00 00 00    	mov    0x80(%ebx),%eax                
  10a963:	39 c6                	cmp    %eax,%esi                      
  10a965:	0f 87 91 00 00 00    	ja     10a9fc <rtems_termios_refill_transmitter+0x144>
        nToSend = tty->rawOutBuf.Size - newTail;                      
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
  10a96b:	8b bb 80 00 00 00    	mov    0x80(%ebx),%edi                
  10a971:	29 f7                	sub    %esi,%edi                      
      /* 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)) {                   
  10a973:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  10a979:	f6 c4 06             	test   $0x6,%ah                       
  10a97c:	0f 85 91 00 00 00    	jne    10aa13 <rtems_termios_refill_transmitter+0x15b>
  10a982:	89 f8                	mov    %edi,%eax                      
        nToSend = 1;                                                  
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
  10a984:	c7 83 94 00 00 00 01 	movl   $0x1,0x94(%ebx)                
  10a98b:	00 00 00                                                    
      (*tty->device.write)(                                           
  10a98e:	52                   	push   %edx                           
  10a98f:	50                   	push   %eax                           
  10a990:	8b 43 7c             	mov    0x7c(%ebx),%eax                
  10a993:	01 f0                	add    %esi,%eax                      
  10a995:	50                   	push   %eax                           
  10a996:	ff 73 10             	pushl  0x10(%ebx)                     
  10a999:	ff 93 a4 00 00 00    	call   *0xa4(%ebx)                    
  10a99f:	83 c4 10             	add    $0x10,%esp                     
  10a9a2:	eb 48                	jmp    10a9ec <rtems_termios_refill_transmitter+0x134>
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
  10a9a4:	83 bb 94 00 00 00 02 	cmpl   $0x2,0x94(%ebx)                
  10a9ab:	0f 84 2b 01 00 00    	je     10aadc <rtems_termios_refill_transmitter+0x224><== NEVER TAKEN
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
      }                                                               
      return 0;                                                       
  10a9b1:	31 ff                	xor    %edi,%edi                      
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
  10a9b3:	89 f8                	mov    %edi,%eax                      
  10a9b5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a9b8:	5b                   	pop    %ebx                           
  10a9b9:	5e                   	pop    %esi                           
  10a9ba:	5f                   	pop    %edi                           
  10a9bb:	c9                   	leave                                 
  10a9bc:	c3                   	ret                                   
  10a9bd:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
  10a9c0:	c7 83 94 00 00 00 00 	movl   $0x0,0x94(%ebx)                
  10a9c7:	00 00 00                                                    
      nToSend = 0;                                                    
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
  10a9ca:	8b 83 d4 00 00 00    	mov    0xd4(%ebx),%eax                
  10a9d0:	85 c0                	test   %eax,%eax                      
  10a9d2:	0f 84 1c 01 00 00    	je     10aaf4 <rtems_termios_refill_transmitter+0x23c><== ALWAYS TAKEN
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
  10a9d8:	83 ec 08             	sub    $0x8,%esp                      <== NOT EXECUTED
  10a9db:	ff b3 d8 00 00 00    	pushl  0xd8(%ebx)                     <== NOT EXECUTED
  10a9e1:	8d 53 30             	lea    0x30(%ebx),%edx                <== NOT EXECUTED
  10a9e4:	52                   	push   %edx                           <== NOT EXECUTED
  10a9e5:	ff d0                	call   *%eax                          <== NOT EXECUTED
  10a9e7:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
      nToSend = 0;                                                    
  10a9ea:	31 ff                	xor    %edi,%edi                      <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
      (*tty->device.write)(                                           
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  10a9ec:	89 b3 84 00 00 00    	mov    %esi,0x84(%ebx)                
  }                                                                   
  return nToSend;                                                     
}                                                                     
  10a9f2:	89 f8                	mov    %edi,%eax                      
  10a9f4:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a9f7:	5b                   	pop    %ebx                           
  10a9f8:	5e                   	pop    %esi                           
  10a9f9:	5f                   	pop    %edi                           
  10a9fa:	c9                   	leave                                 
  10a9fb:	c3                   	ret                                   
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
        nToSend = tty->rawOutBuf.Size - newTail;                      
  10a9fc:	8b bb 88 00 00 00    	mov    0x88(%ebx),%edi                
  10aa02:	29 f7                	sub    %esi,%edi                      
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
      /* when flow control XON or XOF, don't send blocks of data     */
      /* to allow fast reaction on incoming flow ctrl and low latency*/
      /* for outgoing flow control                                   */
      if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                   
  10aa04:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  10aa0a:	f6 c4 06             	test   $0x6,%ah                       
  10aa0d:	0f 84 6f ff ff ff    	je     10a982 <rtems_termios_refill_transmitter+0xca><== ALWAYS TAKEN
  10aa13:	b8 01 00 00 00       	mov    $0x1,%eax                      
        nToSend = 1;                                                  
  10aa18:	bf 01 00 00 00       	mov    $0x1,%edi                      
  10aa1d:	e9 62 ff ff ff       	jmp    10a984 <rtems_termios_refill_transmitter+0xcc>
  10aa22:	66 90                	xchg   %ax,%ax                        
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
      /*                                                              
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
  10aa24:	83 ec 0c             	sub    $0xc,%esp                      
  10aa27:	ff b3 8c 00 00 00    	pushl  0x8c(%ebx)                     
  10aa2d:	e8 7a 0d 00 00       	call   10b7ac <rtems_semaphore_release>
  10aa32:	83 c4 10             	add    $0x10,%esp                     
  10aa35:	e9 03 ff ff ff       	jmp    10a93d <rtems_termios_refill_transmitter+0x85>
  10aa3a:	66 90                	xchg   %ax,%ax                        
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
      == (FL_MDXOF | FL_IREQXOF)) {                                   
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTOP]), 1);
  10aa3c:	56                   	push   %esi                           <== NOT EXECUTED
  10aa3d:	6a 01                	push   $0x1                           <== NOT EXECUTED
  10aa3f:	8d 43 4a             	lea    0x4a(%ebx),%eax                <== NOT EXECUTED
  10aa42:	50                   	push   %eax                           <== NOT EXECUTED
  10aa43:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  10aa46:	ff 93 a4 00 00 00    	call   *0xa4(%ebx)                    <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
  10aa4c:	9c                   	pushf                                 <== NOT EXECUTED
  10aa4d:	fa                   	cli                                   <== NOT EXECUTED
  10aa4e:	5a                   	pop    %edx                           <== NOT EXECUTED
    tty->t_dqlen--;                                                   
  10aa4f:	ff 8b 90 00 00 00    	decl   0x90(%ebx)                     <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
  10aa55:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10aa5b:	83 c8 02             	or     $0x2,%eax                      <== NOT EXECUTED
  10aa5e:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
  10aa64:	52                   	push   %edx                           <== NOT EXECUTED
  10aa65:	9d                   	popf                                  <== NOT EXECUTED
  10aa66:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
                                                                      
    nToSend = 1;                                                      
  10aa69:	bf 01 00 00 00       	mov    $0x1,%edi                      <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
  10aa6e:	89 f8                	mov    %edi,%eax                      <== NOT EXECUTED
  10aa70:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  10aa73:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10aa74:	5e                   	pop    %esi                           <== NOT EXECUTED
  10aa75:	5f                   	pop    %edi                           <== NOT EXECUTED
  10aa76:	c9                   	leave                                 <== NOT EXECUTED
  10aa77:	c3                   	ret                                   <== NOT EXECUTED
     * FIXME: this .write call will generate another                  
     * dequeue callback. This will advance the "Tail" in the data     
     * buffer, although the corresponding data is not yet out!        
     * Therefore the dequeue "length" should be reduced by 1          
     */                                                               
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);
  10aa78:	51                   	push   %ecx                           <== NOT EXECUTED
  10aa79:	6a 01                	push   $0x1                           <== NOT EXECUTED
  10aa7b:	8d 43 49             	lea    0x49(%ebx),%eax                <== NOT EXECUTED
  10aa7e:	50                   	push   %eax                           <== NOT EXECUTED
  10aa7f:	ff 73 10             	pushl  0x10(%ebx)                     <== NOT EXECUTED
  10aa82:	ff 93 a4 00 00 00    	call   *0xa4(%ebx)                    <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
  10aa88:	9c                   	pushf                                 <== NOT EXECUTED
  10aa89:	fa                   	cli                                   <== NOT EXECUTED
  10aa8a:	5a                   	pop    %edx                           <== NOT EXECUTED
    tty->t_dqlen--;                                                   
  10aa8b:	ff 8b 90 00 00 00    	decl   0x90(%ebx)                     <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
  10aa91:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10aa97:	83 e0 fd             	and    $0xfffffffd,%eax               <== NOT EXECUTED
  10aa9a:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
  10aaa0:	52                   	push   %edx                           <== NOT EXECUTED
  10aaa1:	9d                   	popf                                  <== NOT EXECUTED
  10aaa2:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
                                                                      
    nToSend = 1;                                                      
  10aaa5:	bf 01 00 00 00       	mov    $0x1,%edi                      <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
  10aaaa:	89 f8                	mov    %edi,%eax                      <== NOT EXECUTED
  10aaac:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  10aaaf:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10aab0:	5e                   	pop    %esi                           <== NOT EXECUTED
  10aab1:	5f                   	pop    %edi                           <== NOT EXECUTED
  10aab2:	c9                   	leave                                 <== NOT EXECUTED
  10aab3:	c3                   	ret                                   <== NOT EXECUTED
    /* check, whether output should stop due to received XOFF */      
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
       ==                (FL_MDXON | FL_ORCVXOF)) {                   
      /* Buffer not empty, but output stops due to XOFF */            
      /* set flag, that output has been stopped */                    
      rtems_interrupt_disable(level);                                 
  10aab4:	9c                   	pushf                                 <== NOT EXECUTED
  10aab5:	fa                   	cli                                   <== NOT EXECUTED
  10aab6:	5a                   	pop    %edx                           <== NOT EXECUTED
      tty->flow_ctrl |= FL_OSTOP;                                     
  10aab7:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                <== NOT EXECUTED
  10aabd:	83 c8 20             	or     $0x20,%eax                     <== NOT EXECUTED
  10aac0:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
  10aac6:	c7 83 94 00 00 00 01 	movl   $0x1,0x94(%ebx)                <== NOT EXECUTED
  10aacd:	00 00 00                                                    
      rtems_interrupt_enable(level);                                  
  10aad0:	52                   	push   %edx                           <== NOT EXECUTED
  10aad1:	9d                   	popf                                  <== NOT EXECUTED
      nToSend = 0;                                                    
  10aad2:	31 ff                	xor    %edi,%edi                      <== NOT EXECUTED
  10aad4:	e9 13 ff ff ff       	jmp    10a9ec <rtems_termios_refill_transmitter+0x134><== NOT EXECUTED
  10aad9:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
  10aadc:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10aadf:	ff b3 8c 00 00 00    	pushl  0x8c(%ebx)                     <== NOT EXECUTED
  10aae5:	e8 c2 0c 00 00       	call   10b7ac <rtems_semaphore_release><== NOT EXECUTED
  10aaea:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
      }                                                               
      return 0;                                                       
  10aaed:	31 ff                	xor    %edi,%edi                      <== NOT EXECUTED
  10aaef:	e9 bf fe ff ff       	jmp    10a9b3 <rtems_termios_refill_transmitter+0xfb><== NOT EXECUTED
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
      nToSend = 0;                                                    
  10aaf4:	31 ff                	xor    %edi,%edi                      
  10aaf6:	e9 f1 fe ff ff       	jmp    10a9ec <rtems_termios_refill_transmitter+0x134>
                                                                      

0010a84c <rtems_termios_rxdaemon>: /* * this task actually processes any receive events */ static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument) {
  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:	8d 75 e0             	lea    -0x20(%ebp),%esi               
  10a85b:	8d 7d e7             	lea    -0x19(%ebp),%edi               
  10a85e:	eb 14                	jmp    10a874 <rtems_termios_rxdaemon+0x28>
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
  10a860:	83 ec 0c             	sub    $0xc,%esp                      
  10a863:	ff 73 10             	pushl  0x10(%ebx)                     
  10a866:	ff 93 a0 00 00 00    	call   *0xa0(%ebx)                    
    if (c != EOF) {                                                   
  10a86c:	83 c4 10             	add    $0x10,%esp                     
  10a86f:	83 f8 ff             	cmp    $0xffffffff,%eax               
  10a872:	75 30                	jne    10a8a4 <rtems_termios_rxdaemon+0x58>
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
  10a874:	56                   	push   %esi                           
  10a875:	6a 00                	push   $0x0                           
  10a877:	6a 02                	push   $0x2                           
  10a879:	6a 03                	push   $0x3                           
  10a87b:	e8 94 07 00 00       	call   10b014 <rtems_event_receive>   
      (TERMIOS_RX_PROC_EVENT | TERMIOS_RX_TERMINATE_EVENT),           
      RTEMS_EVENT_ANY | RTEMS_WAIT,                                   
      RTEMS_NO_TIMEOUT,                                               
      &the_event                                                      
    );                                                                
    if ((the_event & TERMIOS_RX_TERMINATE_EVENT) != 0) {              
  10a880:	83 c4 10             	add    $0x10,%esp                     
  10a883:	f6 45 e0 01          	testb  $0x1,-0x20(%ebp)               
  10a887:	74 d7                	je     10a860 <rtems_termios_rxdaemon+0x14><== ALWAYS TAKEN
      tty->rxTaskId = 0;                                              
  10a889:	c7 83 c4 00 00 00 00 	movl   $0x0,0xc4(%ebx)                <== NOT EXECUTED
  10a890:	00 00 00                                                    
      rtems_task_delete(RTEMS_SELF);                                  
  10a893:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10a896:	6a 00                	push   $0x0                           <== NOT EXECUTED
  10a898:	e8 0f 11 00 00       	call   10b9ac <rtems_task_delete>     <== NOT EXECUTED
  10a89d:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10a8a0:	eb be                	jmp    10a860 <rtems_termios_rxdaemon+0x14><== NOT EXECUTED
  10a8a2:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
    c = tty->device.pollRead(tty->minor);                             
    if (c != EOF) {                                                   
      /*                                                              
       * pollRead did call enqueue on its own                         
       */                                                             
      c_buf = c;                                                      
  10a8a4:	88 45 e7             	mov    %al,-0x19(%ebp)                
      rtems_termios_enqueue_raw_characters ( tty,&c_buf,1);           
  10a8a7:	50                   	push   %eax                           
  10a8a8:	6a 01                	push   $0x1                           
  10a8aa:	57                   	push   %edi                           
  10a8ab:	53                   	push   %ebx                           
  10a8ac:	e8 8f fc ff ff       	call   10a540 <rtems_termios_enqueue_raw_characters>
  10a8b1:	83 c4 10             	add    $0x10,%esp                     
  10a8b4:	eb be                	jmp    10a874 <rtems_termios_rxdaemon+0x28>
                                                                      

0010aafc <rtems_termios_txdaemon>: /* * this task actually processes any transmit events */ static rtems_task rtems_termios_txdaemon(rtems_task_argument argument) {
  10aafc:	55                   	push   %ebp                           
  10aafd:	89 e5                	mov    %esp,%ebp                      
  10aaff:	56                   	push   %esi                           
  10ab00:	53                   	push   %ebx                           
  10ab01:	83 ec 10             	sub    $0x10,%esp                     
  10ab04:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10ab07:	8d 75 f4             	lea    -0xc(%ebp),%esi                
  10ab0a:	eb 28                	jmp    10ab34 <rtems_termios_txdaemon+0x38>
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
  10ab0c:	8b 83 cc 00 00 00    	mov    0xcc(%ebx),%eax                
  10ab12:	c1 e0 05             	shl    $0x5,%eax                      
  10ab15:	8b 80 f4 4f 12 00    	mov    0x124ff4(%eax),%eax            
  10ab1b:	85 c0                	test   %eax,%eax                      
  10ab1d:	74 09                	je     10ab28 <rtems_termios_txdaemon+0x2c><== ALWAYS TAKEN
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
  10ab1f:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10ab22:	53                   	push   %ebx                           <== NOT EXECUTED
  10ab23:	ff d0                	call   *%eax                          <== NOT EXECUTED
  10ab25:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * try to push further characters to device                       
     */                                                               
    rtems_termios_refill_transmitter(tty);                            
  10ab28:	83 ec 0c             	sub    $0xc,%esp                      
  10ab2b:	53                   	push   %ebx                           
  10ab2c:	e8 87 fd ff ff       	call   10a8b8 <rtems_termios_refill_transmitter>
  }                                                                   
  10ab31:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
  10ab34:	56                   	push   %esi                           
  10ab35:	6a 00                	push   $0x0                           
  10ab37:	6a 02                	push   $0x2                           
  10ab39:	6a 03                	push   $0x3                           
  10ab3b:	e8 d4 04 00 00       	call   10b014 <rtems_event_receive>   
       (TERMIOS_TX_START_EVENT | TERMIOS_TX_TERMINATE_EVENT),         
       RTEMS_EVENT_ANY | RTEMS_WAIT,                                  
       RTEMS_NO_TIMEOUT,                                              
       &the_event                                                     
    );                                                                
    if ((the_event & TERMIOS_TX_TERMINATE_EVENT) != 0) {              
  10ab40:	83 c4 10             	add    $0x10,%esp                     
  10ab43:	f6 45 f4 01          	testb  $0x1,-0xc(%ebp)                
  10ab47:	74 c3                	je     10ab0c <rtems_termios_txdaemon+0x10><== ALWAYS TAKEN
      tty->txTaskId = 0;                                              
  10ab49:	c7 83 c8 00 00 00 00 	movl   $0x0,0xc8(%ebx)                <== NOT EXECUTED
  10ab50:	00 00 00                                                    
      rtems_task_delete(RTEMS_SELF);                                  
  10ab53:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10ab56:	6a 00                	push   $0x0                           <== NOT EXECUTED
  10ab58:	e8 4f 0e 00 00       	call   10b9ac <rtems_task_delete>     <== NOT EXECUTED
  10ab5d:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10ab60:	eb aa                	jmp    10ab0c <rtems_termios_txdaemon+0x10><== NOT EXECUTED
                                                                      

0010a10c <rtems_termios_write>: rtems_termios_puts (&c, 1, tty); } rtems_status_code rtems_termios_write (void *arg) {
  10a10c:	55                   	push   %ebp                           
  10a10d:	89 e5                	mov    %esp,%ebp                      
  10a10f:	57                   	push   %edi                           
  10a110:	56                   	push   %esi                           
  10a111:	53                   	push   %ebx                           
  10a112:	83 ec 20             	sub    $0x20,%esp                     
  10a115:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
  10a118:	8b 07                	mov    (%edi),%eax                    
  10a11a:	8b 70 34             	mov    0x34(%eax),%esi                
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  10a11d:	6a 00                	push   $0x0                           
  10a11f:	6a 00                	push   $0x0                           
  10a121:	ff 76 18             	pushl  0x18(%esi)                     
  10a124:	e8 87 15 00 00       	call   10b6b0 <rtems_semaphore_obtain>
  10a129:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  if (sc != RTEMS_SUCCESSFUL)                                         
  10a12c:	83 c4 10             	add    $0x10,%esp                     
  10a12f:	85 c0                	test   %eax,%eax                      
  10a131:	75 29                	jne    10a15c <rtems_termios_write+0x50><== NEVER TAKEN
    return sc;                                                        
  if (rtems_termios_linesw[tty->t_line].l_write != NULL) {            
  10a133:	8b 86 cc 00 00 00    	mov    0xcc(%esi),%eax                
  10a139:	c1 e0 05             	shl    $0x5,%eax                      
  10a13c:	8b 80 ec 4f 12 00    	mov    0x124fec(%eax),%eax            
  10a142:	85 c0                	test   %eax,%eax                      
  10a144:	74 22                	je     10a168 <rtems_termios_write+0x5c>
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
  10a146:	83 ec 08             	sub    $0x8,%esp                      
  10a149:	57                   	push   %edi                           
  10a14a:	56                   	push   %esi                           
  10a14b:	ff d0                	call   *%eax                          
  10a14d:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
    rtems_semaphore_release (tty->osem);                              
  10a150:	5f                   	pop    %edi                           
  10a151:	ff 76 18             	pushl  0x18(%esi)                     
  10a154:	e8 53 16 00 00       	call   10b7ac <rtems_semaphore_release>
    return sc;                                                        
  10a159:	83 c4 10             	add    $0x10,%esp                     
    rtems_termios_puts (args->buffer, args->count, tty);              
    args->bytes_moved = args->count;                                  
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
  return sc;                                                          
}                                                                     
  10a15c:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10a15f:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a162:	5b                   	pop    %ebx                           
  10a163:	5e                   	pop    %esi                           
  10a164:	5f                   	pop    %edi                           
  10a165:	c9                   	leave                                 
  10a166:	c3                   	ret                                   
  10a167:	90                   	nop                                   
  if (rtems_termios_linesw[tty->t_line].l_write != NULL) {            
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
    rtems_semaphore_release (tty->osem);                              
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
  10a168:	f6 46 34 01          	testb  $0x1,0x34(%esi)                
  10a16c:	74 4e                	je     10a1bc <rtems_termios_write+0xb0><== NEVER TAKEN
    uint32_t   count = args->count;                                   
  10a16e:	8b 47 10             	mov    0x10(%edi),%eax                
  10a171:	89 45 e0             	mov    %eax,-0x20(%ebp)               
    char      *buffer = args->buffer;                                 
  10a174:	8b 47 0c             	mov    0xc(%edi),%eax                 
    while (count--)                                                   
  10a177:	8b 5d e0             	mov    -0x20(%ebp),%ebx               
  10a17a:	85 db                	test   %ebx,%ebx                      
  10a17c:	74 56                	je     10a1d4 <rtems_termios_write+0xc8><== NEVER TAKEN
  10a17e:	31 db                	xor    %ebx,%ebx                      
  10a180:	89 7d dc             	mov    %edi,-0x24(%ebp)               
  10a183:	89 c7                	mov    %eax,%edi                      
  10a185:	8d 76 00             	lea    0x0(%esi),%esi                 
      oproc (*buffer++, tty);                                         
  10a188:	0f b6 04 1f          	movzbl (%edi,%ebx,1),%eax             
  10a18c:	89 f2                	mov    %esi,%edx                      
  10a18e:	e8 6d fa ff ff       	call   109c00 <oproc>                 
  10a193:	43                   	inc    %ebx                           
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
  10a194:	39 5d e0             	cmp    %ebx,-0x20(%ebp)               
  10a197:	75 ef                	jne    10a188 <rtems_termios_write+0x7c>
  10a199:	8b 7d dc             	mov    -0x24(%ebp),%edi               
  10a19c:	8b 47 10             	mov    0x10(%edi),%eax                
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  10a19f:	89 47 18             	mov    %eax,0x18(%edi)                
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
    args->bytes_moved = args->count;                                  
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
  10a1a2:	83 ec 0c             	sub    $0xc,%esp                      
  10a1a5:	ff 76 18             	pushl  0x18(%esi)                     
  10a1a8:	e8 ff 15 00 00       	call   10b7ac <rtems_semaphore_release>
  return sc;                                                          
  10a1ad:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10a1b0:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10a1b3:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10a1b6:	5b                   	pop    %ebx                           
  10a1b7:	5e                   	pop    %esi                           
  10a1b8:	5f                   	pop    %edi                           
  10a1b9:	c9                   	leave                                 
  10a1ba:	c3                   	ret                                   
  10a1bb:	90                   	nop                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
  10a1bc:	51                   	push   %ecx                           <== NOT EXECUTED
  10a1bd:	56                   	push   %esi                           <== NOT EXECUTED
  10a1be:	ff 77 10             	pushl  0x10(%edi)                     <== NOT EXECUTED
  10a1c1:	ff 77 0c             	pushl  0xc(%edi)                      <== NOT EXECUTED
  10a1c4:	e8 03 f9 ff ff       	call   109acc <rtems_termios_puts>    <== NOT EXECUTED
    args->bytes_moved = args->count;                                  
  10a1c9:	8b 47 10             	mov    0x10(%edi),%eax                <== NOT EXECUTED
  10a1cc:	89 47 18             	mov    %eax,0x18(%edi)                <== NOT EXECUTED
  10a1cf:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10a1d2:	eb ce                	jmp    10a1a2 <rtems_termios_write+0x96><== NOT EXECUTED
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
  10a1d4:	31 c0                	xor    %eax,%eax                      <== NOT EXECUTED
  10a1d6:	eb c7                	jmp    10a19f <rtems_termios_write+0x93><== NOT EXECUTED
                                                                      

001186e0 <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
  1186e0:	55                   	push   %ebp                           
  1186e1:	89 e5                	mov    %esp,%ebp                      
  1186e3:	83 ec 1c             	sub    $0x1c,%esp                     
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  1186e6:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
    _Objects_Get( &_Timer_Information, id, location );                
  1186e9:	50                   	push   %eax                           
  1186ea:	ff 75 08             	pushl  0x8(%ebp)                      
  1186ed:	68 20 0e 14 00       	push   $0x140e20                      
  1186f2:	e8 b5 2a 00 00       	call   11b1ac <_Objects_Get>          
  switch ( location ) {                                               
  1186f7:	83 c4 10             	add    $0x10,%esp                     
  1186fa:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  1186fd:	85 d2                	test   %edx,%edx                      
  1186ff:	74 07                	je     118708 <rtems_timer_cancel+0x28>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  118701:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  118706:	c9                   	leave                                 
  118707:	c3                   	ret                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
  118708:	83 78 38 04          	cmpl   $0x4,0x38(%eax)                
  11870c:	74 0f                	je     11871d <rtems_timer_cancel+0x3d><== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
  11870e:	83 ec 0c             	sub    $0xc,%esp                      
  118711:	83 c0 10             	add    $0x10,%eax                     
  118714:	50                   	push   %eax                           
  118715:	e8 9a 46 00 00       	call   11cdb4 <_Watchdog_Remove>      
  11871a:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Enable_dispatch();                                      
  11871d:	e8 12 35 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  118722:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  118724:	c9                   	leave                                 
  118725:	c3                   	ret                                   
                                                                      

0010bffc <rtems_timer_create>: rtems_status_code rtems_timer_create( rtems_name name, rtems_id *id ) {
  10bffc:	55                   	push   %ebp                           
  10bffd:	89 e5                	mov    %esp,%ebp                      
  10bfff:	57                   	push   %edi                           
  10c000:	56                   	push   %esi                           
  10c001:	53                   	push   %ebx                           
  10c002:	83 ec 0c             	sub    $0xc,%esp                      
  10c005:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10c008:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  Timer_Control *the_timer;                                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  10c00b:	85 db                	test   %ebx,%ebx                      
  10c00d:	74 6d                	je     10c07c <rtems_timer_create+0x80>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
  10c00f:	85 f6                	test   %esi,%esi                      
  10c011:	0f 84 89 00 00 00    	je     10c0a0 <rtems_timer_create+0xa4>
  10c017:	a1 d0 78 12 00       	mov    0x1278d0,%eax                  
  10c01c:	40                   	inc    %eax                           
  10c01d:	a3 d0 78 12 00       	mov    %eax,0x1278d0                  
 *  This function allocates a timer control block from                
 *  the inactive chain of free timer control blocks.                  
 */                                                                   
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Allocate( void )           
{                                                                     
  return (Timer_Control *) _Objects_Allocate( &_Timer_Information );  
  10c022:	83 ec 0c             	sub    $0xc,%esp                      
  10c025:	68 60 7c 12 00       	push   $0x127c60                      
  10c02a:	e8 55 0e 00 00       	call   10ce84 <_Objects_Allocate>     
                                                                      
  _Thread_Disable_dispatch();         /* to prevent deletion */       
                                                                      
  the_timer = _Timer_Allocate();                                      
                                                                      
  if ( !the_timer ) {                                                 
  10c02f:	83 c4 10             	add    $0x10,%esp                     
  10c032:	85 c0                	test   %eax,%eax                      
  10c034:	74 56                	je     10c08c <rtems_timer_create+0x90>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
                                                                      
  the_timer->the_class = TIMER_DORMANT;                               
  10c036:	c7 40 38 04 00 00 00 	movl   $0x4,0x38(%eax)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10c03d:	c7 40 18 00 00 00 00 	movl   $0x0,0x18(%eax)                
  the_watchdog->routine   = routine;                                  
  10c044:	c7 40 2c 00 00 00 00 	movl   $0x0,0x2c(%eax)                
  the_watchdog->id        = id;                                       
  10c04b:	c7 40 30 00 00 00 00 	movl   $0x0,0x30(%eax)                
  the_watchdog->user_data = user_data;                                
  10c052:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
  10c059:	8b 50 08             	mov    0x8(%eax),%edx                 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
  10c05c:	0f b7 fa             	movzwl %dx,%edi                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10c05f:	8b 0d 7c 7c 12 00    	mov    0x127c7c,%ecx                  
  10c065:	89 04 b9             	mov    %eax,(%ecx,%edi,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  10c068:	89 58 0c             	mov    %ebx,0xc(%eax)                 
    &_Timer_Information,                                              
    &the_timer->Object,                                               
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_timer->Object.id;                                         
  10c06b:	89 16                	mov    %edx,(%esi)                    
  _Thread_Enable_dispatch();                                          
  10c06d:	e8 52 1d 00 00       	call   10ddc4 <_Thread_Enable_dispatch>
  return RTEMS_SUCCESSFUL;                                            
  10c072:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10c074:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c077:	5b                   	pop    %ebx                           
  10c078:	5e                   	pop    %esi                           
  10c079:	5f                   	pop    %edi                           
  10c07a:	c9                   	leave                                 
  10c07b:	c3                   	ret                                   
)                                                                     
{                                                                     
  Timer_Control *the_timer;                                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
  10c07c:	b8 03 00 00 00       	mov    $0x3,%eax                      
  );                                                                  
                                                                      
  *id = the_timer->Object.id;                                         
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10c081:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c084:	5b                   	pop    %ebx                           
  10c085:	5e                   	pop    %esi                           
  10c086:	5f                   	pop    %edi                           
  10c087:	c9                   	leave                                 
  10c088:	c3                   	ret                                   
  10c089:	8d 76 00             	lea    0x0(%esi),%esi                 
  _Thread_Disable_dispatch();         /* to prevent deletion */       
                                                                      
  the_timer = _Timer_Allocate();                                      
                                                                      
  if ( !the_timer ) {                                                 
    _Thread_Enable_dispatch();                                        
  10c08c:	e8 33 1d 00 00       	call   10ddc4 <_Thread_Enable_dispatch>
    return RTEMS_TOO_MANY;                                            
  10c091:	b8 05 00 00 00       	mov    $0x5,%eax                      
  );                                                                  
                                                                      
  *id = the_timer->Object.id;                                         
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10c096:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c099:	5b                   	pop    %ebx                           
  10c09a:	5e                   	pop    %esi                           
  10c09b:	5f                   	pop    %edi                           
  10c09c:	c9                   	leave                                 
  10c09d:	c3                   	ret                                   
  10c09e:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
  10c0a0:	b8 09 00 00 00       	mov    $0x9,%eax                      
  );                                                                  
                                                                      
  *id = the_timer->Object.id;                                         
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10c0a5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c0a8:	5b                   	pop    %ebx                           
  10c0a9:	5e                   	pop    %esi                           
  10c0aa:	5f                   	pop    %edi                           
  10c0ab:	c9                   	leave                                 
  10c0ac:	c3                   	ret                                   
                                                                      

001187dc <rtems_timer_delete>: */ rtems_status_code rtems_timer_delete( rtems_id id ) {
  1187dc:	55                   	push   %ebp                           
  1187dd:	89 e5                	mov    %esp,%ebp                      
  1187df:	53                   	push   %ebx                           
  1187e0:	83 ec 18             	sub    $0x18,%esp                     
  Timer_Control     *the_timer;                                       
  Objects_Locations  location;                                        
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  1187e3:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
    _Objects_Get( &_Timer_Information, id, location );                
  1187e6:	50                   	push   %eax                           
  1187e7:	ff 75 08             	pushl  0x8(%ebp)                      
  1187ea:	68 20 0e 14 00       	push   $0x140e20                      
  1187ef:	e8 b8 29 00 00       	call   11b1ac <_Objects_Get>          
  1187f4:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  1187f6:	83 c4 10             	add    $0x10,%esp                     
  1187f9:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  1187fc:	85 c9                	test   %ecx,%ecx                      
  1187fe:	75 38                	jne    118838 <rtems_timer_delete+0x5c>
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Close( &_Timer_Information, &the_timer->Object );      
  118800:	83 ec 08             	sub    $0x8,%esp                      
  118803:	50                   	push   %eax                           
  118804:	68 20 0e 14 00       	push   $0x140e20                      
  118809:	e8 26 25 00 00       	call   11ad34 <_Objects_Close>        
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
  11880e:	8d 43 10             	lea    0x10(%ebx),%eax                
  118811:	89 04 24             	mov    %eax,(%esp)                    
  118814:	e8 9b 45 00 00       	call   11cdb4 <_Watchdog_Remove>      
 */                                                                   
RTEMS_INLINE_ROUTINE void _Timer_Free (                               
  Timer_Control *the_timer                                            
)                                                                     
{                                                                     
  _Objects_Free( &_Timer_Information, &the_timer->Object );           
  118819:	58                   	pop    %eax                           
  11881a:	5a                   	pop    %edx                           
  11881b:	53                   	push   %ebx                           
  11881c:	68 20 0e 14 00       	push   $0x140e20                      
  118821:	e8 0a 28 00 00       	call   11b030 <_Objects_Free>         
      _Timer_Free( the_timer );                                       
      _Thread_Enable_dispatch();                                      
  118826:	e8 09 34 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  11882b:	83 c4 10             	add    $0x10,%esp                     
  11882e:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  118830:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  118833:	c9                   	leave                                 
  118834:	c3                   	ret                                   
  118835:	8d 76 00             	lea    0x0(%esi),%esi                 
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  118838:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  11883d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  118840:	c9                   	leave                                 
  118841:	c3                   	ret                                   
                                                                      

0010c0b0 <rtems_timer_fire_after>: rtems_id id, rtems_interval ticks, rtems_timer_service_routine_entry routine, void *user_data ) {
  10c0b0:	55                   	push   %ebp                           
  10c0b1:	89 e5                	mov    %esp,%ebp                      
  10c0b3:	57                   	push   %edi                           
  10c0b4:	56                   	push   %esi                           
  10c0b5:	53                   	push   %ebx                           
  10c0b6:	83 ec 2c             	sub    $0x2c,%esp                     
  10c0b9:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10c0bc:	8b 75 10             	mov    0x10(%ebp),%esi                
  Timer_Control      *the_timer;                                      
  Objects_Locations   location;                                       
  ISR_Level           level;                                          
                                                                      
  if ( ticks == 0 )                                                   
  10c0bf:	85 db                	test   %ebx,%ebx                      
  10c0c1:	0f 84 99 00 00 00    	je     10c160 <rtems_timer_fire_after+0xb0>
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  if ( !routine )                                                     
  10c0c7:	85 f6                	test   %esi,%esi                      
  10c0c9:	0f 84 b1 00 00 00    	je     10c180 <rtems_timer_fire_after+0xd0>
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
    _Objects_Get( &_Timer_Information, id, location );                
  10c0cf:	57                   	push   %edi                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  10c0d0:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10c0d3:	50                   	push   %eax                           
  10c0d4:	ff 75 08             	pushl  0x8(%ebp)                      
  10c0d7:	68 60 7c 12 00       	push   $0x127c60                      
  10c0dc:	e8 5b 12 00 00       	call   10d33c <_Objects_Get>          
  10c0e1:	89 c7                	mov    %eax,%edi                      
  switch ( location ) {                                               
  10c0e3:	83 c4 10             	add    $0x10,%esp                     
  10c0e6:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10c0e9:	85 c9                	test   %ecx,%ecx                      
  10c0eb:	74 0f                	je     10c0fc <rtems_timer_fire_after+0x4c>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  10c0ed:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  10c0f2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c0f5:	5b                   	pop    %ebx                           
  10c0f6:	5e                   	pop    %esi                           
  10c0f7:	5f                   	pop    %edi                           
  10c0f8:	c9                   	leave                                 
  10c0f9:	c3                   	ret                                   
  10c0fa:	66 90                	xchg   %ax,%ax                        
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
  10c0fc:	8d 50 10             	lea    0x10(%eax),%edx                
  10c0ff:	83 ec 0c             	sub    $0xc,%esp                      
  10c102:	52                   	push   %edx                           
  10c103:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  10c106:	e8 a5 2b 00 00       	call   10ecb0 <_Watchdog_Remove>      
                                                                      
      _ISR_Disable( level );                                          
  10c10b:	9c                   	pushf                                 
  10c10c:	fa                   	cli                                   
  10c10d:	58                   	pop    %eax                           
        /*                                                            
         *  Check to see if the watchdog has just been inserted by a  
         *  higher priority interrupt.  If so, abandon this insert.   
         */                                                           
                                                                      
        if ( the_timer->Ticker.state != WATCHDOG_INACTIVE ) {         
  10c10e:	83 c4 10             	add    $0x10,%esp                     
  10c111:	8b 57 18             	mov    0x18(%edi),%edx                
  10c114:	85 d2                	test   %edx,%edx                      
  10c116:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  10c119:	75 55                	jne    10c170 <rtems_timer_fire_after+0xc0>
        /*                                                            
         *  OK.  Now we now the timer was not rescheduled by an interrupt
         *  so we can atomically initialize it as in use.             
         */                                                           
                                                                      
        the_timer->the_class = TIMER_INTERVAL;                        
  10c11b:	c7 47 38 00 00 00 00 	movl   $0x0,0x38(%edi)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10c122:	c7 47 18 00 00 00 00 	movl   $0x0,0x18(%edi)                
  the_watchdog->routine   = routine;                                  
  10c129:	89 77 2c             	mov    %esi,0x2c(%edi)                
  the_watchdog->id        = id;                                       
  10c12c:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10c12f:	89 4f 30             	mov    %ecx,0x30(%edi)                
  the_watchdog->user_data = user_data;                                
  10c132:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  10c135:	89 4f 34             	mov    %ecx,0x34(%edi)                
        _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      _ISR_Enable( level );                                           
  10c138:	50                   	push   %eax                           
  10c139:	9d                   	popf                                  
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10c13a:	89 5f 1c             	mov    %ebx,0x1c(%edi)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10c13d:	83 ec 08             	sub    $0x8,%esp                      
  10c140:	52                   	push   %edx                           
  10c141:	68 dc 79 12 00       	push   $0x1279dc                      
  10c146:	e8 25 2a 00 00       	call   10eb70 <_Watchdog_Insert>      
                                                                      
                                                                      
      _Watchdog_Insert_ticks( &the_timer->Ticker, ticks );            
      _Thread_Enable_dispatch();                                      
  10c14b:	e8 74 1c 00 00       	call   10ddc4 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  10c150:	83 c4 10             	add    $0x10,%esp                     
  10c153:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c155:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c158:	5b                   	pop    %ebx                           
  10c159:	5e                   	pop    %esi                           
  10c15a:	5f                   	pop    %edi                           
  10c15b:	c9                   	leave                                 
  10c15c:	c3                   	ret                                   
  10c15d:	8d 76 00             	lea    0x0(%esi),%esi                 
  Timer_Control      *the_timer;                                      
  Objects_Locations   location;                                       
  ISR_Level           level;                                          
                                                                      
  if ( ticks == 0 )                                                   
    return RTEMS_INVALID_NUMBER;                                      
  10c160:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c165:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c168:	5b                   	pop    %ebx                           
  10c169:	5e                   	pop    %esi                           
  10c16a:	5f                   	pop    %edi                           
  10c16b:	c9                   	leave                                 
  10c16c:	c3                   	ret                                   
  10c16d:	8d 76 00             	lea    0x0(%esi),%esi                 
         *  Check to see if the watchdog has just been inserted by a  
         *  higher priority interrupt.  If so, abandon this insert.   
         */                                                           
                                                                      
        if ( the_timer->Ticker.state != WATCHDOG_INACTIVE ) {         
          _ISR_Enable( level );                                       
  10c170:	50                   	push   %eax                           
  10c171:	9d                   	popf                                  
          _Thread_Enable_dispatch();                                  
  10c172:	e8 4d 1c 00 00       	call   10ddc4 <_Thread_Enable_dispatch>
          return RTEMS_SUCCESSFUL;                                    
  10c177:	31 c0                	xor    %eax,%eax                      
  10c179:	e9 74 ff ff ff       	jmp    10c0f2 <rtems_timer_fire_after+0x42>
  10c17e:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( ticks == 0 )                                                   
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
  10c180:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c185:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c188:	5b                   	pop    %ebx                           
  10c189:	5e                   	pop    %esi                           
  10c18a:	5f                   	pop    %edi                           
  10c18b:	c9                   	leave                                 
  10c18c:	c3                   	ret                                   
                                                                      

00118924 <rtems_timer_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
  118924:	55                   	push   %ebp                           
  118925:	89 e5                	mov    %esp,%ebp                      
  118927:	57                   	push   %edi                           
  118928:	56                   	push   %esi                           
  118929:	53                   	push   %ebx                           
  11892a:	83 ec 2c             	sub    $0x2c,%esp                     
  11892d:	8b 75 08             	mov    0x8(%ebp),%esi                 
  118930:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  118933:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  Timer_Control       *the_timer;                                     
  Objects_Locations    location;                                      
  rtems_interval       seconds;                                       
                                                                      
  if ( !_TOD_Is_set )                                                 
  118936:	80 3d a4 0a 14 00 00 	cmpb   $0x0,0x140aa4                  
  11893d:	75 0d                	jne    11894c <rtems_timer_fire_when+0x28>
    return RTEMS_NOT_DEFINED;                                         
  11893f:	b8 0b 00 00 00       	mov    $0xb,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  118944:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  118947:	5b                   	pop    %ebx                           
  118948:	5e                   	pop    %esi                           
  118949:	5f                   	pop    %edi                           
  11894a:	c9                   	leave                                 
  11894b:	c3                   	ret                                   
  rtems_interval       seconds;                                       
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
  11894c:	83 ec 0c             	sub    $0xc,%esp                      
  11894f:	57                   	push   %edi                           
  118950:	e8 87 d4 ff ff       	call   115ddc <_TOD_Validate>         
  118955:	83 c4 10             	add    $0x10,%esp                     
  118958:	84 c0                	test   %al,%al                        
  11895a:	74 1e                	je     11897a <rtems_timer_fire_when+0x56>
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  if ( !routine )                                                     
  11895c:	85 db                	test   %ebx,%ebx                      
  11895e:	0f 84 a4 00 00 00    	je     118a08 <rtems_timer_fire_when+0xe4>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
  118964:	83 ec 0c             	sub    $0xc,%esp                      
  118967:	57                   	push   %edi                           
  118968:	e8 e3 d3 ff ff       	call   115d50 <_TOD_To_seconds>       
  11896d:	89 c7                	mov    %eax,%edi                      
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
  11896f:	83 c4 10             	add    $0x10,%esp                     
  118972:	3b 05 64 0b 14 00    	cmp    0x140b64,%eax                  
  118978:	77 0e                	ja     118988 <rtems_timer_fire_when+0x64>
    return RTEMS_INVALID_CLOCK;                                       
  11897a:	b8 14 00 00 00       	mov    $0x14,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  11897f:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  118982:	5b                   	pop    %ebx                           
  118983:	5e                   	pop    %esi                           
  118984:	5f                   	pop    %edi                           
  118985:	c9                   	leave                                 
  118986:	c3                   	ret                                   
  118987:	90                   	nop                                   
  118988:	50                   	push   %eax                           
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  118989:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  11898c:	50                   	push   %eax                           
  11898d:	56                   	push   %esi                           
  11898e:	68 20 0e 14 00       	push   $0x140e20                      
  118993:	e8 14 28 00 00       	call   11b1ac <_Objects_Get>          
  switch ( location ) {                                               
  118998:	83 c4 10             	add    $0x10,%esp                     
  11899b:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  11899e:	85 c9                	test   %ecx,%ecx                      
  1189a0:	75 5a                	jne    1189fc <rtems_timer_fire_when+0xd8>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
  1189a2:	8d 48 10             	lea    0x10(%eax),%ecx                
  1189a5:	83 ec 0c             	sub    $0xc,%esp                      
  1189a8:	51                   	push   %ecx                           
  1189a9:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  1189ac:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  1189af:	e8 00 44 00 00       	call   11cdb4 <_Watchdog_Remove>      
      the_timer->the_class = TIMER_TIME_OF_DAY;                       
  1189b4:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  1189b7:	c7 42 38 02 00 00 00 	movl   $0x2,0x38(%edx)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  1189be:	c7 42 18 00 00 00 00 	movl   $0x0,0x18(%edx)                
  the_watchdog->routine   = routine;                                  
  1189c5:	89 5a 2c             	mov    %ebx,0x2c(%edx)                
  the_watchdog->id        = id;                                       
  1189c8:	89 72 30             	mov    %esi,0x30(%edx)                
  the_watchdog->user_data = user_data;                                
  1189cb:	8b 45 14             	mov    0x14(%ebp),%eax                
  1189ce:	89 42 34             	mov    %eax,0x34(%edx)                
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      _Watchdog_Insert_seconds(                                       
  1189d1:	2b 3d 64 0b 14 00    	sub    0x140b64,%edi                  
  1189d7:	89 7a 1c             	mov    %edi,0x1c(%edx)                
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Seconds_chain, the_watchdog );         
  1189da:	58                   	pop    %eax                           
  1189db:	5a                   	pop    %edx                           
  1189dc:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  1189df:	51                   	push   %ecx                           
  1189e0:	68 90 0b 14 00       	push   $0x140b90                      
  1189e5:	e8 8a 42 00 00       	call   11cc74 <_Watchdog_Insert>      
         &the_timer->Ticker,                                          
         seconds - _TOD_Seconds_since_epoch()                         
       );                                                             
      _Thread_Enable_dispatch();                                      
  1189ea:	e8 45 32 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  1189ef:	83 c4 10             	add    $0x10,%esp                     
  1189f2:	31 c0                	xor    %eax,%eax                      
  1189f4:	e9 4b ff ff ff       	jmp    118944 <rtems_timer_fire_when+0x20>
  1189f9:	8d 76 00             	lea    0x0(%esi),%esi                 
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  1189fc:	b8 04 00 00 00       	mov    $0x4,%eax                      
  118a01:	e9 3e ff ff ff       	jmp    118944 <rtems_timer_fire_when+0x20>
  118a06:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
  118a08:	b8 09 00 00 00       	mov    $0x9,%eax                      
  118a0d:	e9 32 ff ff ff       	jmp    118944 <rtems_timer_fire_when+0x20>
                                                                      

001190bc <rtems_timer_initiate_server>: rtems_status_code rtems_timer_initiate_server( uint32_t priority, uint32_t stack_size, rtems_attribute attribute_set ) {
  1190bc:	55                   	push   %ebp                           
  1190bd:	89 e5                	mov    %esp,%ebp                      
  1190bf:	56                   	push   %esi                           
  1190c0:	53                   	push   %ebx                           
  1190c1:	83 ec 10             	sub    $0x10,%esp                     
  1190c4:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1190c7:	85 c0                	test   %eax,%eax                      
  1190c9:	74 41                	je     11910c <rtems_timer_initiate_server+0x50>
            ( the_priority <= RTEMS_MAXIMUM_PRIORITY ) );             
  1190cb:	0f b6 15 f4 83 13 00 	movzbl 0x1383f4,%edx                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
  1190d2:	39 d0                	cmp    %edx,%eax                      
  1190d4:	76 42                	jbe    119118 <rtems_timer_initiate_server+0x5c>
   *  structured so we check it is invalid before looking for         
   *  a specific invalid value as the default.                        
   */                                                                 
  _priority = priority;                                               
  if ( !_RTEMS_tasks_Priority_is_valid( priority ) ) {                
    if ( priority != RTEMS_TIMER_SERVER_DEFAULT_PRIORITY )            
  1190d6:	40                   	inc    %eax                           
  1190d7:	75 33                	jne    11910c <rtems_timer_initiate_server+0x50>
      return RTEMS_INVALID_PRIORITY;                                  
    _priority = 0;                                                    
  1190d9:	31 f6                	xor    %esi,%esi                      
  1190db:	8b 15 90 0a 14 00    	mov    0x140a90,%edx                  
  1190e1:	42                   	inc    %edx                           
  1190e2:	89 15 90 0a 14 00    	mov    %edx,0x140a90                  
                                                                      
  /*                                                                  
   *  Just to make sure this is only called once.                     
   */                                                                 
  _Thread_Disable_dispatch();                                         
    tmpInitialized  = initialized;                                    
  1190e8:	8a 1d c0 c3 13 00    	mov    0x13c3c0,%bl                   
    initialized = true;                                               
  1190ee:	c6 05 c0 c3 13 00 01 	movb   $0x1,0x13c3c0                  
  _Thread_Enable_dispatch();                                          
  1190f5:	e8 3a 2b 00 00       	call   11bc34 <_Thread_Enable_dispatch>
                                                                      
  if ( tmpInitialized )                                               
  1190fa:	84 db                	test   %bl,%bl                        
  1190fc:	74 1e                	je     11911c <rtems_timer_initiate_server+0x60>
    return RTEMS_INCORRECT_STATE;                                     
  1190fe:	b8 0e 00 00 00       	mov    $0xe,%eax                      
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
  119103:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  119106:	5b                   	pop    %ebx                           
  119107:	5e                   	pop    %esi                           
  119108:	c9                   	leave                                 
  119109:	c3                   	ret                                   
  11910a:	66 90                	xchg   %ax,%ax                        
   *  a specific invalid value as the default.                        
   */                                                                 
  _priority = priority;                                               
  if ( !_RTEMS_tasks_Priority_is_valid( priority ) ) {                
    if ( priority != RTEMS_TIMER_SERVER_DEFAULT_PRIORITY )            
      return RTEMS_INVALID_PRIORITY;                                  
  11910c:	b8 13 00 00 00       	mov    $0x13,%eax                     
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
  119111:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  119114:	5b                   	pop    %ebx                           
  119115:	5e                   	pop    %esi                           
  119116:	c9                   	leave                                 
  119117:	c3                   	ret                                   
  119118:	89 c6                	mov    %eax,%esi                      
  11911a:	eb bf                	jmp    1190db <rtems_timer_initiate_server+0x1f>
   *  other library rules.  For example, if using a TSR written in Ada the
   *  Server should run at the same priority as the priority Ada task.
   *  Otherwise, the priority ceiling for the mutex used to protect the
   *  GNAT run-time is violated.                                      
   */                                                                 
  status = rtems_task_create(                                         
  11911c:	83 ec 08             	sub    $0x8,%esp                      
  11911f:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  119122:	50                   	push   %eax                           
  119123:	8b 45 10             	mov    0x10(%ebp),%eax                
  119126:	80 cc 80             	or     $0x80,%ah                      
  119129:	50                   	push   %eax                           
  11912a:	68 00 01 00 00       	push   $0x100                         
  11912f:	ff 75 0c             	pushl  0xc(%ebp)                      
  119132:	56                   	push   %esi                           
  119133:	68 45 4d 49 54       	push   $0x54494d45                    
  119138:	e8 bb ec ff ff       	call   117df8 <rtems_task_create>     
                          /* user may want floating point but we need */
                          /*   system task specified for 0 priority */
    attribute_set | RTEMS_SYSTEM_TASK,                                
    &id                   /* get the id back */                       
  );                                                                  
  if (status) {                                                       
  11913d:	83 c4 20             	add    $0x20,%esp                     
  119140:	85 c0                	test   %eax,%eax                      
  119142:	74 10                	je     119154 <rtems_timer_initiate_server+0x98>
    initialized = false;                                              
  119144:	c6 05 c0 c3 13 00 00 	movb   $0x0,0x13c3c0                  
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
  11914b:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  11914e:	5b                   	pop    %ebx                           
  11914f:	5e                   	pop    %esi                           
  119150:	c9                   	leave                                 
  119151:	c3                   	ret                                   
  119152:	66 90                	xchg   %ax,%ax                        
   *  We work with the TCB pointer, not the ID, so we need to convert 
   *  to a TCB pointer from here out.                                 
   */                                                                 
  ts->thread = (Thread_Control *)_Objects_Get_local_object(           
    &_RTEMS_tasks_Information,                                        
    _Objects_Get_index(id)                                            
  119154:	8b 45 f4             	mov    -0xc(%ebp),%eax                
   */                                                                 
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return NULL;                                                    
  #endif                                                              
  return information->local_table[ index ];                           
  119157:	0f b7 c8             	movzwl %ax,%ecx                       
  11915a:	8b 15 3c 0a 14 00    	mov    0x140a3c,%edx                  
                                                                      
  /*                                                                  
   *  We work with the TCB pointer, not the ID, so we need to convert 
   *  to a TCB pointer from here out.                                 
   */                                                                 
  ts->thread = (Thread_Control *)_Objects_Get_local_object(           
  119160:	8b 14 8a             	mov    (%edx,%ecx,4),%edx             
  119163:	89 15 40 c3 13 00    	mov    %edx,0x13c340                  
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  119169:	c7 05 70 c3 13 00 74 	movl   $0x13c374,0x13c370             
  119170:	c3 13 00                                                    
  head->previous = NULL;                                              
  119173:	c7 05 74 c3 13 00 00 	movl   $0x0,0x13c374                  
  11917a:	00 00 00                                                    
  tail->previous = head;                                              
  11917d:	c7 05 78 c3 13 00 70 	movl   $0x13c370,0x13c378             
  119184:	c3 13 00                                                    
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  119187:	c7 05 a8 c3 13 00 ac 	movl   $0x13c3ac,0x13c3a8             
  11918e:	c3 13 00                                                    
  head->previous = NULL;                                              
  119191:	c7 05 ac c3 13 00 00 	movl   $0x0,0x13c3ac                  
  119198:	00 00 00                                                    
  tail->previous = head;                                              
  11919b:	c7 05 b0 c3 13 00 a8 	movl   $0x13c3a8,0x13c3b0             
  1191a2:	c3 13 00                                                    
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  1191a5:	c7 05 50 c3 13 00 00 	movl   $0x0,0x13c350                  
  1191ac:	00 00 00                                                    
  the_watchdog->routine   = routine;                                  
  1191af:	c7 05 64 c3 13 00 80 	movl   $0x11ba80,0x13c364             
  1191b6:	ba 11 00                                                    
  the_watchdog->id        = id;                                       
  1191b9:	a3 68 c3 13 00       	mov    %eax,0x13c368                  
  the_watchdog->user_data = user_data;                                
  1191be:	c7 05 6c c3 13 00 00 	movl   $0x0,0x13c36c                  
  1191c5:	00 00 00                                                    
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  1191c8:	c7 05 88 c3 13 00 00 	movl   $0x0,0x13c388                  
  1191cf:	00 00 00                                                    
  the_watchdog->routine   = routine;                                  
  1191d2:	c7 05 9c c3 13 00 80 	movl   $0x11ba80,0x13c39c             
  1191d9:	ba 11 00                                                    
  the_watchdog->id        = id;                                       
  1191dc:	a3 a0 c3 13 00       	mov    %eax,0x13c3a0                  
  the_watchdog->user_data = user_data;                                
  1191e1:	c7 05 a4 c3 13 00 00 	movl   $0x0,0x13c3a4                  
  1191e8:	00 00 00                                                    
                                                                      
  /*                                                                  
   *  Initialize the pointer to the timer schedule method so applications that
   *  do not use the Timer Server do not have to pull it in.          
   */                                                                 
  ts->schedule_operation = _Timer_server_Schedule_operation_method;   
  1191eb:	c7 05 44 c3 13 00 8c 	movl   $0x118f8c,0x13c344             
  1191f2:	8f 11 00                                                    
                                                                      
  ts->Interval_watchdogs.last_snapshot = _Watchdog_Ticks_since_boot;  
  1191f5:	8b 15 04 0c 14 00    	mov    0x140c04,%edx                  
  1191fb:	89 15 7c c3 13 00    	mov    %edx,0x13c37c                  
  ts->TOD_watchdogs.last_snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
  119201:	8b 15 64 0b 14 00    	mov    0x140b64,%edx                  
  119207:	89 15 b4 c3 13 00    	mov    %edx,0x13c3b4                  
                                                                      
  ts->insert_chain = NULL;                                            
  11920d:	c7 05 b8 c3 13 00 00 	movl   $0x0,0x13c3b8                  
  119214:	00 00 00                                                    
  ts->active = false;                                                 
  119217:	c6 05 bc c3 13 00 00 	movb   $0x0,0x13c3bc                  
                                                                      
  /*                                                                  
   * The default timer server is now available.                       
   */                                                                 
  _Timer_server = ts;                                                 
  11921e:	c7 05 60 0e 14 00 40 	movl   $0x13c340,0x140e60             
  119225:	c3 13 00                                                    
                                                                      
  /*                                                                  
   *  Start the timer server                                          
   */                                                                 
  status = rtems_task_start(                                          
  119228:	53                   	push   %ebx                           
  119229:	68 40 c3 13 00       	push   $0x13c340                      
  11922e:	68 c4 8d 11 00       	push   $0x118dc4                      
  119233:	50                   	push   %eax                           
  119234:	e8 7f f2 ff ff       	call   1184b8 <rtems_task_start>      
    if (status) {                                                     
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
  119239:	83 c4 10             	add    $0x10,%esp                     
  11923c:	e9 d0 fe ff ff       	jmp    119111 <rtems_timer_initiate_server+0x55>
                                                                      

00118a9c <rtems_timer_reset>: */ rtems_status_code rtems_timer_reset( rtems_id id ) {
  118a9c:	55                   	push   %ebp                           
  118a9d:	89 e5                	mov    %esp,%ebp                      
  118a9f:	56                   	push   %esi                           
  118aa0:	53                   	push   %ebx                           
  118aa1:	83 ec 24             	sub    $0x24,%esp                     
  Timer_Control     *the_timer;                                       
  Objects_Locations  location;                                        
  rtems_status_code  status = RTEMS_SUCCESSFUL;                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  118aa4:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  118aa7:	50                   	push   %eax                           
  118aa8:	ff 75 08             	pushl  0x8(%ebp)                      
  118aab:	68 20 0e 14 00       	push   $0x140e20                      
  118ab0:	e8 f7 26 00 00       	call   11b1ac <_Objects_Get>          
  118ab5:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  118ab7:	83 c4 10             	add    $0x10,%esp                     
  118aba:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  118abd:	85 c0                	test   %eax,%eax                      
  118abf:	74 0f                	je     118ad0 <rtems_timer_reset+0x34>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  118ac1:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  118ac6:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  118ac9:	5b                   	pop    %ebx                           
  118aca:	5e                   	pop    %esi                           
  118acb:	c9                   	leave                                 
  118acc:	c3                   	ret                                   
  118acd:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( the_timer->the_class == TIMER_INTERVAL ) {                 
  118ad0:	8b 43 38             	mov    0x38(%ebx),%eax                
  118ad3:	85 c0                	test   %eax,%eax                      
  118ad5:	74 1d                	je     118af4 <rtems_timer_reset+0x58>
        _Watchdog_Remove( &the_timer->Ticker );                       
        _Watchdog_Insert( &_Watchdog_Ticks_chain, &the_timer->Ticker );
      } else if ( the_timer->the_class == TIMER_INTERVAL_ON_TASK ) {  
  118ad7:	48                   	dec    %eax                           
  118ad8:	74 3a                	je     118b14 <rtems_timer_reset+0x78>
        /*                                                            
         *  Must be dormant or time of day timer (e.g. TIMER_DORMANT, 
         *  TIMER_TIME_OF_DAY, or TIMER_TIME_OF_DAY_ON_TASK).  We     
         *  can only reset active interval timers.                    
         */                                                           
        status = RTEMS_NOT_DEFINED;                                   
  118ada:	b8 0b 00 00 00       	mov    $0xb,%eax                      
      }                                                               
      _Thread_Enable_dispatch();                                      
  118adf:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  118ae2:	e8 4d 31 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return status;                                                  
  118ae7:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  118aea:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  118aed:	5b                   	pop    %ebx                           
  118aee:	5e                   	pop    %esi                           
  118aef:	c9                   	leave                                 
  118af0:	c3                   	ret                                   
  118af1:	8d 76 00             	lea    0x0(%esi),%esi                 
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( the_timer->the_class == TIMER_INTERVAL ) {                 
        _Watchdog_Remove( &the_timer->Ticker );                       
  118af4:	83 c3 10             	add    $0x10,%ebx                     
  118af7:	83 ec 0c             	sub    $0xc,%esp                      
  118afa:	53                   	push   %ebx                           
  118afb:	e8 b4 42 00 00       	call   11cdb4 <_Watchdog_Remove>      
        _Watchdog_Insert( &_Watchdog_Ticks_chain, &the_timer->Ticker );
  118b00:	59                   	pop    %ecx                           
  118b01:	5e                   	pop    %esi                           
  118b02:	53                   	push   %ebx                           
  118b03:	68 9c 0b 14 00       	push   $0x140b9c                      
  118b08:	e8 67 41 00 00       	call   11cc74 <_Watchdog_Insert>      
  118b0d:	83 c4 10             	add    $0x10,%esp                     
  rtems_id id                                                         
)                                                                     
{                                                                     
  Timer_Control     *the_timer;                                       
  Objects_Locations  location;                                        
  rtems_status_code  status = RTEMS_SUCCESSFUL;                       
  118b10:	31 c0                	xor    %eax,%eax                      
  118b12:	eb cb                	jmp    118adf <rtems_timer_reset+0x43>
    case OBJECTS_LOCAL:                                               
      if ( the_timer->the_class == TIMER_INTERVAL ) {                 
        _Watchdog_Remove( &the_timer->Ticker );                       
        _Watchdog_Insert( &_Watchdog_Ticks_chain, &the_timer->Ticker );
      } else if ( the_timer->the_class == TIMER_INTERVAL_ON_TASK ) {  
        Timer_server_Control *timer_server = _Timer_server;           
  118b14:	8b 35 60 0e 14 00    	mov    0x140e60,%esi                  
          if ( !timer_server ) {                                      
            _Thread_Enable_dispatch();                                
            return RTEMS_INCORRECT_STATE;                             
          }                                                           
        #endif                                                        
        _Watchdog_Remove( &the_timer->Ticker );                       
  118b1a:	83 ec 0c             	sub    $0xc,%esp                      
  118b1d:	8d 43 10             	lea    0x10(%ebx),%eax                
  118b20:	50                   	push   %eax                           
  118b21:	e8 8e 42 00 00       	call   11cdb4 <_Watchdog_Remove>      
        (*timer_server->schedule_operation)( timer_server, the_timer );
  118b26:	58                   	pop    %eax                           
  118b27:	5a                   	pop    %edx                           
  118b28:	53                   	push   %ebx                           
  118b29:	56                   	push   %esi                           
  118b2a:	ff 56 04             	call   *0x4(%esi)                     
  118b2d:	83 c4 10             	add    $0x10,%esp                     
  rtems_id id                                                         
)                                                                     
{                                                                     
  Timer_Control     *the_timer;                                       
  Objects_Locations  location;                                        
  rtems_status_code  status = RTEMS_SUCCESSFUL;                       
  118b30:	31 c0                	xor    %eax,%eax                      
  118b32:	eb ab                	jmp    118adf <rtems_timer_reset+0x43>
                                                                      

00118b34 <rtems_timer_server_fire_after>: rtems_id id, rtems_interval ticks, rtems_timer_service_routine_entry routine, void *user_data ) {
  118b34:	55                   	push   %ebp                           
  118b35:	89 e5                	mov    %esp,%ebp                      
  118b37:	57                   	push   %edi                           
  118b38:	56                   	push   %esi                           
  118b39:	53                   	push   %ebx                           
  118b3a:	83 ec 2c             	sub    $0x2c,%esp                     
  118b3d:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  118b40:	8b 75 10             	mov    0x10(%ebp),%esi                
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
  Timer_server_Control *timer_server = _Timer_server;                 
  118b43:	8b 1d 60 0e 14 00    	mov    0x140e60,%ebx                  
                                                                      
  if ( !timer_server )                                                
  118b49:	85 db                	test   %ebx,%ebx                      
  118b4b:	0f 84 9f 00 00 00    	je     118bf0 <rtems_timer_server_fire_after+0xbc>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !routine )                                                     
  118b51:	85 f6                	test   %esi,%esi                      
  118b53:	0f 84 a3 00 00 00    	je     118bfc <rtems_timer_server_fire_after+0xc8>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( ticks == 0 )                                                   
  118b59:	85 ff                	test   %edi,%edi                      
  118b5b:	75 0f                	jne    118b6c <rtems_timer_server_fire_after+0x38>
    return RTEMS_INVALID_NUMBER;                                      
  118b5d:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  118b62:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  118b65:	5b                   	pop    %ebx                           
  118b66:	5e                   	pop    %esi                           
  118b67:	5f                   	pop    %edi                           
  118b68:	c9                   	leave                                 
  118b69:	c3                   	ret                                   
  118b6a:	66 90                	xchg   %ax,%ax                        
  118b6c:	52                   	push   %edx                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( ticks == 0 )                                                   
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  118b6d:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  118b70:	50                   	push   %eax                           
  118b71:	ff 75 08             	pushl  0x8(%ebp)                      
  118b74:	68 20 0e 14 00       	push   $0x140e20                      
  118b79:	e8 2e 26 00 00       	call   11b1ac <_Objects_Get>          
  118b7e:	89 c2                	mov    %eax,%edx                      
  switch ( location ) {                                               
  118b80:	83 c4 10             	add    $0x10,%esp                     
  118b83:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  118b86:	85 c0                	test   %eax,%eax                      
  118b88:	75 56                	jne    118be0 <rtems_timer_server_fire_after+0xac>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
  118b8a:	83 ec 0c             	sub    $0xc,%esp                      
  118b8d:	8d 42 10             	lea    0x10(%edx),%eax                
  118b90:	50                   	push   %eax                           
  118b91:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  118b94:	e8 1b 42 00 00       	call   11cdb4 <_Watchdog_Remove>      
                                                                      
      _ISR_Disable( level );                                          
  118b99:	9c                   	pushf                                 
  118b9a:	fa                   	cli                                   
  118b9b:	58                   	pop    %eax                           
        /*                                                            
         *  Check to see if the watchdog has just been inserted by a  
         *  higher priority interrupt.  If so, abandon this insert.   
         */                                                           
                                                                      
        if ( the_timer->Ticker.state != WATCHDOG_INACTIVE ) {         
  118b9c:	83 c4 10             	add    $0x10,%esp                     
  118b9f:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  118ba2:	8b 4a 18             	mov    0x18(%edx),%ecx                
  118ba5:	85 c9                	test   %ecx,%ecx                      
  118ba7:	75 5f                	jne    118c08 <rtems_timer_server_fire_after+0xd4>
        /*                                                            
         *  OK.  Now we now the timer was not rescheduled by an interrupt
         *  so we can atomically initialize it as in use.             
         */                                                           
                                                                      
        the_timer->the_class = TIMER_INTERVAL_ON_TASK;                
  118ba9:	c7 42 38 01 00 00 00 	movl   $0x1,0x38(%edx)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  118bb0:	c7 42 18 00 00 00 00 	movl   $0x0,0x18(%edx)                
  the_watchdog->routine   = routine;                                  
  118bb7:	89 72 2c             	mov    %esi,0x2c(%edx)                
  the_watchdog->id        = id;                                       
  118bba:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  118bbd:	89 4a 30             	mov    %ecx,0x30(%edx)                
  the_watchdog->user_data = user_data;                                
  118bc0:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  118bc3:	89 4a 34             	mov    %ecx,0x34(%edx)                
        _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
        the_timer->Ticker.initial = ticks;                            
  118bc6:	89 7a 1c             	mov    %edi,0x1c(%edx)                
      _ISR_Enable( level );                                           
  118bc9:	50                   	push   %eax                           
  118bca:	9d                   	popf                                  
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
  118bcb:	83 ec 08             	sub    $0x8,%esp                      
  118bce:	52                   	push   %edx                           
  118bcf:	53                   	push   %ebx                           
  118bd0:	ff 53 04             	call   *0x4(%ebx)                     
                                                                      
      _Thread_Enable_dispatch();                                      
  118bd3:	e8 5c 30 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  118bd8:	83 c4 10             	add    $0x10,%esp                     
  118bdb:	31 c0                	xor    %eax,%eax                      
  118bdd:	eb 83                	jmp    118b62 <rtems_timer_server_fire_after+0x2e>
  118bdf:	90                   	nop                                   
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  118be0:	b8 04 00 00 00       	mov    $0x4,%eax                      
}                                                                     
  118be5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  118be8:	5b                   	pop    %ebx                           
  118be9:	5e                   	pop    %esi                           
  118bea:	5f                   	pop    %edi                           
  118beb:	c9                   	leave                                 
  118bec:	c3                   	ret                                   
  118bed:	8d 76 00             	lea    0x0(%esi),%esi                 
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
  118bf0:	b8 0e 00 00 00       	mov    $0xe,%eax                      
  118bf5:	e9 68 ff ff ff       	jmp    118b62 <rtems_timer_server_fire_after+0x2e>
  118bfa:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
  118bfc:	b8 09 00 00 00       	mov    $0x9,%eax                      
  118c01:	e9 5c ff ff ff       	jmp    118b62 <rtems_timer_server_fire_after+0x2e>
  118c06:	66 90                	xchg   %ax,%ax                        
         *  Check to see if the watchdog has just been inserted by a  
         *  higher priority interrupt.  If so, abandon this insert.   
         */                                                           
                                                                      
        if ( the_timer->Ticker.state != WATCHDOG_INACTIVE ) {         
          _ISR_Enable( level );                                       
  118c08:	50                   	push   %eax                           
  118c09:	9d                   	popf                                  
          _Thread_Enable_dispatch();                                  
  118c0a:	e8 25 30 00 00       	call   11bc34 <_Thread_Enable_dispatch>
          return RTEMS_SUCCESSFUL;                                    
  118c0f:	31 c0                	xor    %eax,%eax                      
  118c11:	e9 4c ff ff ff       	jmp    118b62 <rtems_timer_server_fire_after+0x2e>
                                                                      

00118c18 <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
  118c18:	55                   	push   %ebp                           
  118c19:	89 e5                	mov    %esp,%ebp                      
  118c1b:	57                   	push   %edi                           
  118c1c:	56                   	push   %esi                           
  118c1d:	53                   	push   %ebx                           
  118c1e:	83 ec 2c             	sub    $0x2c,%esp                     
  118c21:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  118c24:	8b 75 10             	mov    0x10(%ebp),%esi                
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
  118c27:	8b 1d 60 0e 14 00    	mov    0x140e60,%ebx                  
                                                                      
  if ( !timer_server )                                                
  118c2d:	85 db                	test   %ebx,%ebx                      
  118c2f:	0f 84 d7 00 00 00    	je     118d0c <rtems_timer_server_fire_when+0xf4>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
  118c35:	80 3d a4 0a 14 00 00 	cmpb   $0x0,0x140aa4                  
  118c3c:	0f 84 aa 00 00 00    	je     118cec <rtems_timer_server_fire_when+0xd4><== NEVER TAKEN
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
  118c42:	85 f6                	test   %esi,%esi                      
  118c44:	0f 84 b2 00 00 00    	je     118cfc <rtems_timer_server_fire_when+0xe4>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
  118c4a:	83 ec 0c             	sub    $0xc,%esp                      
  118c4d:	57                   	push   %edi                           
  118c4e:	e8 89 d1 ff ff       	call   115ddc <_TOD_Validate>         
  118c53:	83 c4 10             	add    $0x10,%esp                     
  118c56:	84 c0                	test   %al,%al                        
  118c58:	75 0e                	jne    118c68 <rtems_timer_server_fire_when+0x50>
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
    return RTEMS_INVALID_CLOCK;                                       
  118c5a:	b8 14 00 00 00       	mov    $0x14,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  118c5f:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  118c62:	5b                   	pop    %ebx                           
  118c63:	5e                   	pop    %esi                           
  118c64:	5f                   	pop    %edi                           
  118c65:	c9                   	leave                                 
  118c66:	c3                   	ret                                   
  118c67:	90                   	nop                                   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
  118c68:	83 ec 0c             	sub    $0xc,%esp                      
  118c6b:	57                   	push   %edi                           
  118c6c:	e8 df d0 ff ff       	call   115d50 <_TOD_To_seconds>       
  118c71:	89 c7                	mov    %eax,%edi                      
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
  118c73:	83 c4 10             	add    $0x10,%esp                     
  118c76:	3b 05 64 0b 14 00    	cmp    0x140b64,%eax                  
  118c7c:	76 dc                	jbe    118c5a <rtems_timer_server_fire_when+0x42>
  118c7e:	52                   	push   %edx                           
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  118c7f:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  118c82:	50                   	push   %eax                           
  118c83:	ff 75 08             	pushl  0x8(%ebp)                      
  118c86:	68 20 0e 14 00       	push   $0x140e20                      
  118c8b:	e8 1c 25 00 00       	call   11b1ac <_Objects_Get>          
  118c90:	89 c2                	mov    %eax,%edx                      
  switch ( location ) {                                               
  118c92:	83 c4 10             	add    $0x10,%esp                     
  118c95:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  118c98:	85 c0                	test   %eax,%eax                      
  118c9a:	75 7c                	jne    118d18 <rtems_timer_server_fire_when+0x100>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
  118c9c:	83 ec 0c             	sub    $0xc,%esp                      
  118c9f:	8d 42 10             	lea    0x10(%edx),%eax                
  118ca2:	50                   	push   %eax                           
  118ca3:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  118ca6:	e8 09 41 00 00       	call   11cdb4 <_Watchdog_Remove>      
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
  118cab:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  118cae:	c7 42 38 03 00 00 00 	movl   $0x3,0x38(%edx)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  118cb5:	c7 42 18 00 00 00 00 	movl   $0x0,0x18(%edx)                
  the_watchdog->routine   = routine;                                  
  118cbc:	89 72 2c             	mov    %esi,0x2c(%edx)                
  the_watchdog->id        = id;                                       
  118cbf:	8b 45 08             	mov    0x8(%ebp),%eax                 
  118cc2:	89 42 30             	mov    %eax,0x30(%edx)                
  the_watchdog->user_data = user_data;                                
  118cc5:	8b 45 14             	mov    0x14(%ebp),%eax                
  118cc8:	89 42 34             	mov    %eax,0x34(%edx)                
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
  118ccb:	2b 3d 64 0b 14 00    	sub    0x140b64,%edi                  
  118cd1:	89 7a 1c             	mov    %edi,0x1c(%edx)                
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
  118cd4:	58                   	pop    %eax                           
  118cd5:	59                   	pop    %ecx                           
  118cd6:	52                   	push   %edx                           
  118cd7:	53                   	push   %ebx                           
  118cd8:	ff 53 04             	call   *0x4(%ebx)                     
                                                                      
      _Thread_Enable_dispatch();                                      
  118cdb:	e8 54 2f 00 00       	call   11bc34 <_Thread_Enable_dispatch>
      return RTEMS_SUCCESSFUL;                                        
  118ce0:	83 c4 10             	add    $0x10,%esp                     
  118ce3:	31 c0                	xor    %eax,%eax                      
  118ce5:	e9 75 ff ff ff       	jmp    118c5f <rtems_timer_server_fire_when+0x47>
  118cea:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
  118cec:	b8 0b 00 00 00       	mov    $0xb,%eax                      <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  118cf1:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  118cf4:	5b                   	pop    %ebx                           <== NOT EXECUTED
  118cf5:	5e                   	pop    %esi                           <== NOT EXECUTED
  118cf6:	5f                   	pop    %edi                           <== NOT EXECUTED
  118cf7:	c9                   	leave                                 <== NOT EXECUTED
  118cf8:	c3                   	ret                                   <== NOT EXECUTED
  118cf9:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
  118cfc:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  118d01:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  118d04:	5b                   	pop    %ebx                           
  118d05:	5e                   	pop    %esi                           
  118d06:	5f                   	pop    %edi                           
  118d07:	c9                   	leave                                 
  118d08:	c3                   	ret                                   
  118d09:	8d 76 00             	lea    0x0(%esi),%esi                 
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
  118d0c:	b8 0e 00 00 00       	mov    $0xe,%eax                      
  118d11:	e9 49 ff ff ff       	jmp    118c5f <rtems_timer_server_fire_when+0x47>
  118d16:	66 90                	xchg   %ax,%ax                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
  118d18:	b8 04 00 00 00       	mov    $0x4,%eax                      
  118d1d:	e9 3d ff ff ff       	jmp    118c5f <rtems_timer_server_fire_when+0x47>
                                                                      

0010c700 <rtems_verror>: static int rtems_verror( rtems_error_code_t error_flag, const char *printf_format, va_list arglist ) {
  10c700:	55                   	push   %ebp                           
  10c701:	89 e5                	mov    %esp,%ebp                      
  10c703:	57                   	push   %edi                           
  10c704:	56                   	push   %esi                           
  10c705:	53                   	push   %ebx                           
  10c706:	83 ec 1c             	sub    $0x1c,%esp                     
  10c709:	89 c3                	mov    %eax,%ebx                      
  10c70b:	89 d6                	mov    %edx,%esi                      
  10c70d:	89 cf                	mov    %ecx,%edi                      
  int               local_errno = 0;                                  
  int               chars_written = 0;                                
  rtems_status_code status;                                           
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
  10c70f:	a9 00 00 00 20       	test   $0x20000000,%eax               
  10c714:	74 2b                	je     10c741 <rtems_verror+0x41>     
    if (rtems_panic_in_progress++)                                    
  10c716:	8b 15 80 c4 12 00    	mov    0x12c480,%edx                  
  10c71c:	8d 42 01             	lea    0x1(%edx),%eax                 
  10c71f:	a3 80 c4 12 00       	mov    %eax,0x12c480                  
  10c724:	85 d2                	test   %edx,%edx                      
  10c726:	74 10                	je     10c738 <rtems_verror+0x38>     <== ALWAYS TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10c728:	a1 f0 c5 12 00       	mov    0x12c5f0,%eax                  <== NOT EXECUTED
  10c72d:	40                   	inc    %eax                           <== NOT EXECUTED
  10c72e:	a3 f0 c5 12 00       	mov    %eax,0x12c5f0                  <== NOT EXECUTED
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  10c733:	a1 80 c4 12 00       	mov    0x12c480,%eax                  <== NOT EXECUTED
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
  10c738:	83 f8 02             	cmp    $0x2,%eax                      
  10c73b:	0f 8f af 00 00 00    	jg     10c7f0 <rtems_verror+0xf0>     <== NEVER TAKEN
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
  10c741:	83 ec 0c             	sub    $0xc,%esp                      
  10c744:	a1 80 a2 12 00       	mov    0x12a280,%eax                  
  10c749:	ff 70 08             	pushl  0x8(%eax)                      
  10c74c:	e8 4b b1 00 00       	call   11789c <fflush>                
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  10c751:	89 d8                	mov    %ebx,%eax                      
  10c753:	25 ff ff ff 8f       	and    $0x8fffffff,%eax               
  10c758:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
  10c75b:	83 c4 10             	add    $0x10,%esp                     
  10c75e:	81 e3 00 00 00 40    	and    $0x40000000,%ebx               
  10c764:	0f 85 be 00 00 00    	jne    10c828 <rtems_verror+0x128>    <== NEVER TAKEN
  rtems_error_code_t  error_flag,                                     
  const char         *printf_format,                                  
  va_list             arglist                                         
)                                                                     
{                                                                     
  int               local_errno = 0;                                  
  10c76a:	31 db                	xor    %ebx,%ebx                      
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
  10c76c:	50                   	push   %eax                           
  10c76d:	57                   	push   %edi                           
  10c76e:	56                   	push   %esi                           
  10c76f:	a1 80 a2 12 00       	mov    0x12a280,%eax                  
  10c774:	ff 70 0c             	pushl  0xc(%eax)                      
  10c777:	e8 98 0e 01 00       	call   11d614 <vfprintf>              
  10c77c:	89 c6                	mov    %eax,%esi                      
                                                                      
  if (status)                                                         
  10c77e:	83 c4 10             	add    $0x10,%esp                     
  10c781:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10c784:	85 c9                	test   %ecx,%ecx                      
  10c786:	75 74                	jne    10c7fc <rtems_verror+0xfc>     <== NEVER TAKEN
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
  10c788:	83 fb 00             	cmp    $0x0,%ebx                      
  10c78b:	74 30                	je     10c7bd <rtems_verror+0xbd>     
    if ((local_errno > 0) && *strerror(local_errno))                  
  10c78d:	7e 15                	jle    10c7a4 <rtems_verror+0xa4>     
  10c78f:	83 ec 0c             	sub    $0xc,%esp                      
  10c792:	53                   	push   %ebx                           
  10c793:	e8 44 bd 00 00       	call   1184dc <strerror>              
  10c798:	83 c4 10             	add    $0x10,%esp                     
  10c79b:	80 38 00             	cmpb   $0x0,(%eax)                    
  10c79e:	0f 85 90 00 00 00    	jne    10c834 <rtems_verror+0x134>    <== ALWAYS TAKEN
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
  10c7a4:	52                   	push   %edx                           
  10c7a5:	53                   	push   %ebx                           
  10c7a6:	68 c9 55 12 00       	push   $0x1255c9                      
  10c7ab:	a1 80 a2 12 00       	mov    0x12a280,%eax                  
  10c7b0:	ff 70 0c             	pushl  0xc(%eax)                      
  10c7b3:	e8 d8 b4 00 00       	call   117c90 <fprintf>               
  10c7b8:	01 c6                	add    %eax,%esi                      
  10c7ba:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
  10c7bd:	83 ec 08             	sub    $0x8,%esp                      
  10c7c0:	68 82 48 12 00       	push   $0x124882                      
  10c7c5:	a1 80 a2 12 00       	mov    0x12a280,%eax                  
  10c7ca:	ff 70 0c             	pushl  0xc(%eax)                      
  10c7cd:	e8 be b4 00 00       	call   117c90 <fprintf>               
  10c7d2:	8d 34 30             	lea    (%eax,%esi,1),%esi             
                                                                      
  (void) fflush(stderr);                                              
  10c7d5:	58                   	pop    %eax                           
  10c7d6:	a1 80 a2 12 00       	mov    0x12a280,%eax                  
  10c7db:	ff 70 0c             	pushl  0xc(%eax)                      
  10c7de:	e8 b9 b0 00 00       	call   11789c <fflush>                
                                                                      
  return chars_written;                                               
  10c7e3:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10c7e6:	89 f0                	mov    %esi,%eax                      
  10c7e8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c7eb:	5b                   	pop    %ebx                           
  10c7ec:	5e                   	pop    %esi                           
  10c7ed:	5f                   	pop    %edi                           
  10c7ee:	c9                   	leave                                 
  10c7ef:	c3                   	ret                                   
    if (rtems_panic_in_progress++)                                    
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
      return 0;                                                       
  10c7f0:	31 f6                	xor    %esi,%esi                      
  chars_written += fprintf(stderr, "\n");                             
                                                                      
  (void) fflush(stderr);                                              
                                                                      
  return chars_written;                                               
}                                                                     
  10c7f2:	89 f0                	mov    %esi,%eax                      <== NOT EXECUTED
  10c7f4:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  10c7f7:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10c7f8:	5e                   	pop    %esi                           <== NOT EXECUTED
  10c7f9:	5f                   	pop    %edi                           <== NOT EXECUTED
  10c7fa:	c9                   	leave                                 <== NOT EXECUTED
  10c7fb:	c3                   	ret                                   <== NOT EXECUTED
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
  10c7fc:	83 ec 0c             	sub    $0xc,%esp                      
  10c7ff:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10c802:	e8 e1 fe ff ff       	call   10c6e8 <rtems_status_text>     
  10c807:	83 c4 0c             	add    $0xc,%esp                      
  10c80a:	50                   	push   %eax                           
  10c80b:	68 ae 55 12 00       	push   $0x1255ae                      
  10c810:	a1 80 a2 12 00       	mov    0x12a280,%eax                  
  10c815:	ff 70 0c             	pushl  0xc(%eax)                      
  10c818:	e8 73 b4 00 00       	call   117c90 <fprintf>               
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
  10c81d:	01 c6                	add    %eax,%esi                      
  10c81f:	83 c4 10             	add    $0x10,%esp                     
  10c822:	e9 61 ff ff ff       	jmp    10c788 <rtems_verror+0x88>     
  10c827:	90                   	nop                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
    local_errno = errno;                                              
  10c828:	e8 d7 ac 00 00       	call   117504 <__errno>               
  10c82d:	8b 18                	mov    (%eax),%ebx                    
  10c82f:	e9 38 ff ff ff       	jmp    10c76c <rtems_verror+0x6c>     
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
    if ((local_errno > 0) && *strerror(local_errno))                  
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
  10c834:	83 ec 0c             	sub    $0xc,%esp                      
  10c837:	53                   	push   %ebx                           
  10c838:	e8 9f bc 00 00       	call   1184dc <strerror>              
  10c83d:	83 c4 0c             	add    $0xc,%esp                      
  10c840:	50                   	push   %eax                           
  10c841:	68 bc 55 12 00       	push   $0x1255bc                      
  10c846:	e9 60 ff ff ff       	jmp    10c7ab <rtems_verror+0xab>     
                                                                      

001086b4 <scanInt>: /* * Extract an integer value from the database */ static int scanInt(FILE *fp, int *val) {
  1086b4:	55                   	push   %ebp                           
  1086b5:	89 e5                	mov    %esp,%ebp                      
  1086b7:	57                   	push   %edi                           
  1086b8:	56                   	push   %esi                           
  1086b9:	53                   	push   %ebx                           
  1086ba:	83 ec 1c             	sub    $0x1c,%esp                     
  1086bd:	89 c6                	mov    %eax,%esi                      
  1086bf:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  1086c2:	31 ff                	xor    %edi,%edi                      
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
  1086c4:	c7 45 e4 ff ff ff 7f 	movl   $0x7fffffff,-0x1c(%ebp)        
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
  int c;                                                              
  unsigned int i = 0;                                                 
  1086cb:	31 db                	xor    %ebx,%ebx                      
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
  1086cd:	8b 46 04             	mov    0x4(%esi),%eax                 
  1086d0:	48                   	dec    %eax                           
  1086d1:	89 46 04             	mov    %eax,0x4(%esi)                 
  1086d4:	85 c0                	test   %eax,%eax                      
  1086d6:	78 52                	js     10872a <scanInt+0x76>          <== NEVER TAKEN
  1086d8:	8b 06                	mov    (%esi),%eax                    
  1086da:	0f b6 08             	movzbl (%eax),%ecx                    
  1086dd:	40                   	inc    %eax                           
  1086de:	89 06                	mov    %eax,(%esi)                    
    if (c == ':')                                                     
  1086e0:	83 f9 3a             	cmp    $0x3a,%ecx                     
  1086e3:	74 5f                	je     108744 <scanInt+0x90>          
      break;                                                          
    if (sign == 0) {                                                  
  1086e5:	85 ff                	test   %edi,%edi                      
  1086e7:	75 0e                	jne    1086f7 <scanInt+0x43>          
      if (c == '-') {                                                 
  1086e9:	83 f9 2d             	cmp    $0x2d,%ecx                     
  1086ec:	0f 84 8a 00 00 00    	je     10877c <scanInt+0xc8>          
        sign = -1;                                                    
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
  1086f2:	bf 01 00 00 00       	mov    $0x1,%edi                      
    }                                                                 
    if (!isdigit(c))                                                  
  1086f7:	a1 f4 51 12 00       	mov    0x1251f4,%eax                  
  1086fc:	f6 44 08 01 04       	testb  $0x4,0x1(%eax,%ecx,1)          
  108701:	74 6d                	je     108770 <scanInt+0xbc>          
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
  108703:	b8 cd cc cc cc       	mov    $0xcccccccd,%eax               
  108708:	f7 65 e4             	mull   -0x1c(%ebp)                    
  10870b:	c1 ea 03             	shr    $0x3,%edx                      
  10870e:	39 d3                	cmp    %edx,%ebx                      
  108710:	77 5e                	ja     108770 <scanInt+0xbc>          
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
  108712:	83 e9 30             	sub    $0x30,%ecx                     
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
  108715:	39 d3                	cmp    %edx,%ebx                      
  108717:	74 47                	je     108760 <scanInt+0xac>          
      return 0;                                                       
    i = i * 10 + d;                                                   
  108719:	8d 04 9b             	lea    (%ebx,%ebx,4),%eax             
  10871c:	8d 1c 41             	lea    (%ecx,%eax,2),%ebx             
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
  10871f:	8b 46 04             	mov    0x4(%esi),%eax                 
  108722:	48                   	dec    %eax                           
  108723:	89 46 04             	mov    %eax,0x4(%esi)                 
  108726:	85 c0                	test   %eax,%eax                      
  108728:	79 ae                	jns    1086d8 <scanInt+0x24>          <== ALWAYS TAKEN
  10872a:	83 ec 08             	sub    $0x8,%esp                      <== NOT EXECUTED
  10872d:	56                   	push   %esi                           <== NOT EXECUTED
  10872e:	ff 35 00 52 12 00    	pushl  0x125200                       <== NOT EXECUTED
  108734:	e8 5f be 00 00       	call   114598 <__srget_r>             <== NOT EXECUTED
  108739:	89 c1                	mov    %eax,%ecx                      <== NOT EXECUTED
  10873b:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    if (c == ':')                                                     
  10873e:	83 f9 3a             	cmp    $0x3a,%ecx                     <== NOT EXECUTED
  108741:	75 a2                	jne    1086e5 <scanInt+0x31>          <== NOT EXECUTED
  108743:	90                   	nop                                   <== NOT EXECUTED
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
  108744:	85 ff                	test   %edi,%edi                      
  108746:	74 28                	je     108770 <scanInt+0xbc>          <== NEVER TAKEN
    return 0;                                                         
  *val = i * sign;                                                    
  108748:	0f af df             	imul   %edi,%ebx                      
  10874b:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10874e:	89 18                	mov    %ebx,(%eax)                    
  return 1;                                                           
  108750:	b8 01 00 00 00       	mov    $0x1,%eax                      
}                                                                     
  108755:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108758:	5b                   	pop    %ebx                           
  108759:	5e                   	pop    %esi                           
  10875a:	5f                   	pop    %edi                           
  10875b:	c9                   	leave                                 
  10875c:	c3                   	ret                                   
  10875d:	8d 76 00             	lea    0x0(%esi),%esi                 
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
  108760:	8d 04 9b             	lea    (%ebx,%ebx,4),%eax             
  108763:	d1 e0                	shl    %eax                           
  108765:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  108768:	29 c2                	sub    %eax,%edx                      
  10876a:	39 d1                	cmp    %edx,%ecx                      
  10876c:	76 ab                	jbe    108719 <scanInt+0x65>          <== NEVER TAKEN
  10876e:	66 90                	xchg   %ax,%ax                        
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  108770:	31 c0                	xor    %eax,%eax                      
  *val = i * sign;                                                    
  return 1;                                                           
}                                                                     
  108772:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108775:	5b                   	pop    %ebx                           
  108776:	5e                   	pop    %esi                           
  108777:	5f                   	pop    %edi                           
  108778:	c9                   	leave                                 
  108779:	c3                   	ret                                   
  10877a:	66 90                	xchg   %ax,%ax                        
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
        limit++;                                                      
  10877c:	ff 45 e4             	incl   -0x1c(%ebp)                    
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
  10877f:	bf ff ff ff ff       	mov    $0xffffffff,%edi               
        limit++;                                                      
        continue;                                                     
  108784:	e9 44 ff ff ff       	jmp    1086cd <scanInt+0x19>          
                                                                      

0010878c <scanString>: /* * Extract a string value from the database */ static int scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag) {
  10878c:	55                   	push   %ebp                           
  10878d:	89 e5                	mov    %esp,%ebp                      
  10878f:	57                   	push   %edi                           
  108790:	56                   	push   %esi                           
  108791:	53                   	push   %ebx                           
  108792:	83 ec 0c             	sub    $0xc,%esp                      
  108795:	89 c3                	mov    %eax,%ebx                      
  108797:	89 ce                	mov    %ecx,%esi                      
  108799:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  10879c:	8b 01                	mov    (%ecx),%eax                    
  10879e:	89 02                	mov    %eax,(%edx)                    
  1087a0:	eb 26                	jmp    1087c8 <scanString+0x3c>       
  1087a2:	66 90                	xchg   %ax,%ax                        
  for (;;) {                                                          
    c = getc(fp);                                                     
  1087a4:	8b 13                	mov    (%ebx),%edx                    
  1087a6:	0f b6 02             	movzbl (%edx),%eax                    
  1087a9:	42                   	inc    %edx                           
  1087aa:	89 13                	mov    %edx,(%ebx)                    
    if (c == ':') {                                                   
  1087ac:	83 f8 3a             	cmp    $0x3a,%eax                     
  1087af:	74 3b                	je     1087ec <scanString+0x60>       
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
  1087b1:	83 f8 0a             	cmp    $0xa,%eax                      
  1087b4:	74 56                	je     10880c <scanString+0x80>       
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
  1087b6:	83 f8 ff             	cmp    $0xffffffff,%eax               
  1087b9:	74 59                	je     108814 <scanString+0x88>       
      return 0;                                                       
    if (*nleft < 2)                                                   
  1087bb:	83 3f 01             	cmpl   $0x1,(%edi)                    
  1087be:	76 54                	jbe    108814 <scanString+0x88>       
      return 0;                                                       
    **bufp = c;                                                       
  1087c0:	8b 16                	mov    (%esi),%edx                    
  1087c2:	88 02                	mov    %al,(%edx)                     
    ++(*bufp);                                                        
  1087c4:	ff 06                	incl   (%esi)                         
    --(*nleft);                                                       
  1087c6:	ff 0f                	decl   (%edi)                         
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
  1087c8:	8b 43 04             	mov    0x4(%ebx),%eax                 
  1087cb:	48                   	dec    %eax                           
  1087cc:	89 43 04             	mov    %eax,0x4(%ebx)                 
  1087cf:	85 c0                	test   %eax,%eax                      
  1087d1:	79 d1                	jns    1087a4 <scanString+0x18>       
  1087d3:	83 ec 08             	sub    $0x8,%esp                      
  1087d6:	53                   	push   %ebx                           
  1087d7:	ff 35 00 52 12 00    	pushl  0x125200                       
  1087dd:	e8 b6 bd 00 00       	call   114598 <__srget_r>             
  1087e2:	83 c4 10             	add    $0x10,%esp                     
    if (c == ':') {                                                   
  1087e5:	83 f8 3a             	cmp    $0x3a,%eax                     
  1087e8:	75 c7                	jne    1087b1 <scanString+0x25>       <== ALWAYS TAKEN
  1087ea:	66 90                	xchg   %ax,%ax                        
        if (nlFlag)                                                   
  1087ec:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  1087ef:	85 d2                	test   %edx,%edx                      
  1087f1:	75 21                	jne    108814 <scanString+0x88>       
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  1087f3:	8b 06                	mov    (%esi),%eax                    
  1087f5:	c6 00 00             	movb   $0x0,(%eax)                    
  ++(*bufp);                                                          
  1087f8:	ff 06                	incl   (%esi)                         
  --(*nleft);                                                         
  1087fa:	ff 0f                	decl   (%edi)                         
  return 1;                                                           
  1087fc:	b8 01 00 00 00       	mov    $0x1,%eax                      
}                                                                     
  108801:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108804:	5b                   	pop    %ebx                           
  108805:	5e                   	pop    %esi                           
  108806:	5f                   	pop    %edi                           
  108807:	c9                   	leave                                 
  108808:	c3                   	ret                                   
  108809:	8d 76 00             	lea    0x0(%esi),%esi                 
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
        if (!nlFlag)                                                  
  10880c:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10880f:	85 c0                	test   %eax,%eax                      
  108811:	75 e0                	jne    1087f3 <scanString+0x67>       
  108813:	90                   	nop                                   
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
  108814:	31 c0                	xor    %eax,%eax                      
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
}                                                                     
  108816:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108819:	5b                   	pop    %ebx                           
  10881a:	5e                   	pop    %esi                           
  10881b:	5f                   	pop    %edi                           
  10881c:	c9                   	leave                                 
  10881d:	c3                   	ret                                   
                                                                      

00108820 <scangr>: FILE *fp, struct group *grp, char *buffer, size_t bufsize ) {
  108820:	55                   	push   %ebp                           
  108821:	89 e5                	mov    %esp,%ebp                      
  108823:	57                   	push   %edi                           
  108824:	56                   	push   %esi                           
  108825:	53                   	push   %ebx                           
  108826:	83 ec 34             	sub    $0x34,%esp                     
  108829:	89 c6                	mov    %eax,%esi                      
  10882b:	89 d3                	mov    %edx,%ebx                      
  10882d:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
  108830:	8d 7d d4             	lea    -0x2c(%ebp),%edi               
  108833:	6a 00                	push   $0x0                           
  108835:	8d 45 08             	lea    0x8(%ebp),%eax                 
  108838:	50                   	push   %eax                           
  108839:	89 f9                	mov    %edi,%ecx                      
  10883b:	89 f0                	mov    %esi,%eax                      
  10883d:	e8 4a ff ff ff       	call   10878c <scanString>            
  108842:	83 c4 10             	add    $0x10,%esp                     
  108845:	85 c0                	test   %eax,%eax                      
  108847:	75 0b                	jne    108854 <scangr+0x34>           
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
    return 0;                                                         
  108849:	31 c0                	xor    %eax,%eax                      
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
  return 1;                                                           
}                                                                     
  10884b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10884e:	5b                   	pop    %ebx                           
  10884f:	5e                   	pop    %esi                           
  108850:	5f                   	pop    %edi                           
  108851:	c9                   	leave                                 
  108852:	c3                   	ret                                   
  108853:	90                   	nop                                   
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
  108854:	83 ec 08             	sub    $0x8,%esp                      
  108857:	8d 53 04             	lea    0x4(%ebx),%edx                 
  10885a:	6a 00                	push   $0x0                           
  10885c:	8d 45 08             	lea    0x8(%ebp),%eax                 
  10885f:	50                   	push   %eax                           
  108860:	89 f9                	mov    %edi,%ecx                      
  108862:	89 f0                	mov    %esi,%eax                      
  108864:	e8 23 ff ff ff       	call   10878c <scanString>            
  108869:	83 c4 10             	add    $0x10,%esp                     
  10886c:	85 c0                	test   %eax,%eax                      
  10886e:	74 d9                	je     108849 <scangr+0x29>           <== NEVER TAKEN
   || !scanInt(fp, &grgid)                                            
  108870:	8d 55 e4             	lea    -0x1c(%ebp),%edx               
  108873:	89 f0                	mov    %esi,%eax                      
  108875:	e8 3a fe ff ff       	call   1086b4 <scanInt>               
  10887a:	85 c0                	test   %eax,%eax                      
  10887c:	74 cb                	je     108849 <scangr+0x29>           <== NEVER TAKEN
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
  10887e:	83 ec 08             	sub    $0x8,%esp                      
  108881:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  108884:	6a 01                	push   $0x1                           
  108886:	8d 45 08             	lea    0x8(%ebp),%eax                 
  108889:	50                   	push   %eax                           
  10888a:	89 f9                	mov    %edi,%ecx                      
  10888c:	89 f0                	mov    %esi,%eax                      
  10888e:	e8 f9 fe ff ff       	call   10878c <scanString>            
  108893:	83 c4 10             	add    $0x10,%esp                     
  108896:	85 c0                	test   %eax,%eax                      
  108898:	74 af                	je     108849 <scangr+0x29>           <== NEVER TAKEN
    return 0;                                                         
  grp->gr_gid = grgid;                                                
  10889a:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10889d:	66 89 43 08          	mov    %ax,0x8(%ebx)                  
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
  1088a1:	8b 7d e0             	mov    -0x20(%ebp),%edi               
  1088a4:	8a 07                	mov    (%edi),%al                     
  1088a6:	84 c0                	test   %al,%al                        
  1088a8:	74 7d                	je     108927 <scangr+0x107>          <== NEVER TAKEN
  1088aa:	89 fa                	mov    %edi,%edx                      
  1088ac:	b9 01 00 00 00       	mov    $0x1,%ecx                      
  1088b1:	eb 08                	jmp    1088bb <scangr+0x9b>           
  1088b3:	90                   	nop                                   
  1088b4:	42                   	inc    %edx                           
  1088b5:	8a 02                	mov    (%edx),%al                     
  1088b7:	84 c0                	test   %al,%al                        
  1088b9:	74 09                	je     1088c4 <scangr+0xa4>           
    if(*cp == ',')                                                    
  1088bb:	3c 2c                	cmp    $0x2c,%al                      
  1088bd:	75 f5                	jne    1088b4 <scangr+0x94>           
      memcount++;                                                     
  1088bf:	41                   	inc    %ecx                           
  1088c0:	eb f2                	jmp    1088b4 <scangr+0x94>           
  1088c2:	66 90                	xchg   %ax,%ax                        
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
  1088c4:	8d 04 8d 13 00 00 00 	lea    0x13(,%ecx,4),%eax             
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
  1088cb:	39 45 08             	cmp    %eax,0x8(%ebp)                 
  1088ce:	0f 82 75 ff ff ff    	jb     108849 <scangr+0x29>           <== NEVER TAKEN
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
  1088d4:	8b 75 d4             	mov    -0x2c(%ebp),%esi               
  1088d7:	83 c6 0f             	add    $0xf,%esi                      
  1088da:	83 e6 f0             	and    $0xfffffff0,%esi               
  1088dd:	89 73 0c             	mov    %esi,0xc(%ebx)                 
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  1088e0:	89 3e                	mov    %edi,(%esi)                    
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
  1088e2:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  1088e5:	8a 10                	mov    (%eax),%dl                     
  1088e7:	84 d2                	test   %dl,%dl                        
  1088e9:	74 43                	je     10892e <scangr+0x10e>          <== NEVER TAKEN
}                                                                     
                                                                      
/*                                                                    
 * Extract a single group record from the database                    
 */                                                                   
static int scangr(                                                    
  1088eb:	40                   	inc    %eax                           
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
  1088ec:	b9 01 00 00 00       	mov    $0x1,%ecx                      
  1088f1:	eb 08                	jmp    1088fb <scangr+0xdb>           
  1088f3:	90                   	nop                                   
  1088f4:	8a 10                	mov    (%eax),%dl                     
  1088f6:	40                   	inc    %eax                           
  1088f7:	84 d2                	test   %dl,%dl                        
  1088f9:	74 15                	je     108910 <scangr+0xf0>           
    if(*cp == ',') {                                                  
  1088fb:	80 fa 2c             	cmp    $0x2c,%dl                      
  1088fe:	75 f4                	jne    1088f4 <scangr+0xd4>           
      *cp = '\0';                                                     
  108900:	c6 40 ff 00          	movb   $0x0,-0x1(%eax)                
      grp->gr_mem[memcount++] = cp + 1;                               
  108904:	8b 53 0c             	mov    0xc(%ebx),%edx                 
  108907:	89 04 8a             	mov    %eax,(%edx,%ecx,4)             
  10890a:	41                   	inc    %ecx                           
  10890b:	eb e7                	jmp    1088f4 <scangr+0xd4>           
  10890d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
  108910:	8b 73 0c             	mov    0xc(%ebx),%esi                 
  108913:	c1 e1 02             	shl    $0x2,%ecx                      
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
  108916:	c7 04 0e 00 00 00 00 	movl   $0x0,(%esi,%ecx,1)             
  return 1;                                                           
  10891d:	b8 01 00 00 00       	mov    $0x1,%eax                      
  108922:	e9 24 ff ff ff       	jmp    10884b <scangr+0x2b>           
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
  108927:	b8 17 00 00 00       	mov    $0x17,%eax                     <== NOT EXECUTED
  10892c:	eb 9d                	jmp    1088cb <scangr+0xab>           <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
  10892e:	b9 04 00 00 00       	mov    $0x4,%ecx                      <== NOT EXECUTED
  108933:	eb e1                	jmp    108916 <scangr+0xf6>           <== NOT EXECUTED
                                                                      

00108938 <scanpw>: FILE *fp, struct passwd *pwd, char *buffer, size_t bufsize ) {
  108938:	55                   	push   %ebp                           
  108939:	89 e5                	mov    %esp,%ebp                      
  10893b:	57                   	push   %edi                           
  10893c:	56                   	push   %esi                           
  10893d:	53                   	push   %ebx                           
  10893e:	83 ec 34             	sub    $0x34,%esp                     
  108941:	89 c6                	mov    %eax,%esi                      
  108943:	89 d3                	mov    %edx,%ebx                      
  108945:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
  108948:	8d 7d d4             	lea    -0x2c(%ebp),%edi               
  10894b:	6a 00                	push   $0x0                           
  10894d:	8d 45 08             	lea    0x8(%ebp),%eax                 
  108950:	50                   	push   %eax                           
  108951:	89 f9                	mov    %edi,%ecx                      
  108953:	89 f0                	mov    %esi,%eax                      
  108955:	e8 32 fe ff ff       	call   10878c <scanString>            
  10895a:	83 c4 10             	add    $0x10,%esp                     
  10895d:	85 c0                	test   %eax,%eax                      
  10895f:	75 0b                	jne    10896c <scanpw+0x34>           
   || !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;                                                         
  108961:	31 c0                	xor    %eax,%eax                      
  pwd->pw_uid = pwuid;                                                
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
}                                                                     
  108963:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108966:	5b                   	pop    %ebx                           
  108967:	5e                   	pop    %esi                           
  108968:	5f                   	pop    %edi                           
  108969:	c9                   	leave                                 
  10896a:	c3                   	ret                                   
  10896b:	90                   	nop                                   
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
  10896c:	83 ec 08             	sub    $0x8,%esp                      
  10896f:	8d 53 04             	lea    0x4(%ebx),%edx                 
  108972:	6a 00                	push   $0x0                           
  108974:	8d 45 08             	lea    0x8(%ebp),%eax                 
  108977:	50                   	push   %eax                           
  108978:	89 f9                	mov    %edi,%ecx                      
  10897a:	89 f0                	mov    %esi,%eax                      
  10897c:	e8 0b fe ff ff       	call   10878c <scanString>            
  108981:	83 c4 10             	add    $0x10,%esp                     
  108984:	85 c0                	test   %eax,%eax                      
  108986:	74 d9                	je     108961 <scanpw+0x29>           <== NEVER TAKEN
   || !scanInt(fp, &pwuid)                                            
  108988:	8d 55 e4             	lea    -0x1c(%ebp),%edx               
  10898b:	89 f0                	mov    %esi,%eax                      
  10898d:	e8 22 fd ff ff       	call   1086b4 <scanInt>               
  108992:	85 c0                	test   %eax,%eax                      
  108994:	74 cb                	je     108961 <scanpw+0x29>           
   || !scanInt(fp, &pwgid)                                            
  108996:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  108999:	89 f0                	mov    %esi,%eax                      
  10899b:	e8 14 fd ff ff       	call   1086b4 <scanInt>               
  1089a0:	85 c0                	test   %eax,%eax                      
  1089a2:	74 bd                	je     108961 <scanpw+0x29>           
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
  1089a4:	83 ec 08             	sub    $0x8,%esp                      
  1089a7:	8d 53 0c             	lea    0xc(%ebx),%edx                 
  1089aa:	6a 00                	push   $0x0                           
  1089ac:	8d 45 08             	lea    0x8(%ebp),%eax                 
  1089af:	50                   	push   %eax                           
  1089b0:	89 f9                	mov    %edi,%ecx                      
  1089b2:	89 f0                	mov    %esi,%eax                      
  1089b4:	e8 d3 fd ff ff       	call   10878c <scanString>            
  1089b9:	83 c4 10             	add    $0x10,%esp                     
  1089bc:	85 c0                	test   %eax,%eax                      
  1089be:	74 a1                	je     108961 <scanpw+0x29>           <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
  1089c0:	83 ec 08             	sub    $0x8,%esp                      
  1089c3:	8d 53 10             	lea    0x10(%ebx),%edx                
  1089c6:	6a 00                	push   $0x0                           
  1089c8:	8d 45 08             	lea    0x8(%ebp),%eax                 
  1089cb:	50                   	push   %eax                           
  1089cc:	89 f9                	mov    %edi,%ecx                      
  1089ce:	89 f0                	mov    %esi,%eax                      
  1089d0:	e8 b7 fd ff ff       	call   10878c <scanString>            
  1089d5:	83 c4 10             	add    $0x10,%esp                     
  1089d8:	85 c0                	test   %eax,%eax                      
  1089da:	74 85                	je     108961 <scanpw+0x29>           <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
  1089dc:	83 ec 08             	sub    $0x8,%esp                      
  1089df:	8d 53 14             	lea    0x14(%ebx),%edx                
  1089e2:	6a 00                	push   $0x0                           
  1089e4:	8d 45 08             	lea    0x8(%ebp),%eax                 
  1089e7:	50                   	push   %eax                           
  1089e8:	89 f9                	mov    %edi,%ecx                      
  1089ea:	89 f0                	mov    %esi,%eax                      
  1089ec:	e8 9b fd ff ff       	call   10878c <scanString>            
  1089f1:	83 c4 10             	add    $0x10,%esp                     
  1089f4:	85 c0                	test   %eax,%eax                      
  1089f6:	0f 84 65 ff ff ff    	je     108961 <scanpw+0x29>           <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
  1089fc:	83 ec 08             	sub    $0x8,%esp                      
  1089ff:	8d 53 18             	lea    0x18(%ebx),%edx                
  108a02:	6a 01                	push   $0x1                           
  108a04:	8d 45 08             	lea    0x8(%ebp),%eax                 
  108a07:	50                   	push   %eax                           
  108a08:	89 f9                	mov    %edi,%ecx                      
  108a0a:	89 f0                	mov    %esi,%eax                      
  108a0c:	e8 7b fd ff ff       	call   10878c <scanString>            
  108a11:	83 c4 10             	add    $0x10,%esp                     
  108a14:	85 c0                	test   %eax,%eax                      
  108a16:	0f 84 45 ff ff ff    	je     108961 <scanpw+0x29>           
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
  108a1c:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  108a1f:	66 89 43 08          	mov    %ax,0x8(%ebx)                  
  pwd->pw_gid = pwgid;                                                
  108a23:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  108a26:	66 89 43 0a          	mov    %ax,0xa(%ebx)                  
  return 1;                                                           
  108a2a:	b8 01 00 00 00       	mov    $0x1,%eax                      
  108a2f:	e9 2f ff ff ff       	jmp    108963 <scanpw+0x2b>           
                                                                      

0010a0b8 <siproc>: /* * Process input character, with semaphore. */ static int siproc (unsigned char c, struct rtems_termios_tty *tty) {
  10a0b8:	55                   	push   %ebp                           
  10a0b9:	89 e5                	mov    %esp,%ebp                      
  10a0bb:	56                   	push   %esi                           
  10a0bc:	53                   	push   %ebx                           
  10a0bd:	89 d3                	mov    %edx,%ebx                      
  10a0bf:	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)) {
  10a0c1:	f7 42 3c 78 0e 00 00 	testl  $0xe78,0x3c(%edx)              
  10a0c8:	75 12                	jne    10a0dc <siproc+0x24>           <== ALWAYS TAKEN
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
    i = iproc (c, tty);                                               
    rtems_semaphore_release (tty->osem);                              
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  10a0ca:	0f b6 c0             	movzbl %al,%eax                       
  10a0cd:	89 da                	mov    %ebx,%edx                      
  }                                                                   
  return i;                                                           
}                                                                     
  10a0cf:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10a0d2:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10a0d3:	5e                   	pop    %esi                           <== NOT EXECUTED
  10a0d4:	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);                                               
  10a0d5:	e9 92 fe ff ff       	jmp    109f6c <iproc>                 <== NOT EXECUTED
  10a0da:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
  10a0dc:	52                   	push   %edx                           
  10a0dd:	6a 00                	push   $0x0                           
  10a0df:	6a 00                	push   $0x0                           
  10a0e1:	ff 73 18             	pushl  0x18(%ebx)                     
  10a0e4:	e8 c7 15 00 00       	call   10b6b0 <rtems_semaphore_obtain>
    i = iproc (c, tty);                                               
  10a0e9:	89 f2                	mov    %esi,%edx                      
  10a0eb:	0f b6 c2             	movzbl %dl,%eax                       
  10a0ee:	89 da                	mov    %ebx,%edx                      
  10a0f0:	e8 77 fe ff ff       	call   109f6c <iproc>                 
  10a0f5:	89 c6                	mov    %eax,%esi                      
    rtems_semaphore_release (tty->osem);                              
  10a0f7:	58                   	pop    %eax                           
  10a0f8:	ff 73 18             	pushl  0x18(%ebx)                     
  10a0fb:	e8 ac 16 00 00       	call   10b7ac <rtems_semaphore_release>
  10a100:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
  10a103:	89 f0                	mov    %esi,%eax                      
  10a105:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10a108:	5b                   	pop    %ebx                           
  10a109:	5e                   	pop    %esi                           
  10a10a:	c9                   	leave                                 
  10a10b:	c3                   	ret                                   
                                                                      

00108ecc <stat>: int _STAT_NAME( const char *path, struct stat *buf ) {
  108ecc:	55                   	push   %ebp                           
  108ecd:	89 e5                	mov    %esp,%ebp                      
  108ecf:	57                   	push   %edi                           
  108ed0:	56                   	push   %esi                           
  108ed1:	53                   	push   %ebx                           
  108ed2:	83 ec 3c             	sub    $0x3c,%esp                     
  108ed5:	8b 55 08             	mov    0x8(%ebp),%edx                 
  108ed8:	8b 75 0c             	mov    0xc(%ebp),%esi                 
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
  108edb:	85 f6                	test   %esi,%esi                      
  108edd:	74 65                	je     108f44 <stat+0x78>             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
  108edf:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  108ee4:	89 d7                	mov    %edx,%edi                      
  108ee6:	31 c0                	xor    %eax,%eax                      
  108ee8:	f2 ae                	repnz scas %es:(%edi),%al             
  108eea:	f7 d1                	not    %ecx                           
  108eec:	49                   	dec    %ecx                           
  108eed:	83 ec 0c             	sub    $0xc,%esp                      
  108ef0:	6a 01                	push   $0x1                           
  108ef2:	8d 5d d4             	lea    -0x2c(%ebp),%ebx               
  108ef5:	53                   	push   %ebx                           
  108ef6:	6a 00                	push   $0x0                           
  108ef8:	51                   	push   %ecx                           
  108ef9:	52                   	push   %edx                           
  108efa:	e8 45 f1 ff ff       	call   108044 <rtems_filesystem_evaluate_path>
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
  108eff:	83 c4 20             	add    $0x20,%esp                     
  108f02:	85 c0                	test   %eax,%eax                      
  108f04:	74 0e                	je     108f14 <stat+0x48>             
    return -1;                                                        
  108f06:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return status;                                                      
}                                                                     
  108f0b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108f0e:	5b                   	pop    %ebx                           
  108f0f:	5e                   	pop    %esi                           
  108f10:	5f                   	pop    %edi                           
  108f11:	c9                   	leave                                 
  108f12:	c3                   	ret                                   
  108f13:	90                   	nop                                   
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
  108f14:	b9 48 00 00 00       	mov    $0x48,%ecx                     
  108f19:	89 f7                	mov    %esi,%edi                      
  108f1b:	f3 aa                	rep stos %al,%es:(%edi)               
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
  108f1d:	83 ec 08             	sub    $0x8,%esp                      
  108f20:	56                   	push   %esi                           
  108f21:	53                   	push   %ebx                           
  108f22:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  108f25:	ff 50 18             	call   *0x18(%eax)                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  108f28:	89 1c 24             	mov    %ebx,(%esp)                    
  108f2b:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  108f2e:	e8 e9 f1 ff ff       	call   10811c <rtems_filesystem_freenode>
                                                                      
  return status;                                                      
  108f33:	83 c4 10             	add    $0x10,%esp                     
  108f36:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
}                                                                     
  108f39:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108f3c:	5b                   	pop    %ebx                           
  108f3d:	5e                   	pop    %esi                           
  108f3e:	5f                   	pop    %edi                           
  108f3f:	c9                   	leave                                 
  108f40:	c3                   	ret                                   
  108f41:	8d 76 00             	lea    0x0(%esi),%esi                 
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
    rtems_set_errno_and_return_minus_one( EFAULT );                   
  108f44:	e8 d3 78 00 00       	call   11081c <__errno>               
  108f49:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    
  108f4f:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return status;                                                      
}                                                                     
  108f54:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  108f57:	5b                   	pop    %ebx                           
  108f58:	5e                   	pop    %esi                           
  108f59:	5f                   	pop    %edi                           
  108f5a:	c9                   	leave                                 
  108f5b:	c3                   	ret                                   
                                                                      

0010b33c <statvfs>: #include <sys/statvfs.h> int statvfs (const char *path, struct statvfs *sb) {
  10b33c:	55                   	push   %ebp                           
  10b33d:	89 e5                	mov    %esp,%ebp                      
  10b33f:	57                   	push   %edi                           
  10b340:	56                   	push   %esi                           
  10b341:	53                   	push   %ebx                           
  10b342:	83 ec 48             	sub    $0x48,%esp                     
  10b345:	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 ) )
  10b348:	31 f6                	xor    %esi,%esi                      
  10b34a:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  10b34f:	89 d7                	mov    %edx,%edi                      
  10b351:	89 f0                	mov    %esi,%eax                      
  10b353:	f2 ae                	repnz scas %es:(%edi),%al             
  10b355:	f7 d1                	not    %ecx                           
  10b357:	49                   	dec    %ecx                           
  10b358:	6a 01                	push   $0x1                           
  10b35a:	8d 5d d4             	lea    -0x2c(%ebp),%ebx               
  10b35d:	53                   	push   %ebx                           
  10b35e:	6a 00                	push   $0x0                           
  10b360:	51                   	push   %ecx                           
  10b361:	52                   	push   %edx                           
  10b362:	e8 ad eb ff ff       	call   109f14 <rtems_filesystem_evaluate_path>
  10b367:	83 c4 20             	add    $0x20,%esp                     
  10b36a:	85 c0                	test   %eax,%eax                      
  10b36c:	74 0e                	je     10b37c <statvfs+0x40>          <== ALWAYS TAKEN
    return -1;                                                        
  10b36e:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return result;                                                      
}                                                                     
  10b373:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  10b376:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10b377:	5e                   	pop    %esi                           <== NOT EXECUTED
  10b378:	5f                   	pop    %edi                           <== NOT EXECUTED
  10b379:	c9                   	leave                                 <== NOT EXECUTED
  10b37a:	c3                   	ret                                   <== NOT EXECUTED
  10b37b:	90                   	nop                                   <== NOT EXECUTED
   */                                                                 
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
    return -1;                                                        
                                                                      
  mt_entry      = loc.mt_entry;                                       
  10b37c:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  fs_mount_root = &mt_entry->mt_fs_root;                              
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
  10b37f:	b9 38 00 00 00       	mov    $0x38,%ecx                     
  10b384:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10b387:	89 f0                	mov    %esi,%eax                      
  10b389:	f3 aa                	rep stos %al,%es:(%edi)               
                                                                      
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
  10b38b:	83 ec 08             	sub    $0x8,%esp                      
  10b38e:	8b 42 28             	mov    0x28(%edx),%eax                
  10b391:	ff 75 0c             	pushl  0xc(%ebp)                      
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
    return -1;                                                        
                                                                      
  mt_entry      = loc.mt_entry;                                       
  fs_mount_root = &mt_entry->mt_fs_root;                              
  10b394:	83 c2 1c             	add    $0x1c,%edx                     
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
                                                                      
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
  10b397:	52                   	push   %edx                           
  10b398:	ff 50 44             	call   *0x44(%eax)                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  10b39b:	89 1c 24             	mov    %ebx,(%esp)                    
  10b39e:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  10b3a1:	e8 46 ec ff ff       	call   109fec <rtems_filesystem_freenode>
                                                                      
  return result;                                                      
  10b3a6:	83 c4 10             	add    $0x10,%esp                     
  10b3a9:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
}                                                                     
  10b3ac:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b3af:	5b                   	pop    %ebx                           
  10b3b0:	5e                   	pop    %esi                           
  10b3b1:	5f                   	pop    %edi                           
  10b3b2:	c9                   	leave                                 
  10b3b3:	c3                   	ret                                   
                                                                      

0010ac74 <symlink>: int symlink( const char *actualpath, const char *sympath ) {
  10ac74:	55                   	push   %ebp                           
  10ac75:	89 e5                	mov    %esp,%ebp                      
  10ac77:	56                   	push   %esi                           
  10ac78:	53                   	push   %ebx                           
  10ac79:	83 ec 34             	sub    $0x34,%esp                     
  10ac7c:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
  10ac7f:	8d 5d dc             	lea    -0x24(%ebp),%ebx               
  10ac82:	53                   	push   %ebx                           
  10ac83:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10ac86:	50                   	push   %eax                           
  10ac87:	56                   	push   %esi                           
  10ac88:	e8 0f ff ff ff       	call   10ab9c <rtems_filesystem_get_start_loc>
                                                                      
  result = (*loc.ops->evalformake_h)( &sympath[i], &loc, &name_start );
  10ac8d:	83 c4 0c             	add    $0xc,%esp                      
  10ac90:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  10ac93:	50                   	push   %eax                           
  10ac94:	53                   	push   %ebx                           
  10ac95:	03 75 f4             	add    -0xc(%ebp),%esi                
  10ac98:	56                   	push   %esi                           
  10ac99:	8b 45 e8             	mov    -0x18(%ebp),%eax               
  10ac9c:	ff 50 04             	call   *0x4(%eax)                     
  if ( result != 0 )                                                  
  10ac9f:	83 c4 10             	add    $0x10,%esp                     
  10aca2:	85 c0                	test   %eax,%eax                      
  10aca4:	74 0e                	je     10acb4 <symlink+0x40>          
    return -1;                                                        
  10aca6:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  result = (*loc.ops->symlink_h)( &loc, actualpath, name_start);      
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return result;                                                      
}                                                                     
  10acab:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10acae:	5b                   	pop    %ebx                           
  10acaf:	5e                   	pop    %esi                           
  10acb0:	c9                   	leave                                 
  10acb1:	c3                   	ret                                   
  10acb2:	66 90                	xchg   %ax,%ax                        
                                                                      
  result = (*loc.ops->evalformake_h)( &sympath[i], &loc, &name_start );
  if ( result != 0 )                                                  
    return -1;                                                        
                                                                      
  result = (*loc.ops->symlink_h)( &loc, actualpath, name_start);      
  10acb4:	50                   	push   %eax                           
  10acb5:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10acb8:	ff 75 08             	pushl  0x8(%ebp)                      
  10acbb:	53                   	push   %ebx                           
  10acbc:	8b 45 e8             	mov    -0x18(%ebp),%eax               
  10acbf:	ff 50 38             	call   *0x38(%eax)                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  10acc2:	89 1c 24             	mov    %ebx,(%esp)                    
  10acc5:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10acc8:	e8 8f ec ff ff       	call   10995c <rtems_filesystem_freenode>
                                                                      
  return result;                                                      
  10accd:	83 c4 10             	add    $0x10,%esp                     
  10acd0:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
}                                                                     
  10acd3:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10acd6:	5b                   	pop    %ebx                           
  10acd7:	5e                   	pop    %esi                           
  10acd8:	c9                   	leave                                 
  10acd9:	c3                   	ret                                   
                                                                      

0010a1c8 <sync_per_thread>: fdatasync(fn); } /* iterate over all FILE *'s for this thread */ static void sync_per_thread(Thread_Control *t) {
  10a1c8:	55                   	push   %ebp                           
  10a1c9:	89 e5                	mov    %esp,%ebp                      
  10a1cb:	53                   	push   %ebx                           
  10a1cc:	83 ec 04             	sub    $0x4,%esp                      
  10a1cf:	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;                                        
  10a1d2:	8b 90 e0 00 00 00    	mov    0xe0(%eax),%edx                
   if ( this_reent ) {                                                
  10a1d8:	85 d2                	test   %edx,%edx                      
  10a1da:	74 33                	je     10a20f <sync_per_thread+0x47>  <== NEVER TAKEN
     current_reent = _Thread_Executing->libc_reent;                   
  10a1dc:	8b 0d 38 77 12 00    	mov    0x127738,%ecx                  
  10a1e2:	8b 99 e0 00 00 00    	mov    0xe0(%ecx),%ebx                
     _Thread_Executing->libc_reent = this_reent;                      
  10a1e8:	89 91 e0 00 00 00    	mov    %edx,0xe0(%ecx)                
     _fwalk (t->libc_reent, sync_wrapper);                            
  10a1ee:	83 ec 08             	sub    $0x8,%esp                      
  10a1f1:	68 14 a2 10 00       	push   $0x10a214                      
  10a1f6:	ff b0 e0 00 00 00    	pushl  0xe0(%eax)                     
  10a1fc:	e8 c3 a1 00 00       	call   1143c4 <_fwalk>                
     _Thread_Executing->libc_reent = current_reent;                   
  10a201:	a1 38 77 12 00       	mov    0x127738,%eax                  
  10a206:	89 98 e0 00 00 00    	mov    %ebx,0xe0(%eax)                
  10a20c:	83 c4 10             	add    $0x10,%esp                     
   }                                                                  
}                                                                     
  10a20f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10a212:	c9                   	leave                                 
  10a213:	c3                   	ret                                   
                                                                      

0010a874 <tcsetattr>: int tcsetattr( int fd, int opt, struct termios *tp ) {
  10a874:	55                   	push   %ebp                           
  10a875:	89 e5                	mov    %esp,%ebp                      
  10a877:	56                   	push   %esi                           
  10a878:	53                   	push   %ebx                           
  10a879:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10a87c:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10a87f:	8b 75 10             	mov    0x10(%ebp),%esi                
  switch (opt) {                                                      
  10a882:	85 c0                	test   %eax,%eax                      
  10a884:	74 2c                	je     10a8b2 <tcsetattr+0x3e>        
  10a886:	48                   	dec    %eax                           
  10a887:	74 17                	je     10a8a0 <tcsetattr+0x2c>        
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  10a889:	e8 26 96 00 00       	call   113eb4 <__errno>               
  10a88e:	c7 00 86 00 00 00    	movl   $0x86,(%eax)                   
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
  }                                                                   
}                                                                     
  10a894:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10a899:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10a89c:	5b                   	pop    %ebx                           
  10a89d:	5e                   	pop    %esi                           
  10a89e:	c9                   	leave                                 
  10a89f:	c3                   	ret                                   
  switch (opt) {                                                      
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
  10a8a0:	50                   	push   %eax                           
  10a8a1:	6a 00                	push   $0x0                           
  10a8a3:	6a 03                	push   $0x3                           
  10a8a5:	53                   	push   %ebx                           
  10a8a6:	e8 05 70 00 00       	call   1118b0 <ioctl>                 
  10a8ab:	83 c4 10             	add    $0x10,%esp                     
  10a8ae:	85 c0                	test   %eax,%eax                      
  10a8b0:	78 e2                	js     10a894 <tcsetattr+0x20>        <== NEVER TAKEN
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
  10a8b2:	89 75 10             	mov    %esi,0x10(%ebp)                
  10a8b5:	c7 45 0c 02 00 00 00 	movl   $0x2,0xc(%ebp)                 
  10a8bc:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
}                                                                     
  10a8bf:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10a8c2:	5b                   	pop    %ebx                           
  10a8c3:	5e                   	pop    %esi                           
  10a8c4:	c9                   	leave                                 
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
  10a8c5:	e9 e6 6f 00 00       	jmp    1118b0 <ioctl>                 
                                                                      

0010bb84 <unlink>: #include <rtems/seterr.h> int unlink( const char *path ) {
  10bb84:	55                   	push   %ebp                           
  10bb85:	89 e5                	mov    %esp,%ebp                      
  10bb87:	57                   	push   %edi                           
  10bb88:	56                   	push   %esi                           
  10bb89:	53                   	push   %ebx                           
  10bb8a:	83 ec 58             	sub    $0x58,%esp                     
  10bb8d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
  10bb90:	53                   	push   %ebx                           
  10bb91:	e8 3e d3 ff ff       	call   108ed4 <rtems_filesystem_dirname>
                                                                      
  if ( parentpathlen == 0 )                                           
  10bb96:	83 c4 10             	add    $0x10,%esp                     
  10bb99:	85 c0                	test   %eax,%eax                      
  10bb9b:	0f 85 d3 00 00 00    	jne    10bc74 <unlink+0xf0>           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
  10bba1:	50                   	push   %eax                           
  10bba2:	8d 45 d0             	lea    -0x30(%ebp),%eax               
  10bba5:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
  10bba8:	50                   	push   %eax                           
  10bba9:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10bbac:	50                   	push   %eax                           
  10bbad:	53                   	push   %ebx                           
  10bbae:	e8 b9 e2 ff ff       	call   109e6c <rtems_filesystem_get_start_loc>
  10bbb3:	83 c4 10             	add    $0x10,%esp                     
  10bbb6:	31 d2                	xor    %edx,%edx                      
  const char                       *name;                             
  rtems_filesystem_location_info_t  parentloc;                        
  rtems_filesystem_location_info_t  loc;                              
  int                               i;                                
  int                               result;                           
  bool                              free_parentloc = false;           
  10bbb8:	c6 45 b3 00          	movb   $0x0,-0x4d(%ebp)               
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
  10bbbc:	8d 7d bc             	lea    -0x44(%ebp),%edi               
  10bbbf:	b9 05 00 00 00       	mov    $0x5,%ecx                      
  10bbc4:	8b 75 b4             	mov    -0x4c(%ebp),%esi               
  10bbc7:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  name = path + parentpathlen;                                        
  10bbc9:	01 d3                	add    %edx,%ebx                      
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
  10bbcb:	be ff ff ff ff       	mov    $0xffffffff,%esi               
  10bbd0:	89 f1                	mov    %esi,%ecx                      
  10bbd2:	89 df                	mov    %ebx,%edi                      
  10bbd4:	31 c0                	xor    %eax,%eax                      
  10bbd6:	f2 ae                	repnz scas %es:(%edi),%al             
  10bbd8:	f7 d1                	not    %ecx                           
  10bbda:	49                   	dec    %ecx                           
  10bbdb:	83 ec 08             	sub    $0x8,%esp                      
  10bbde:	51                   	push   %ecx                           
  10bbdf:	53                   	push   %ebx                           
  10bbe0:	e8 33 d3 ff ff       	call   108f18 <rtems_filesystem_prefix_separators>
  10bbe5:	01 c3                	add    %eax,%ebx                      
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
  10bbe7:	89 f1                	mov    %esi,%ecx                      
  10bbe9:	89 df                	mov    %ebx,%edi                      
  10bbeb:	31 c0                	xor    %eax,%eax                      
  10bbed:	f2 ae                	repnz scas %es:(%edi),%al             
  10bbef:	f7 d1                	not    %ecx                           
  10bbf1:	49                   	dec    %ecx                           
  10bbf2:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  10bbf9:	8d 75 bc             	lea    -0x44(%ebp),%esi               
  10bbfc:	56                   	push   %esi                           
  10bbfd:	6a 00                	push   $0x0                           
  10bbff:	51                   	push   %ecx                           
  10bc00:	53                   	push   %ebx                           
  10bc01:	e8 22 d2 ff ff       	call   108e28 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
  10bc06:	83 c4 20             	add    $0x20,%esp                     
  10bc09:	85 c0                	test   %eax,%eax                      
  10bc0b:	75 53                	jne    10bc60 <unlink+0xdc>           
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
  10bc0d:	83 ec 0c             	sub    $0xc,%esp                      
  10bc10:	56                   	push   %esi                           
  10bc11:	8b 45 c8             	mov    -0x38(%ebp),%eax               
  10bc14:	ff 50 10             	call   *0x10(%eax)                    
  10bc17:	83 c4 10             	add    $0x10,%esp                     
  10bc1a:	48                   	dec    %eax                           
  10bc1b:	0f 84 83 00 00 00    	je     10bca4 <unlink+0x120>          
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
  10bc21:	83 ec 08             	sub    $0x8,%esp                      
  10bc24:	56                   	push   %esi                           
  10bc25:	ff 75 b4             	pushl  -0x4c(%ebp)                    
  10bc28:	8b 45 c8             	mov    -0x38(%ebp),%eax               
  10bc2b:	ff 50 0c             	call   *0xc(%eax)                     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  10bc2e:	89 34 24             	mov    %esi,(%esp)                    
  10bc31:	89 45 ac             	mov    %eax,-0x54(%ebp)               
  10bc34:	e8 2f d3 ff ff       	call   108f68 <rtems_filesystem_freenode>
  if ( free_parentloc )                                               
  10bc39:	83 c4 10             	add    $0x10,%esp                     
  10bc3c:	80 7d b3 00          	cmpb   $0x0,-0x4d(%ebp)               
  10bc40:	8b 45 ac             	mov    -0x54(%ebp),%eax               
  10bc43:	74 11                	je     10bc56 <unlink+0xd2>           
    rtems_filesystem_freenode( &parentloc );                          
  10bc45:	83 ec 0c             	sub    $0xc,%esp                      
  10bc48:	ff 75 b4             	pushl  -0x4c(%ebp)                    
  10bc4b:	e8 18 d3 ff ff       	call   108f68 <rtems_filesystem_freenode>
  10bc50:	83 c4 10             	add    $0x10,%esp                     
  10bc53:	8b 45 ac             	mov    -0x54(%ebp),%eax               
                                                                      
  return result;                                                      
}                                                                     
  10bc56:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bc59:	5b                   	pop    %ebx                           
  10bc5a:	5e                   	pop    %esi                           
  10bc5b:	5f                   	pop    %edi                           
  10bc5c:	c9                   	leave                                 
  10bc5d:	c3                   	ret                                   
  10bc5e:	66 90                	xchg   %ax,%ax                        
  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 )                                             
  10bc60:	80 7d b3 00          	cmpb   $0x0,-0x4d(%ebp)               
  10bc64:	75 70                	jne    10bcd6 <unlink+0x152>          <== ALWAYS TAKEN
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  10bc66:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
  10bc6b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bc6e:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10bc6f:	5e                   	pop    %esi                           <== NOT EXECUTED
  10bc70:	5f                   	pop    %edi                           <== NOT EXECUTED
  10bc71:	c9                   	leave                                 <== NOT EXECUTED
  10bc72:	c3                   	ret                                   <== NOT EXECUTED
  10bc73:	90                   	nop                                   <== NOT EXECUTED
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
  10bc74:	89 c2                	mov    %eax,%edx                      
  10bc76:	83 ec 0c             	sub    $0xc,%esp                      
  10bc79:	6a 00                	push   $0x0                           
  10bc7b:	8d 45 d0             	lea    -0x30(%ebp),%eax               
  10bc7e:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
  10bc81:	50                   	push   %eax                           
  10bc82:	6a 02                	push   $0x2                           
  10bc84:	52                   	push   %edx                           
  10bc85:	53                   	push   %ebx                           
  10bc86:	89 55 ac             	mov    %edx,-0x54(%ebp)               
  10bc89:	e8 02 d2 ff ff       	call   108e90 <rtems_filesystem_evaluate_path>
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
  10bc8e:	83 c4 20             	add    $0x20,%esp                     
  10bc91:	85 c0                	test   %eax,%eax                      
  10bc93:	8b 55 ac             	mov    -0x54(%ebp),%edx               
  10bc96:	75 ce                	jne    10bc66 <unlink+0xe2>           <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
  10bc98:	c6 45 b3 01          	movb   $0x1,-0x4d(%ebp)               
  10bc9c:	e9 1b ff ff ff       	jmp    10bbbc <unlink+0x38>           
  10bca1:	8d 76 00             	lea    0x0(%esi),%esi                 
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
  10bca4:	83 ec 0c             	sub    $0xc,%esp                      
  10bca7:	56                   	push   %esi                           
  10bca8:	e8 bb d2 ff ff       	call   108f68 <rtems_filesystem_freenode>
    if ( free_parentloc )                                             
  10bcad:	83 c4 10             	add    $0x10,%esp                     
  10bcb0:	80 7d b3 00          	cmpb   $0x0,-0x4d(%ebp)               
  10bcb4:	74 0e                	je     10bcc4 <unlink+0x140>          
      rtems_filesystem_freenode( &parentloc );                        
  10bcb6:	83 ec 0c             	sub    $0xc,%esp                      
  10bcb9:	ff 75 b4             	pushl  -0x4c(%ebp)                    
  10bcbc:	e8 a7 d2 ff ff       	call   108f68 <rtems_filesystem_freenode>
  10bcc1:	83 c4 10             	add    $0x10,%esp                     
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  10bcc4:	e8 37 a4 00 00       	call   116100 <__errno>               
  10bcc9:	c7 00 15 00 00 00    	movl   $0x15,(%eax)                   
  10bccf:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10bcd4:	eb 80                	jmp    10bc56 <unlink+0xd2>           
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
  10bcd6:	83 ec 0c             	sub    $0xc,%esp                      
  10bcd9:	ff 75 b4             	pushl  -0x4c(%ebp)                    
  10bcdc:	e8 87 d2 ff ff       	call   108f68 <rtems_filesystem_freenode>
  10bce1:	83 c4 10             	add    $0x10,%esp                     
    return -1;                                                        
  10bce4:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10bce9:	e9 68 ff ff ff       	jmp    10bc56 <unlink+0xd2>           
                                                                      

0010bd64 <unmount>: */ int unmount( const char *path ) {
  10bd64:	55                   	push   %ebp                           
  10bd65:	89 e5                	mov    %esp,%ebp                      
  10bd67:	57                   	push   %edi                           
  10bd68:	56                   	push   %esi                           
  10bd69:	53                   	push   %ebx                           
  10bd6a:	83 ec 38             	sub    $0x38,%esp                     
  10bd6d:	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 ) )
  10bd70:	31 c0                	xor    %eax,%eax                      
  10bd72:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  10bd77:	89 d7                	mov    %edx,%edi                      
  10bd79:	f2 ae                	repnz scas %es:(%edi),%al             
  10bd7b:	f7 d1                	not    %ecx                           
  10bd7d:	49                   	dec    %ecx                           
  10bd7e:	6a 01                	push   $0x1                           
  10bd80:	8d 75 d4             	lea    -0x2c(%ebp),%esi               
  10bd83:	56                   	push   %esi                           
  10bd84:	6a 00                	push   $0x0                           
  10bd86:	51                   	push   %ecx                           
  10bd87:	52                   	push   %edx                           
  10bd88:	e8 77 cf ff ff       	call   108d04 <rtems_filesystem_evaluate_path>
  10bd8d:	83 c4 20             	add    $0x20,%esp                     
  10bd90:	85 c0                	test   %eax,%eax                      
  10bd92:	75 68                	jne    10bdfc <unmount+0x98>          
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
  10bd94:	8b 5d e4             	mov    -0x1c(%ebp),%ebx               
                                                                      
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( fs_root_loc->node_access != loc.node_access ){                 
  10bd97:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10bd9a:	39 43 1c             	cmp    %eax,0x1c(%ebx)                
  10bd9d:	0f 85 c5 00 00 00    	jne    10be68 <unmount+0x104>         
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  10bda3:	83 ec 0c             	sub    $0xc,%esp                      
  10bda6:	56                   	push   %esi                           
  10bda7:	e8 30 d0 ff ff       	call   108ddc <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 )                
  10bdac:	83 c4 10             	add    $0x10,%esp                     
  10bdaf:	a1 d0 61 12 00       	mov    0x1261d0,%eax                  
  10bdb4:	39 58 14             	cmp    %ebx,0x14(%eax)                
  10bdb7:	0f 84 cf 00 00 00    	je     10be8c <unmount+0x128>         
                                                                      
  /*                                                                  
   *  Verify there are no file systems below the path specified       
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_iterate( is_fs_below_mount_point,       
  10bdbd:	83 ec 08             	sub    $0x8,%esp                      
  10bdc0:	ff 73 2c             	pushl  0x2c(%ebx)                     
  10bdc3:	68 50 bd 10 00       	push   $0x10bd50                      
  10bdc8:	e8 ab d7 ff ff       	call   109578 <rtems_filesystem_mount_iterate>
  10bdcd:	83 c4 10             	add    $0x10,%esp                     
  10bdd0:	84 c0                	test   %al,%al                        
  10bdd2:	0f 85 b4 00 00 00    	jne    10be8c <unmount+0x128>         
   *  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 )             
  10bdd8:	83 ec 0c             	sub    $0xc,%esp                      
  10bddb:	53                   	push   %ebx                           
  10bddc:	e8 2b d3 ff ff       	call   10910c <rtems_libio_is_open_files_in_fs>
  10bde1:	83 c4 10             	add    $0x10,%esp                     
  10bde4:	48                   	dec    %eax                           
  10bde5:	0f 84 a1 00 00 00    	je     10be8c <unmount+0x128>         
   * 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 )             
  10bdeb:	83 ec 0c             	sub    $0xc,%esp                      
  10bdee:	8b 43 14             	mov    0x14(%ebx),%eax                
  10bdf1:	53                   	push   %ebx                           
  10bdf2:	ff 50 28             	call   *0x28(%eax)                    
  10bdf5:	83 c4 10             	add    $0x10,%esp                     
  10bdf8:	85 c0                	test   %eax,%eax                      
  10bdfa:	74 10                	je     10be0c <unmount+0xa8>          <== ALWAYS TAKEN
   */                                                                 
                                                                      
  if ((fs_root_loc->ops->fsunmount_me_h )( mt_entry ) != 0){          
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
      rtems_fatal_error_occurred( 0 );                                
    return -1;                                                        
  10bdfc:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
  10be01:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10be04:	5b                   	pop    %ebx                           
  10be05:	5e                   	pop    %esi                           
  10be06:	5f                   	pop    %edi                           
  10be07:	c9                   	leave                                 
  10be08:	c3                   	ret                                   
  10be09:	8d 76 00             	lea    0x0(%esi),%esi                 
   *  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){          
  10be0c:	83 ec 0c             	sub    $0xc,%esp                      
  10be0f:	8b 43 28             	mov    0x28(%ebx),%eax                
  10be12:	53                   	push   %ebx                           
  10be13:	ff 50 2c             	call   *0x2c(%eax)                    
  10be16:	83 c4 10             	add    $0x10,%esp                     
  10be19:	85 c0                	test   %eax,%eax                      
  10be1b:	0f 85 83 00 00 00    	jne    10bea4 <unmount+0x140>         <== NEVER TAKEN
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
  10be21:	52                   	push   %edx                           
  10be22:	6a 00                	push   $0x0                           
  10be24:	6a 00                	push   $0x0                           
  10be26:	ff 35 28 84 12 00    	pushl  0x128428                       
  10be2c:	e8 77 0b 00 00       	call   10c9a8 <rtems_semaphore_obtain>
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
  10be31:	89 1c 24             	mov    %ebx,(%esp)                    
  10be34:	e8 2b 14 00 00       	call   10d264 <_Chain_Extract>        
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
  10be39:	58                   	pop    %eax                           
  10be3a:	ff 35 28 84 12 00    	pushl  0x128428                       
  10be40:	e8 5f 0c 00 00       	call   10caa4 <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;                            
  10be45:	8d 43 08             	lea    0x8(%ebx),%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 );                          
  10be48:	89 04 24             	mov    %eax,(%esp)                    
  10be4b:	e8 8c cf ff ff       	call   108ddc <rtems_filesystem_freenode>
  free( mt_entry );                                                   
  10be50:	89 1c 24             	mov    %ebx,(%esp)                    
  10be53:	e8 98 cf ff ff       	call   108df0 <free>                  
                                                                      
  return 0;                                                           
  10be58:	83 c4 10             	add    $0x10,%esp                     
  10be5b:	31 c0                	xor    %eax,%eax                      
}                                                                     
  10be5d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10be60:	5b                   	pop    %ebx                           
  10be61:	5e                   	pop    %esi                           
  10be62:	5f                   	pop    %edi                           
  10be63:	c9                   	leave                                 
  10be64:	c3                   	ret                                   
  10be65:	8d 76 00             	lea    0x0(%esi),%esi                 
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( fs_root_loc->node_access != loc.node_access ){                 
    rtems_filesystem_freenode( &loc );                                
  10be68:	83 ec 0c             	sub    $0xc,%esp                      
  10be6b:	56                   	push   %esi                           
  10be6c:	e8 6b cf ff ff       	call   108ddc <rtems_filesystem_freenode>
    rtems_set_errno_and_return_minus_one( EACCES );                   
  10be71:	e8 16 75 00 00       	call   11338c <__errno>               
  10be76:	c7 00 0d 00 00 00    	movl   $0xd,(%eax)                    
  10be7c:	83 c4 10             	add    $0x10,%esp                     
  10be7f:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
  10be84:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10be87:	5b                   	pop    %ebx                           
  10be88:	5e                   	pop    %esi                           
  10be89:	5f                   	pop    %edi                           
  10be8a:	c9                   	leave                                 
  10be8b:	c3                   	ret                                   
   *  descriptors that are currently active and reference nodes in the
   *  file system that we are trying to unmount                       
   */                                                                 
                                                                      
  if ( rtems_libio_is_open_files_in_fs( mt_entry ) == 1 )             
    rtems_set_errno_and_return_minus_one( EBUSY );                    
  10be8c:	e8 fb 74 00 00       	call   11338c <__errno>               
  10be91:	c7 00 10 00 00 00    	movl   $0x10,(%eax)                   
  10be97:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
  10be9c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10be9f:	5b                   	pop    %ebx                           
  10bea0:	5e                   	pop    %esi                           
  10bea1:	5f                   	pop    %edi                           
  10bea2:	c9                   	leave                                 
  10bea3:	c3                   	ret                                   
   *         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 )             
  10bea4:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10bea7:	8b 43 14             	mov    0x14(%ebx),%eax                <== NOT EXECUTED
  10beaa:	53                   	push   %ebx                           <== NOT EXECUTED
  10beab:	ff 50 20             	call   *0x20(%eax)                    <== NOT EXECUTED
  10beae:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10beb1:	85 c0                	test   %eax,%eax                      <== NOT EXECUTED
  10beb3:	0f 84 43 ff ff ff    	je     10bdfc <unmount+0x98>          <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
  10beb9:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10bebc:	6a 00                	push   $0x0                           <== NOT EXECUTED
  10bebe:	e8 e9 10 00 00       	call   10cfac <rtems_fatal_error_occurred><== NOT EXECUTED
                                                                      

0010bf0c <utime>: int utime( const char *path, const struct utimbuf *times ) {
  10bf0c:	55                   	push   %ebp                           
  10bf0d:	89 e5                	mov    %esp,%ebp                      
  10bf0f:	57                   	push   %edi                           
  10bf10:	56                   	push   %esi                           
  10bf11:	53                   	push   %ebx                           
  10bf12:	83 ec 48             	sub    $0x48,%esp                     
  10bf15:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10bf18:	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 ) )
  10bf1b:	31 c0                	xor    %eax,%eax                      
  10bf1d:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
  10bf22:	89 d7                	mov    %edx,%edi                      
  10bf24:	f2 ae                	repnz scas %es:(%edi),%al             
  10bf26:	f7 d1                	not    %ecx                           
  10bf28:	49                   	dec    %ecx                           
  10bf29:	6a 01                	push   $0x1                           
  10bf2b:	8d 75 d4             	lea    -0x2c(%ebp),%esi               
  10bf2e:	56                   	push   %esi                           
  10bf2f:	6a 00                	push   $0x0                           
  10bf31:	51                   	push   %ecx                           
  10bf32:	52                   	push   %edx                           
  10bf33:	e8 d0 ca ff ff       	call   108a08 <rtems_filesystem_evaluate_path>
  10bf38:	83 c4 20             	add    $0x20,%esp                     
  10bf3b:	85 c0                	test   %eax,%eax                      
  10bf3d:	75 2d                	jne    10bf6c <utime+0x60>            
    return -1;                                                        
                                                                      
  if ( times == NULL ) {                                              
  10bf3f:	85 db                	test   %ebx,%ebx                      
  10bf41:	74 39                	je     10bf7c <utime+0x70>            
  10bf43:	8b 53 04             	mov    0x4(%ebx),%edx                 
  10bf46:	8b 03                	mov    (%ebx),%eax                    
    now.actime = now.modtime = time( NULL );                          
    times = &now;                                                     
  }                                                                   
                                                                      
  result = (*temp_loc.ops->utime_h)( &temp_loc, times->actime, times->modtime );
  10bf48:	51                   	push   %ecx                           
  10bf49:	52                   	push   %edx                           
  10bf4a:	50                   	push   %eax                           
  10bf4b:	56                   	push   %esi                           
  10bf4c:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10bf4f:	ff 50 30             	call   *0x30(%eax)                    
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
  10bf52:	89 34 24             	mov    %esi,(%esp)                    
  10bf55:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  10bf58:	e8 9b ce ff ff       	call   108df8 <rtems_filesystem_freenode>
                                                                      
  return result;                                                      
  10bf5d:	83 c4 10             	add    $0x10,%esp                     
  10bf60:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
}                                                                     
  10bf63:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bf66:	5b                   	pop    %ebx                           
  10bf67:	5e                   	pop    %esi                           
  10bf68:	5f                   	pop    %edi                           
  10bf69:	c9                   	leave                                 
  10bf6a:	c3                   	ret                                   
  10bf6b:	90                   	nop                                   
  rtems_filesystem_location_info_t   temp_loc;                        
  int                                result;                          
  struct utimbuf                     now;                             
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
    return -1;                                                        
  10bf6c:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  result = (*temp_loc.ops->utime_h)( &temp_loc, times->actime, times->modtime );
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
                                                                      
  return result;                                                      
}                                                                     
  10bf71:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bf74:	5b                   	pop    %ebx                           
  10bf75:	5e                   	pop    %esi                           
  10bf76:	5f                   	pop    %edi                           
  10bf77:	c9                   	leave                                 
  10bf78:	c3                   	ret                                   
  10bf79:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
    return -1;                                                        
                                                                      
  if ( times == NULL ) {                                              
    now.actime = now.modtime = time( NULL );                          
  10bf7c:	83 ec 0c             	sub    $0xc,%esp                      
  10bf7f:	6a 00                	push   $0x0                           
  10bf81:	e8 9a b9 00 00       	call   117920 <time>                  
  10bf86:	83 c4 10             	add    $0x10,%esp                     
  10bf89:	89 c2                	mov    %eax,%edx                      
  10bf8b:	eb bb                	jmp    10bf48 <utime+0x3c>            
                                                                      

0010bf90 <utimes>: int utimes( const char *path, const struct timeval times[2] ) {
  10bf90:	55                   	push   %ebp                           
  10bf91:	89 e5                	mov    %esp,%ebp                      
  10bf93:	83 ec 18             	sub    $0x18,%esp                     
  10bf96:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10bf99:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  struct utimbuf timeinsecs;                                          
                                                                      
  if ( times == NULL )                                                
  10bf9c:	85 c0                	test   %eax,%eax                      
  10bf9e:	74 20                	je     10bfc0 <utimes+0x30>           
    return utime( path, NULL );                                       
                                                                      
  timeinsecs.actime  = (time_t) times[0].tv_sec;                      
  10bfa0:	8b 08                	mov    (%eax),%ecx                    
  10bfa2:	89 4d f0             	mov    %ecx,-0x10(%ebp)               
  timeinsecs.modtime = (time_t) times[1].tv_sec;                      
  10bfa5:	8b 40 08             	mov    0x8(%eax),%eax                 
  10bfa8:	89 45 f4             	mov    %eax,-0xc(%ebp)                
                                                                      
  return utime( path, &timeinsecs );                                  
  10bfab:	83 ec 08             	sub    $0x8,%esp                      
  10bfae:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  10bfb1:	50                   	push   %eax                           
  10bfb2:	52                   	push   %edx                           
  10bfb3:	e8 54 ff ff ff       	call   10bf0c <utime>                 
  10bfb8:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10bfbb:	c9                   	leave                                 
  10bfbc:	c3                   	ret                                   
  10bfbd:	8d 76 00             	lea    0x0(%esi),%esi                 
)                                                                     
{                                                                     
  struct utimbuf timeinsecs;                                          
                                                                      
  if ( times == NULL )                                                
    return utime( path, NULL );                                       
  10bfc0:	83 ec 08             	sub    $0x8,%esp                      
  10bfc3:	6a 00                	push   $0x0                           
  10bfc5:	52                   	push   %edx                           
  10bfc6:	e8 41 ff ff ff       	call   10bf0c <utime>                 
  10bfcb:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  timeinsecs.actime  = (time_t) times[0].tv_sec;                      
  timeinsecs.modtime = (time_t) times[1].tv_sec;                      
                                                                      
  return utime( path, &timeinsecs );                                  
}                                                                     
  10bfce:	c9                   	leave                                 
  10bfcf:	c3                   	ret                                   
                                                                      

0010abcc <vprintk>: */ void vprintk( const char *fmt, va_list ap ) {
  10abcc:	55                   	push   %ebp                           
  10abcd:	89 e5                	mov    %esp,%ebp                      
  10abcf:	57                   	push   %edi                           
  10abd0:	56                   	push   %esi                           
  10abd1:	53                   	push   %ebx                           
  10abd2:	83 ec 4c             	sub    $0x4c,%esp                     
  10abd5:	8b 75 08             	mov    0x8(%ebp),%esi                 
  for (; *fmt != '\0'; fmt++) {                                       
  10abd8:	8a 06                	mov    (%esi),%al                     
  10abda:	84 c0                	test   %al,%al                        
  10abdc:	75 21                	jne    10abff <vprintk+0x33>          
  10abde:	e9 c4 01 00 00       	jmp    10ada7 <vprintk+0x1db>         
  10abe3:	90                   	nop                                   
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
      BSP_output_char(*fmt);                                          
  10abe4:	83 ec 0c             	sub    $0xc,%esp                      
  10abe7:	0f be c0             	movsbl %al,%eax                       
  10abea:	50                   	push   %eax                           
  10abeb:	ff 15 a8 12 12 00    	call   *0x1212a8                      
      continue;                                                       
  10abf1:	83 c4 10             	add    $0x10,%esp                     
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
  10abf4:	46                   	inc    %esi                           
  10abf5:	8a 06                	mov    (%esi),%al                     
  10abf7:	84 c0                	test   %al,%al                        
  10abf9:	0f 84 a8 01 00 00    	je     10ada7 <vprintk+0x1db>         
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
  10abff:	3c 25                	cmp    $0x25,%al                      
  10ac01:	75 e1                	jne    10abe4 <vprintk+0x18>          
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
  10ac03:	46                   	inc    %esi                           
    if (*fmt == '0' ) {                                               
  10ac04:	8a 06                	mov    (%esi),%al                     
  10ac06:	3c 30                	cmp    $0x30,%al                      
  10ac08:	0f 84 fe 01 00 00    	je     10ae0c <vprintk+0x240>         
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
  10ac0e:	b1 20                	mov    $0x20,%cl                      
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
  10ac10:	3c 2d                	cmp    $0x2d,%al                      
  10ac12:	0f 84 d8 01 00 00    	je     10adf0 <vprintk+0x224>         
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
  10ac18:	31 ff                	xor    %edi,%edi                      
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
  10ac1a:	8d 50 d0             	lea    -0x30(%eax),%edx               
  10ac1d:	80 fa 09             	cmp    $0x9,%dl                       
  10ac20:	0f 87 de 01 00 00    	ja     10ae04 <vprintk+0x238>         
  10ac26:	31 db                	xor    %ebx,%ebx                      
      width *= 10;                                                    
  10ac28:	8d 14 9b             	lea    (%ebx,%ebx,4),%edx             
      width += ((unsigned) *fmt - '0');                               
  10ac2b:	0f be c0             	movsbl %al,%eax                       
  10ac2e:	8d 5c 50 d0          	lea    -0x30(%eax,%edx,2),%ebx        
      fmt++;                                                          
  10ac32:	46                   	inc    %esi                           
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
  10ac33:	8a 06                	mov    (%esi),%al                     
  10ac35:	8d 50 d0             	lea    -0x30(%eax),%edx               
  10ac38:	80 fa 09             	cmp    $0x9,%dl                       
  10ac3b:	76 eb                	jbe    10ac28 <vprintk+0x5c>          
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
  10ac3d:	3c 6c                	cmp    $0x6c,%al                      
  10ac3f:	0f 84 7b 01 00 00    	je     10adc0 <vprintk+0x1f4>         
  10ac45:	88 c2                	mov    %al,%dl                        
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
  10ac47:	80 fa 63             	cmp    $0x63,%dl                      
  10ac4a:	0f 84 7c 01 00 00    	je     10adcc <vprintk+0x200>         
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
      BSP_output_char(chr);                                           
      continue;                                                       
    }                                                                 
    if ( c == 's' ) {                                                 
  10ac50:	80 fa 73             	cmp    $0x73,%dl                      
  10ac53:	0f 84 bf 01 00 00    	je     10ae18 <vprintk+0x24c>         
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
  10ac59:	80 fa 6f             	cmp    $0x6f,%dl                      
  10ac5c:	0f 84 4e 01 00 00    	je     10adb0 <vprintk+0x1e4>         <== NEVER TAKEN
  10ac62:	80 fa 4f             	cmp    $0x4f,%dl                      
  10ac65:	0f 84 45 01 00 00    	je     10adb0 <vprintk+0x1e4>         
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
  10ac6b:	80 fa 69             	cmp    $0x69,%dl                      
  10ac6e:	74 54                	je     10acc4 <vprintk+0xf8>          
  10ac70:	80 fa 49             	cmp    $0x49,%dl                      
  10ac73:	74 4f                	je     10acc4 <vprintk+0xf8>          
  10ac75:	80 fa 64             	cmp    $0x64,%dl                      
  10ac78:	74 4a                	je     10acc4 <vprintk+0xf8>          
                c == 'd' || c == 'D' ) {                              
  10ac7a:	80 fa 44             	cmp    $0x44,%dl                      
  10ac7d:	74 45                	je     10acc4 <vprintk+0xf8>          
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
  10ac7f:	80 fa 75             	cmp    $0x75,%dl                      
  10ac82:	0f 84 85 02 00 00    	je     10af0d <vprintk+0x341>         
  10ac88:	80 fa 55             	cmp    $0x55,%dl                      
  10ac8b:	0f 84 7c 02 00 00    	je     10af0d <vprintk+0x341>         <== NEVER TAKEN
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
  10ac91:	80 fa 78             	cmp    $0x78,%dl                      
  10ac94:	0f 84 bd 02 00 00    	je     10af57 <vprintk+0x38b>         
  10ac9a:	80 fa 58             	cmp    $0x58,%dl                      
  10ac9d:	0f 84 b4 02 00 00    	je     10af57 <vprintk+0x38b>         <== NEVER TAKEN
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
  10aca3:	80 fa 70             	cmp    $0x70,%dl                      
  10aca6:	0f 84 d3 02 00 00    	je     10af7f <vprintk+0x3b3>         
      base = 16; sign = false; lflag = true;                          
    } else {                                                          
      BSP_output_char(c);                                             
  10acac:	83 ec 0c             	sub    $0xc,%esp                      
  10acaf:	0f be d2             	movsbl %dl,%edx                       
  10acb2:	52                   	push   %edx                           
  10acb3:	ff 15 a8 12 12 00    	call   *0x1212a8                      
      continue;                                                       
  10acb9:	83 c4 10             	add    $0x10,%esp                     
  10acbc:	e9 33 ff ff ff       	jmp    10abf4 <vprintk+0x28>          
  10acc1:	8d 76 00             	lea    0x0(%esi),%esi                 
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
  10acc4:	b2 01                	mov    $0x1,%dl                       
  10acc6:	c7 45 c0 0a 00 00 00 	movl   $0xa,-0x40(%ebp)               
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
  10accd:	0f be c9             	movsbl %cl,%ecx                       
  10acd0:	89 4d b4             	mov    %ecx,-0x4c(%ebp)               
  10acd3:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10acd6:	8b 38                	mov    (%eax),%edi                    
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
  10acd8:	83 c0 04             	add    $0x4,%eax                      
  10acdb:	89 45 0c             	mov    %eax,0xc(%ebp)                 
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
  10acde:	84 d2                	test   %dl,%dl                        
  10ace0:	74 08                	je     10acea <vprintk+0x11e>         
  10ace2:	85 ff                	test   %edi,%edi                      
  10ace4:	0f 88 31 02 00 00    	js     10af1b <vprintk+0x34f>         <== NEVER TAKEN
    BSP_output_char('-');                                             
    unsigned_num = (unsigned long) -num;                              
    if (maxwidth) maxwidth--;                                         
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  10acea:	89 7d b8             	mov    %edi,-0x48(%ebp)               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
  10aced:	8b 45 b8             	mov    -0x48(%ebp),%eax               
  10acf0:	31 d2                	xor    %edx,%edx                      
  10acf2:	f7 75 c0             	divl   -0x40(%ebp)                    
  10acf5:	89 c1                	mov    %eax,%ecx                      
  10acf7:	85 c0                	test   %eax,%eax                      
  10acf9:	0f 84 47 02 00 00    	je     10af46 <vprintk+0x37a>         
  10acff:	8a 55 c0             	mov    -0x40(%ebp),%dl                
  10ad02:	88 55 c4             	mov    %dl,-0x3c(%ebp)                
    if (maxwidth) maxwidth--;                                         
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  10ad05:	31 ff                	xor    %edi,%edi                      
  10ad07:	89 5d b0             	mov    %ebx,-0x50(%ebp)               
  10ad0a:	8b 5d c0             	mov    -0x40(%ebp),%ebx               
  10ad0d:	8b 55 b8             	mov    -0x48(%ebp),%edx               
  10ad10:	eb 06                	jmp    10ad18 <vprintk+0x14c>         
  10ad12:	66 90                	xchg   %ax,%ax                        
  while ((n = unsigned_num / base) > 0) {                             
  10ad14:	89 ca                	mov    %ecx,%edx                      
  10ad16:	89 c1                	mov    %eax,%ecx                      
    toPrint[count++] = (char) (unsigned_num - (n * base));            
  10ad18:	8a 45 c4             	mov    -0x3c(%ebp),%al                
  10ad1b:	f6 e1                	mul    %cl                            
  10ad1d:	28 c2                	sub    %al,%dl                        
  10ad1f:	88 54 3d d4          	mov    %dl,-0x2c(%ebp,%edi,1)         
  10ad23:	47                   	inc    %edi                           
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
  10ad24:	89 c8                	mov    %ecx,%eax                      
  10ad26:	31 d2                	xor    %edx,%edx                      
  10ad28:	f7 f3                	div    %ebx                           
  10ad2a:	85 c0                	test   %eax,%eax                      
  10ad2c:	75 e6                	jne    10ad14 <vprintk+0x148>         
  10ad2e:	8b 5d b0             	mov    -0x50(%ebp),%ebx               
  10ad31:	8d 47 01             	lea    0x1(%edi),%eax                 
  10ad34:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
  10ad37:	88 4c 3d d4          	mov    %cl,-0x2c(%ebp,%edi,1)         
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
  10ad3b:	3b 5d c4             	cmp    -0x3c(%ebp),%ebx               
  10ad3e:	76 21                	jbe    10ad61 <vprintk+0x195>         
  10ad40:	8b 7d b4             	mov    -0x4c(%ebp),%edi               
  10ad43:	89 75 c0             	mov    %esi,-0x40(%ebp)               
  10ad46:	8b 75 c4             	mov    -0x3c(%ebp),%esi               
  10ad49:	8d 76 00             	lea    0x0(%esi),%esi                 
    BSP_output_char(lead);                                            
  10ad4c:	83 ec 0c             	sub    $0xc,%esp                      
  10ad4f:	57                   	push   %edi                           
  10ad50:	ff 15 a8 12 12 00    	call   *0x1212a8                      
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
  10ad56:	4b                   	dec    %ebx                           
  10ad57:	83 c4 10             	add    $0x10,%esp                     
  10ad5a:	39 f3                	cmp    %esi,%ebx                      
  10ad5c:	77 ee                	ja     10ad4c <vprintk+0x180>         
  10ad5e:	8b 75 c0             	mov    -0x40(%ebp),%esi               
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
  10ad61:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  10ad64:	85 c0                	test   %eax,%eax                      
  10ad66:	0f 84 88 fe ff ff    	je     10abf4 <vprintk+0x28>          <== NEVER TAKEN
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
  10ad6c:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  10ad6f:	8d 7c 15 d3          	lea    -0x2d(%ebp,%edx,1),%edi        
  10ad73:	31 db                	xor    %ebx,%ebx                      
  10ad75:	89 75 c0             	mov    %esi,-0x40(%ebp)               
  10ad78:	89 d6                	mov    %edx,%esi                      
  10ad7a:	66 90                	xchg   %ax,%ax                        
                                                                      
  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)])]); 
  10ad7c:	83 ec 0c             	sub    $0xc,%esp                      
  10ad7f:	0f be 07             	movsbl (%edi),%eax                    
  10ad82:	0f be 80 2a fc 11 00 	movsbl 0x11fc2a(%eax),%eax            
  10ad89:	50                   	push   %eax                           
  10ad8a:	ff 15 a8 12 12 00    	call   *0x1212a8                      
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
  10ad90:	43                   	inc    %ebx                           
  10ad91:	4f                   	dec    %edi                           
  10ad92:	83 c4 10             	add    $0x10,%esp                     
  10ad95:	39 f3                	cmp    %esi,%ebx                      
  10ad97:	72 e3                	jb     10ad7c <vprintk+0x1b0>         
  10ad99:	8b 75 c0             	mov    -0x40(%ebp),%esi               
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
  10ad9c:	46                   	inc    %esi                           
  10ad9d:	8a 06                	mov    (%esi),%al                     
  10ad9f:	84 c0                	test   %al,%al                        
  10ada1:	0f 85 58 fe ff ff    	jne    10abff <vprintk+0x33>          <== ALWAYS TAKEN
      sign,                                                           
      width,                                                          
      lead                                                            
    );                                                                
  }                                                                   
}                                                                     
  10ada7:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10adaa:	5b                   	pop    %ebx                           
  10adab:	5e                   	pop    %esi                           
  10adac:	5f                   	pop    %edi                           
  10adad:	c9                   	leave                                 
  10adae:	c3                   	ret                                   
  10adaf:	90                   	nop                                   
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
  10adb0:	31 d2                	xor    %edx,%edx                      
  10adb2:	c7 45 c0 08 00 00 00 	movl   $0x8,-0x40(%ebp)               
  10adb9:	e9 0f ff ff ff       	jmp    10accd <vprintk+0x101>         
  10adbe:	66 90                	xchg   %ax,%ax                        
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
      lflag = true;                                                   
      c = *++fmt;                                                     
  10adc0:	46                   	inc    %esi                           
  10adc1:	8a 16                	mov    (%esi),%dl                     
    }                                                                 
    if ( c == 'c' ) {                                                 
  10adc3:	80 fa 63             	cmp    $0x63,%dl                      
  10adc6:	0f 85 84 fe ff ff    	jne    10ac50 <vprintk+0x84>          <== ALWAYS TAKEN
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
  10adcc:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10adcf:	83 c3 04             	add    $0x4,%ebx                      
      BSP_output_char(chr);                                           
  10add2:	83 ec 0c             	sub    $0xc,%esp                      
  10add5:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10add8:	0f be 02             	movsbl (%edx),%eax                    
  10addb:	50                   	push   %eax                           
  10addc:	ff 15 a8 12 12 00    	call   *0x1212a8                      
      continue;                                                       
  10ade2:	83 c4 10             	add    $0x10,%esp                     
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
  10ade5:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
      BSP_output_char(chr);                                           
      continue;                                                       
  10ade8:	e9 07 fe ff ff       	jmp    10abf4 <vprintk+0x28>          
  10aded:	8d 76 00             	lea    0x0(%esi),%esi                 
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
  10adf0:	46                   	inc    %esi                           
  10adf1:	8a 06                	mov    (%esi),%al                     
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
  10adf3:	bf 01 00 00 00       	mov    $0x1,%edi                      
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
  10adf8:	8d 50 d0             	lea    -0x30(%eax),%edx               
  10adfb:	80 fa 09             	cmp    $0x9,%dl                       
  10adfe:	0f 86 22 fe ff ff    	jbe    10ac26 <vprintk+0x5a>          <== ALWAYS TAKEN
  10ae04:	31 db                	xor    %ebx,%ebx                      
  10ae06:	e9 32 fe ff ff       	jmp    10ac3d <vprintk+0x71>          
  10ae0b:	90                   	nop                                   
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
  10ae0c:	46                   	inc    %esi                           
  10ae0d:	8a 06                	mov    (%esi),%al                     
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
  10ae0f:	b1 30                	mov    $0x30,%cl                      
  10ae11:	e9 fa fd ff ff       	jmp    10ac10 <vprintk+0x44>          
  10ae16:	66 90                	xchg   %ax,%ax                        
    }                                                                 
    if ( c == 's' ) {                                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
  10ae18:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10ae1b:	83 c0 04             	add    $0x4,%eax                      
  10ae1e:	89 45 c0             	mov    %eax,-0x40(%ebp)               
  10ae21:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10ae24:	8b 02                	mov    (%edx),%eax                    
                                                                      
      if ( str == NULL ) {                                            
  10ae26:	85 c0                	test   %eax,%eax                      
  10ae28:	0f 84 37 01 00 00    	je     10af65 <vprintk+0x399>         
        str = "";                                                     
      }                                                               
                                                                      
      /* calculate length of string */                                
      for ( len=0, s=str ; *s ; len++, s++ )                          
  10ae2e:	80 38 00             	cmpb   $0x0,(%eax)                    
  10ae31:	0f 84 3c 01 00 00    	je     10af73 <vprintk+0x3a7>         
  10ae37:	c7 45 c4 00 00 00 00 	movl   $0x0,-0x3c(%ebp)               
  10ae3e:	31 d2                	xor    %edx,%edx                      
  10ae40:	42                   	inc    %edx                           
  10ae41:	80 3c 10 00          	cmpb   $0x0,(%eax,%edx,1)             
  10ae45:	75 f9                	jne    10ae40 <vprintk+0x274>         
  10ae47:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
  10ae4a:	89 fa                	mov    %edi,%edx                      
  10ae4c:	84 d2                	test   %dl,%dl                        
  10ae4e:	75 32                	jne    10ae82 <vprintk+0x2b6>         
        for ( i=len ; i<width ; i++ )                                 
  10ae50:	39 5d c4             	cmp    %ebx,-0x3c(%ebp)               
  10ae53:	73 2d                	jae    10ae82 <vprintk+0x2b6>         
  10ae55:	8b 4d c4             	mov    -0x3c(%ebp),%ecx               
  10ae58:	88 55 bc             	mov    %dl,-0x44(%ebp)                
  10ae5b:	89 c7                	mov    %eax,%edi                      
  10ae5d:	89 75 b8             	mov    %esi,-0x48(%ebp)               
  10ae60:	89 de                	mov    %ebx,%esi                      
  10ae62:	89 cb                	mov    %ecx,%ebx                      
          BSP_output_char(' ');                                       
  10ae64:	83 ec 0c             	sub    $0xc,%esp                      
  10ae67:	6a 20                	push   $0x20                          
  10ae69:	ff 15 a8 12 12 00    	call   *0x1212a8                      
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
  10ae6f:	43                   	inc    %ebx                           
  10ae70:	83 c4 10             	add    $0x10,%esp                     
  10ae73:	39 f3                	cmp    %esi,%ebx                      
  10ae75:	72 ed                	jb     10ae64 <vprintk+0x298>         
  10ae77:	89 f8                	mov    %edi,%eax                      
  10ae79:	89 f3                	mov    %esi,%ebx                      
  10ae7b:	0f b6 7d bc          	movzbl -0x44(%ebp),%edi               
  10ae7f:	8b 75 b8             	mov    -0x48(%ebp),%esi               
          BSP_output_char(' ');                                       
                                                                      
      /* no width option */                                           
      if (width == 0) {                                               
  10ae82:	85 db                	test   %ebx,%ebx                      
  10ae84:	75 0a                	jne    10ae90 <vprintk+0x2c4>         
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
  10ae86:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  10ae89:	85 d2                	test   %edx,%edx                      
  10ae8b:	74 47                	je     10aed4 <vprintk+0x308>         
  10ae8d:	8b 5d c4             	mov    -0x3c(%ebp),%ebx               
  10ae90:	8a 10                	mov    (%eax),%dl                     
  10ae92:	84 d2                	test   %dl,%dl                        
  10ae94:	74 3e                	je     10aed4 <vprintk+0x308>         <== NEVER TAKEN
        BSP_output_char(*str);                                        
  10ae96:	83 ec 0c             	sub    $0xc,%esp                      
  10ae99:	0f be d2             	movsbl %dl,%edx                       
  10ae9c:	52                   	push   %edx                           
  10ae9d:	89 45 ac             	mov    %eax,-0x54(%ebp)               
  10aea0:	ff 15 a8 12 12 00    	call   *0x1212a8                      
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
  10aea6:	8b 45 ac             	mov    -0x54(%ebp),%eax               
  10aea9:	40                   	inc    %eax                           
  10aeaa:	83 c4 10             	add    $0x10,%esp                     
  10aead:	89 75 bc             	mov    %esi,-0x44(%ebp)               
  10aeb0:	89 de                	mov    %ebx,%esi                      
  10aeb2:	89 c3                	mov    %eax,%ebx                      
  10aeb4:	eb 13                	jmp    10aec9 <vprintk+0x2fd>         
  10aeb6:	66 90                	xchg   %ax,%ax                        
        BSP_output_char(*str);                                        
  10aeb8:	83 ec 0c             	sub    $0xc,%esp                      
  10aebb:	0f be d2             	movsbl %dl,%edx                       
  10aebe:	52                   	push   %edx                           
  10aebf:	ff 15 a8 12 12 00    	call   *0x1212a8                      
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
  10aec5:	43                   	inc    %ebx                           
  10aec6:	83 c4 10             	add    $0x10,%esp                     
  10aec9:	8a 13                	mov    (%ebx),%dl                     
  10aecb:	84 d2                	test   %dl,%dl                        
  10aecd:	75 e9                	jne    10aeb8 <vprintk+0x2ec>         
  10aecf:	89 f3                	mov    %esi,%ebx                      
  10aed1:	8b 75 bc             	mov    -0x44(%ebp),%esi               
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
  10aed4:	89 f8                	mov    %edi,%eax                      
  10aed6:	84 c0                	test   %al,%al                        
  10aed8:	74 28                	je     10af02 <vprintk+0x336>         
        for ( i=len ; i<width ; i++ )                                 
  10aeda:	39 5d c4             	cmp    %ebx,-0x3c(%ebp)               
  10aedd:	73 18                	jae    10aef7 <vprintk+0x32b>         
  10aedf:	8b 7d c4             	mov    -0x3c(%ebp),%edi               
  10aee2:	66 90                	xchg   %ax,%ax                        
          BSP_output_char(' ');                                       
  10aee4:	83 ec 0c             	sub    $0xc,%esp                      
  10aee7:	6a 20                	push   $0x20                          
  10aee9:	ff 15 a8 12 12 00    	call   *0x1212a8                      
      for ( i=0 ; i<width && *str ; str++ )                           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
  10aeef:	47                   	inc    %edi                           
  10aef0:	83 c4 10             	add    $0x10,%esp                     
  10aef3:	39 df                	cmp    %ebx,%edi                      
  10aef5:	72 ed                	jb     10aee4 <vprintk+0x318>         
    }                                                                 
    if ( c == 's' ) {                                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
  10aef7:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  10aefa:	89 55 0c             	mov    %edx,0xc(%ebp)                 
  10aefd:	e9 f2 fc ff ff       	jmp    10abf4 <vprintk+0x28>          
  10af02:	8b 45 c0             	mov    -0x40(%ebp),%eax               
  10af05:	89 45 0c             	mov    %eax,0xc(%ebp)                 
  10af08:	e9 e7 fc ff ff       	jmp    10abf4 <vprintk+0x28>          
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
      base = 10; sign = false;                                        
  10af0d:	31 d2                	xor    %edx,%edx                      
  10af0f:	c7 45 c0 0a 00 00 00 	movl   $0xa,-0x40(%ebp)               
  10af16:	e9 b2 fd ff ff       	jmp    10accd <vprintk+0x101>         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
  10af1b:	83 ec 0c             	sub    $0xc,%esp                      
  10af1e:	6a 2d                	push   $0x2d                          
  10af20:	ff 15 a8 12 12 00    	call   *0x1212a8                      
    unsigned_num = (unsigned long) -num;                              
  10af26:	f7 df                	neg    %edi                           
  10af28:	89 7d b8             	mov    %edi,-0x48(%ebp)               
    if (maxwidth) maxwidth--;                                         
  10af2b:	83 c4 10             	add    $0x10,%esp                     
  10af2e:	83 fb 01             	cmp    $0x1,%ebx                      
  10af31:	83 d3 ff             	adc    $0xffffffff,%ebx               
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
  10af34:	8b 45 b8             	mov    -0x48(%ebp),%eax               
  10af37:	31 d2                	xor    %edx,%edx                      
  10af39:	f7 75 c0             	divl   -0x40(%ebp)                    
  10af3c:	89 c1                	mov    %eax,%ecx                      
  10af3e:	85 c0                	test   %eax,%eax                      
  10af40:	0f 85 b9 fd ff ff    	jne    10acff <vprintk+0x133>         
  10af46:	8b 4d b8             	mov    -0x48(%ebp),%ecx               
  10af49:	c7 45 c4 01 00 00 00 	movl   $0x1,-0x3c(%ebp)               
    if (maxwidth) maxwidth--;                                         
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  10af50:	31 ff                	xor    %edi,%edi                      
  10af52:	e9 e0 fd ff ff       	jmp    10ad37 <vprintk+0x16b>         
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
      base = 16; sign = false;                                        
  10af57:	31 d2                	xor    %edx,%edx                      
  10af59:	c7 45 c0 10 00 00 00 	movl   $0x10,-0x40(%ebp)              
  10af60:	e9 68 fd ff ff       	jmp    10accd <vprintk+0x101>         
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
                                                                      
      if ( str == NULL ) {                                            
        str = "";                                                     
  10af65:	b8 29 fc 11 00       	mov    $0x11fc29,%eax                 
      }                                                               
                                                                      
      /* calculate length of string */                                
      for ( len=0, s=str ; *s ; len++, s++ )                          
  10af6a:	80 38 00             	cmpb   $0x0,(%eax)                    
  10af6d:	0f 85 c4 fe ff ff    	jne    10ae37 <vprintk+0x26b>         <== NEVER TAKEN
  10af73:	c7 45 c4 00 00 00 00 	movl   $0x0,-0x3c(%ebp)               
  10af7a:	e9 cb fe ff ff       	jmp    10ae4a <vprintk+0x27e>         
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
  10af7f:	0f be c9             	movsbl %cl,%ecx                       
  10af82:	89 4d b4             	mov    %ecx,-0x4c(%ebp)               
    } else if ( c == 'u' || c == 'U' ) {                              
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
      base = 16; sign = false; lflag = true;                          
  10af85:	31 d2                	xor    %edx,%edx                      
  10af87:	c7 45 c0 10 00 00 00 	movl   $0x10,-0x40(%ebp)              
  10af8e:	e9 40 fd ff ff       	jmp    10acd3 <vprintk+0x107>         
                                                                      

0011dc2c <write>: ssize_t write( int fd, const void *buffer, size_t count ) {
  11dc2c:	55                   	push   %ebp                           
  11dc2d:	89 e5                	mov    %esp,%ebp                      
  11dc2f:	53                   	push   %ebx                           
  11dc30:	83 ec 04             	sub    $0x4,%esp                      
  11dc33:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  11dc36:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  11dc39:	8b 55 10             	mov    0x10(%ebp),%edx                
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  11dc3c:	3b 0d 4c 11 12 00    	cmp    0x12114c,%ecx                  
  11dc42:	73 50                	jae    11dc94 <write+0x68>            
  iop = rtems_libio_iop( fd );                                        
  11dc44:	c1 e1 03             	shl    $0x3,%ecx                      
  11dc47:	8d 1c cd 00 00 00 00 	lea    0x0(,%ecx,8),%ebx              
  11dc4e:	29 cb                	sub    %ecx,%ebx                      
  11dc50:	03 1d 00 53 12 00    	add    0x125300,%ebx                  
  rtems_libio_check_is_open( iop );                                   
  11dc56:	8b 4b 14             	mov    0x14(%ebx),%ecx                
  11dc59:	f6 c5 01             	test   $0x1,%ch                       
  11dc5c:	74 36                	je     11dc94 <write+0x68>            
  rtems_libio_check_buffer( buffer );                                 
  11dc5e:	85 c0                	test   %eax,%eax                      
  11dc60:	74 46                	je     11dca8 <write+0x7c>            <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
  11dc62:	85 d2                	test   %edx,%edx                      
  11dc64:	74 26                	je     11dc8c <write+0x60>            
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
  11dc66:	83 e1 04             	and    $0x4,%ecx                      
  11dc69:	74 3d                	je     11dca8 <write+0x7c>            
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
  rc = (*iop->pathinfo.handlers->write_h)( iop, buffer, count );      
  11dc6b:	51                   	push   %ecx                           
  11dc6c:	8b 4b 20             	mov    0x20(%ebx),%ecx                
  11dc6f:	52                   	push   %edx                           
  11dc70:	50                   	push   %eax                           
  11dc71:	53                   	push   %ebx                           
  11dc72:	ff 51 0c             	call   *0xc(%ecx)                     
                                                                      
  if ( rc > 0 )                                                       
  11dc75:	83 c4 10             	add    $0x10,%esp                     
  11dc78:	85 c0                	test   %eax,%eax                      
  11dc7a:	7e 0b                	jle    11dc87 <write+0x5b>            
    iop->offset += rc;                                                
  11dc7c:	89 c1                	mov    %eax,%ecx                      
  11dc7e:	c1 f9 1f             	sar    $0x1f,%ecx                     
  11dc81:	01 43 0c             	add    %eax,0xc(%ebx)                 
  11dc84:	11 4b 10             	adc    %ecx,0x10(%ebx)                
                                                                      
  return rc;                                                          
}                                                                     
  11dc87:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  11dc8a:	c9                   	leave                                 
  11dc8b:	c3                   	ret                                   
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  11dc8c:	31 c0                	xor    %eax,%eax                      
                                                                      
  if ( rc > 0 )                                                       
    iop->offset += rc;                                                
                                                                      
  return rc;                                                          
}                                                                     
  11dc8e:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  11dc91:	c9                   	leave                                 
  11dc92:	c3                   	ret                                   
  11dc93:	90                   	nop                                   
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  11dc94:	e8 a3 46 ff ff       	call   11233c <__errno>               
  11dc99:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  11dc9f:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  11dca4:	eb e1                	jmp    11dc87 <write+0x5b>            
  11dca6:	66 90                	xchg   %ax,%ax                        
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
  11dca8:	e8 8f 46 ff ff       	call   11233c <__errno>               
  11dcad:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  11dcb3:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  11dcb8:	eb cd                	jmp    11dc87 <write+0x5b>            
                                                                      

0010bfbc <writev>: ssize_t writev( int fd, const struct iovec *iov, int iovcnt ) {
  10bfbc:	55                   	push   %ebp                           
  10bfbd:	89 e5                	mov    %esp,%ebp                      
  10bfbf:	57                   	push   %edi                           
  10bfc0:	56                   	push   %esi                           
  10bfc1:	53                   	push   %ebx                           
  10bfc2:	83 ec 3c             	sub    $0x3c,%esp                     
  10bfc5:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10bfc8:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10bfcb:	8b 7d 10             	mov    0x10(%ebp),%edi                
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  10bfce:	3b 05 0c 36 12 00    	cmp    0x12360c,%eax                  
  10bfd4:	0f 83 ea 00 00 00    	jae    10c0c4 <writev+0x108>          <== NEVER TAKEN
  iop = rtems_libio_iop( fd );                                        
  10bfda:	c1 e0 03             	shl    $0x3,%eax                      
  10bfdd:	8d 14 c5 00 00 00 00 	lea    0x0(,%eax,8),%edx              
  10bfe4:	29 c2                	sub    %eax,%edx                      
  10bfe6:	8b 0d c0 77 12 00    	mov    0x1277c0,%ecx                  
  10bfec:	01 ca                	add    %ecx,%edx                      
  10bfee:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  rtems_libio_check_is_open( iop );                                   
  10bff1:	8b 42 14             	mov    0x14(%edx),%eax                
  10bff4:	f6 c4 01             	test   $0x1,%ah                       
  10bff7:	0f 84 c7 00 00 00    	je     10c0c4 <writev+0x108>          
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
  10bffd:	a8 04                	test   $0x4,%al                       
  10bfff:	74 6b                	je     10c06c <writev+0xb0>           <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
  10c001:	85 db                	test   %ebx,%ebx                      
  10c003:	74 67                	je     10c06c <writev+0xb0>           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
  10c005:	85 ff                	test   %edi,%edi                      
  10c007:	7e 63                	jle    10c06c <writev+0xb0>           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
  10c009:	81 ff 00 04 00 00    	cmp    $0x400,%edi                    
  10c00f:	7f 5b                	jg     10c06c <writev+0xb0>           <== NEVER TAKEN
  10c011:	be 01 00 00 00       	mov    $0x1,%esi                      
  10c016:	31 c0                	xor    %eax,%eax                      
  10c018:	31 c9                	xor    %ecx,%ecx                      
  10c01a:	eb 02                	jmp    10c01e <writev+0x62>           
   *  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++ ) {                    
  10c01c:	89 d1                	mov    %edx,%ecx                      
                                                                      
    /*                                                                
     *  iov[v].iov_len cannot be less than 0 because size_t is unsigned.
     *  So we only check for zero.                                    
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
  10c01e:	8b 14 c3             	mov    (%ebx,%eax,8),%edx             
  10c021:	85 d2                	test   %edx,%edx                      
  10c023:	74 47                	je     10c06c <writev+0xb0>           
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
  10c025:	8b 54 c3 04          	mov    0x4(%ebx,%eax,8),%edx          
  10c029:	85 d2                	test   %edx,%edx                      
  10c02b:	74 02                	je     10c02f <writev+0x73>           
      all_zeros = false;                                              
  10c02d:	31 f6                	xor    %esi,%esi                      
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
  10c02f:	8d 14 11             	lea    (%ecx,%edx,1),%edx             
    if ( total < old || total > SSIZE_MAX )                           
  10c032:	39 ca                	cmp    %ecx,%edx                      
  10c034:	7c 36                	jl     10c06c <writev+0xb0>           
  10c036:	81 fa ff 7f 00 00    	cmp    $0x7fff,%edx                   
  10c03c:	7f 2e                	jg     10c06c <writev+0xb0>           <== NEVER TAKEN
   *  this loop does that check as well and sets "all-zero" appropriately.
   *  The variable "all_zero" is used as an early exit point before   
   *  entering the write loop.                                        
   */                                                                 
  all_zeros = true;                                                   
  for ( old=0, total=0, v=0 ; v < iovcnt ; v++ ) {                    
  10c03e:	40                   	inc    %eax                           
  10c03f:	39 c7                	cmp    %eax,%edi                      
  10c041:	7f d9                	jg     10c01c <writev+0x60>           
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
  10c043:	89 f0                	mov    %esi,%eax                      
  10c045:	84 c0                	test   %al,%al                        
  10c047:	75 3d                	jne    10c086 <writev+0xca>           
  10c049:	31 f6                	xor    %esi,%esi                      
  10c04b:	31 d2                	xor    %edx,%edx                      
  10c04d:	89 55 c0             	mov    %edx,-0x40(%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 )                                        
  10c050:	8b 44 f3 04          	mov    0x4(%ebx,%esi,8),%eax          
  10c054:	85 c0                	test   %eax,%eax                      
  10c056:	75 32                	jne    10c08a <writev+0xce>           <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
  10c058:	46                   	inc    %esi                           
  10c059:	39 f7                	cmp    %esi,%edi                      
  10c05b:	7f f3                	jg     10c050 <writev+0x94>           
  10c05d:	8b 55 c0             	mov    -0x40(%ebp),%edx               
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
  10c060:	89 d0                	mov    %edx,%eax                      
  10c062:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c065:	5b                   	pop    %ebx                           
  10c066:	5e                   	pop    %esi                           
  10c067:	5f                   	pop    %edi                           
  10c068:	c9                   	leave                                 
  10c069:	c3                   	ret                                   
  10c06a:	66 90                	xchg   %ax,%ax                        
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  10c06c:	e8 5b 70 00 00       	call   1130cc <__errno>               
  10c071:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10c077:	ba ff ff ff ff       	mov    $0xffffffff,%edx               
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
  10c07c:	89 d0                	mov    %edx,%eax                      
  10c07e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c081:	5b                   	pop    %ebx                           
  10c082:	5e                   	pop    %esi                           
  10c083:	5f                   	pop    %edi                           
  10c084:	c9                   	leave                                 
  10c085:	c3                   	ret                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
    return 0;                                                         
  10c086:	31 d2                	xor    %edx,%edx                      
  10c088:	eb f2                	jmp    10c07c <writev+0xc0>           
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
      continue;                                                       
                                                                      
    bytes = (*iop->pathinfo.handlers->write_h)(                       
  10c08a:	52                   	push   %edx                           
  10c08b:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10c08e:	8b 51 20             	mov    0x20(%ecx),%edx                
  10c091:	50                   	push   %eax                           
  10c092:	ff 34 f3             	pushl  (%ebx,%esi,8)                  
  10c095:	51                   	push   %ecx                           
  10c096:	ff 52 0c             	call   *0xc(%edx)                     
  10c099:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
  10c09c:	83 c4 10             	add    $0x10,%esp                     
  10c09f:	83 f8 00             	cmp    $0x0,%eax                      
  10c0a2:	7c 32                	jl     10c0d6 <writev+0x11a>          <== NEVER TAKEN
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
  10c0a4:	74 10                	je     10c0b6 <writev+0xfa>           <== NEVER TAKEN
      iop->offset += bytes;                                           
  10c0a6:	99                   	cltd                                  
  10c0a7:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10c0aa:	01 41 0c             	add    %eax,0xc(%ecx)                 
  10c0ad:	11 51 10             	adc    %edx,0x10(%ecx)                
      total       += bytes;                                           
  10c0b0:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  10c0b3:	01 45 c0             	add    %eax,-0x40(%ebp)               
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
  10c0b6:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  10c0b9:	3b 54 f3 04          	cmp    0x4(%ebx,%esi,8),%edx          
  10c0bd:	74 99                	je     10c058 <writev+0x9c>           <== ALWAYS TAKEN
  10c0bf:	eb 9c                	jmp    10c05d <writev+0xa1>           <== NOT EXECUTED
  10c0c1:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  10c0c4:	e8 03 70 00 00       	call   1130cc <__errno>               
  10c0c9:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  10c0cf:	ba ff ff ff ff       	mov    $0xffffffff,%edx               
  10c0d4:	eb a6                	jmp    10c07c <writev+0xc0>           
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
  10c0d6:	83 ca ff             	or     $0xffffffff,%edx               <== NOT EXECUTED
  10c0d9:	eb a1                	jmp    10c07c <writev+0xc0>           <== NOT EXECUTED