source: rtems/c/src/lib/libbsp/shmdr/setckvec.c @ b06e68ef

4.104.114.84.95
Last change on this file since b06e68ef was b06e68ef, checked in by Joel Sherrill <joel.sherrill@…>, on 08/17/95 at 19:51:51

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

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

  • Property mode set to 100644
File size: 922 bytes
RevLine 
[ac7d5ef0]1/*  Shm_setclockvec
2 *
3 *  This routines installs the shared memory clock interrupt handler
4 *  used when the driver is used in polling mode.
5 *
6 *  INPUT PARAMETERS:  NONE
7 *
8 *  OUTPUT PARAMETERS: NONE
9 *
10 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
11 *  On-Line Applications Research Corporation (OAR).
12 *  All rights assigned to U.S. Government, 1994.
13 *
14 *  This material may be reproduced by or for the U.S. Government pursuant
15 *  to the copyright license under the clause at DFARS 252.227-7013.  This
16 *  notice must appear in all copies of this file and its derivatives.
17 *
18 *  $Id$
19 */
20
21#include <rtems.h>
[b06e68ef]22#include <rtems/libio.h>
23
[ac7d5ef0]24#include "shm.h"
25
26rtems_isr Shm_setclockvec()
27{
[b06e68ef]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);
[ac7d5ef0]34}
Note: See TracBrowser for help on using the repository browser.