SDOCM00106584 Notify mailbox driver support on DRA7xx (IPU, HOST) - Part 1
authorRamsey Harris <ramsey@ti.com>
Sat, 24 May 2014 18:46:31 +0000 (11:46 -0700)
committerRobert Tivy <rtivy@ti.com>
Wed, 28 May 2014 00:19:48 +0000 (17:19 -0700)
commit08b5558fc8c031c3f5d25089d332f85f2ecd4313
tree8d2a544b7045f1a2c406c44ed1eed0468509001b
parent08743ac6a4fc23766b30d5a84f51f153dbfbe96c
SDOCM00106584 Notify mailbox driver support on DRA7xx (IPU, HOST) - Part 1

Added notify mailbox driver support for IPU. The InterruptIpu module
uses the NotifySetup module to dispatch interrupt to the correct notify
driver. The InterruptIpu ISR no longer checks all mailboxes for new
messages because the NotifySetup dispatch ISR already did this. Added
IPU support to the NotifySetup module.

The NotifyDriverMbx module now supports IPU. The code is the same as for
DSP and EVE. Added the module to product library builds for M3 and M4.

Added two new sub-mailboxes to the mailbox table. These are needed for
IPU1-0 to IPU1-1 communication when using the mailbox driver. For shared
memory driver, they did not use a mailbox for interrupt. They used
internal IPU interrupt.

Removed module startup method from InterruptDsp and InterruptIpu modules.
Consolidated startup code in NotifySetup. The NotifyDriverMbx startup
method was also consolidated (but not yet removed).

Removed interruptTable from InterruptDsp, InterruptIpu and NotifyDriverMbx
modules. Consolidated in NotifySetup. Added access method to NotifySetup
to fetch interrupt number from table.

Added new mailboxes to TableInit.xs: generateTable() method.
15 files changed:
packages/ti/sdo/ipc/Build.xs
packages/ti/sdo/ipc/family/vayu/InterruptDsp.c
packages/ti/sdo/ipc/family/vayu/InterruptDsp.xdc
packages/ti/sdo/ipc/family/vayu/InterruptDsp.xs
packages/ti/sdo/ipc/family/vayu/InterruptIpu.c
packages/ti/sdo/ipc/family/vayu/InterruptIpu.xdc
packages/ti/sdo/ipc/family/vayu/InterruptIpu.xs
packages/ti/sdo/ipc/family/vayu/NotifyDriverMbx.c
packages/ti/sdo/ipc/family/vayu/NotifyDriverMbx.xdc
packages/ti/sdo/ipc/family/vayu/NotifyDriverMbx.xs
packages/ti/sdo/ipc/family/vayu/NotifySetup.c
packages/ti/sdo/ipc/family/vayu/NotifySetup.xdc
packages/ti/sdo/ipc/family/vayu/NotifySetup.xs
packages/ti/sdo/ipc/family/vayu/TableInit.xs
packages/ti/sdo/ipc/family/vayu/package.xdc