summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/shmdr/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-05 14:48:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-05 14:48:37 +0000
commit5c980d0f993bcb2b59ba4faf25cf9d887faf83f3 (patch)
tree8b5c9a48b4aa6603f6afa2c45819bde10f266242 /c/src/libchip/shmdr/init.c
parent2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-5c980d0f993bcb2b59ba4faf25cf9d887faf83f3.tar.bz2
2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/Makefile.am, libchip/shmdr/init.c, libchip/shmdr/mpisr.c, libchip/shmdr/poll.c, libchip/shmdr/shm_driver.h: Update shared memory driver to not use the clock ioctl to install a method to poll for input. It now uses a Class API Timer which means we can eliminate this special IOCTL from all clock drivers. * libchip/shmdr/setckvec.c: Removed.
Diffstat (limited to '')
-rw-r--r--c/src/libchip/shmdr/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/libchip/shmdr/init.c b/c/src/libchip/shmdr/init.c
index 270409263d..131ff24257 100644
--- a/c/src/libchip/shmdr/init.c
+++ b/c/src/libchip/shmdr/init.c
@@ -126,7 +126,7 @@ rtems_mpci_entry Shm_Initialization( void )
interrupt_value = Shm_Convert( Shm_Configuration->Intr.value );
interrupt_cause = Shm_Convert( Shm_Configuration->Intr.length );
- if ( Shm_Configuration->poll_intr == POLLED_MODE ) Shm_setclockvec();
+ if ( Shm_Configuration->poll_intr == POLLED_MODE ) Shm_install_timer();
else Shm_setvec();
if ( Shm_Is_master_node() ) {