Last change
on this file since 8c99365 was
8c99365,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/04/03 at 18:53:36
|
2003-09-04 Joel Sherrill <joel@…>
- addlq.c, cnvpkt.c, dump.c, fatal.c, getlq.c, getpkt.c, init.c,
initlq.c, intr.c, mpci.h, mpisr.c, poll.c, receive.c, retpkt.c,
send.c, setckvec.c, shm_driver.h: URL for license changed.
|
-
Property mode set to
100644
|
File size:
792 bytes
|
Rev | Line | |
---|
[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 | * |
---|
[08311cc3] | 10 | * COPYRIGHT (c) 1989-1999. |
---|
[ac7d5ef0] | 11 | * On-Line Applications Research Corporation (OAR). |
---|
| 12 | * |
---|
[98e4ebf5] | 13 | * The license and distribution terms for this file may be |
---|
| 14 | * found in the file LICENSE in this distribution or at |
---|
[8c99365] | 15 | * http://www.rtems.com/license/LICENSE. |
---|
[ac7d5ef0] | 16 | * |
---|
| 17 | * $Id$ |
---|
| 18 | */ |
---|
| 19 | |
---|
| 20 | #include <rtems.h> |
---|
[b06e68ef] | 21 | #include <rtems/libio.h> |
---|
| 22 | |
---|
[48bfd992] | 23 | #include "shm_driver.h" |
---|
[ac7d5ef0] | 24 | |
---|
| 25 | rtems_isr Shm_setclockvec() |
---|
| 26 | { |
---|
[b06e68ef] | 27 | rtems_libio_ioctl_args_t args; |
---|
| 28 | args.iop = 0; |
---|
| 29 | args.command = rtems_build_name('N', 'E', 'W', ' '); |
---|
| 30 | args.buffer = (void *) Shm_Poll; |
---|
| 31 | |
---|
| 32 | (void) rtems_io_control(rtems_clock_major, rtems_clock_minor, &args); |
---|
[ac7d5ef0] | 33 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.