Changeset b06e68ef in rtems for c/src/libchip/shmdr/setckvec.c


Ignore:
Timestamp:
Aug 17, 1995, 7:51:51 PM (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
95fbca1
Parents:
3b438fa
Message:

Numerous miscellaneous features incorporated from Tony Bennett
(tbennett@…) including the following major additions:

+ variable length messages
+ named devices
+ debug monitor
+ association tables/variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/shmdr/setckvec.c

    r3b438fa rb06e68ef  
    2020
    2121#include <rtems.h>
     22#include <rtems/libio.h>
     23
    2224#include "shm.h"
    23 #include "clockdrv.h"
    2425
    2526rtems_isr Shm_setclockvec()
    2627{
    27   ReInstall_clock( Shm_Poll );
     28    rtems_libio_ioctl_args_t args;
     29    args.iop = 0;
     30    args.command = rtems_build_name('N', 'E', 'W', ' ');
     31    args.buffer = (void *) Shm_Poll;
     32
     33    (void) rtems_io_control(rtems_clock_major, rtems_clock_minor, &args);
    2834}
Note: See TracChangeset for help on using the changeset viewer.