1 2 3 4 5 6 7 8 9
10 11 12 13 14 15
16
17 import ti.sdo.utils.MultiProc;
18
19 /*!
20 * ======== InterruptDucati ========
21 * OMAP4430/Ducati IPC interrupt manager
22 */
23
24 module InterruptDucati inherits ti.sdo.ipc.notifyDrivers.IInterrupt
25 {
26
27 config UInt32 mailboxBaseAddr = 0x4A0F4000;
28
29
30 config UInt32 ducatiCtrlBaseAddr = 0x55081000;
31
32 internal:
33
34
35 struct FxnTable {
36 Fxn func;
37 UArg arg;
38 }
39
40 /*! Stub to plug the inter-Ducati hwi */
41 Void intShmDucatiStub(UArg arg);
42
43 /*! Stub to plug the Mailbox hwi */
44 Void intShmMbxStub(UArg arg);
45
46 struct Module_State {
47 FxnTable fxnTable[3];
48 Bool numPlugged;
49 };
50
51 /*! Statically retrieve procIds to avoid doing this at runtime */
52 config UInt dspProcId = MultiProc.INVALIDID;
53 config UInt hostProcId = MultiProc.INVALIDID;
54 config UInt core0ProcId = MultiProc.INVALIDID;
55 config UInt core1ProcId = MultiProc.INVALIDID;
56 }
57