diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-05 14:48:37 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-05 14:48:37 +0000 |
commit | 5c980d0f993bcb2b59ba4faf25cf9d887faf83f3 (patch) | |
tree | 8b5c9a48b4aa6603f6afa2c45819bde10f266242 /c/src/libchip/shmdr/shm_driver.h | |
parent | 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-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 'c/src/libchip/shmdr/shm_driver.h')
-rw-r--r-- | c/src/libchip/shmdr/shm_driver.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/c/src/libchip/shmdr/shm_driver.h b/c/src/libchip/shmdr/shm_driver.h index 5905d7d0d9..695172a0ba 100644 --- a/c/src/libchip/shmdr/shm_driver.h +++ b/c/src/libchip/shmdr/shm_driver.h @@ -404,8 +404,8 @@ typedef struct { * poll_intr - The operational mode of the driver. Some * target boards may not provide hardware for * an interprocessor interrupt. If POLLED_MODE - * is selected, the SHM driver will install a - * wrapper around the Clock_isr() to poll for + * is selected, the SHM driver will use a + * Classiv API Timer instance to poll for * incoming packets. Throughput is dependent * on the time between clock interrupts. * Valid values are POLLED_MODE and INTR_MODE. @@ -482,8 +482,7 @@ void Init_env_pool( void ); void Shm_Print_statistics( void ); void MPCI_Fatal( Internal_errors_Source, boolean, uint32_t); rtems_task Shm_Cause_interrupt( uint32_t ); -void Shm_Poll( void ); -void Shm_setclockvec( void ); +void Shm_install_timer( void ); void Shm_Convert_packet( rtems_packet_prefix * ); /* CPU specific routines are inlined in shmcpu.h */ |