Merge git://git.denx.de/u-boot-sunxi
[platform/kernel/u-boot.git] / drivers / dma / MCD_tasks.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
4  */
5
6 /* Contains task code and structures for Multi-channel DMA */
7
8 #include <common.h>
9
10 #include <MCD_dma.h>
11
12 u32 MCD_varTab0[];
13 u32 MCD_varTab1[];
14 u32 MCD_varTab2[];
15 u32 MCD_varTab3[];
16 u32 MCD_varTab4[];
17 u32 MCD_varTab5[];
18 u32 MCD_varTab6[];
19 u32 MCD_varTab7[];
20 u32 MCD_varTab8[];
21 u32 MCD_varTab9[];
22 u32 MCD_varTab10[];
23 u32 MCD_varTab11[];
24 u32 MCD_varTab12[];
25 u32 MCD_varTab13[];
26 u32 MCD_varTab14[];
27 u32 MCD_varTab15[];
28
29 u32 MCD_funcDescTab0[];
30 #ifdef MCD_INCLUDE_EU
31 u32 MCD_funcDescTab1[];
32 u32 MCD_funcDescTab2[];
33 u32 MCD_funcDescTab3[];
34 u32 MCD_funcDescTab4[];
35 u32 MCD_funcDescTab5[];
36 u32 MCD_funcDescTab6[];
37 u32 MCD_funcDescTab7[];
38 u32 MCD_funcDescTab8[];
39 u32 MCD_funcDescTab9[];
40 u32 MCD_funcDescTab10[];
41 u32 MCD_funcDescTab11[];
42 u32 MCD_funcDescTab12[];
43 u32 MCD_funcDescTab13[];
44 u32 MCD_funcDescTab14[];
45 u32 MCD_funcDescTab15[];
46 #endif
47
48 u32 MCD_contextSave0[];
49 u32 MCD_contextSave1[];
50 u32 MCD_contextSave2[];
51 u32 MCD_contextSave3[];
52 u32 MCD_contextSave4[];
53 u32 MCD_contextSave5[];
54 u32 MCD_contextSave6[];
55 u32 MCD_contextSave7[];
56 u32 MCD_contextSave8[];
57 u32 MCD_contextSave9[];
58 u32 MCD_contextSave10[];
59 u32 MCD_contextSave11[];
60 u32 MCD_contextSave12[];
61 u32 MCD_contextSave13[];
62 u32 MCD_contextSave14[];
63 u32 MCD_contextSave15[];
64
65 u32 MCD_realTaskTableSrc[] = {
66         0x00000000,
67         0x00000000,
68         (u32) MCD_varTab0,      /* Task 0 Variable Table */
69         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
70         0x00000000,
71         0x00000000,
72         (u32) MCD_contextSave0, /* Task 0 context save space */
73         0x00000000,
74         0x00000000,
75         0x00000000,
76         (u32) MCD_varTab1,      /* Task 1 Variable Table */
77 #ifdef MCD_INCLUDE_EU
78         (u32) MCD_funcDescTab1, /* Task 1 Fn Desc. Table & Flags */
79 #else
80         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
81 #endif
82         0x00000000,
83         0x00000000,
84         (u32) MCD_contextSave1, /* Task 1 context save space */
85         0x00000000,
86         0x00000000,
87         0x00000000,
88         (u32) MCD_varTab2,      /* Task 2 Variable Table */
89 #ifdef MCD_INCLUDE_EU
90         (u32) MCD_funcDescTab2, /* Task 2 Fn Desc. Table & Flags */
91 #else
92         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
93 #endif
94         0x00000000,
95         0x00000000,
96         (u32) MCD_contextSave2, /* Task 2 context save space */
97         0x00000000,
98         0x00000000,
99         0x00000000,
100         (u32) MCD_varTab3,      /* Task 3 Variable Table */
101 #ifdef MCD_INCLUDE_EU
102         (u32) MCD_funcDescTab3, /* Task 3 Fn Desc. Table & Flags */
103 #else
104         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
105 #endif
106         0x00000000,
107         0x00000000,
108         (u32) MCD_contextSave3, /* Task 3 context save space */
109         0x00000000,
110         0x00000000,
111         0x00000000,
112         (u32) MCD_varTab4,      /* Task 4 Variable Table */
113 #ifdef MCD_INCLUDE_EU
114         (u32) MCD_funcDescTab4, /* Task 4 Fn Desc. Table & Flags */
115 #else
116         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
117 #endif
118         0x00000000,
119         0x00000000,
120         (u32) MCD_contextSave4, /* Task 4 context save space */
121         0x00000000,
122         0x00000000,
123         0x00000000,
124         (u32) MCD_varTab5,      /* Task 5 Variable Table */
125 #ifdef MCD_INCLUDE_EU
126         (u32) MCD_funcDescTab5, /* Task 5 Fn Desc. Table & Flags */
127 #else
128         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
129 #endif
130         0x00000000,
131         0x00000000,
132         (u32) MCD_contextSave5, /* Task 5 context save space */
133         0x00000000,
134         0x00000000,
135         0x00000000,
136         (u32) MCD_varTab6,      /* Task 6 Variable Table */
137 #ifdef MCD_INCLUDE_EU
138         (u32) MCD_funcDescTab6, /* Task 6 Fn Desc. Table & Flags */
139 #else
140         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
141 #endif
142         0x00000000,
143         0x00000000,
144         (u32) MCD_contextSave6, /* Task 6 context save space */
145         0x00000000,
146         0x00000000,
147         0x00000000,
148         (u32) MCD_varTab7,      /* Task 7 Variable Table */
149 #ifdef MCD_INCLUDE_EU
150         (u32) MCD_funcDescTab7, /* Task 7 Fn Desc. Table & Flags */
151 #else
152         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
153 #endif
154         0x00000000,
155         0x00000000,
156         (u32) MCD_contextSave7, /* Task 7 context save space */
157         0x00000000,
158         0x00000000,
159         0x00000000,
160         (u32) MCD_varTab8,      /* Task 8 Variable Table */
161 #ifdef MCD_INCLUDE_EU
162         (u32) MCD_funcDescTab8, /* Task 8 Fn Desc. Table & Flags */
163 #else
164         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
165 #endif
166         0x00000000,
167         0x00000000,
168         (u32) MCD_contextSave8, /* Task 8 context save space */
169         0x00000000,
170         0x00000000,
171         0x00000000,
172         (u32) MCD_varTab9,      /* Task 9 Variable Table */
173 #ifdef MCD_INCLUDE_EU
174         (u32) MCD_funcDescTab9, /* Task 9 Fn Desc. Table & Flags */
175 #else
176         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
177 #endif
178         0x00000000,
179         0x00000000,
180         (u32) MCD_contextSave9, /* Task 9 context save space */
181         0x00000000,
182         0x00000000,
183         0x00000000,
184         (u32) MCD_varTab10,     /* Task 10 Variable Table */
185 #ifdef MCD_INCLUDE_EU
186         (u32) MCD_funcDescTab10,        /* Task 10 Fn Desc. Table & Flags */
187 #else
188         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
189 #endif
190         0x00000000,
191         0x00000000,
192         (u32) MCD_contextSave10,        /* Task 10 context save space */
193         0x00000000,
194         0x00000000,
195         0x00000000,
196         (u32) MCD_varTab11,     /* Task 11 Variable Table */
197 #ifdef MCD_INCLUDE_EU
198         (u32) MCD_funcDescTab11,        /* Task 11 Fn Desc. Table & Flags */
199 #else
200         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
201 #endif
202         0x00000000,
203         0x00000000,
204         (u32) MCD_contextSave11,        /* Task 11 context save space */
205         0x00000000,
206         0x00000000,
207         0x00000000,
208         (u32) MCD_varTab12,     /* Task 12 Variable Table */
209 #ifdef MCD_INCLUDE_EU
210         (u32) MCD_funcDescTab12,        /* Task 12 Fn Desc. Table & Flags */
211 #else
212         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
213 #endif
214         0x00000000,
215         0x00000000,
216         (u32) MCD_contextSave12,        /* Task 12 context save space */
217         0x00000000,
218         0x00000000,
219         0x00000000,
220         (u32) MCD_varTab13,     /* Task 13 Variable Table */
221 #ifdef MCD_INCLUDE_EU
222         (u32) MCD_funcDescTab13,        /* Task 13 Fn Desc. Table & Flags */
223 #else
224         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
225 #endif
226         0x00000000,
227         0x00000000,
228         (u32) MCD_contextSave13,        /* Task 13 context save space */
229         0x00000000,
230         0x00000000,
231         0x00000000,
232         (u32) MCD_varTab14,     /* Task 14 Variable Table */
233 #ifdef MCD_INCLUDE_EU
234         (u32) MCD_funcDescTab14,        /* Task 14 Fn Desc. Table & Flags */
235 #else
236         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
237 #endif
238         0x00000000,
239         0x00000000,
240         (u32) MCD_contextSave14,        /* Task 14 context save space */
241         0x00000000,
242         0x00000000,
243         0x00000000,
244         (u32) MCD_varTab15,     /* Task 15 Variable Table */
245 #ifdef MCD_INCLUDE_EU
246         (u32) MCD_funcDescTab15,        /* Task 15 Fn Desc. Table & Flags */
247 #else
248         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
249 #endif
250         0x00000000,
251         0x00000000,
252         (u32) MCD_contextSave15,        /* Task 15 context save space */
253         0x00000000,
254 };
255
256 u32 MCD_varTab0[] = {           /* Task 0 Variable Table */
257         0x00000000,             /* var[0] */
258         0x00000000,             /* var[1] */
259         0x00000000,             /* var[2] */
260         0x00000000,             /* var[3] */
261         0x00000000,             /* var[4] */
262         0x00000000,             /* var[5] */
263         0x00000000,             /* var[6] */
264         0x00000000,             /* var[7] */
265         0x00000000,             /* var[8] */
266         0x00000000,             /* var[9] */
267         0x00000000,             /* var[10] */
268         0x00000000,             /* var[11] */
269         0x00000000,             /* var[12] */
270         0x00000000,             /* var[13] */
271         0x00000000,             /* var[14] */
272         0x00000000,             /* var[15] */
273         0x00000000,             /* var[16] */
274         0x00000000,             /* var[17] */
275         0x00000000,             /* var[18] */
276         0x00000000,             /* var[19] */
277         0x00000000,             /* var[20] */
278         0x00000000,             /* var[21] */
279         0x00000000,             /* var[22] */
280         0x00000000,             /* var[23] */
281         0xe0000000,             /* inc[0] */
282         0x20000000,             /* inc[1] */
283         0x2000ffff,             /* inc[2] */
284         0x00000000,             /* inc[3] */
285         0x00000000,             /* inc[4] */
286         0x00000000,             /* inc[5] */
287         0x00000000,             /* inc[6] */
288         0x00000000,             /* inc[7] */
289 };
290
291 u32 MCD_varTab1[] = {
292         0x00000000,
293         0x00000000,
294         0x00000000,
295         0x00000000,
296         0x00000000,
297         0x00000000,
298         0x00000000,
299         0x00000000,
300         0x00000000,
301         0x00000000,
302         0x00000000,
303         0x00000000,
304         0x00000000,
305         0x00000000,
306         0x00000000,
307         0x00000000,
308         0x00000000,
309         0x00000000,
310         0x00000000,
311         0x00000000,
312         0x00000000,
313         0x00000000,
314         0x00000000,
315         0x00000000,
316         0xe0000000,
317         0x20000000,
318         0x2000ffff,
319         0x00000000,
320         0x00000000,
321         0x00000000,
322         0x00000000,
323         0x00000000,
324 };
325
326 u32 MCD_varTab2[] = {
327         0x00000000,
328         0x00000000,
329         0x00000000,
330         0x00000000,
331         0x00000000,
332         0x00000000,
333         0x00000000,
334         0x00000000,
335         0x00000000,
336         0x00000000,
337         0x00000000,
338         0x00000000,
339         0x00000000,
340         0x00000000,
341         0x00000000,
342         0x00000000,
343         0x00000000,
344         0x00000000,
345         0x00000000,
346         0x00000000,
347         0x00000000,
348         0x00000000,
349         0x00000000,
350         0x00000000,
351         0xe0000000,
352         0x20000000,
353         0x2000ffff,
354         0x00000000,
355         0x00000000,
356         0x00000000,
357         0x00000000,
358         0x00000000,
359 };
360
361 u32 MCD_varTab3[] = {
362         0x00000000,
363         0x00000000,
364         0x00000000,
365         0x00000000,
366         0x00000000,
367         0x00000000,
368         0x00000000,
369         0x00000000,
370         0x00000000,
371         0x00000000,
372         0x00000000,
373         0x00000000,
374         0x00000000,
375         0x00000000,
376         0x00000000,
377         0x00000000,
378         0x00000000,
379         0x00000000,
380         0x00000000,
381         0x00000000,
382         0x00000000,
383         0x00000000,
384         0x00000000,
385         0x00000000,
386         0xe0000000,
387         0x20000000,
388         0x2000ffff,
389         0x00000000,
390         0x00000000,
391         0x00000000,
392         0x00000000,
393         0x00000000,
394 };
395
396 u32 MCD_varTab4[] = {
397         0x00000000,
398         0x00000000,
399         0x00000000,
400         0x00000000,
401         0x00000000,
402         0x00000000,
403         0x00000000,
404         0x00000000,
405         0x00000000,
406         0x00000000,
407         0x00000000,
408         0x00000000,
409         0x00000000,
410         0x00000000,
411         0x00000000,
412         0x00000000,
413         0x00000000,
414         0x00000000,
415         0x00000000,
416         0x00000000,
417         0x00000000,
418         0x00000000,
419         0x00000000,
420         0x00000000,
421         0xe0000000,
422         0x20000000,
423         0x2000ffff,
424         0x00000000,
425         0x00000000,
426         0x00000000,
427         0x00000000,
428         0x00000000,
429 };
430
431 u32 MCD_varTab5[] = {
432         0x00000000,
433         0x00000000,
434         0x00000000,
435         0x00000000,
436         0x00000000,
437         0x00000000,
438         0x00000000,
439         0x00000000,
440         0x00000000,
441         0x00000000,
442         0x00000000,
443         0x00000000,
444         0x00000000,
445         0x00000000,
446         0x00000000,
447         0x00000000,
448         0x00000000,
449         0x00000000,
450         0x00000000,
451         0x00000000,
452         0x00000000,
453         0x00000000,
454         0x00000000,
455         0x00000000,
456         0xe0000000,
457         0x20000000,
458         0x2000ffff,
459         0x00000000,
460         0x00000000,
461         0x00000000,
462         0x00000000,
463         0x00000000,
464 };
465
466 u32 MCD_varTab6[] = {
467         0x00000000,
468         0x00000000,
469         0x00000000,
470         0x00000000,
471         0x00000000,
472         0x00000000,
473         0x00000000,
474         0x00000000,
475         0x00000000,
476         0x00000000,
477         0x00000000,
478         0x00000000,
479         0x00000000,
480         0x00000000,
481         0x00000000,
482         0x00000000,
483         0x00000000,
484         0x00000000,
485         0x00000000,
486         0x00000000,
487         0x00000000,
488         0x00000000,
489         0x00000000,
490         0x00000000,
491         0xe0000000,
492         0x20000000,
493         0x2000ffff,
494         0x00000000,
495         0x00000000,
496         0x00000000,
497         0x00000000,
498         0x00000000,
499 };
500
501 u32 MCD_varTab7[] = {
502         0x00000000,
503         0x00000000,
504         0x00000000,
505         0x00000000,
506         0x00000000,
507         0x00000000,
508         0x00000000,
509         0x00000000,
510         0x00000000,
511         0x00000000,
512         0x00000000,
513         0x00000000,
514         0x00000000,
515         0x00000000,
516         0x00000000,
517         0x00000000,
518         0x00000000,
519         0x00000000,
520         0x00000000,
521         0x00000000,
522         0x00000000,
523         0x00000000,
524         0x00000000,
525         0x00000000,
526         0xe0000000,
527         0x20000000,
528         0x2000ffff,
529         0x00000000,
530         0x00000000,
531         0x00000000,
532         0x00000000,
533         0x00000000,
534 };
535
536 u32 MCD_varTab8[] = {
537         0x00000000,
538         0x00000000,
539         0x00000000,
540         0x00000000,
541         0x00000000,
542         0x00000000,
543         0x00000000,
544         0x00000000,
545         0x00000000,
546         0x00000000,
547         0x00000000,
548         0x00000000,
549         0x00000000,
550         0x00000000,
551         0x00000000,
552         0x00000000,
553         0x00000000,
554         0x00000000,
555         0x00000000,
556         0x00000000,
557         0x00000000,
558         0x00000000,
559         0x00000000,
560         0x00000000,
561         0xe0000000,
562         0x20000000,
563         0x2000ffff,
564         0x00000000,
565         0x00000000,
566         0x00000000,
567         0x00000000,
568         0x00000000,
569 };
570
571 u32 MCD_varTab9[] = {
572         0x00000000,
573         0x00000000,
574         0x00000000,
575         0x00000000,
576         0x00000000,
577         0x00000000,
578         0x00000000,
579         0x00000000,
580         0x00000000,
581         0x00000000,
582         0x00000000,
583         0x00000000,
584         0x00000000,
585         0x00000000,
586         0x00000000,
587         0x00000000,
588         0x00000000,
589         0x00000000,
590         0x00000000,
591         0x00000000,
592         0x00000000,
593         0x00000000,
594         0x00000000,
595         0x00000000,
596         0xe0000000,
597         0x20000000,
598         0x2000ffff,
599         0x00000000,
600         0x00000000,
601         0x00000000,
602         0x00000000,
603         0x00000000,
604 };
605
606 u32 MCD_varTab10[] = {
607         0x00000000,
608         0x00000000,
609         0x00000000,
610         0x00000000,
611         0x00000000,
612         0x00000000,
613         0x00000000,
614         0x00000000,
615         0x00000000,
616         0x00000000,
617         0x00000000,
618         0x00000000,
619         0x00000000,
620         0x00000000,
621         0x00000000,
622         0x00000000,
623         0x00000000,
624         0x00000000,
625         0x00000000,
626         0x00000000,
627         0x00000000,
628         0x00000000,
629         0x00000000,
630         0x00000000,
631         0xe0000000,
632         0x20000000,
633         0x2000ffff,
634         0x00000000,
635         0x00000000,
636         0x00000000,
637         0x00000000,
638         0x00000000,
639 };
640
641 u32 MCD_varTab11[] = {
642         0x00000000,
643         0x00000000,
644         0x00000000,
645         0x00000000,
646         0x00000000,
647         0x00000000,
648         0x00000000,
649         0x00000000,
650         0x00000000,
651         0x00000000,
652         0x00000000,
653         0x00000000,
654         0x00000000,
655         0x00000000,
656         0x00000000,
657         0x00000000,
658         0x00000000,
659         0x00000000,
660         0x00000000,
661         0x00000000,
662         0x00000000,
663         0x00000000,
664         0x00000000,
665         0x00000000,
666         0xe0000000,
667         0x20000000,
668         0x2000ffff,
669         0x00000000,
670         0x00000000,
671         0x00000000,
672         0x00000000,
673         0x00000000,
674 };
675
676 u32 MCD_varTab12[] = {
677         0x00000000,
678         0x00000000,
679         0x00000000,
680         0x00000000,
681         0x00000000,
682         0x00000000,
683         0x00000000,
684         0x00000000,
685         0x00000000,
686         0x00000000,
687         0x00000000,
688         0x00000000,
689         0x00000000,
690         0x00000000,
691         0x00000000,
692         0x00000000,
693         0x00000000,
694         0x00000000,
695         0x00000000,
696         0x00000000,
697         0x00000000,
698         0x00000000,
699         0x00000000,
700         0x00000000,
701         0xe0000000,
702         0x20000000,
703         0x2000ffff,
704         0x00000000,
705         0x00000000,
706         0x00000000,
707         0x00000000,
708         0x00000000,
709 };
710
711 u32 MCD_varTab13[] = {
712         0x00000000,
713         0x00000000,
714         0x00000000,
715         0x00000000,
716         0x00000000,
717         0x00000000,
718         0x00000000,
719         0x00000000,
720         0x00000000,
721         0x00000000,
722         0x00000000,
723         0x00000000,
724         0x00000000,
725         0x00000000,
726         0x00000000,
727         0x00000000,
728         0x00000000,
729         0x00000000,
730         0x00000000,
731         0x00000000,
732         0x00000000,
733         0x00000000,
734         0x00000000,
735         0x00000000,
736         0xe0000000,
737         0x20000000,
738         0x2000ffff,
739         0x00000000,
740         0x00000000,
741         0x00000000,
742         0x00000000,
743         0x00000000,
744 };
745
746 u32 MCD_varTab14[] = {
747         0x00000000,
748         0x00000000,
749         0x00000000,
750         0x00000000,
751         0x00000000,
752         0x00000000,
753         0x00000000,
754         0x00000000,
755         0x00000000,
756         0x00000000,
757         0x00000000,
758         0x00000000,
759         0x00000000,
760         0x00000000,
761         0x00000000,
762         0x00000000,
763         0x00000000,
764         0x00000000,
765         0x00000000,
766         0x00000000,
767         0x00000000,
768         0x00000000,
769         0x00000000,
770         0x00000000,
771         0xe0000000,
772         0x20000000,
773         0x2000ffff,
774         0x00000000,
775         0x00000000,
776         0x00000000,
777         0x00000000,
778         0x00000000,
779 };
780
781 u32 MCD_varTab15[] = {
782         0x00000000,
783         0x00000000,
784         0x00000000,
785         0x00000000,
786         0x00000000,
787         0x00000000,
788         0x00000000,
789         0x00000000,
790         0x00000000,
791         0x00000000,
792         0x00000000,
793         0x00000000,
794         0x00000000,
795         0x00000000,
796         0x00000000,
797         0x00000000,
798         0x00000000,
799         0x00000000,
800         0x00000000,
801         0x00000000,
802         0x00000000,
803         0x00000000,
804         0x00000000,
805         0x00000000,
806         0xe0000000,
807         0x20000000,
808         0x2000ffff,
809         0x00000000,
810         0x00000000,
811         0x00000000,
812         0x00000000,
813         0x00000000,
814 };
815
816 u32 MCD_funcDescTab0[] = {
817         0x00000000,
818         0x00000000,
819         0x00000000,
820         0x00000000,
821         0x00000000,
822         0x00000000,
823         0x00000000,
824         0x00000000,
825         0x00000000,
826         0x00000000,
827         0x00000000,
828         0x00000000,
829         0x00000000,
830         0x00000000,
831         0x00000000,
832         0x00000000,
833         0x00000000,
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         0xa0045670,
866         0xa0000000,
867         0xa0000000,
868         0x20000000,
869         0x21800000,
870         0x21e00000,
871         0x20400000,
872         0x20500000,
873         0x205a0000,
874         0x20a00000,
875         0x202fa000,
876         0x202f9000,
877         0x202ea000,
878         0x202da000,
879         0x202e2000,
880         0x202f2000,
881 };
882
883 #ifdef MCD_INCLUDE_EU
884 u32 MCD_funcDescTab1[] = {
885         0x00000000,
886         0x00000000,
887         0x00000000,
888         0x00000000,
889         0x00000000,
890         0x00000000,
891         0x00000000,
892         0x00000000,
893         0x00000000,
894         0x00000000,
895         0x00000000,
896         0x00000000,
897         0x00000000,
898         0x00000000,
899         0x00000000,
900         0x00000000,
901         0x00000000,
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         0xa0045670,
934         0xa0000000,
935         0xa0000000,
936         0x20000000,
937         0x21800000,
938         0x21e00000,
939         0x20400000,
940         0x20500000,
941         0x205a0000,
942         0x20a00000,
943         0x202fa000,
944         0x202f9000,
945         0x202ea000,
946         0x202da000,
947         0x202e2000,
948         0x202f2000,
949 };
950
951 u32 MCD_funcDescTab2[] = {
952         0x00000000,
953         0x00000000,
954         0x00000000,
955         0x00000000,
956         0x00000000,
957         0x00000000,
958         0x00000000,
959         0x00000000,
960         0x00000000,
961         0x00000000,
962         0x00000000,
963         0x00000000,
964         0x00000000,
965         0x00000000,
966         0x00000000,
967         0x00000000,
968         0x00000000,
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         0xa0045670,
1001         0xa0000000,
1002         0xa0000000,
1003         0x20000000,
1004         0x21800000,
1005         0x21e00000,
1006         0x20400000,
1007         0x20500000,
1008         0x205a0000,
1009         0x20a00000,
1010         0x202fa000,
1011         0x202f9000,
1012         0x202ea000,
1013         0x202da000,
1014         0x202e2000,
1015         0x202f2000,
1016 };
1017
1018 u32 MCD_funcDescTab3[] = {
1019         0x00000000,
1020         0x00000000,
1021         0x00000000,
1022         0x00000000,
1023         0x00000000,
1024         0x00000000,
1025         0x00000000,
1026         0x00000000,
1027         0x00000000,
1028         0x00000000,
1029         0x00000000,
1030         0x00000000,
1031         0x00000000,
1032         0x00000000,
1033         0x00000000,
1034         0x00000000,
1035         0x00000000,
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         0xa0045670,
1068         0xa0000000,
1069         0xa0000000,
1070         0x20000000,
1071         0x21800000,
1072         0x21e00000,
1073         0x20400000,
1074         0x20500000,
1075         0x205a0000,
1076         0x20a00000,
1077         0x202fa000,
1078         0x202f9000,
1079         0x202ea000,
1080         0x202da000,
1081         0x202e2000,
1082         0x202f2000,
1083 };
1084
1085 u32 MCD_funcDescTab4[] = {
1086         0x00000000,
1087         0x00000000,
1088         0x00000000,
1089         0x00000000,
1090         0x00000000,
1091         0x00000000,
1092         0x00000000,
1093         0x00000000,
1094         0x00000000,
1095         0x00000000,
1096         0x00000000,
1097         0x00000000,
1098         0x00000000,
1099         0x00000000,
1100         0x00000000,
1101         0x00000000,
1102         0x00000000,
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         0xa0045670,
1135         0xa0000000,
1136         0xa0000000,
1137         0x20000000,
1138         0x21800000,
1139         0x21e00000,
1140         0x20400000,
1141         0x20500000,
1142         0x205a0000,
1143         0x20a00000,
1144         0x202fa000,
1145         0x202f9000,
1146         0x202ea000,
1147         0x202da000,
1148         0x202e2000,
1149         0x202f2000,
1150 };
1151
1152 u32 MCD_funcDescTab5[] = {
1153         0x00000000,
1154         0x00000000,
1155         0x00000000,
1156         0x00000000,
1157         0x00000000,
1158         0x00000000,
1159         0x00000000,
1160         0x00000000,
1161         0x00000000,
1162         0x00000000,
1163         0x00000000,
1164         0x00000000,
1165         0x00000000,
1166         0x00000000,
1167         0x00000000,
1168         0x00000000,
1169         0x00000000,
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         0xa0045670,
1202         0xa0000000,
1203         0xa0000000,
1204         0x20000000,
1205         0x21800000,
1206         0x21e00000,
1207         0x20400000,
1208         0x20500000,
1209         0x205a0000,
1210         0x20a00000,
1211         0x202fa000,
1212         0x202f9000,
1213         0x202ea000,
1214         0x202da000,
1215         0x202e2000,
1216         0x202f2000,
1217 };
1218
1219 u32 MCD_funcDescTab6[] = {
1220         0x00000000,
1221         0x00000000,
1222         0x00000000,
1223         0x00000000,
1224         0x00000000,
1225         0x00000000,
1226         0x00000000,
1227         0x00000000,
1228         0x00000000,
1229         0x00000000,
1230         0x00000000,
1231         0x00000000,
1232         0x00000000,
1233         0x00000000,
1234         0x00000000,
1235         0x00000000,
1236         0x00000000,
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         0xa0045670,
1269         0xa0000000,
1270         0xa0000000,
1271         0x20000000,
1272         0x21800000,
1273         0x21e00000,
1274         0x20400000,
1275         0x20500000,
1276         0x205a0000,
1277         0x20a00000,
1278         0x202fa000,
1279         0x202f9000,
1280         0x202ea000,
1281         0x202da000,
1282         0x202e2000,
1283         0x202f2000,
1284 };
1285
1286 u32 MCD_funcDescTab7[] = {
1287         0x00000000,
1288         0x00000000,
1289         0x00000000,
1290         0x00000000,
1291         0x00000000,
1292         0x00000000,
1293         0x00000000,
1294         0x00000000,
1295         0x00000000,
1296         0x00000000,
1297         0x00000000,
1298         0x00000000,
1299         0x00000000,
1300         0x00000000,
1301         0x00000000,
1302         0x00000000,
1303         0x00000000,
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         0xa0045670,
1336         0xa0000000,
1337         0xa0000000,
1338         0x20000000,
1339         0x21800000,
1340         0x21e00000,
1341         0x20400000,
1342         0x20500000,
1343         0x205a0000,
1344         0x20a00000,
1345         0x202fa000,
1346         0x202f9000,
1347         0x202ea000,
1348         0x202da000,
1349         0x202e2000,
1350         0x202f2000,
1351 };
1352
1353 u32 MCD_funcDescTab8[] = {
1354         0x00000000,
1355         0x00000000,
1356         0x00000000,
1357         0x00000000,
1358         0x00000000,
1359         0x00000000,
1360         0x00000000,
1361         0x00000000,
1362         0x00000000,
1363         0x00000000,
1364         0x00000000,
1365         0x00000000,
1366         0x00000000,
1367         0x00000000,
1368         0x00000000,
1369         0x00000000,
1370         0x00000000,
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         0xa0045670,
1403         0xa0000000,
1404         0xa0000000,
1405         0x20000000,
1406         0x21800000,
1407         0x21e00000,
1408         0x20400000,
1409         0x20500000,
1410         0x205a0000,
1411         0x20a00000,
1412         0x202fa000,
1413         0x202f9000,
1414         0x202ea000,
1415         0x202da000,
1416         0x202e2000,
1417         0x202f2000,
1418 };
1419
1420 u32 MCD_funcDescTab9[] = {
1421         0x00000000,
1422         0x00000000,
1423         0x00000000,
1424         0x00000000,
1425         0x00000000,
1426         0x00000000,
1427         0x00000000,
1428         0x00000000,
1429         0x00000000,
1430         0x00000000,
1431         0x00000000,
1432         0x00000000,
1433         0x00000000,
1434         0x00000000,
1435         0x00000000,
1436         0x00000000,
1437         0x00000000,
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         0xa0045670,
1470         0xa0000000,
1471         0xa0000000,
1472         0x20000000,
1473         0x21800000,
1474         0x21e00000,
1475         0x20400000,
1476         0x20500000,
1477         0x205a0000,
1478         0x20a00000,
1479         0x202fa000,
1480         0x202f9000,
1481         0x202ea000,
1482         0x202da000,
1483         0x202e2000,
1484         0x202f2000,
1485 };
1486
1487 u32 MCD_funcDescTab10[] = {
1488         0x00000000,
1489         0x00000000,
1490         0x00000000,
1491         0x00000000,
1492         0x00000000,
1493         0x00000000,
1494         0x00000000,
1495         0x00000000,
1496         0x00000000,
1497         0x00000000,
1498         0x00000000,
1499         0x00000000,
1500         0x00000000,
1501         0x00000000,
1502         0x00000000,
1503         0x00000000,
1504         0x00000000,
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         0xa0045670,
1537         0xa0000000,
1538         0xa0000000,
1539         0x20000000,
1540         0x21800000,
1541         0x21e00000,
1542         0x20400000,
1543         0x20500000,
1544         0x205a0000,
1545         0x20a00000,
1546         0x202fa000,
1547         0x202f9000,
1548         0x202ea000,
1549         0x202da000,
1550         0x202e2000,
1551         0x202f2000,
1552 };
1553
1554 u32 MCD_funcDescTab11[] = {
1555         0x00000000,
1556         0x00000000,
1557         0x00000000,
1558         0x00000000,
1559         0x00000000,
1560         0x00000000,
1561         0x00000000,
1562         0x00000000,
1563         0x00000000,
1564         0x00000000,
1565         0x00000000,
1566         0x00000000,
1567         0x00000000,
1568         0x00000000,
1569         0x00000000,
1570         0x00000000,
1571         0x00000000,
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         0xa0045670,
1604         0xa0000000,
1605         0xa0000000,
1606         0x20000000,
1607         0x21800000,
1608         0x21e00000,
1609         0x20400000,
1610         0x20500000,
1611         0x205a0000,
1612         0x20a00000,
1613         0x202fa000,
1614         0x202f9000,
1615         0x202ea000,
1616         0x202da000,
1617         0x202e2000,
1618         0x202f2000,
1619 };
1620
1621 u32 MCD_funcDescTab12[] = {
1622         0x00000000,
1623         0x00000000,
1624         0x00000000,
1625         0x00000000,
1626         0x00000000,
1627         0x00000000,
1628         0x00000000,
1629         0x00000000,
1630         0x00000000,
1631         0x00000000,
1632         0x00000000,
1633         0x00000000,
1634         0x00000000,
1635         0x00000000,
1636         0x00000000,
1637         0x00000000,
1638         0x00000000,
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         0xa0045670,
1671         0xa0000000,
1672         0xa0000000,
1673         0x20000000,
1674         0x21800000,
1675         0x21e00000,
1676         0x20400000,
1677         0x20500000,
1678         0x205a0000,
1679         0x20a00000,
1680         0x202fa000,
1681         0x202f9000,
1682         0x202ea000,
1683         0x202da000,
1684         0x202e2000,
1685         0x202f2000,
1686 };
1687
1688 u32 MCD_funcDescTab13[] = {
1689         0x00000000,
1690         0x00000000,
1691         0x00000000,
1692         0x00000000,
1693         0x00000000,
1694         0x00000000,
1695         0x00000000,
1696         0x00000000,
1697         0x00000000,
1698         0x00000000,
1699         0x00000000,
1700         0x00000000,
1701         0x00000000,
1702         0x00000000,
1703         0x00000000,
1704         0x00000000,
1705         0x00000000,
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         0xa0045670,
1738         0xa0000000,
1739         0xa0000000,
1740         0x20000000,
1741         0x21800000,
1742         0x21e00000,
1743         0x20400000,
1744         0x20500000,
1745         0x205a0000,
1746         0x20a00000,
1747         0x202fa000,
1748         0x202f9000,
1749         0x202ea000,
1750         0x202da000,
1751         0x202e2000,
1752         0x202f2000,
1753 };
1754
1755 u32 MCD_funcDescTab14[] = {
1756         0x00000000,
1757         0x00000000,
1758         0x00000000,
1759         0x00000000,
1760         0x00000000,
1761         0x00000000,
1762         0x00000000,
1763         0x00000000,
1764         0x00000000,
1765         0x00000000,
1766         0x00000000,
1767         0x00000000,
1768         0x00000000,
1769         0x00000000,
1770         0x00000000,
1771         0x00000000,
1772         0x00000000,
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         0xa0045670,
1805         0xa0000000,
1806         0xa0000000,
1807         0x20000000,
1808         0x21800000,
1809         0x21e00000,
1810         0x20400000,
1811         0x20500000,
1812         0x205a0000,
1813         0x20a00000,
1814         0x202fa000,
1815         0x202f9000,
1816         0x202ea000,
1817         0x202da000,
1818         0x202e2000,
1819         0x202f2000,
1820 };
1821
1822 u32 MCD_funcDescTab15[] = {
1823         0x00000000,
1824         0x00000000,
1825         0x00000000,
1826         0x00000000,
1827         0x00000000,
1828         0x00000000,
1829         0x00000000,
1830         0x00000000,
1831         0x00000000,
1832         0x00000000,
1833         0x00000000,
1834         0x00000000,
1835         0x00000000,
1836         0x00000000,
1837         0x00000000,
1838         0x00000000,
1839         0x00000000,
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         0xa0045670,
1872         0xa0000000,
1873         0xa0000000,
1874         0x20000000,
1875         0x21800000,
1876         0x21e00000,
1877         0x20400000,
1878         0x20500000,
1879         0x205a0000,
1880         0x20a00000,
1881         0x202fa000,
1882         0x202f9000,
1883         0x202ea000,
1884         0x202da000,
1885         0x202e2000,
1886         0x202f2000,
1887 };
1888 #endif                          /*MCD_INCLUDE_EU */
1889
1890 u32 MCD_contextSave0[128];      /* Task 0 context save space */
1891 u32 MCD_contextSave1[128];      /* Task 1 context save space */
1892 u32 MCD_contextSave2[128];      /* Task 2 context save space */
1893 u32 MCD_contextSave3[128];      /* Task 3 context save space */
1894 u32 MCD_contextSave4[128];      /* Task 4 context save space */
1895 u32 MCD_contextSave5[128];      /* Task 5 context save space */
1896 u32 MCD_contextSave6[128];      /* Task 6 context save space */
1897 u32 MCD_contextSave7[128];      /* Task 7 context save space */
1898 u32 MCD_contextSave8[128];      /* Task 8 context save space */
1899 u32 MCD_contextSave9[128];      /* Task 9 context save space */
1900 u32 MCD_contextSave10[128];     /* Task 10 context save space */
1901 u32 MCD_contextSave11[128];     /* Task 11 context save space */
1902 u32 MCD_contextSave12[128];     /* Task 12 context save space */
1903 u32 MCD_contextSave13[128];     /* Task 13 context save space */
1904 u32 MCD_contextSave14[128];     /* Task 14 context save space */
1905 u32 MCD_contextSave15[128];     /* Task 15 context save space */
1906
1907 u32 MCD_ChainNoEu_TDT[];
1908 u32 MCD_SingleNoEu_TDT[];
1909 #ifdef MCD_INCLUDE_EU
1910 u32 MCD_ChainEu_TDT[];
1911 u32 MCD_SingleEu_TDT[];
1912 #endif
1913 u32 MCD_ENetRcv_TDT[];
1914 u32 MCD_ENetXmit_TDT[];
1915
1916 u32 MCD_modelTaskTableSrc[] = {
1917         (u32) MCD_ChainNoEu_TDT,
1918         (u32) & ((u8 *) MCD_ChainNoEu_TDT)[0x0000016c],
1919         0x00000000,
1920         0x00000000,
1921         0x00000000,
1922         0x00000000,
1923         0x00000000,
1924         0x00000000,
1925         (u32) MCD_SingleNoEu_TDT,
1926         (u32) & ((u8 *) MCD_SingleNoEu_TDT)[0x000000d4],
1927         0x00000000,
1928         0x00000000,
1929         0x00000000,
1930         0x00000000,
1931         0x00000000,
1932         0x00000000,
1933 #ifdef MCD_INCLUDE_EU
1934         (u32) MCD_ChainEu_TDT,
1935         (u32) & ((u8 *) MCD_ChainEu_TDT)[0x000001b4],
1936         0x00000000,
1937         0x00000000,
1938         0x00000000,
1939         0x00000000,
1940         0x00000000,
1941         0x00000000,
1942         (u32) MCD_SingleEu_TDT,
1943         (u32) & ((u8 *) MCD_SingleEu_TDT)[0x00000124],
1944         0x00000000,
1945         0x00000000,
1946         0x00000000,
1947         0x00000000,
1948         0x00000000,
1949         0x00000000,
1950 #endif
1951         (u32) MCD_ENetRcv_TDT,
1952         (u32) & ((u8 *) MCD_ENetRcv_TDT)[0x0000009c],
1953         0x00000000,
1954         0x00000000,
1955         0x00000000,
1956         0x00000000,
1957         0x00000000,
1958         0x00000000,
1959         (u32) MCD_ENetXmit_TDT,
1960         (u32) & ((u8 *) MCD_ENetXmit_TDT)[0x000000d0],
1961         0x00000000,
1962         0x00000000,
1963         0x00000000,
1964         0x00000000,
1965         0x00000000,
1966         0x00000000,
1967 };
1968
1969 u32 MCD_ChainNoEu_TDT[] = {
1970         0x80004000,
1971         0x8118801b,
1972         0xb8c60018,
1973         0x10002b10,
1974         0x7000000d,
1975         0x018cf89f,
1976         0x6000000a,
1977         0x080cf89f,
1978         0x000001f8,
1979         0x98180364,
1980         0x8118801b,
1981         0xf8c6001a,
1982         0xb8c6601b,
1983         0x10002710,
1984         0x00000f18,
1985         0xb8c6001d,
1986         0x10001310,
1987         0x60000007,
1988         0x014cf88b,
1989         0x98c6001c,
1990         0x00000710,
1991         0x98c70018,
1992         0x10001f10,
1993         0x0000c818,
1994         0x000001f8,
1995         0xc1476018,
1996         0xc003231d,
1997         0x811a601b,
1998         0xc1862102,
1999         0x849be009,
2000         0x03fed7b8,
2001         0xda9b001b,
2002         0x9b9be01b,
2003         0x1000cb20,
2004         0x70000006,
2005         0x088cf88f,
2006         0x1000cb28,
2007         0x70000006,
2008         0x088cf88f,
2009         0x1000cb30,
2010         0x70000006,
2011         0x088cf88f,
2012         0x1000cb38,
2013         0x0000c728,
2014         0x000001f8,
2015         0xc1476018,
2016         0xc003241d,
2017         0x811a601b,
2018         0xda9b001b,
2019         0x9b9be01b,
2020         0x0000d3a0,
2021         0xc1862102,
2022         0x849be009,
2023         0x0bfed7b8,
2024         0xda9b001b,
2025         0x9b9be01b,
2026         0x1000cb20,
2027         0x70000006,
2028         0x088cf88f,
2029         0x1000cb28,
2030         0x70000006,
2031         0x088cf88f,
2032         0x1000cb30,
2033         0x70000006,
2034         0x088cf88f,
2035         0x1000cb38,
2036         0x0000c728,
2037         0x000001f8,
2038         0x8118801b,
2039         0xd8c60018,
2040         0x98c6601c,
2041         0x6000000b,
2042         0x0c8cfc9f,
2043         0x000001f8,
2044         0xa146001e,
2045         0x10000b08,
2046         0x10002050,
2047         0xb8c60018,
2048         0x10002b10,
2049         0x7000000a,
2050         0x080cf89f,
2051         0x6000000d,
2052         0x018cf89f,
2053         0x000001f8,
2054         0x8618801b,
2055         0x7000000e,
2056         0x084cf21f,
2057         0xd8990336,
2058         0x8019801b,
2059         0x040001f8,
2060         0x000001f8,
2061         0x000001f8,
2062 };
2063
2064 u32 MCD_SingleNoEu_TDT[] = {
2065         0x8198001b,
2066         0x7000000d,
2067         0x080cf81f,
2068         0x8198801b,
2069         0x6000000e,
2070         0x084cf85f,
2071         0x000001f8,
2072         0x8298001b,
2073         0x7000000d,
2074         0x010cf81f,
2075         0x6000000e,
2076         0x018cf81f,
2077         0xc202601b,
2078         0xc002221c,
2079         0x809a601b,
2080         0xc10420c2,
2081         0x839be009,
2082         0x03fed7b8,
2083         0xda9b001b,
2084         0x9b9be01b,
2085         0x70000006,
2086         0x088cf889,
2087         0x1000cb28,
2088         0x70000006,
2089         0x088cf889,
2090         0x1000cb30,
2091         0x70000006,
2092         0x088cf889,
2093         0x0000cb38,
2094         0x000001f8,
2095         0xc202601b,
2096         0xc002229c,
2097         0x809a601b,
2098         0xda9b001b,
2099         0x9b9be01b,
2100         0x0000d3a0,
2101         0xc10420c2,
2102         0x839be009,
2103         0x0bfed7b8,
2104         0xda9b001b,
2105         0x9b9be01b,
2106         0x70000006,
2107         0x088cf889,
2108         0x1000cb28,
2109         0x70000006,
2110         0x088cf889,
2111         0x1000cb30,
2112         0x70000006,
2113         0x088cf889,
2114         0x0000cb38,
2115         0x000001f8,
2116         0xc318022d,
2117         0x8018801b,
2118         0x040001f8,
2119 };
2120
2121 #ifdef MCD_INCLUDE_EU
2122 u32 MCD_ChainEu_TDT[] = {
2123         0x80004000,
2124         0x8198801b,
2125         0xb8c68018,
2126         0x10002f10,
2127         0x7000000d,
2128         0x01ccf89f,
2129         0x6000000a,
2130         0x080cf89f,
2131         0x000001f8,
2132         0x981803a4,
2133         0x8198801b,
2134         0xf8c6801a,
2135         0xb8c6e01b,
2136         0x10002b10,
2137         0x00001318,
2138         0xb8c6801d,
2139         0x10001710,
2140         0x60000007,
2141         0x018cf88c,
2142         0x98c6801c,
2143         0x00000b10,
2144         0x98c78018,
2145         0x10002310,
2146         0x0000c820,
2147         0x000001f8,
2148         0x8698801b,
2149         0x7000000f,
2150         0x084cf2df,
2151         0xd899042d,
2152         0x8019801b,
2153         0x60000003,
2154         0x2cd7c7df,
2155         0xd8990364,
2156         0x8019801b,
2157         0x60000003,
2158         0x2c17c7df,
2159         0x000001f8,
2160         0xc1c7e018,
2161         0xc003a35e,
2162         0x819a601b,
2163         0xc206a142,
2164         0x851be009,
2165         0x63fe0000,
2166         0x0d4cfddf,
2167         0xda9b001b,
2168         0x9b9be01b,
2169         0x70000002,
2170         0x004cf81f,
2171         0x1000cb20,
2172         0x70000006,
2173         0x088cf891,
2174         0x1000cb28,
2175         0x70000006,
2176         0x088cf891,
2177         0x1000cb30,
2178         0x70000006,
2179         0x088cf891,
2180         0x1000cb38,
2181         0x0000c728,
2182         0x000001f8,
2183         0xc1c7e018,
2184         0xc003a49e,
2185         0x819a601b,
2186         0xda9b001b,
2187         0x9b9be01b,
2188         0x0000d3a0,
2189         0xc206a142,
2190         0x851be009,
2191         0x6bfe0000,
2192         0x0d4cfddf,
2193         0xda9b001b,
2194         0x9b9be01b,
2195         0x70000002,
2196         0x004cf81f,
2197         0x1000cb20,
2198         0x70000006,
2199         0x088cf891,
2200         0x1000cb28,
2201         0x70000006,
2202         0x088cf891,
2203         0x1000cb30,
2204         0x70000006,
2205         0x088cf891,
2206         0x1000cb38,
2207         0x0000c728,
2208         0x000001f8,
2209         0x8198801b,
2210         0xd8c68018,
2211         0x98c6e01c,
2212         0x6000000b,
2213         0x0c8cfc9f,
2214         0x0000cc08,
2215         0xa1c6801e,
2216         0x10000f08,
2217         0x10002458,
2218         0xb8c68018,
2219         0x10002f10,
2220         0x7000000a,
2221         0x080cf89f,
2222         0x6000000d,
2223         0x01ccf89f,
2224         0x000001f8,
2225         0x8698801b,
2226         0x7000000e,
2227         0x084cf25f,
2228         0xd899037f,
2229         0x8019801b,
2230         0x040001f8,
2231         0x000001f8,
2232         0x000001f8,
2233 };
2234
2235 u32 MCD_SingleEu_TDT[] = {
2236         0x8218001b,
2237         0x7000000d,
2238         0x080cf81f,
2239         0x8218801b,
2240         0x6000000e,
2241         0x084cf85f,
2242         0x000001f8,
2243         0x8318001b,
2244         0x7000000d,
2245         0x014cf81f,
2246         0x6000000e,
2247         0x01ccf81f,
2248         0x8498001b,
2249         0x7000000f,
2250         0x080cf19f,
2251         0xd81882a4,
2252         0x8019001b,
2253         0x60000003,
2254         0x2c97c7df,
2255         0xd818826d,
2256         0x8019001b,
2257         0x60000003,
2258         0x2c17c7df,
2259         0x000001f8,
2260         0xc282e01b,
2261         0xc002a25e,
2262         0x811a601b,
2263         0xc184a102,
2264         0x841be009,
2265         0x63fe0000,
2266         0x0d4cfddf,
2267         0xda9b001b,
2268         0x9b9be01b,
2269         0x70000002,
2270         0x004cf99f,
2271         0x70000006,
2272         0x088cf88b,
2273         0x1000cb28,
2274         0x70000006,
2275         0x088cf88b,
2276         0x1000cb30,
2277         0x70000006,
2278         0x088cf88b,
2279         0x0000cb38,
2280         0x000001f8,
2281         0xc282e01b,
2282         0xc002a31e,
2283         0x811a601b,
2284         0xda9b001b,
2285         0x9b9be01b,
2286         0x0000d3a0,
2287         0xc184a102,
2288         0x841be009,
2289         0x6bfe0000,
2290         0x0d4cfddf,
2291         0xda9b001b,
2292         0x9b9be01b,
2293         0x70000002,
2294         0x004cf99f,
2295         0x70000006,
2296         0x088cf88b,
2297         0x1000cb28,
2298         0x70000006,
2299         0x088cf88b,
2300         0x1000cb30,
2301         0x70000006,
2302         0x088cf88b,
2303         0x0000cb38,
2304         0x000001f8,
2305         0x8144801c,
2306         0x0000c008,
2307         0xc398027f,
2308         0x8018801b,
2309         0x040001f8,
2310 };
2311 #endif
2312 u32 MCD_ENetRcv_TDT[] = {
2313         0x80004000,
2314         0x81988000,
2315         0x10000788,
2316         0x6000000a,
2317         0x080cf05f,
2318         0x98180209,
2319         0x81c40004,
2320         0x7000000e,
2321         0x010cf05f,
2322         0x7000000c,
2323         0x01ccf05f,
2324         0x70000004,
2325         0x014cf049,
2326         0x70000004,
2327         0x004cf04a,
2328         0x00000b88,
2329         0xc4030150,
2330         0x8119e012,
2331         0x03e0cf90,
2332         0x81188000,
2333         0x000ac788,
2334         0xc4030000,
2335         0x8199e000,
2336         0x70000004,
2337         0x084cfc8b,
2338         0x60000005,
2339         0x0cccf841,
2340         0x81c60000,
2341         0xc399021b,
2342         0x80198000,
2343         0x00008400,
2344         0x00000f08,
2345         0x81988000,
2346         0x10000788,
2347         0x6000000a,
2348         0x080cf05f,
2349         0xc2188209,
2350         0x80190000,
2351         0x040001f8,
2352         0x000001f8,
2353 };
2354
2355 u32 MCD_ENetXmit_TDT[] = {
2356         0x80004000,
2357         0x81988000,
2358         0x10000788,
2359         0x6000000a,
2360         0x080cf05f,
2361         0x98180309,
2362         0x80004003,
2363         0x81c60004,
2364         0x7000000e,
2365         0x014cf05f,
2366         0x7000000c,
2367         0x028cf05f,
2368         0x7000000d,
2369         0x018cf05f,
2370         0x70000004,
2371         0x01ccf04d,
2372         0x10000b90,
2373         0x60000004,
2374         0x020cf0a1,
2375         0xc3188312,
2376         0x83c70000,
2377         0x00001f10,
2378         0xc583a3c3,
2379         0x81042325,
2380         0x03e0c798,
2381         0xd8990000,
2382         0x9999e000,
2383         0x000acf98,
2384         0xd8992306,
2385         0x9999e03f,
2386         0x03eac798,
2387         0xd8990000,
2388         0x9999e000,
2389         0x000acf98,
2390         0xd8990000,
2391         0x99832302,
2392         0x0beac798,
2393         0x81988000,
2394         0x6000000b,
2395         0x0c4cfc5f,
2396         0x81c80000,
2397         0xc5190312,
2398         0x80198000,
2399         0x00008400,
2400         0x00000f08,
2401         0x81988000,
2402         0x10000788,
2403         0x6000000a,
2404         0x080cf05f,
2405         0xc2988309,
2406         0x80190000,
2407         0x040001f8,
2408         0x000001f8,
2409 };
2410
2411 #ifdef MCD_INCLUDE_EU
2412 MCD_bufDesc MCD_singleBufDescs[NCHANNELS];
2413 #endif