RTEMS-5
Annotated Report
Fri Aug 10 13:22:51 2018
400035c0 <dev_zero_control>:
rtems_device_minor_number minor RTEMS_UNUSED,
void *arg RTEMS_UNUSED
)
{
return RTEMS_IO_ERROR;
}
400035c0: 81 c3 e0 08 retl
<== NOT EXECUTED
400035c4: 90 10 20 1b mov 0x1b, %o0
<== NOT EXECUTED
4000358c <dev_zero_read>:
rtems_device_driver dev_zero_read(
rtems_device_major_number major RTEMS_UNUSED,
rtems_device_minor_number minor RTEMS_UNUSED,
void *arg RTEMS_UNUSED
)
{
4000358c: 9d e3 bf a0 save %sp, -96, %sp
<== NOT EXECUTED
rtems_libio_rw_args_t *rw = arg;
rw->bytes_moved = rw->count;
40003590: d4 06 a0 14 ld [ %i2 + 0x14 ], %o2
<== NOT EXECUTED
40003594: d4 26 a0 1c st %o2, [ %i2 + 0x1c ]
<== NOT EXECUTED
memset(rw->buffer, 0, rw->count);
return RTEMS_SUCCESSFUL;
}
40003598: b0 10 20 00 clr %i0
<== NOT EXECUTED
memset(rw->buffer, 0, rw->count);
4000359c: d0 06 a0 10 ld [ %i2 + 0x10 ], %o0
<== NOT EXECUTED
400035a0: 40 00 35 5b call 40010b0c <memset>
<== NOT EXECUTED
400035a4: 92 10 20 00 clr %o1
<== NOT EXECUTED
}
400035a8: 81 c7 e0 08 ret
<== NOT EXECUTED
400035ac: 81 e8 00 00 restore
<== NOT EXECUTED
400035b0 <dev_zero_write>:
void *arg
)
{
rtems_libio_rw_args_t *rw = arg;
rw->bytes_moved = rw->count;
400035b0: c2 02 a0 14 ld [ %o2 + 0x14 ], %g1
<== NOT EXECUTED
400035b4: c2 22 a0 1c st %g1, [ %o2 + 0x1c ]
<== NOT EXECUTED
return RTEMS_SUCCESSFUL;
}
400035b8: 81 c3 e0 08 retl
<== NOT EXECUTED
400035bc: 90 10 20 00 clr %o0
<== NOT EXECUTED
4000352c <null_close>:
4000352c: 81 c3 e0 08 retl
<== NOT EXECUTED
40003530: 90 10 20 00 clr %o0
<== NOT EXECUTED
40003558 <null_control>:
40003558: 81 c3 e0 08 retl
<== NOT EXECUTED
4000355c: 90 10 20 00 clr %o0
<== NOT EXECUTED
400034c8 <null_initialize>:
rtems_device_driver null_initialize(
rtems_device_major_number major,
rtems_device_minor_number minor RTEMS_UNUSED,
void *pargp RTEMS_UNUSED
)
{
400034c8: 9d e3 bf a0 save %sp, -96, %sp
rtems_device_driver status;
if ( !initialized ) {
400034cc: 03 10 00 77 sethi %hi(0x4001dc00), %g1
400034d0: c4 48 60 ac ldsb [ %g1 + 0xac ], %g2 ! 4001dcac <initialized>
400034d4: 80 a0 a0 00 cmp %g2, 0
400034d8: 02 80 00 04 be 400034e8 <null_initialize+0x20>
<== ALWAYS TAKEN
400034dc: 84 10 20 01 mov 1, %g2
NULL_major = major;
}
return RTEMS_SUCCESSFUL;
}
400034e0: 81 c7 e0 08 ret
<== NOT EXECUTED
400034e4: 91 e8 20 00 restore %g0, 0, %o0
<== NOT EXECUTED
status = rtems_io_register_name(
400034e8: 94 10 20 00 clr %o2
initialized = 1;
400034ec: c4 28 60 ac stb %g2, [ %g1 + 0xac ]
status = rtems_io_register_name(
400034f0: 92 10 00 18 mov %i0, %o1
400034f4: 11 10 00 6a sethi %hi(0x4001a800), %o0
400034f8: 40 00 06 6d call 40004eac <rtems_io_register_name>
400034fc: 90 12 23 20 or %o0, 0x320, %o0 ! 4001ab20 <node_handlers+0x144>
if (status != RTEMS_SUCCESSFUL)
40003500: 80 a2 20 00 cmp %o0, 0
40003504: 12 80 00 05 bne 40003518 <null_initialize+0x50>
<== NEVER TAKEN
40003508: 03 10 00 7c sethi %hi(0x4001f000), %g1
NULL_major = major;
4000350c: f0 20 63 dc st %i0, [ %g1 + 0x3dc ] ! 4001f3dc <NULL_major>
}
40003510: 81 c7 e0 08 ret
40003514: 91 e8 20 00 restore %g0, 0, %o0
rtems_fatal_error_occurred(status);
40003518: 40 00 12 d1 call 4000805c <rtems_fatal_error_occurred>
<== NOT EXECUTED
4000351c: 01 00 00 00 nop
<== NOT EXECUTED
40003520: 01 00 00 00 nop
<== NOT EXECUTED
40003524 <null_open>:
rtems_device_minor_number minor RTEMS_UNUSED,
void *pargp RTEMS_UNUSED
)
{
return NULL_SUCCESSFUL;
}
40003524: 81 c3 e0 08 retl
<== NOT EXECUTED
40003528: 90 10 20 00 clr %o0 ! 0 <PROM_START>
<== NOT EXECUTED
40003534 <null_read>:
40003534: 81 c3 e0 08 retl
<== NOT EXECUTED
40003538: 90 10 20 00 clr %o0
<== NOT EXECUTED
4000353c <null_write>:
void *pargp
)
{
rtems_libio_rw_args_t *rw_args = (rtems_libio_rw_args_t *) pargp;
if ( rw_args )
4000353c: 80 a2 a0 00 cmp %o2, 0
<== NOT EXECUTED
40003540: 02 80 00 04 be 40003550 <null_write+0x14>
<== NOT EXECUTED
40003544: 01 00 00 00 nop
<== NOT EXECUTED
rw_args->bytes_moved = rw_args->count;
40003548: c2 02 a0 14 ld [ %o2 + 0x14 ], %g1
<== NOT EXECUTED
4000354c: c2 22 a0 1c st %g1, [ %o2 + 0x1c ]
<== NOT EXECUTED
return NULL_SUCCESSFUL;
}
40003550: 81 c3 e0 08 retl
<== NOT EXECUTED
40003554: 90 10 20 00 clr %o0
<== NOT EXECUTED