summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/shmdr/setckvec.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-08-17 19:51:51 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-08-17 19:51:51 +0000
commitb06e68ef1f6df69cc86d72356c3a002054a35fad (patch)
tree722b2da3cc83f1cf03019cab8cf895a509eb6801 /c/src/libchip/shmdr/setckvec.c
parentvariable length messages (diff)
downloadrtems-b06e68ef1f6df69cc86d72356c3a002054a35fad.tar.bz2
Numerous miscellaneous features incorporated from Tony Bennett
(tbennett@divnc.com) including the following major additions: + variable length messages + named devices + debug monitor + association tables/variables
Diffstat (limited to '')
-rw-r--r--c/src/libchip/shmdr/setckvec.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/c/src/libchip/shmdr/setckvec.c b/c/src/libchip/shmdr/setckvec.c
index 0b5e306dab..bb3a19e1c8 100644
--- a/c/src/libchip/shmdr/setckvec.c
+++ b/c/src/libchip/shmdr/setckvec.c
@@ -19,10 +19,16 @@
*/
#include <rtems.h>
+#include <rtems/libio.h>
+
#include "shm.h"
-#include "clockdrv.h"
rtems_isr Shm_setclockvec()
{
- ReInstall_clock( Shm_Poll );
+ rtems_libio_ioctl_args_t args;
+ args.iop = 0;
+ args.command = rtems_build_name('N', 'E', 'W', ' ');
+ args.buffer = (void *) Shm_Poll;
+
+ (void) rtems_io_control(rtems_clock_major, rtems_clock_minor, &args);
}