summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shmdr/setckvec.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/shmdr/setckvec.c')
-rw-r--r--c/src/lib/libbsp/shmdr/setckvec.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/shmdr/setckvec.c b/c/src/lib/libbsp/shmdr/setckvec.c
new file mode 100644
index 0000000000..0b5e306dab
--- /dev/null
+++ b/c/src/lib/libbsp/shmdr/setckvec.c
@@ -0,0 +1,28 @@
+/* Shm_setclockvec
+ *
+ * This routines installs the shared memory clock interrupt handler
+ * used when the driver is used in polling mode.
+ *
+ * INPUT PARAMETERS: NONE
+ *
+ * OUTPUT PARAMETERS: NONE
+ *
+ * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
+ * On-Line Applications Research Corporation (OAR).
+ * All rights assigned to U.S. Government, 1994.
+ *
+ * This material may be reproduced by or for the U.S. Government pursuant
+ * to the copyright license under the clause at DFARS 252.227-7013. This
+ * notice must appear in all copies of this file and its derivatives.
+ *
+ * $Id$
+ */
+
+#include <rtems.h>
+#include "shm.h"
+#include "clockdrv.h"
+
+rtems_isr Shm_setclockvec()
+{
+ ReInstall_clock( Shm_Poll );
+}