Changeset 2d4d710b in rtems


Ignore:
Timestamp:
Sep 5, 2008, 10:06:04 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
2d5e1ca
Parents:
1e78607
Message:

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

  • 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.
Location:
c/src/lib/libbsp/powerpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/ChangeLog

    r1e78607 r2d4d710b  
     12008-09-05      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * shared/clock/clock.c: The Shared Memory Driver no longer requires the
     4        special IOCTL in Clock_control. This was a hack which has existed
     5        since before the Classic API Timer Manager was implemented. All
     6        implementations of and references to Clock_control were removed.
     7
    182008-09-05      Ralf Corsépius <ralf.corsepius@rtems.org>
    29
  • c/src/lib/libbsp/powerpc/shared/clock/clock.c

    r1e78607 r2d4d710b  
    241241        return RTEMS_SUCCESSFUL;
    242242}
    243 
    244 rtems_device_driver Clock_control( rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
    245 {
    246         rtems_libio_ioctl_args_t *io = arg;
    247 
    248         if (io == NULL) {
    249                 return RTEMS_SUCCESSFUL;
    250         }
    251 
    252         if (io->command == rtems_build_name( 'I', 'S', 'R', ' ')) {
    253                 ppc_clock_tick();
    254         } else if (io->command == rtems_build_name( 'N', 'E', 'W', ' ')) {
    255                 if (io->buffer != NULL) {
    256                         ppc_clock_tick = io->buffer;
    257                 } else {
    258                         ppc_clock_tick = ppc_clock_no_tick;
    259                 }
    260         }
    261 
    262         return RTEMS_SUCCESSFUL;
    263 }
Note: See TracChangeset for help on using the changeset viewer.