IPC: Add SMP support to the VirtQueue module
authorSuman Anna <s-anna@ti.com>
Thu, 3 May 2012 01:58:41 +0000 (20:58 -0500)
committerSuman Anna <s-anna@ti.com>
Mon, 7 May 2012 01:19:25 +0000 (20:19 -0500)
commitf940c5dda56f1b059e17f5cee9e311f2d499a572
tree2caebcffcf055ec19ad1aeb50cb4a2f4cedc60b7
parent854f0ca39f011a04264a62e4669fb50f2a2feee0
IPC: Add SMP support to the VirtQueue module

The SMP support in IPU is added to the core IPC transport
layer - the VirtQueue module. For SMP, we only need one
pair of VirtQueues as if they were only one core. Support
for non-SMP and SMP is simultaneously provided by using a
compiler preprocessor macro.

Libraries for SMP and non-SMP mode are built simultaneously
during build time, and the appropriate library is picked up
during the link stage in the final executable.

Signed-off-by: Paul Hunt <hunt@ti.com>
Signed-off-by: Juan Gutierrez <jgutierrez@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
src/ti/ipc/rpmsg/VirtQueue.c
src/ti/ipc/rpmsg/package.bld
src/ti/ipc/rpmsg/package.xs