1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 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 128
129