gpio: generalize for all generic gpio providers
[platform/kernel/u-boot.git] / drivers / dma / MCD_tasks.c
1 /*
2  * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
3  *
4  * See file CREDITS for list of people who contributed to this
5  * project.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License as
9  * published by the Free Software Foundation; either version 2 of
10  * the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20  * MA 02111-1307 USA
21  */
22
23 /* Contains task code and structures for Multi-channel DMA */
24
25 #include <common.h>
26
27 #include <MCD_dma.h>
28
29 u32 MCD_varTab0[];
30 u32 MCD_varTab1[];
31 u32 MCD_varTab2[];
32 u32 MCD_varTab3[];
33 u32 MCD_varTab4[];
34 u32 MCD_varTab5[];
35 u32 MCD_varTab6[];
36 u32 MCD_varTab7[];
37 u32 MCD_varTab8[];
38 u32 MCD_varTab9[];
39 u32 MCD_varTab10[];
40 u32 MCD_varTab11[];
41 u32 MCD_varTab12[];
42 u32 MCD_varTab13[];
43 u32 MCD_varTab14[];
44 u32 MCD_varTab15[];
45
46 u32 MCD_funcDescTab0[];
47 #ifdef MCD_INCLUDE_EU
48 u32 MCD_funcDescTab1[];
49 u32 MCD_funcDescTab2[];
50 u32 MCD_funcDescTab3[];
51 u32 MCD_funcDescTab4[];
52 u32 MCD_funcDescTab5[];
53 u32 MCD_funcDescTab6[];
54 u32 MCD_funcDescTab7[];
55 u32 MCD_funcDescTab8[];
56 u32 MCD_funcDescTab9[];
57 u32 MCD_funcDescTab10[];
58 u32 MCD_funcDescTab11[];
59 u32 MCD_funcDescTab12[];
60 u32 MCD_funcDescTab13[];
61 u32 MCD_funcDescTab14[];
62 u32 MCD_funcDescTab15[];
63 #endif
64
65 u32 MCD_contextSave0[];
66 u32 MCD_contextSave1[];
67 u32 MCD_contextSave2[];
68 u32 MCD_contextSave3[];
69 u32 MCD_contextSave4[];
70 u32 MCD_contextSave5[];
71 u32 MCD_contextSave6[];
72 u32 MCD_contextSave7[];
73 u32 MCD_contextSave8[];
74 u32 MCD_contextSave9[];
75 u32 MCD_contextSave10[];
76 u32 MCD_contextSave11[];
77 u32 MCD_contextSave12[];
78 u32 MCD_contextSave13[];
79 u32 MCD_contextSave14[];
80 u32 MCD_contextSave15[];
81
82 u32 MCD_realTaskTableSrc[] = {
83         0x00000000,
84         0x00000000,
85         (u32) MCD_varTab0,      /* Task 0 Variable Table */
86         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
87         0x00000000,
88         0x00000000,
89         (u32) MCD_contextSave0, /* Task 0 context save space */
90         0x00000000,
91         0x00000000,
92         0x00000000,
93         (u32) MCD_varTab1,      /* Task 1 Variable Table */
94 #ifdef MCD_INCLUDE_EU
95         (u32) MCD_funcDescTab1, /* Task 1 Fn Desc. Table & Flags */
96 #else
97         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
98 #endif
99         0x00000000,
100         0x00000000,
101         (u32) MCD_contextSave1, /* Task 1 context save space */
102         0x00000000,
103         0x00000000,
104         0x00000000,
105         (u32) MCD_varTab2,      /* Task 2 Variable Table */
106 #ifdef MCD_INCLUDE_EU
107         (u32) MCD_funcDescTab2, /* Task 2 Fn Desc. Table & Flags */
108 #else
109         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
110 #endif
111         0x00000000,
112         0x00000000,
113         (u32) MCD_contextSave2, /* Task 2 context save space */
114         0x00000000,
115         0x00000000,
116         0x00000000,
117         (u32) MCD_varTab3,      /* Task 3 Variable Table */
118 #ifdef MCD_INCLUDE_EU
119         (u32) MCD_funcDescTab3, /* Task 3 Fn Desc. Table & Flags */
120 #else
121         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
122 #endif
123         0x00000000,
124         0x00000000,
125         (u32) MCD_contextSave3, /* Task 3 context save space */
126         0x00000000,
127         0x00000000,
128         0x00000000,
129         (u32) MCD_varTab4,      /* Task 4 Variable Table */
130 #ifdef MCD_INCLUDE_EU
131         (u32) MCD_funcDescTab4, /* Task 4 Fn Desc. Table & Flags */
132 #else
133         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
134 #endif
135         0x00000000,
136         0x00000000,
137         (u32) MCD_contextSave4, /* Task 4 context save space */
138         0x00000000,
139         0x00000000,
140         0x00000000,
141         (u32) MCD_varTab5,      /* Task 5 Variable Table */
142 #ifdef MCD_INCLUDE_EU
143         (u32) MCD_funcDescTab5, /* Task 5 Fn Desc. Table & Flags */
144 #else
145         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
146 #endif
147         0x00000000,
148         0x00000000,
149         (u32) MCD_contextSave5, /* Task 5 context save space */
150         0x00000000,
151         0x00000000,
152         0x00000000,
153         (u32) MCD_varTab6,      /* Task 6 Variable Table */
154 #ifdef MCD_INCLUDE_EU
155         (u32) MCD_funcDescTab6, /* Task 6 Fn Desc. Table & Flags */
156 #else
157         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
158 #endif
159         0x00000000,
160         0x00000000,
161         (u32) MCD_contextSave6, /* Task 6 context save space */
162         0x00000000,
163         0x00000000,
164         0x00000000,
165         (u32) MCD_varTab7,      /* Task 7 Variable Table */
166 #ifdef MCD_INCLUDE_EU
167         (u32) MCD_funcDescTab7, /* Task 7 Fn Desc. Table & Flags */
168 #else
169         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
170 #endif
171         0x00000000,
172         0x00000000,
173         (u32) MCD_contextSave7, /* Task 7 context save space */
174         0x00000000,
175         0x00000000,
176         0x00000000,
177         (u32) MCD_varTab8,      /* Task 8 Variable Table */
178 #ifdef MCD_INCLUDE_EU
179         (u32) MCD_funcDescTab8, /* Task 8 Fn Desc. Table & Flags */
180 #else
181         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
182 #endif
183         0x00000000,
184         0x00000000,
185         (u32) MCD_contextSave8, /* Task 8 context save space */
186         0x00000000,
187         0x00000000,
188         0x00000000,
189         (u32) MCD_varTab9,      /* Task 9 Variable Table */
190 #ifdef MCD_INCLUDE_EU
191         (u32) MCD_funcDescTab9, /* Task 9 Fn Desc. Table & Flags */
192 #else
193         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
194 #endif
195         0x00000000,
196         0x00000000,
197         (u32) MCD_contextSave9, /* Task 9 context save space */
198         0x00000000,
199         0x00000000,
200         0x00000000,
201         (u32) MCD_varTab10,     /* Task 10 Variable Table */
202 #ifdef MCD_INCLUDE_EU
203         (u32) MCD_funcDescTab10,        /* Task 10 Fn Desc. Table & Flags */
204 #else
205         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
206 #endif
207         0x00000000,
208         0x00000000,
209         (u32) MCD_contextSave10,        /* Task 10 context save space */
210         0x00000000,
211         0x00000000,
212         0x00000000,
213         (u32) MCD_varTab11,     /* Task 11 Variable Table */
214 #ifdef MCD_INCLUDE_EU
215         (u32) MCD_funcDescTab11,        /* Task 11 Fn Desc. Table & Flags */
216 #else
217         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
218 #endif
219         0x00000000,
220         0x00000000,
221         (u32) MCD_contextSave11,        /* Task 11 context save space */
222         0x00000000,
223         0x00000000,
224         0x00000000,
225         (u32) MCD_varTab12,     /* Task 12 Variable Table */
226 #ifdef MCD_INCLUDE_EU
227         (u32) MCD_funcDescTab12,        /* Task 12 Fn Desc. Table & Flags */
228 #else
229         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
230 #endif
231         0x00000000,
232         0x00000000,
233         (u32) MCD_contextSave12,        /* Task 12 context save space */
234         0x00000000,
235         0x00000000,
236         0x00000000,
237         (u32) MCD_varTab13,     /* Task 13 Variable Table */
238 #ifdef MCD_INCLUDE_EU
239         (u32) MCD_funcDescTab13,        /* Task 13 Fn Desc. Table & Flags */
240 #else
241         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
242 #endif
243         0x00000000,
244         0x00000000,
245         (u32) MCD_contextSave13,        /* Task 13 context save space */
246         0x00000000,
247         0x00000000,
248         0x00000000,
249         (u32) MCD_varTab14,     /* Task 14 Variable Table */
250 #ifdef MCD_INCLUDE_EU
251         (u32) MCD_funcDescTab14,        /* Task 14 Fn Desc. Table & Flags */
252 #else
253         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
254 #endif
255         0x00000000,
256         0x00000000,
257         (u32) MCD_contextSave14,        /* Task 14 context save space */
258         0x00000000,
259         0x00000000,
260         0x00000000,
261         (u32) MCD_varTab15,     /* Task 15 Variable Table */
262 #ifdef MCD_INCLUDE_EU
263         (u32) MCD_funcDescTab15,        /* Task 15 Fn Desc. Table & Flags */
264 #else
265         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
266 #endif
267         0x00000000,
268         0x00000000,
269         (u32) MCD_contextSave15,        /* Task 15 context save space */
270         0x00000000,
271 };
272
273 u32 MCD_varTab0[] = {           /* Task 0 Variable Table */
274         0x00000000,             /* var[0] */
275         0x00000000,             /* var[1] */
276         0x00000000,             /* var[2] */
277         0x00000000,             /* var[3] */
278         0x00000000,             /* var[4] */
279         0x00000000,             /* var[5] */
280         0x00000000,             /* var[6] */
281         0x00000000,             /* var[7] */
282         0x00000000,             /* var[8] */
283         0x00000000,             /* var[9] */
284         0x00000000,             /* var[10] */
285         0x00000000,             /* var[11] */
286         0x00000000,             /* var[12] */
287         0x00000000,             /* var[13] */
288         0x00000000,             /* var[14] */
289         0x00000000,             /* var[15] */
290         0x00000000,             /* var[16] */
291         0x00000000,             /* var[17] */
292         0x00000000,             /* var[18] */
293         0x00000000,             /* var[19] */
294         0x00000000,             /* var[20] */
295         0x00000000,             /* var[21] */
296         0x00000000,             /* var[22] */
297         0x00000000,             /* var[23] */
298         0xe0000000,             /* inc[0] */
299         0x20000000,             /* inc[1] */
300         0x2000ffff,             /* inc[2] */
301         0x00000000,             /* inc[3] */
302         0x00000000,             /* inc[4] */
303         0x00000000,             /* inc[5] */
304         0x00000000,             /* inc[6] */
305         0x00000000,             /* inc[7] */
306 };
307
308 u32 MCD_varTab1[] = {
309         0x00000000,
310         0x00000000,
311         0x00000000,
312         0x00000000,
313         0x00000000,
314         0x00000000,
315         0x00000000,
316         0x00000000,
317         0x00000000,
318         0x00000000,
319         0x00000000,
320         0x00000000,
321         0x00000000,
322         0x00000000,
323         0x00000000,
324         0x00000000,
325         0x00000000,
326         0x00000000,
327         0x00000000,
328         0x00000000,
329         0x00000000,
330         0x00000000,
331         0x00000000,
332         0x00000000,
333         0xe0000000,
334         0x20000000,
335         0x2000ffff,
336         0x00000000,
337         0x00000000,
338         0x00000000,
339         0x00000000,
340         0x00000000,
341 };
342
343 u32 MCD_varTab2[] = {
344         0x00000000,
345         0x00000000,
346         0x00000000,
347         0x00000000,
348         0x00000000,
349         0x00000000,
350         0x00000000,
351         0x00000000,
352         0x00000000,
353         0x00000000,
354         0x00000000,
355         0x00000000,
356         0x00000000,
357         0x00000000,
358         0x00000000,
359         0x00000000,
360         0x00000000,
361         0x00000000,
362         0x00000000,
363         0x00000000,
364         0x00000000,
365         0x00000000,
366         0x00000000,
367         0x00000000,
368         0xe0000000,
369         0x20000000,
370         0x2000ffff,
371         0x00000000,
372         0x00000000,
373         0x00000000,
374         0x00000000,
375         0x00000000,
376 };
377
378 u32 MCD_varTab3[] = {
379         0x00000000,
380         0x00000000,
381         0x00000000,
382         0x00000000,
383         0x00000000,
384         0x00000000,
385         0x00000000,
386         0x00000000,
387         0x00000000,
388         0x00000000,
389         0x00000000,
390         0x00000000,
391         0x00000000,
392         0x00000000,
393         0x00000000,
394         0x00000000,
395         0x00000000,
396         0x00000000,
397         0x00000000,
398         0x00000000,
399         0x00000000,
400         0x00000000,
401         0x00000000,
402         0x00000000,
403         0xe0000000,
404         0x20000000,
405         0x2000ffff,
406         0x00000000,
407         0x00000000,
408         0x00000000,
409         0x00000000,
410         0x00000000,
411 };
412
413 u32 MCD_varTab4[] = {
414         0x00000000,
415         0x00000000,
416         0x00000000,
417         0x00000000,
418         0x00000000,
419         0x00000000,
420         0x00000000,
421         0x00000000,
422         0x00000000,
423         0x00000000,
424         0x00000000,
425         0x00000000,
426         0x00000000,
427         0x00000000,
428         0x00000000,
429         0x00000000,
430         0x00000000,
431         0x00000000,
432         0x00000000,
433         0x00000000,
434         0x00000000,
435         0x00000000,
436         0x00000000,
437         0x00000000,
438         0xe0000000,
439         0x20000000,
440         0x2000ffff,
441         0x00000000,
442         0x00000000,
443         0x00000000,
444         0x00000000,
445         0x00000000,
446 };
447
448 u32 MCD_varTab5[] = {
449         0x00000000,
450         0x00000000,
451         0x00000000,
452         0x00000000,
453         0x00000000,
454         0x00000000,
455         0x00000000,
456         0x00000000,
457         0x00000000,
458         0x00000000,
459         0x00000000,
460         0x00000000,
461         0x00000000,
462         0x00000000,
463         0x00000000,
464         0x00000000,
465         0x00000000,
466         0x00000000,
467         0x00000000,
468         0x00000000,
469         0x00000000,
470         0x00000000,
471         0x00000000,
472         0x00000000,
473         0xe0000000,
474         0x20000000,
475         0x2000ffff,
476         0x00000000,
477         0x00000000,
478         0x00000000,
479         0x00000000,
480         0x00000000,
481 };
482
483 u32 MCD_varTab6[] = {
484         0x00000000,
485         0x00000000,
486         0x00000000,
487         0x00000000,
488         0x00000000,
489         0x00000000,
490         0x00000000,
491         0x00000000,
492         0x00000000,
493         0x00000000,
494         0x00000000,
495         0x00000000,
496         0x00000000,
497         0x00000000,
498         0x00000000,
499         0x00000000,
500         0x00000000,
501         0x00000000,
502         0x00000000,
503         0x00000000,
504         0x00000000,
505         0x00000000,
506         0x00000000,
507         0x00000000,
508         0xe0000000,
509         0x20000000,
510         0x2000ffff,
511         0x00000000,
512         0x00000000,
513         0x00000000,
514         0x00000000,
515         0x00000000,
516 };
517
518 u32 MCD_varTab7[] = {
519         0x00000000,
520         0x00000000,
521         0x00000000,
522         0x00000000,
523         0x00000000,
524         0x00000000,
525         0x00000000,
526         0x00000000,
527         0x00000000,
528         0x00000000,
529         0x00000000,
530         0x00000000,
531         0x00000000,
532         0x00000000,
533         0x00000000,
534         0x00000000,
535         0x00000000,
536         0x00000000,
537         0x00000000,
538         0x00000000,
539         0x00000000,
540         0x00000000,
541         0x00000000,
542         0x00000000,
543         0xe0000000,
544         0x20000000,
545         0x2000ffff,
546         0x00000000,
547         0x00000000,
548         0x00000000,
549         0x00000000,
550         0x00000000,
551 };
552
553 u32 MCD_varTab8[] = {
554         0x00000000,
555         0x00000000,
556         0x00000000,
557         0x00000000,
558         0x00000000,
559         0x00000000,
560         0x00000000,
561         0x00000000,
562         0x00000000,
563         0x00000000,
564         0x00000000,
565         0x00000000,
566         0x00000000,
567         0x00000000,
568         0x00000000,
569         0x00000000,
570         0x00000000,
571         0x00000000,
572         0x00000000,
573         0x00000000,
574         0x00000000,
575         0x00000000,
576         0x00000000,
577         0x00000000,
578         0xe0000000,
579         0x20000000,
580         0x2000ffff,
581         0x00000000,
582         0x00000000,
583         0x00000000,
584         0x00000000,
585         0x00000000,
586 };
587
588 u32 MCD_varTab9[] = {
589         0x00000000,
590         0x00000000,
591         0x00000000,
592         0x00000000,
593         0x00000000,
594         0x00000000,
595         0x00000000,
596         0x00000000,
597         0x00000000,
598         0x00000000,
599         0x00000000,
600         0x00000000,
601         0x00000000,
602         0x00000000,
603         0x00000000,
604         0x00000000,
605         0x00000000,
606         0x00000000,
607         0x00000000,
608         0x00000000,
609         0x00000000,
610         0x00000000,
611         0x00000000,
612         0x00000000,
613         0xe0000000,
614         0x20000000,
615         0x2000ffff,
616         0x00000000,
617         0x00000000,
618         0x00000000,
619         0x00000000,
620         0x00000000,
621 };
622
623 u32 MCD_varTab10[] = {
624         0x00000000,
625         0x00000000,
626         0x00000000,
627         0x00000000,
628         0x00000000,
629         0x00000000,
630         0x00000000,
631         0x00000000,
632         0x00000000,
633         0x00000000,
634         0x00000000,
635         0x00000000,
636         0x00000000,
637         0x00000000,
638         0x00000000,
639         0x00000000,
640         0x00000000,
641         0x00000000,
642         0x00000000,
643         0x00000000,
644         0x00000000,
645         0x00000000,
646         0x00000000,
647         0x00000000,
648         0xe0000000,
649         0x20000000,
650         0x2000ffff,
651         0x00000000,
652         0x00000000,
653         0x00000000,
654         0x00000000,
655         0x00000000,
656 };
657
658 u32 MCD_varTab11[] = {
659         0x00000000,
660         0x00000000,
661         0x00000000,
662         0x00000000,
663         0x00000000,
664         0x00000000,
665         0x00000000,
666         0x00000000,
667         0x00000000,
668         0x00000000,
669         0x00000000,
670         0x00000000,
671         0x00000000,
672         0x00000000,
673         0x00000000,
674         0x00000000,
675         0x00000000,
676         0x00000000,
677         0x00000000,
678         0x00000000,
679         0x00000000,
680         0x00000000,
681         0x00000000,
682         0x00000000,
683         0xe0000000,
684         0x20000000,
685         0x2000ffff,
686         0x00000000,
687         0x00000000,
688         0x00000000,
689         0x00000000,
690         0x00000000,
691 };
692
693 u32 MCD_varTab12[] = {
694         0x00000000,
695         0x00000000,
696         0x00000000,
697         0x00000000,
698         0x00000000,
699         0x00000000,
700         0x00000000,
701         0x00000000,
702         0x00000000,
703         0x00000000,
704         0x00000000,
705         0x00000000,
706         0x00000000,
707         0x00000000,
708         0x00000000,
709         0x00000000,
710         0x00000000,
711         0x00000000,
712         0x00000000,
713         0x00000000,
714         0x00000000,
715         0x00000000,
716         0x00000000,
717         0x00000000,
718         0xe0000000,
719         0x20000000,
720         0x2000ffff,
721         0x00000000,
722         0x00000000,
723         0x00000000,
724         0x00000000,
725         0x00000000,
726 };
727
728 u32 MCD_varTab13[] = {
729         0x00000000,
730         0x00000000,
731         0x00000000,
732         0x00000000,
733         0x00000000,
734         0x00000000,
735         0x00000000,
736         0x00000000,
737         0x00000000,
738         0x00000000,
739         0x00000000,
740         0x00000000,
741         0x00000000,
742         0x00000000,
743         0x00000000,
744         0x00000000,
745         0x00000000,
746         0x00000000,
747         0x00000000,
748         0x00000000,
749         0x00000000,
750         0x00000000,
751         0x00000000,
752         0x00000000,
753         0xe0000000,
754         0x20000000,
755         0x2000ffff,
756         0x00000000,
757         0x00000000,
758         0x00000000,
759         0x00000000,
760         0x00000000,
761 };
762
763 u32 MCD_varTab14[] = {
764         0x00000000,
765         0x00000000,
766         0x00000000,
767         0x00000000,
768         0x00000000,
769         0x00000000,
770         0x00000000,
771         0x00000000,
772         0x00000000,
773         0x00000000,
774         0x00000000,
775         0x00000000,
776         0x00000000,
777         0x00000000,
778         0x00000000,
779         0x00000000,
780         0x00000000,
781         0x00000000,
782         0x00000000,
783         0x00000000,
784         0x00000000,
785         0x00000000,
786         0x00000000,
787         0x00000000,
788         0xe0000000,
789         0x20000000,
790         0x2000ffff,
791         0x00000000,
792         0x00000000,
793         0x00000000,
794         0x00000000,
795         0x00000000,
796 };
797
798 u32 MCD_varTab15[] = {
799         0x00000000,
800         0x00000000,
801         0x00000000,
802         0x00000000,
803         0x00000000,
804         0x00000000,
805         0x00000000,
806         0x00000000,
807         0x00000000,
808         0x00000000,
809         0x00000000,
810         0x00000000,
811         0x00000000,
812         0x00000000,
813         0x00000000,
814         0x00000000,
815         0x00000000,
816         0x00000000,
817         0x00000000,
818         0x00000000,
819         0x00000000,
820         0x00000000,
821         0x00000000,
822         0x00000000,
823         0xe0000000,
824         0x20000000,
825         0x2000ffff,
826         0x00000000,
827         0x00000000,
828         0x00000000,
829         0x00000000,
830         0x00000000,
831 };
832
833 u32 MCD_funcDescTab0[] = {
834         0x00000000,
835         0x00000000,
836         0x00000000,
837         0x00000000,
838         0x00000000,
839         0x00000000,
840         0x00000000,
841         0x00000000,
842         0x00000000,
843         0x00000000,
844         0x00000000,
845         0x00000000,
846         0x00000000,
847         0x00000000,
848         0x00000000,
849         0x00000000,
850         0x00000000,
851         0x00000000,
852         0x00000000,
853         0x00000000,
854         0x00000000,
855         0x00000000,
856         0x00000000,
857         0x00000000,
858         0x00000000,
859         0x00000000,
860         0x00000000,
861         0x00000000,
862         0x00000000,
863         0x00000000,
864         0x00000000,
865         0x00000000,
866         0x00000000,
867         0x00000000,
868         0x00000000,
869         0x00000000,
870         0x00000000,
871         0x00000000,
872         0x00000000,
873         0x00000000,
874         0x00000000,
875         0x00000000,
876         0x00000000,
877         0x00000000,
878         0x00000000,
879         0x00000000,
880         0x00000000,
881         0x00000000,
882         0xa0045670,
883         0xa0000000,
884         0xa0000000,
885         0x20000000,
886         0x21800000,
887         0x21e00000,
888         0x20400000,
889         0x20500000,
890         0x205a0000,
891         0x20a00000,
892         0x202fa000,
893         0x202f9000,
894         0x202ea000,
895         0x202da000,
896         0x202e2000,
897         0x202f2000,
898 };
899
900 #ifdef MCD_INCLUDE_EU
901 u32 MCD_funcDescTab1[] = {
902         0x00000000,
903         0x00000000,
904         0x00000000,
905         0x00000000,
906         0x00000000,
907         0x00000000,
908         0x00000000,
909         0x00000000,
910         0x00000000,
911         0x00000000,
912         0x00000000,
913         0x00000000,
914         0x00000000,
915         0x00000000,
916         0x00000000,
917         0x00000000,
918         0x00000000,
919         0x00000000,
920         0x00000000,
921         0x00000000,
922         0x00000000,
923         0x00000000,
924         0x00000000,
925         0x00000000,
926         0x00000000,
927         0x00000000,
928         0x00000000,
929         0x00000000,
930         0x00000000,
931         0x00000000,
932         0x00000000,
933         0x00000000,
934         0x00000000,
935         0x00000000,
936         0x00000000,
937         0x00000000,
938         0x00000000,
939         0x00000000,
940         0x00000000,
941         0x00000000,
942         0x00000000,
943         0x00000000,
944         0x00000000,
945         0x00000000,
946         0x00000000,
947         0x00000000,
948         0x00000000,
949         0x00000000,
950         0xa0045670,
951         0xa0000000,
952         0xa0000000,
953         0x20000000,
954         0x21800000,
955         0x21e00000,
956         0x20400000,
957         0x20500000,
958         0x205a0000,
959         0x20a00000,
960         0x202fa000,
961         0x202f9000,
962         0x202ea000,
963         0x202da000,
964         0x202e2000,
965         0x202f2000,
966 };
967
968 u32 MCD_funcDescTab2[] = {
969         0x00000000,
970         0x00000000,
971         0x00000000,
972         0x00000000,
973         0x00000000,
974         0x00000000,
975         0x00000000,
976         0x00000000,
977         0x00000000,
978         0x00000000,
979         0x00000000,
980         0x00000000,
981         0x00000000,
982         0x00000000,
983         0x00000000,
984         0x00000000,
985         0x00000000,
986         0x00000000,
987         0x00000000,
988         0x00000000,
989         0x00000000,
990         0x00000000,
991         0x00000000,
992         0x00000000,
993         0x00000000,
994         0x00000000,
995         0x00000000,
996         0x00000000,
997         0x00000000,
998         0x00000000,
999         0x00000000,
1000         0x00000000,
1001         0x00000000,
1002         0x00000000,
1003         0x00000000,
1004         0x00000000,
1005         0x00000000,
1006         0x00000000,
1007         0x00000000,
1008         0x00000000,
1009         0x00000000,
1010         0x00000000,
1011         0x00000000,
1012         0x00000000,
1013         0x00000000,
1014         0x00000000,
1015         0x00000000,
1016         0x00000000,
1017         0xa0045670,
1018         0xa0000000,
1019         0xa0000000,
1020         0x20000000,
1021         0x21800000,
1022         0x21e00000,
1023         0x20400000,
1024         0x20500000,
1025         0x205a0000,
1026         0x20a00000,
1027         0x202fa000,
1028         0x202f9000,
1029         0x202ea000,
1030         0x202da000,
1031         0x202e2000,
1032         0x202f2000,
1033 };
1034
1035 u32 MCD_funcDescTab3[] = {
1036         0x00000000,
1037         0x00000000,
1038         0x00000000,
1039         0x00000000,
1040         0x00000000,
1041         0x00000000,
1042         0x00000000,
1043         0x00000000,
1044         0x00000000,
1045         0x00000000,
1046         0x00000000,
1047         0x00000000,
1048         0x00000000,
1049         0x00000000,
1050         0x00000000,
1051         0x00000000,
1052         0x00000000,
1053         0x00000000,
1054         0x00000000,
1055         0x00000000,
1056         0x00000000,
1057         0x00000000,
1058         0x00000000,
1059         0x00000000,
1060         0x00000000,
1061         0x00000000,
1062         0x00000000,
1063         0x00000000,
1064         0x00000000,
1065         0x00000000,
1066         0x00000000,
1067         0x00000000,
1068         0x00000000,
1069         0x00000000,
1070         0x00000000,
1071         0x00000000,
1072         0x00000000,
1073         0x00000000,
1074         0x00000000,
1075         0x00000000,
1076         0x00000000,
1077         0x00000000,
1078         0x00000000,
1079         0x00000000,
1080         0x00000000,
1081         0x00000000,
1082         0x00000000,
1083         0x00000000,
1084         0xa0045670,
1085         0xa0000000,
1086         0xa0000000,
1087         0x20000000,
1088         0x21800000,
1089         0x21e00000,
1090         0x20400000,
1091         0x20500000,
1092         0x205a0000,
1093         0x20a00000,
1094         0x202fa000,
1095         0x202f9000,
1096         0x202ea000,
1097         0x202da000,
1098         0x202e2000,
1099         0x202f2000,
1100 };
1101
1102 u32 MCD_funcDescTab4[] = {
1103         0x00000000,
1104         0x00000000,
1105         0x00000000,
1106         0x00000000,
1107         0x00000000,
1108         0x00000000,
1109         0x00000000,
1110         0x00000000,
1111         0x00000000,
1112         0x00000000,
1113         0x00000000,
1114         0x00000000,
1115         0x00000000,
1116         0x00000000,
1117         0x00000000,
1118         0x00000000,
1119         0x00000000,
1120         0x00000000,
1121         0x00000000,
1122         0x00000000,
1123         0x00000000,
1124         0x00000000,
1125         0x00000000,
1126         0x00000000,
1127         0x00000000,
1128         0x00000000,
1129         0x00000000,
1130         0x00000000,
1131         0x00000000,
1132         0x00000000,
1133         0x00000000,
1134         0x00000000,
1135         0x00000000,
1136         0x00000000,
1137         0x00000000,
1138         0x00000000,
1139         0x00000000,
1140         0x00000000,
1141         0x00000000,
1142         0x00000000,
1143         0x00000000,
1144         0x00000000,
1145         0x00000000,
1146         0x00000000,
1147         0x00000000,
1148         0x00000000,
1149         0x00000000,
1150         0x00000000,
1151         0xa0045670,
1152         0xa0000000,
1153         0xa0000000,
1154         0x20000000,
1155         0x21800000,
1156         0x21e00000,
1157         0x20400000,
1158         0x20500000,
1159         0x205a0000,
1160         0x20a00000,
1161         0x202fa000,
1162         0x202f9000,
1163         0x202ea000,
1164         0x202da000,
1165         0x202e2000,
1166         0x202f2000,
1167 };
1168
1169 u32 MCD_funcDescTab5[] = {
1170         0x00000000,
1171         0x00000000,
1172         0x00000000,
1173         0x00000000,
1174         0x00000000,
1175         0x00000000,
1176         0x00000000,
1177         0x00000000,
1178         0x00000000,
1179         0x00000000,
1180         0x00000000,
1181         0x00000000,
1182         0x00000000,
1183         0x00000000,
1184         0x00000000,
1185         0x00000000,
1186         0x00000000,
1187         0x00000000,
1188         0x00000000,
1189         0x00000000,
1190         0x00000000,
1191         0x00000000,
1192         0x00000000,
1193         0x00000000,
1194         0x00000000,
1195         0x00000000,
1196         0x00000000,
1197         0x00000000,
1198         0x00000000,
1199         0x00000000,
1200         0x00000000,
1201         0x00000000,
1202         0x00000000,
1203         0x00000000,
1204         0x00000000,
1205         0x00000000,
1206         0x00000000,
1207         0x00000000,
1208         0x00000000,
1209         0x00000000,
1210         0x00000000,
1211         0x00000000,
1212         0x00000000,
1213         0x00000000,
1214         0x00000000,
1215         0x00000000,
1216         0x00000000,
1217         0x00000000,
1218         0xa0045670,
1219         0xa0000000,
1220         0xa0000000,
1221         0x20000000,
1222         0x21800000,
1223         0x21e00000,
1224         0x20400000,
1225         0x20500000,
1226         0x205a0000,
1227         0x20a00000,
1228         0x202fa000,
1229         0x202f9000,
1230         0x202ea000,
1231         0x202da000,
1232         0x202e2000,
1233         0x202f2000,
1234 };
1235
1236 u32 MCD_funcDescTab6[] = {
1237         0x00000000,
1238         0x00000000,
1239         0x00000000,
1240         0x00000000,
1241         0x00000000,
1242         0x00000000,
1243         0x00000000,
1244         0x00000000,
1245         0x00000000,
1246         0x00000000,
1247         0x00000000,
1248         0x00000000,
1249         0x00000000,
1250         0x00000000,
1251         0x00000000,
1252         0x00000000,
1253         0x00000000,
1254         0x00000000,
1255         0x00000000,
1256         0x00000000,
1257         0x00000000,
1258         0x00000000,
1259         0x00000000,
1260         0x00000000,
1261         0x00000000,
1262         0x00000000,
1263         0x00000000,
1264         0x00000000,
1265         0x00000000,
1266         0x00000000,
1267         0x00000000,
1268         0x00000000,
1269         0x00000000,
1270         0x00000000,
1271         0x00000000,
1272         0x00000000,
1273         0x00000000,
1274         0x00000000,
1275         0x00000000,
1276         0x00000000,
1277         0x00000000,
1278         0x00000000,
1279         0x00000000,
1280         0x00000000,
1281         0x00000000,
1282         0x00000000,
1283         0x00000000,
1284         0x00000000,
1285         0xa0045670,
1286         0xa0000000,
1287         0xa0000000,
1288         0x20000000,
1289         0x21800000,
1290         0x21e00000,
1291         0x20400000,
1292         0x20500000,
1293         0x205a0000,
1294         0x20a00000,
1295         0x202fa000,
1296         0x202f9000,
1297         0x202ea000,
1298         0x202da000,
1299         0x202e2000,
1300         0x202f2000,
1301 };
1302
1303 u32 MCD_funcDescTab7[] = {
1304         0x00000000,
1305         0x00000000,
1306         0x00000000,
1307         0x00000000,
1308         0x00000000,
1309         0x00000000,
1310         0x00000000,
1311         0x00000000,
1312         0x00000000,
1313         0x00000000,
1314         0x00000000,
1315         0x00000000,
1316         0x00000000,
1317         0x00000000,
1318         0x00000000,
1319         0x00000000,
1320         0x00000000,
1321         0x00000000,
1322         0x00000000,
1323         0x00000000,
1324         0x00000000,
1325         0x00000000,
1326         0x00000000,
1327         0x00000000,
1328         0x00000000,
1329         0x00000000,
1330         0x00000000,
1331         0x00000000,
1332         0x00000000,
1333         0x00000000,
1334         0x00000000,
1335         0x00000000,
1336         0x00000000,
1337         0x00000000,
1338         0x00000000,
1339         0x00000000,
1340         0x00000000,
1341         0x00000000,
1342         0x00000000,
1343         0x00000000,
1344         0x00000000,
1345         0x00000000,
1346         0x00000000,
1347         0x00000000,
1348         0x00000000,
1349         0x00000000,
1350         0x00000000,
1351         0x00000000,
1352         0xa0045670,
1353         0xa0000000,
1354         0xa0000000,
1355         0x20000000,
1356         0x21800000,
1357         0x21e00000,
1358         0x20400000,
1359         0x20500000,
1360         0x205a0000,
1361         0x20a00000,
1362         0x202fa000,
1363         0x202f9000,
1364         0x202ea000,
1365         0x202da000,
1366         0x202e2000,
1367         0x202f2000,
1368 };
1369
1370 u32 MCD_funcDescTab8[] = {
1371         0x00000000,
1372         0x00000000,
1373         0x00000000,
1374         0x00000000,
1375         0x00000000,
1376         0x00000000,
1377         0x00000000,
1378         0x00000000,
1379         0x00000000,
1380         0x00000000,
1381         0x00000000,
1382         0x00000000,
1383         0x00000000,
1384         0x00000000,
1385         0x00000000,
1386         0x00000000,
1387         0x00000000,
1388         0x00000000,
1389         0x00000000,
1390         0x00000000,
1391         0x00000000,
1392         0x00000000,
1393         0x00000000,
1394         0x00000000,
1395         0x00000000,
1396         0x00000000,
1397         0x00000000,
1398         0x00000000,
1399         0x00000000,
1400         0x00000000,
1401         0x00000000,
1402         0x00000000,
1403         0x00000000,
1404         0x00000000,
1405         0x00000000,
1406         0x00000000,
1407         0x00000000,
1408         0x00000000,
1409         0x00000000,
1410         0x00000000,
1411         0x00000000,
1412         0x00000000,
1413         0x00000000,
1414         0x00000000,
1415         0x00000000,
1416         0x00000000,
1417         0x00000000,
1418         0x00000000,
1419         0xa0045670,
1420         0xa0000000,
1421         0xa0000000,
1422         0x20000000,
1423         0x21800000,
1424         0x21e00000,
1425         0x20400000,
1426         0x20500000,
1427         0x205a0000,
1428         0x20a00000,
1429         0x202fa000,
1430         0x202f9000,
1431         0x202ea000,
1432         0x202da000,
1433         0x202e2000,
1434         0x202f2000,
1435 };
1436
1437 u32 MCD_funcDescTab9[] = {
1438         0x00000000,
1439         0x00000000,
1440         0x00000000,
1441         0x00000000,
1442         0x00000000,
1443         0x00000000,
1444         0x00000000,
1445         0x00000000,
1446         0x00000000,
1447         0x00000000,
1448         0x00000000,
1449         0x00000000,
1450         0x00000000,
1451         0x00000000,
1452         0x00000000,
1453         0x00000000,
1454         0x00000000,
1455         0x00000000,
1456         0x00000000,
1457         0x00000000,
1458         0x00000000,
1459         0x00000000,
1460         0x00000000,
1461         0x00000000,
1462         0x00000000,
1463         0x00000000,
1464         0x00000000,
1465         0x00000000,
1466         0x00000000,
1467         0x00000000,
1468         0x00000000,
1469         0x00000000,
1470         0x00000000,
1471         0x00000000,
1472         0x00000000,
1473         0x00000000,
1474         0x00000000,
1475         0x00000000,
1476         0x00000000,
1477         0x00000000,
1478         0x00000000,
1479         0x00000000,
1480         0x00000000,
1481         0x00000000,
1482         0x00000000,
1483         0x00000000,
1484         0x00000000,
1485         0x00000000,
1486         0xa0045670,
1487         0xa0000000,
1488         0xa0000000,
1489         0x20000000,
1490         0x21800000,
1491         0x21e00000,
1492         0x20400000,
1493         0x20500000,
1494         0x205a0000,
1495         0x20a00000,
1496         0x202fa000,
1497         0x202f9000,
1498         0x202ea000,
1499         0x202da000,
1500         0x202e2000,
1501         0x202f2000,
1502 };
1503
1504 u32 MCD_funcDescTab10[] = {
1505         0x00000000,
1506         0x00000000,
1507         0x00000000,
1508         0x00000000,
1509         0x00000000,
1510         0x00000000,
1511         0x00000000,
1512         0x00000000,
1513         0x00000000,
1514         0x00000000,
1515         0x00000000,
1516         0x00000000,
1517         0x00000000,
1518         0x00000000,
1519         0x00000000,
1520         0x00000000,
1521         0x00000000,
1522         0x00000000,
1523         0x00000000,
1524         0x00000000,
1525         0x00000000,
1526         0x00000000,
1527         0x00000000,
1528         0x00000000,
1529         0x00000000,
1530         0x00000000,
1531         0x00000000,
1532         0x00000000,
1533         0x00000000,
1534         0x00000000,
1535         0x00000000,
1536         0x00000000,
1537         0x00000000,
1538         0x00000000,
1539         0x00000000,
1540         0x00000000,
1541         0x00000000,
1542         0x00000000,
1543         0x00000000,
1544         0x00000000,
1545         0x00000000,
1546         0x00000000,
1547         0x00000000,
1548         0x00000000,
1549         0x00000000,
1550         0x00000000,
1551         0x00000000,
1552         0x00000000,
1553         0xa0045670,
1554         0xa0000000,
1555         0xa0000000,
1556         0x20000000,
1557         0x21800000,
1558         0x21e00000,
1559         0x20400000,
1560         0x20500000,
1561         0x205a0000,
1562         0x20a00000,
1563         0x202fa000,
1564         0x202f9000,
1565         0x202ea000,
1566         0x202da000,
1567         0x202e2000,
1568         0x202f2000,
1569 };
1570
1571 u32 MCD_funcDescTab11[] = {
1572         0x00000000,
1573         0x00000000,
1574         0x00000000,
1575         0x00000000,
1576         0x00000000,
1577         0x00000000,
1578         0x00000000,
1579         0x00000000,
1580         0x00000000,
1581         0x00000000,
1582         0x00000000,
1583         0x00000000,
1584         0x00000000,
1585         0x00000000,
1586         0x00000000,
1587         0x00000000,
1588         0x00000000,
1589         0x00000000,
1590         0x00000000,
1591         0x00000000,
1592         0x00000000,
1593         0x00000000,
1594         0x00000000,
1595         0x00000000,
1596         0x00000000,
1597         0x00000000,
1598         0x00000000,
1599         0x00000000,
1600         0x00000000,
1601         0x00000000,
1602         0x00000000,
1603         0x00000000,
1604         0x00000000,
1605         0x00000000,
1606         0x00000000,
1607         0x00000000,
1608         0x00000000,
1609         0x00000000,
1610         0x00000000,
1611         0x00000000,
1612         0x00000000,
1613         0x00000000,
1614         0x00000000,
1615         0x00000000,
1616         0x00000000,
1617         0x00000000,
1618         0x00000000,
1619         0x00000000,
1620         0xa0045670,
1621         0xa0000000,
1622         0xa0000000,
1623         0x20000000,
1624         0x21800000,
1625         0x21e00000,
1626         0x20400000,
1627         0x20500000,
1628         0x205a0000,
1629         0x20a00000,
1630         0x202fa000,
1631         0x202f9000,
1632         0x202ea000,
1633         0x202da000,
1634         0x202e2000,
1635         0x202f2000,
1636 };
1637
1638 u32 MCD_funcDescTab12[] = {
1639         0x00000000,
1640         0x00000000,
1641         0x00000000,
1642         0x00000000,
1643         0x00000000,
1644         0x00000000,
1645         0x00000000,
1646         0x00000000,
1647         0x00000000,
1648         0x00000000,
1649         0x00000000,
1650         0x00000000,
1651         0x00000000,
1652         0x00000000,
1653         0x00000000,
1654         0x00000000,
1655         0x00000000,
1656         0x00000000,
1657         0x00000000,
1658         0x00000000,
1659         0x00000000,
1660         0x00000000,
1661         0x00000000,
1662         0x00000000,
1663         0x00000000,
1664         0x00000000,
1665         0x00000000,
1666         0x00000000,
1667         0x00000000,
1668         0x00000000,
1669         0x00000000,
1670         0x00000000,
1671         0x00000000,
1672         0x00000000,
1673         0x00000000,
1674         0x00000000,
1675         0x00000000,
1676         0x00000000,
1677         0x00000000,
1678         0x00000000,
1679         0x00000000,
1680         0x00000000,
1681         0x00000000,
1682         0x00000000,
1683         0x00000000,
1684         0x00000000,
1685         0x00000000,
1686         0x00000000,
1687         0xa0045670,
1688         0xa0000000,
1689         0xa0000000,
1690         0x20000000,
1691         0x21800000,
1692         0x21e00000,
1693         0x20400000,
1694         0x20500000,
1695         0x205a0000,
1696         0x20a00000,
1697         0x202fa000,
1698         0x202f9000,
1699         0x202ea000,
1700         0x202da000,
1701         0x202e2000,
1702         0x202f2000,
1703 };
1704
1705 u32 MCD_funcDescTab13[] = {
1706         0x00000000,
1707         0x00000000,
1708         0x00000000,
1709         0x00000000,
1710         0x00000000,
1711         0x00000000,
1712         0x00000000,
1713         0x00000000,
1714         0x00000000,
1715         0x00000000,
1716         0x00000000,
1717         0x00000000,
1718         0x00000000,
1719         0x00000000,
1720         0x00000000,
1721         0x00000000,
1722         0x00000000,
1723         0x00000000,
1724         0x00000000,
1725         0x00000000,
1726         0x00000000,
1727         0x00000000,
1728         0x00000000,
1729         0x00000000,
1730         0x00000000,
1731         0x00000000,
1732         0x00000000,
1733         0x00000000,
1734         0x00000000,
1735         0x00000000,
1736         0x00000000,
1737         0x00000000,
1738         0x00000000,
1739         0x00000000,
1740         0x00000000,
1741         0x00000000,
1742         0x00000000,
1743         0x00000000,
1744         0x00000000,
1745         0x00000000,
1746         0x00000000,
1747         0x00000000,
1748         0x00000000,
1749         0x00000000,
1750         0x00000000,
1751         0x00000000,
1752         0x00000000,
1753         0x00000000,
1754         0xa0045670,
1755         0xa0000000,
1756         0xa0000000,
1757         0x20000000,
1758         0x21800000,
1759         0x21e00000,
1760         0x20400000,
1761         0x20500000,
1762         0x205a0000,
1763         0x20a00000,
1764         0x202fa000,
1765         0x202f9000,
1766         0x202ea000,
1767         0x202da000,
1768         0x202e2000,
1769         0x202f2000,
1770 };
1771
1772 u32 MCD_funcDescTab14[] = {
1773         0x00000000,
1774         0x00000000,
1775         0x00000000,
1776         0x00000000,
1777         0x00000000,
1778         0x00000000,
1779         0x00000000,
1780         0x00000000,
1781         0x00000000,
1782         0x00000000,
1783         0x00000000,
1784         0x00000000,
1785         0x00000000,
1786         0x00000000,
1787         0x00000000,
1788         0x00000000,
1789         0x00000000,
1790         0x00000000,
1791         0x00000000,
1792         0x00000000,
1793         0x00000000,
1794         0x00000000,
1795         0x00000000,
1796         0x00000000,
1797         0x00000000,
1798         0x00000000,
1799         0x00000000,
1800         0x00000000,
1801         0x00000000,
1802         0x00000000,
1803         0x00000000,
1804         0x00000000,
1805         0x00000000,
1806         0x00000000,
1807         0x00000000,
1808         0x00000000,
1809         0x00000000,
1810         0x00000000,
1811         0x00000000,
1812         0x00000000,
1813         0x00000000,
1814         0x00000000,
1815         0x00000000,
1816         0x00000000,
1817         0x00000000,
1818         0x00000000,
1819         0x00000000,
1820         0x00000000,
1821         0xa0045670,
1822         0xa0000000,
1823         0xa0000000,
1824         0x20000000,
1825         0x21800000,
1826         0x21e00000,
1827         0x20400000,
1828         0x20500000,
1829         0x205a0000,
1830         0x20a00000,
1831         0x202fa000,
1832         0x202f9000,
1833         0x202ea000,
1834         0x202da000,
1835         0x202e2000,
1836         0x202f2000,
1837 };
1838
1839 u32 MCD_funcDescTab15[] = {
1840         0x00000000,
1841         0x00000000,
1842         0x00000000,
1843         0x00000000,
1844         0x00000000,
1845         0x00000000,
1846         0x00000000,
1847         0x00000000,
1848         0x00000000,
1849         0x00000000,
1850         0x00000000,
1851         0x00000000,
1852         0x00000000,
1853         0x00000000,
1854         0x00000000,
1855         0x00000000,
1856         0x00000000,
1857         0x00000000,
1858         0x00000000,
1859         0x00000000,
1860         0x00000000,
1861         0x00000000,
1862         0x00000000,
1863         0x00000000,
1864         0x00000000,
1865         0x00000000,
1866         0x00000000,
1867         0x00000000,
1868         0x00000000,
1869         0x00000000,
1870         0x00000000,
1871         0x00000000,
1872         0x00000000,
1873         0x00000000,
1874         0x00000000,
1875         0x00000000,
1876         0x00000000,
1877         0x00000000,
1878         0x00000000,
1879         0x00000000,
1880         0x00000000,
1881         0x00000000,
1882         0x00000000,
1883         0x00000000,
1884         0x00000000,
1885         0x00000000,
1886         0x00000000,
1887         0x00000000,
1888         0xa0045670,
1889         0xa0000000,
1890         0xa0000000,
1891         0x20000000,
1892         0x21800000,
1893         0x21e00000,
1894         0x20400000,
1895         0x20500000,
1896         0x205a0000,
1897         0x20a00000,
1898         0x202fa000,
1899         0x202f9000,
1900         0x202ea000,
1901         0x202da000,
1902         0x202e2000,
1903         0x202f2000,
1904 };
1905 #endif                          /*MCD_INCLUDE_EU */
1906
1907 u32 MCD_contextSave0[128];      /* Task 0 context save space */
1908 u32 MCD_contextSave1[128];      /* Task 1 context save space */
1909 u32 MCD_contextSave2[128];      /* Task 2 context save space */
1910 u32 MCD_contextSave3[128];      /* Task 3 context save space */
1911 u32 MCD_contextSave4[128];      /* Task 4 context save space */
1912 u32 MCD_contextSave5[128];      /* Task 5 context save space */
1913 u32 MCD_contextSave6[128];      /* Task 6 context save space */
1914 u32 MCD_contextSave7[128];      /* Task 7 context save space */
1915 u32 MCD_contextSave8[128];      /* Task 8 context save space */
1916 u32 MCD_contextSave9[128];      /* Task 9 context save space */
1917 u32 MCD_contextSave10[128];     /* Task 10 context save space */
1918 u32 MCD_contextSave11[128];     /* Task 11 context save space */
1919 u32 MCD_contextSave12[128];     /* Task 12 context save space */
1920 u32 MCD_contextSave13[128];     /* Task 13 context save space */
1921 u32 MCD_contextSave14[128];     /* Task 14 context save space */
1922 u32 MCD_contextSave15[128];     /* Task 15 context save space */
1923
1924 u32 MCD_ChainNoEu_TDT[];
1925 u32 MCD_SingleNoEu_TDT[];
1926 #ifdef MCD_INCLUDE_EU
1927 u32 MCD_ChainEu_TDT[];
1928 u32 MCD_SingleEu_TDT[];
1929 #endif
1930 u32 MCD_ENetRcv_TDT[];
1931 u32 MCD_ENetXmit_TDT[];
1932
1933 u32 MCD_modelTaskTableSrc[] = {
1934         (u32) MCD_ChainNoEu_TDT,
1935         (u32) & ((u8 *) MCD_ChainNoEu_TDT)[0x0000016c],
1936         0x00000000,
1937         0x00000000,
1938         0x00000000,
1939         0x00000000,
1940         0x00000000,
1941         0x00000000,
1942         (u32) MCD_SingleNoEu_TDT,
1943         (u32) & ((u8 *) MCD_SingleNoEu_TDT)[0x000000d4],
1944         0x00000000,
1945         0x00000000,
1946         0x00000000,
1947         0x00000000,
1948         0x00000000,
1949         0x00000000,
1950 #ifdef MCD_INCLUDE_EU
1951         (u32) MCD_ChainEu_TDT,
1952         (u32) & ((u8 *) MCD_ChainEu_TDT)[0x000001b4],
1953         0x00000000,
1954         0x00000000,
1955         0x00000000,
1956         0x00000000,
1957         0x00000000,
1958         0x00000000,
1959         (u32) MCD_SingleEu_TDT,
1960         (u32) & ((u8 *) MCD_SingleEu_TDT)[0x00000124],
1961         0x00000000,
1962         0x00000000,
1963         0x00000000,
1964         0x00000000,
1965         0x00000000,
1966         0x00000000,
1967 #endif
1968         (u32) MCD_ENetRcv_TDT,
1969         (u32) & ((u8 *) MCD_ENetRcv_TDT)[0x0000009c],
1970         0x00000000,
1971         0x00000000,
1972         0x00000000,
1973         0x00000000,
1974         0x00000000,
1975         0x00000000,
1976         (u32) MCD_ENetXmit_TDT,
1977         (u32) & ((u8 *) MCD_ENetXmit_TDT)[0x000000d0],
1978         0x00000000,
1979         0x00000000,
1980         0x00000000,
1981         0x00000000,
1982         0x00000000,
1983         0x00000000,
1984 };
1985
1986 u32 MCD_ChainNoEu_TDT[] = {
1987         0x80004000,
1988         0x8118801b,
1989         0xb8c60018,
1990         0x10002b10,
1991         0x7000000d,
1992         0x018cf89f,
1993         0x6000000a,
1994         0x080cf89f,
1995         0x000001f8,
1996         0x98180364,
1997         0x8118801b,
1998         0xf8c6001a,
1999         0xb8c6601b,
2000         0x10002710,
2001         0x00000f18,
2002         0xb8c6001d,
2003         0x10001310,
2004         0x60000007,
2005         0x014cf88b,
2006         0x98c6001c,
2007         0x00000710,
2008         0x98c70018,
2009         0x10001f10,
2010         0x0000c818,
2011         0x000001f8,
2012         0xc1476018,
2013         0xc003231d,
2014         0x811a601b,
2015         0xc1862102,
2016         0x849be009,
2017         0x03fed7b8,
2018         0xda9b001b,
2019         0x9b9be01b,
2020         0x1000cb20,
2021         0x70000006,
2022         0x088cf88f,
2023         0x1000cb28,
2024         0x70000006,
2025         0x088cf88f,
2026         0x1000cb30,
2027         0x70000006,
2028         0x088cf88f,
2029         0x1000cb38,
2030         0x0000c728,
2031         0x000001f8,
2032         0xc1476018,
2033         0xc003241d,
2034         0x811a601b,
2035         0xda9b001b,
2036         0x9b9be01b,
2037         0x0000d3a0,
2038         0xc1862102,
2039         0x849be009,
2040         0x0bfed7b8,
2041         0xda9b001b,
2042         0x9b9be01b,
2043         0x1000cb20,
2044         0x70000006,
2045         0x088cf88f,
2046         0x1000cb28,
2047         0x70000006,
2048         0x088cf88f,
2049         0x1000cb30,
2050         0x70000006,
2051         0x088cf88f,
2052         0x1000cb38,
2053         0x0000c728,
2054         0x000001f8,
2055         0x8118801b,
2056         0xd8c60018,
2057         0x98c6601c,
2058         0x6000000b,
2059         0x0c8cfc9f,
2060         0x000001f8,
2061         0xa146001e,
2062         0x10000b08,
2063         0x10002050,
2064         0xb8c60018,
2065         0x10002b10,
2066         0x7000000a,
2067         0x080cf89f,
2068         0x6000000d,
2069         0x018cf89f,
2070         0x000001f8,
2071         0x8618801b,
2072         0x7000000e,
2073         0x084cf21f,
2074         0xd8990336,
2075         0x8019801b,
2076         0x040001f8,
2077         0x000001f8,
2078         0x000001f8,
2079 };
2080
2081 u32 MCD_SingleNoEu_TDT[] = {
2082         0x8198001b,
2083         0x7000000d,
2084         0x080cf81f,
2085         0x8198801b,
2086         0x6000000e,
2087         0x084cf85f,
2088         0x000001f8,
2089         0x8298001b,
2090         0x7000000d,
2091         0x010cf81f,
2092         0x6000000e,
2093         0x018cf81f,
2094         0xc202601b,
2095         0xc002221c,
2096         0x809a601b,
2097         0xc10420c2,
2098         0x839be009,
2099         0x03fed7b8,
2100         0xda9b001b,
2101         0x9b9be01b,
2102         0x70000006,
2103         0x088cf889,
2104         0x1000cb28,
2105         0x70000006,
2106         0x088cf889,
2107         0x1000cb30,
2108         0x70000006,
2109         0x088cf889,
2110         0x0000cb38,
2111         0x000001f8,
2112         0xc202601b,
2113         0xc002229c,
2114         0x809a601b,
2115         0xda9b001b,
2116         0x9b9be01b,
2117         0x0000d3a0,
2118         0xc10420c2,
2119         0x839be009,
2120         0x0bfed7b8,
2121         0xda9b001b,
2122         0x9b9be01b,
2123         0x70000006,
2124         0x088cf889,
2125         0x1000cb28,
2126         0x70000006,
2127         0x088cf889,
2128         0x1000cb30,
2129         0x70000006,
2130         0x088cf889,
2131         0x0000cb38,
2132         0x000001f8,
2133         0xc318022d,
2134         0x8018801b,
2135         0x040001f8,
2136 };
2137
2138 #ifdef MCD_INCLUDE_EU
2139 u32 MCD_ChainEu_TDT[] = {
2140         0x80004000,
2141         0x8198801b,
2142         0xb8c68018,
2143         0x10002f10,
2144         0x7000000d,
2145         0x01ccf89f,
2146         0x6000000a,
2147         0x080cf89f,
2148         0x000001f8,
2149         0x981803a4,
2150         0x8198801b,
2151         0xf8c6801a,
2152         0xb8c6e01b,
2153         0x10002b10,
2154         0x00001318,
2155         0xb8c6801d,
2156         0x10001710,
2157         0x60000007,
2158         0x018cf88c,
2159         0x98c6801c,
2160         0x00000b10,
2161         0x98c78018,
2162         0x10002310,
2163         0x0000c820,
2164         0x000001f8,
2165         0x8698801b,
2166         0x7000000f,
2167         0x084cf2df,
2168         0xd899042d,
2169         0x8019801b,
2170         0x60000003,
2171         0x2cd7c7df,
2172         0xd8990364,
2173         0x8019801b,
2174         0x60000003,
2175         0x2c17c7df,
2176         0x000001f8,
2177         0xc1c7e018,
2178         0xc003a35e,
2179         0x819a601b,
2180         0xc206a142,
2181         0x851be009,
2182         0x63fe0000,
2183         0x0d4cfddf,
2184         0xda9b001b,
2185         0x9b9be01b,
2186         0x70000002,
2187         0x004cf81f,
2188         0x1000cb20,
2189         0x70000006,
2190         0x088cf891,
2191         0x1000cb28,
2192         0x70000006,
2193         0x088cf891,
2194         0x1000cb30,
2195         0x70000006,
2196         0x088cf891,
2197         0x1000cb38,
2198         0x0000c728,
2199         0x000001f8,
2200         0xc1c7e018,
2201         0xc003a49e,
2202         0x819a601b,
2203         0xda9b001b,
2204         0x9b9be01b,
2205         0x0000d3a0,
2206         0xc206a142,
2207         0x851be009,
2208         0x6bfe0000,
2209         0x0d4cfddf,
2210         0xda9b001b,
2211         0x9b9be01b,
2212         0x70000002,
2213         0x004cf81f,
2214         0x1000cb20,
2215         0x70000006,
2216         0x088cf891,
2217         0x1000cb28,
2218         0x70000006,
2219         0x088cf891,
2220         0x1000cb30,
2221         0x70000006,
2222         0x088cf891,
2223         0x1000cb38,
2224         0x0000c728,
2225         0x000001f8,
2226         0x8198801b,
2227         0xd8c68018,
2228         0x98c6e01c,
2229         0x6000000b,
2230         0x0c8cfc9f,
2231         0x0000cc08,
2232         0xa1c6801e,
2233         0x10000f08,
2234         0x10002458,
2235         0xb8c68018,
2236         0x10002f10,
2237         0x7000000a,
2238         0x080cf89f,
2239         0x6000000d,
2240         0x01ccf89f,
2241         0x000001f8,
2242         0x8698801b,
2243         0x7000000e,
2244         0x084cf25f,
2245         0xd899037f,
2246         0x8019801b,
2247         0x040001f8,
2248         0x000001f8,
2249         0x000001f8,
2250 };
2251
2252 u32 MCD_SingleEu_TDT[] = {
2253         0x8218001b,
2254         0x7000000d,
2255         0x080cf81f,
2256         0x8218801b,
2257         0x6000000e,
2258         0x084cf85f,
2259         0x000001f8,
2260         0x8318001b,
2261         0x7000000d,
2262         0x014cf81f,
2263         0x6000000e,
2264         0x01ccf81f,
2265         0x8498001b,
2266         0x7000000f,
2267         0x080cf19f,
2268         0xd81882a4,
2269         0x8019001b,
2270         0x60000003,
2271         0x2c97c7df,
2272         0xd818826d,
2273         0x8019001b,
2274         0x60000003,
2275         0x2c17c7df,
2276         0x000001f8,
2277         0xc282e01b,
2278         0xc002a25e,
2279         0x811a601b,
2280         0xc184a102,
2281         0x841be009,
2282         0x63fe0000,
2283         0x0d4cfddf,
2284         0xda9b001b,
2285         0x9b9be01b,
2286         0x70000002,
2287         0x004cf99f,
2288         0x70000006,
2289         0x088cf88b,
2290         0x1000cb28,
2291         0x70000006,
2292         0x088cf88b,
2293         0x1000cb30,
2294         0x70000006,
2295         0x088cf88b,
2296         0x0000cb38,
2297         0x000001f8,
2298         0xc282e01b,
2299         0xc002a31e,
2300         0x811a601b,
2301         0xda9b001b,
2302         0x9b9be01b,
2303         0x0000d3a0,
2304         0xc184a102,
2305         0x841be009,
2306         0x6bfe0000,
2307         0x0d4cfddf,
2308         0xda9b001b,
2309         0x9b9be01b,
2310         0x70000002,
2311         0x004cf99f,
2312         0x70000006,
2313         0x088cf88b,
2314         0x1000cb28,
2315         0x70000006,
2316         0x088cf88b,
2317         0x1000cb30,
2318         0x70000006,
2319         0x088cf88b,
2320         0x0000cb38,
2321         0x000001f8,
2322         0x8144801c,
2323         0x0000c008,
2324         0xc398027f,
2325         0x8018801b,
2326         0x040001f8,
2327 };
2328 #endif
2329 u32 MCD_ENetRcv_TDT[] = {
2330         0x80004000,
2331         0x81988000,
2332         0x10000788,
2333         0x6000000a,
2334         0x080cf05f,
2335         0x98180209,
2336         0x81c40004,
2337         0x7000000e,
2338         0x010cf05f,
2339         0x7000000c,
2340         0x01ccf05f,
2341         0x70000004,
2342         0x014cf049,
2343         0x70000004,
2344         0x004cf04a,
2345         0x00000b88,
2346         0xc4030150,
2347         0x8119e012,
2348         0x03e0cf90,
2349         0x81188000,
2350         0x000ac788,
2351         0xc4030000,
2352         0x8199e000,
2353         0x70000004,
2354         0x084cfc8b,
2355         0x60000005,
2356         0x0cccf841,
2357         0x81c60000,
2358         0xc399021b,
2359         0x80198000,
2360         0x00008400,
2361         0x00000f08,
2362         0x81988000,
2363         0x10000788,
2364         0x6000000a,
2365         0x080cf05f,
2366         0xc2188209,
2367         0x80190000,
2368         0x040001f8,
2369         0x000001f8,
2370 };
2371
2372 u32 MCD_ENetXmit_TDT[] = {
2373         0x80004000,
2374         0x81988000,
2375         0x10000788,
2376         0x6000000a,
2377         0x080cf05f,
2378         0x98180309,
2379         0x80004003,
2380         0x81c60004,
2381         0x7000000e,
2382         0x014cf05f,
2383         0x7000000c,
2384         0x028cf05f,
2385         0x7000000d,
2386         0x018cf05f,
2387         0x70000004,
2388         0x01ccf04d,
2389         0x10000b90,
2390         0x60000004,
2391         0x020cf0a1,
2392         0xc3188312,
2393         0x83c70000,
2394         0x00001f10,
2395         0xc583a3c3,
2396         0x81042325,
2397         0x03e0c798,
2398         0xd8990000,
2399         0x9999e000,
2400         0x000acf98,
2401         0xd8992306,
2402         0x9999e03f,
2403         0x03eac798,
2404         0xd8990000,
2405         0x9999e000,
2406         0x000acf98,
2407         0xd8990000,
2408         0x99832302,
2409         0x0beac798,
2410         0x81988000,
2411         0x6000000b,
2412         0x0c4cfc5f,
2413         0x81c80000,
2414         0xc5190312,
2415         0x80198000,
2416         0x00008400,
2417         0x00000f08,
2418         0x81988000,
2419         0x10000788,
2420         0x6000000a,
2421         0x080cf05f,
2422         0xc2988309,
2423         0x80190000,
2424         0x040001f8,
2425         0x000001f8,
2426 };
2427
2428 #ifdef MCD_INCLUDE_EU
2429 MCD_bufDesc MCD_singleBufDescs[NCHANNELS];
2430 #endif