2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>

* shared/clock/clock.c: The Shared Memory Driver no longer requires the
	special IOCTL in Clock_control. This was a hack which has existed
	since before the Classic API Timer Manager was implemented. All
	implementations of and references to Clock_control were removed.
This commit is contained in:
Joel Sherrill
2008-09-05 22:06:04 +00:00
parent 1e78607802
commit 2d4d710be2
2 changed files with 7 additions and 21 deletions

View File

@@ -1,3 +1,10 @@
2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/clock/clock.c: The Shared Memory Driver no longer requires the
special IOCTL in Clock_control. This was a hack which has existed
since before the Classic API Timer Manager was implemented. All
implementations of and references to Clock_control were removed.
2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/console/inch.c: Convert to "bool".

View File

@@ -240,24 +240,3 @@ rtems_device_driver Clock_initialize( rtems_device_major_number major, rtems_dev
return RTEMS_SUCCESSFUL;
}
rtems_device_driver Clock_control( rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
{
rtems_libio_ioctl_args_t *io = arg;
if (io == NULL) {
return RTEMS_SUCCESSFUL;
}
if (io->command == rtems_build_name( 'I', 'S', 'R', ' ')) {
ppc_clock_tick();
} else if (io->command == rtems_build_name( 'N', 'E', 'W', ' ')) {
if (io->buffer != NULL) {
ppc_clock_tick = io->buffer;
} else {
ppc_clock_tick = ppc_clock_no_tick;
}
}
return RTEMS_SUCCESSFUL;
}