1 /*
2 * Copyright (c) 2010, Texas Instruments Incorporated
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
15 *
16 * * Neither the name of Texas Instruments Incorporated nor the names of
17 * its contributors may be used to endorse or promote products derived
18 * from this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 */
33 /*!
34 * ======== HDINTC ========
35 * HDVICP Interrupt Registry Callback Library
36 */
37 @Template("./HDINTC.xdt")
38
39 metaonly module HDINTC {
40
41 /*!
42 * ======== interruptVectorId_0 ========
43 * Map this to an unused interrupt vector ID
44 */
45 config UInt interruptVectorId_0;
46
47 /*!
48 * ======== interruptVectorId_1 ========
49 * Map this to an unused interrupt vector ID
50 */
51 config UInt interruptVectorId_1;
52
53 /*!
54 * ======== hdvicpInterruptEventNo_0 ========
55 * This must match the physical event-id associated with the HDVICP
56 * processor:0 interrupts that need to be serviced by GEM, via the
57 * interrupt line selected by 'interruptVectorId_0'.
58 */
59 config UInt hdvicpInterruptEventNo_0;
60
61 /*!
62 * ======== hdvicpInterruptEventNo_1 ========
63 * This must match the physical event-id associated with the HDVICP
64 * processor:0 interrupts that need to be serviced by GEM, via the
65 * interrupt line selected by 'interruptVectorId_0'.
66 */
67 config UInt hdvicpInterruptEventNo_1;
68
69 /*!
70 * ======== biosInterruptVectorId_0 ========
71 * Map this to an unused interrupt vector ID
72 * This vector Id is going to be used to set up a BIOS ISR
73 */
74 config UInt biosInterruptVectorId_0;
75
76 /*!
77 * ======== biosInterruptVectorId_1 ========
78 * Map this to an unused interrupt vector ID
79 * This vector Id is going to be used to set up a BIOS ISR
80 */
81 config UInt biosInterruptVectorId_1;
82
83 /*!
84 * ======== biosInterruptEventNo_0 ========
85 * This must correspond to an unused event on this device. This is a dummy
86 * event that will be mapped to the biosInterruptVectorId_0 above.
87 * This interrupt will be software triggered (by writing to the ISR).
88 * It won't be triggered by an actual event.
89 */
90 config UInt biosInterruptEventNo_0;
91
92 /*!
93 * ======== biosInterruptEventNo_1 ========
94 * This must correspond to an unused event on this device. This is a dummy
95 * event that will be mapped to the biosInterruptVectorId_1 above.
96 * This interrupt will be software triggered (by writing to the ISR).
97 * It won't be triggered by an actual event.
98 */
99 config UInt biosInterruptEventNo_1;
100
101 /*!
102 * ======== debug ========
103 * Enable the debug profile of the library.
104 *
105 * This will likely result in a larger and slower library being linked in.
106 * @_nodoc
107 */
108 config bool debug = false;
109
110 /*!
111 * ======== trace ========
112 * Enable trace support
113 * @_nodoc
114 */
115 config bool trace = false;
116
117 /*!
118 * ======== spinloop ========
119 * Use 'spinloop' implementation.
120 *
121 * When set to true, the services which wait for the HDVICP
122 * completion interrupt will spin, rather than use a semaphore.
123 */
124 config bool spinloop = false;
125 }
126 /*
127 * @(#) ti.sdo.fc.hdintc; 1, 0, 4,133; 12-1-2010 17:24:48; /db/atree/library/trees/fc/fc-p01x/src/ xlibrary
128
129 */
130