[processor-sdk/performance-audio-sr.git] / psdk_cust / ipc_3_43_00_00_eng / docs / cdoc / ti / sdo / ipc / family / tda3xx / InterruptDsp-src.html
diff --git a/psdk_cust/ipc_3_43_00_00_eng/docs/cdoc/ti/sdo/ipc/family/tda3xx/InterruptDsp-src.html b/psdk_cust/ipc_3_43_00_00_eng/docs/cdoc/ti/sdo/ipc/family/tda3xx/InterruptDsp-src.html
+++ /dev/null
@@ -1,134 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html><head><title>module ti.sdo.ipc.family.tda3xx.InterruptDsp</title>
-<meta name="googlebot" content="noindex,nofollow">
-<link rel="stylesheet" type="text/css" href="../../../../../src.css"/>
-</head>
-<body>
-<pre class=src>
- 1 <span class="comment">/*
-</span> 2 <span class="comment"> * Copyright (c) 2014 Texas Instruments Incorporated - http://www.ti.com
-</span> 3 <span class="comment"> * All rights reserved.
-</span> 4 <span class="comment"> *
-</span> 5 <span class="comment"> * Redistribution and use in source and binary forms, with or without
-</span> 6 <span class="comment"> * modification, are permitted provided that the following conditions
-</span> 7 <span class="comment"> * are met:
-</span> 8 <span class="comment"> *
-</span> 9 <span class="comment"> * * Redistributions of source code must retain the above copyright
-</span> 10 <span class="comment"> * notice, this list of conditions and the following disclaimer.
-</span> 11 <span class="comment"> *
-</span> 12 <span class="comment"> * * Redistributions in binary form must reproduce the above copyright
-</span> 13 <span class="comment"> * notice, this list of conditions and the following disclaimer in the
-</span> 14 <span class="comment"> * documentation and/or other materials provided with the distribution.
-</span> 15 <span class="comment"> *
-</span> 16 <span class="comment"> * * Neither the name of Texas Instruments Incorporated nor the names of
-</span> 17 <span class="comment"> * its contributors may be used to endorse or promote products derived
-</span> 18 <span class="comment"> * from this software without specific prior written permission.
-</span> 19 <span class="comment"> *
-</span> 20 <span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-</span> 21 <span class="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
-</span> 22 <span class="comment"> * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-</span> 23 <span class="comment"> * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-</span> 24 <span class="comment"> * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-</span> 25 <span class="comment"> * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-</span> 26 <span class="comment"> * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-</span> 27 <span class="comment"> * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-</span> 28 <span class="comment"> * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-</span> 29 <span class="comment"> * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-</span> 30 <span class="comment"> * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-</span> 31 <span class="comment"> */</span>
- 32
- 33 <span class="comment">/*
-</span> 34 <span class="comment"> * ======== InterruptDsp.xdc ========
-</span> 35 <span class="comment"> */</span>
- 36 <span class=key>package</span> ti.sdo.ipc.family.tda3xx;
- 37
- 38 import ti.sdo.utils.MultiProc;
- 39 import xdc.rov.ViewInfo;
- 40
- 41 <span class="xdoc">/*!
-</span> 42 <span class="xdoc"> * ======== InterruptDsp ========
-</span> 43 <span class="xdoc"> * DSP interrupt manager
-</span> 44 <span class="xdoc"> */</span>
- 45 <span class=key>module</span> InterruptDsp <span class=key>inherits</span> ti.sdo.ipc.notifyDrivers.IInterrupt
- 46 {
- 47 <span class="xdoc">/*! <b>@_nodoc</b> */</span>
- 48 <span class=key>metaonly</span> <span class=key>struct</span> InterruptDataView {
- 49 String remoteProcName;
- 50 Bool registered;
- 51 Bool enabled;
- 52 Bool intPending;
- 53 Ptr payload;
- 54 };
- 55
- 56 <span class="xdoc">/*! <b>@_nodoc</b> */</span>
- 57 <span class=comment>// @Facet</span>
- 58 <span class=comment>// metaonly config xdc.rov.ViewInfo.Instance rovViewInfo =</span>
- 59 <span class=comment>// xdc.rov.ViewInfo.create({</span>
- 60 <span class=comment>// viewMap: [</span>
- 61 <span class=comment>// ['IncomingInterrupts',</span>
- 62 <span class=comment>// {</span>
- 63 <span class=comment>// type: xdc.rov.ViewInfo.MODULE_DATA,</span>
- 64 <span class=comment>// viewInitFxn: 'viewInitInterrupt',</span>
- 65 <span class=comment>// structName: 'InterruptDataView'</span>
- 66 <span class=comment>// }</span>
- 67 <span class=comment>// ],</span>
- 68 <span class=comment>// ]</span>
- 69 <span class=comment>// });</span>
- 70
- 71 <span class="comment">/* Total number of cores on SoC */</span>
- 72 <span class=key>const</span> UInt8 NUM_CORES = 5;
- 73
- 74 <span class="comment">/* Number of Cores in EVE Sub-system */</span>
- 75 <span class=key>const</span> UInt8 NUM_EVES = 1;
- 76
- 77 <span class="comment">/* Number of Cores in DSP Sub-system */</span>
- 78 <span class=comment>// const UInt8 NUM_DSP_CORES = 2;</span>
- 79
- 80 <span class="comment">/* Number of Internal EVE mailboxes */</span>
- 81 <span class=key>const</span> UInt8 NUM_EVE_MBX = 2;
- 82
- 83 <span class="comment">/* Number of System Mailboxes */</span>
- 84 <span class=key>const</span> UInt8 NUM_SYS_MBX = 1;
- 85
- 86 <span class="comment">/* Base address for the Mailbox subsystem */</span>
- 87 <span class=key>config</span> UInt32 mailboxBaseAddr[NUM_EVE_MBX + NUM_SYS_MBX];
- 88
- 89 <span class=key>internal</span>:
- 90
- 91 <span class="comment">/*
-</span> 92 <span class="comment"> * Mailbox table for storing encoded Base Address, mailbox user Id,
-</span> 93 <span class="comment"> * and sub-mailbox index.
-</span> 94 <span class="comment"> */</span>
- 95 <span class=key>config</span> UInt32 mailboxTable[NUM_CORES * NUM_CORES];
- 96
- 97 <span class=key>config</span> UInt32 procIdTable[NUM_CORES];
- 98
- 99 <span class="xdoc">/*! Statically retrieve procIds to avoid doing this at runtime */</span>
- 100 <span class=key>config</span> UInt eve1ProcId = MultiProc.INVALIDID;
- 101 <span class=key>config</span> UInt dsp1ProcId = MultiProc.INVALIDID;
- 102 <span class=key>config</span> UInt dsp2ProcId = MultiProc.INVALIDID;
- 103 <span class=key>config</span> UInt ipu1_0ProcId = MultiProc.INVALIDID;
- 104 <span class=key>config</span> UInt ipu1_1ProcId = MultiProc.INVALIDID;
- 105
- 106 <span class="xdoc">/*! Function table */</span>
- 107 <span class=key>struct</span> FxnTable {
- 108 Fxn func;
- 109 UArg arg;
- 110 }
- 111
- 112 <span class="xdoc">/*!
-</span> 113 <span class="xdoc"> * ======== intShmStub ========
-</span> 114 <span class="xdoc"> * Stub to be plugged
-</span> 115 <span class="xdoc"> */</span>
- 116 Void intShmStub(UInt16 idx);
- 117
- 118 <span class=key>struct</span> Module_State {
- 119 <span class="comment">/*
-</span> 120 <span class="comment"> * Create a function table of length (Total number of cores in the
-</span> 121 <span class="comment"> * System) for each DSP core.
-</span> 122 <span class="comment"> */</span>
- 123 FxnTable fxnTable[NUM_CORES];
- 124 };
- 125 }
-</pre>
-</body></html>