BSP and Device Driver Development Guide
The Shm_setvec
is invoked by the portable portion
of the shared memory to install the interrupt service routine
that is invoked when an incoming message is announced. Some
target boards support an interprocessor interrupt or mailbox
scheme and this is where the ISR for that interrupt would be
installed.
On an interrupt driven node, this routine would be implemented as follows:
void Shm_setvec( void ) { install the interprocessor communications ISR }
On a polled node, this routine would be empty.
BSP and Device Driver Development Guide
Copyright © 1988-2008 OAR Corporation