RTEMS-5
Annotated Report
Fri Aug 10 12:55:00 2018

400034f0 <null_close>:
                                               
400034f0:	81 c3 e0 08 	retl 
                                         <== NOT EXECUTED
400034f4:	90 10 20 00 	clr  %o0
                                      <== NOT EXECUTED

                                                                     

4000351c <null_control>:
4000351c:	81 c3 e0 08 	retl 
                                         <== NOT EXECUTED
40003520:	90 10 20 00 	clr  %o0
                                      <== NOT EXECUTED

                                                                     

4000348c <null_initialize>: rtems_device_driver null_initialize( rtems_device_major_number major, rtems_device_minor_number minor RTEMS_UNUSED, void *pargp RTEMS_UNUSED ) {
4000348c:	9d e3 bf a0 	save  %sp, -96, %sp
                           
  rtems_device_driver status;
                                        

                                                                     
  if ( !initialized ) {
                                              
40003490:	03 10 00 4f 	sethi  %hi(0x40013c00), %g1
                   
40003494:	c4 48 61 55 	ldsb  [ %g1 + 0x155 ], %g2	! 40013d55 <initialized>

40003498:	80 a0 a0 00 	cmp  %g2, 0
                                   
4000349c:	02 80 00 04 	be  400034ac <null_initialize+0x20>
           <== ALWAYS TAKEN
400034a0:	84 10 20 01 	mov  1, %g2
                                   

                                                                     
    NULL_major = major;
                                              
  }
                                                                  

                                                                     
  return RTEMS_SUCCESSFUL;
                                           
}
                                                                    
400034a4:	81 c7 e0 08 	ret 
                                          <== NOT EXECUTED
400034a8:	91 e8 20 00 	restore  %g0, 0, %o0
                          <== NOT EXECUTED
    status = rtems_io_register_name(
                                 
400034ac:	94 10 20 00 	clr  %o2
                                      
    initialized = 1;
                                                 
400034b0:	c4 28 61 55 	stb  %g2, [ %g1 + 0x155 ]
                     
    status = rtems_io_register_name(
                                 
400034b4:	92 10 00 18 	mov  %i0, %o1
                                 
400034b8:	11 10 00 44 	sethi  %hi(0x40011000), %o0
                   
400034bc:	40 00 06 09 	call  40004ce0 <rtems_io_register_name>
       
400034c0:	90 12 20 88 	or  %o0, 0x88, %o0	! 40011088 <rtems_libio_number_iops+0x100>

    if (status != RTEMS_SUCCESSFUL)
                                  
400034c4:	80 a2 20 00 	cmp  %o0, 0
                                   
400034c8:	12 80 00 05 	bne  400034dc <null_initialize+0x50>
          <== NEVER TAKEN
400034cc:	03 10 00 55 	sethi  %hi(0x40015400), %g1
                   
    NULL_major = major;
                                              
400034d0:	f0 20 61 64 	st  %i0, [ %g1 + 0x164 ]	! 40015564 <NULL_major>

}
                                                                    
400034d4:	81 c7 e0 08 	ret 
                                          
400034d8:	91 e8 20 00 	restore  %g0, 0, %o0
                          
      rtems_fatal_error_occurred(status);
                            
400034dc:	40 00 11 67 	call  40007a78 <rtems_fatal_error_occurred>
   <== NOT EXECUTED
400034e0:	01 00 00 00 	nop 
                                          <== NOT EXECUTED
400034e4:	01 00 00 00 	nop 
                                          <== NOT EXECUTED

                                                                     

400034e8 <null_open>: rtems_device_minor_number minor RTEMS_UNUSED, void *pargp RTEMS_UNUSED ) { return NULL_SUCCESSFUL; }
400034e8:	81 c3 e0 08 	retl 
                                         <== NOT EXECUTED
400034ec:	90 10 20 00 	clr  %o0	! 0 <PROM_START>
                     <== NOT EXECUTED

                                                                     

400034f8 <null_read>:
400034f8:	81 c3 e0 08 	retl 
                                         <== NOT EXECUTED
400034fc:	90 10 20 00 	clr  %o0
                                      <== NOT EXECUTED

                                                                     

40003500 <null_write>: void *pargp ) { rtems_libio_rw_args_t *rw_args = (rtems_libio_rw_args_t *) pargp; if ( rw_args )
40003500:	80 a2 a0 00 	cmp  %o2, 0
                                   <== NOT EXECUTED
40003504:	02 80 00 04 	be  40003514 <null_write+0x14>
                <== NOT EXECUTED
40003508:	01 00 00 00 	nop 
                                          <== NOT EXECUTED
    rw_args->bytes_moved = rw_args->count;
                           
4000350c:	c2 02 a0 14 	ld  [ %o2 + 0x14 ], %g1
                       <== NOT EXECUTED
40003510:	c2 22 a0 1c 	st  %g1, [ %o2 + 0x1c ]
                       <== NOT EXECUTED

                                                                     
  return NULL_SUCCESSFUL;
                                            
}
                                                                    
40003514:	81 c3 e0 08 	retl 
                                         <== NOT EXECUTED
40003518:	90 10 20 00 	clr  %o0
                                      <== NOT EXECUTED