Merge branch 'next' of git://git.denx.de/u-boot-mpc83xx
[platform/kernel/u-boot.git] / drivers / dma / MCD_tasks.c
1 /*
2  * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 /* Contains task code and structures for Multi-channel DMA */
8
9 #include <common.h>
10
11 #include <MCD_dma.h>
12
13 u32 MCD_varTab0[];
14 u32 MCD_varTab1[];
15 u32 MCD_varTab2[];
16 u32 MCD_varTab3[];
17 u32 MCD_varTab4[];
18 u32 MCD_varTab5[];
19 u32 MCD_varTab6[];
20 u32 MCD_varTab7[];
21 u32 MCD_varTab8[];
22 u32 MCD_varTab9[];
23 u32 MCD_varTab10[];
24 u32 MCD_varTab11[];
25 u32 MCD_varTab12[];
26 u32 MCD_varTab13[];
27 u32 MCD_varTab14[];
28 u32 MCD_varTab15[];
29
30 u32 MCD_funcDescTab0[];
31 #ifdef MCD_INCLUDE_EU
32 u32 MCD_funcDescTab1[];
33 u32 MCD_funcDescTab2[];
34 u32 MCD_funcDescTab3[];
35 u32 MCD_funcDescTab4[];
36 u32 MCD_funcDescTab5[];
37 u32 MCD_funcDescTab6[];
38 u32 MCD_funcDescTab7[];
39 u32 MCD_funcDescTab8[];
40 u32 MCD_funcDescTab9[];
41 u32 MCD_funcDescTab10[];
42 u32 MCD_funcDescTab11[];
43 u32 MCD_funcDescTab12[];
44 u32 MCD_funcDescTab13[];
45 u32 MCD_funcDescTab14[];
46 u32 MCD_funcDescTab15[];
47 #endif
48
49 u32 MCD_contextSave0[];
50 u32 MCD_contextSave1[];
51 u32 MCD_contextSave2[];
52 u32 MCD_contextSave3[];
53 u32 MCD_contextSave4[];
54 u32 MCD_contextSave5[];
55 u32 MCD_contextSave6[];
56 u32 MCD_contextSave7[];
57 u32 MCD_contextSave8[];
58 u32 MCD_contextSave9[];
59 u32 MCD_contextSave10[];
60 u32 MCD_contextSave11[];
61 u32 MCD_contextSave12[];
62 u32 MCD_contextSave13[];
63 u32 MCD_contextSave14[];
64 u32 MCD_contextSave15[];
65
66 u32 MCD_realTaskTableSrc[] = {
67         0x00000000,
68         0x00000000,
69         (u32) MCD_varTab0,      /* Task 0 Variable Table */
70         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
71         0x00000000,
72         0x00000000,
73         (u32) MCD_contextSave0, /* Task 0 context save space */
74         0x00000000,
75         0x00000000,
76         0x00000000,
77         (u32) MCD_varTab1,      /* Task 1 Variable Table */
78 #ifdef MCD_INCLUDE_EU
79         (u32) MCD_funcDescTab1, /* Task 1 Fn Desc. Table & Flags */
80 #else
81         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
82 #endif
83         0x00000000,
84         0x00000000,
85         (u32) MCD_contextSave1, /* Task 1 context save space */
86         0x00000000,
87         0x00000000,
88         0x00000000,
89         (u32) MCD_varTab2,      /* Task 2 Variable Table */
90 #ifdef MCD_INCLUDE_EU
91         (u32) MCD_funcDescTab2, /* Task 2 Fn Desc. Table & Flags */
92 #else
93         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
94 #endif
95         0x00000000,
96         0x00000000,
97         (u32) MCD_contextSave2, /* Task 2 context save space */
98         0x00000000,
99         0x00000000,
100         0x00000000,
101         (u32) MCD_varTab3,      /* Task 3 Variable Table */
102 #ifdef MCD_INCLUDE_EU
103         (u32) MCD_funcDescTab3, /* Task 3 Fn Desc. Table & Flags */
104 #else
105         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
106 #endif
107         0x00000000,
108         0x00000000,
109         (u32) MCD_contextSave3, /* Task 3 context save space */
110         0x00000000,
111         0x00000000,
112         0x00000000,
113         (u32) MCD_varTab4,      /* Task 4 Variable Table */
114 #ifdef MCD_INCLUDE_EU
115         (u32) MCD_funcDescTab4, /* Task 4 Fn Desc. Table & Flags */
116 #else
117         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
118 #endif
119         0x00000000,
120         0x00000000,
121         (u32) MCD_contextSave4, /* Task 4 context save space */
122         0x00000000,
123         0x00000000,
124         0x00000000,
125         (u32) MCD_varTab5,      /* Task 5 Variable Table */
126 #ifdef MCD_INCLUDE_EU
127         (u32) MCD_funcDescTab5, /* Task 5 Fn Desc. Table & Flags */
128 #else
129         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
130 #endif
131         0x00000000,
132         0x00000000,
133         (u32) MCD_contextSave5, /* Task 5 context save space */
134         0x00000000,
135         0x00000000,
136         0x00000000,
137         (u32) MCD_varTab6,      /* Task 6 Variable Table */
138 #ifdef MCD_INCLUDE_EU
139         (u32) MCD_funcDescTab6, /* Task 6 Fn Desc. Table & Flags */
140 #else
141         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
142 #endif
143         0x00000000,
144         0x00000000,
145         (u32) MCD_contextSave6, /* Task 6 context save space */
146         0x00000000,
147         0x00000000,
148         0x00000000,
149         (u32) MCD_varTab7,      /* Task 7 Variable Table */
150 #ifdef MCD_INCLUDE_EU
151         (u32) MCD_funcDescTab7, /* Task 7 Fn Desc. Table & Flags */
152 #else
153         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
154 #endif
155         0x00000000,
156         0x00000000,
157         (u32) MCD_contextSave7, /* Task 7 context save space */
158         0x00000000,
159         0x00000000,
160         0x00000000,
161         (u32) MCD_varTab8,      /* Task 8 Variable Table */
162 #ifdef MCD_INCLUDE_EU
163         (u32) MCD_funcDescTab8, /* Task 8 Fn Desc. Table & Flags */
164 #else
165         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
166 #endif
167         0x00000000,
168         0x00000000,
169         (u32) MCD_contextSave8, /* Task 8 context save space */
170         0x00000000,
171         0x00000000,
172         0x00000000,
173         (u32) MCD_varTab9,      /* Task 9 Variable Table */
174 #ifdef MCD_INCLUDE_EU
175         (u32) MCD_funcDescTab9, /* Task 9 Fn Desc. Table & Flags */
176 #else
177         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
178 #endif
179         0x00000000,
180         0x00000000,
181         (u32) MCD_contextSave9, /* Task 9 context save space */
182         0x00000000,
183         0x00000000,
184         0x00000000,
185         (u32) MCD_varTab10,     /* Task 10 Variable Table */
186 #ifdef MCD_INCLUDE_EU
187         (u32) MCD_funcDescTab10,        /* Task 10 Fn Desc. Table & Flags */
188 #else
189         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
190 #endif
191         0x00000000,
192         0x00000000,
193         (u32) MCD_contextSave10,        /* Task 10 context save space */
194         0x00000000,
195         0x00000000,
196         0x00000000,
197         (u32) MCD_varTab11,     /* Task 11 Variable Table */
198 #ifdef MCD_INCLUDE_EU
199         (u32) MCD_funcDescTab11,        /* Task 11 Fn Desc. Table & Flags */
200 #else
201         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
202 #endif
203         0x00000000,
204         0x00000000,
205         (u32) MCD_contextSave11,        /* Task 11 context save space */
206         0x00000000,
207         0x00000000,
208         0x00000000,
209         (u32) MCD_varTab12,     /* Task 12 Variable Table */
210 #ifdef MCD_INCLUDE_EU
211         (u32) MCD_funcDescTab12,        /* Task 12 Fn Desc. Table & Flags */
212 #else
213         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
214 #endif
215         0x00000000,
216         0x00000000,
217         (u32) MCD_contextSave12,        /* Task 12 context save space */
218         0x00000000,
219         0x00000000,
220         0x00000000,
221         (u32) MCD_varTab13,     /* Task 13 Variable Table */
222 #ifdef MCD_INCLUDE_EU
223         (u32) MCD_funcDescTab13,        /* Task 13 Fn Desc. Table & Flags */
224 #else
225         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
226 #endif
227         0x00000000,
228         0x00000000,
229         (u32) MCD_contextSave13,        /* Task 13 context save space */
230         0x00000000,
231         0x00000000,
232         0x00000000,
233         (u32) MCD_varTab14,     /* Task 14 Variable Table */
234 #ifdef MCD_INCLUDE_EU
235         (u32) MCD_funcDescTab14,        /* Task 14 Fn Desc. Table & Flags */
236 #else
237         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
238 #endif
239         0x00000000,
240         0x00000000,
241         (u32) MCD_contextSave14,        /* Task 14 context save space */
242         0x00000000,
243         0x00000000,
244         0x00000000,
245         (u32) MCD_varTab15,     /* Task 15 Variable Table */
246 #ifdef MCD_INCLUDE_EU
247         (u32) MCD_funcDescTab15,        /* Task 15 Fn Desc. Table & Flags */
248 #else
249         (u32) MCD_funcDescTab0, /* Task 0 Fn Desc. Table & Flags */
250 #endif
251         0x00000000,
252         0x00000000,
253         (u32) MCD_contextSave15,        /* Task 15 context save space */
254         0x00000000,
255 };
256
257 u32 MCD_varTab0[] = {           /* Task 0 Variable Table */
258         0x00000000,             /* var[0] */
259         0x00000000,             /* var[1] */
260         0x00000000,             /* var[2] */
261         0x00000000,             /* var[3] */
262         0x00000000,             /* var[4] */
263         0x00000000,             /* var[5] */
264         0x00000000,             /* var[6] */
265         0x00000000,             /* var[7] */
266         0x00000000,             /* var[8] */
267         0x00000000,             /* var[9] */
268         0x00000000,             /* var[10] */
269         0x00000000,             /* var[11] */
270         0x00000000,             /* var[12] */
271         0x00000000,             /* var[13] */
272         0x00000000,             /* var[14] */
273         0x00000000,             /* var[15] */
274         0x00000000,             /* var[16] */
275         0x00000000,             /* var[17] */
276         0x00000000,             /* var[18] */
277         0x00000000,             /* var[19] */
278         0x00000000,             /* var[20] */
279         0x00000000,             /* var[21] */
280         0x00000000,             /* var[22] */
281         0x00000000,             /* var[23] */
282         0xe0000000,             /* inc[0] */
283         0x20000000,             /* inc[1] */
284         0x2000ffff,             /* inc[2] */
285         0x00000000,             /* inc[3] */
286         0x00000000,             /* inc[4] */
287         0x00000000,             /* inc[5] */
288         0x00000000,             /* inc[6] */
289         0x00000000,             /* inc[7] */
290 };
291
292 u32 MCD_varTab1[] = {
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         0x00000000,
317         0xe0000000,
318         0x20000000,
319         0x2000ffff,
320         0x00000000,
321         0x00000000,
322         0x00000000,
323         0x00000000,
324         0x00000000,
325 };
326
327 u32 MCD_varTab2[] = {
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         0x00000000,
352         0xe0000000,
353         0x20000000,
354         0x2000ffff,
355         0x00000000,
356         0x00000000,
357         0x00000000,
358         0x00000000,
359         0x00000000,
360 };
361
362 u32 MCD_varTab3[] = {
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         0x00000000,
387         0xe0000000,
388         0x20000000,
389         0x2000ffff,
390         0x00000000,
391         0x00000000,
392         0x00000000,
393         0x00000000,
394         0x00000000,
395 };
396
397 u32 MCD_varTab4[] = {
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         0x00000000,
422         0xe0000000,
423         0x20000000,
424         0x2000ffff,
425         0x00000000,
426         0x00000000,
427         0x00000000,
428         0x00000000,
429         0x00000000,
430 };
431
432 u32 MCD_varTab5[] = {
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         0x00000000,
457         0xe0000000,
458         0x20000000,
459         0x2000ffff,
460         0x00000000,
461         0x00000000,
462         0x00000000,
463         0x00000000,
464         0x00000000,
465 };
466
467 u32 MCD_varTab6[] = {
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         0x00000000,
492         0xe0000000,
493         0x20000000,
494         0x2000ffff,
495         0x00000000,
496         0x00000000,
497         0x00000000,
498         0x00000000,
499         0x00000000,
500 };
501
502 u32 MCD_varTab7[] = {
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         0x00000000,
527         0xe0000000,
528         0x20000000,
529         0x2000ffff,
530         0x00000000,
531         0x00000000,
532         0x00000000,
533         0x00000000,
534         0x00000000,
535 };
536
537 u32 MCD_varTab8[] = {
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         0x00000000,
562         0xe0000000,
563         0x20000000,
564         0x2000ffff,
565         0x00000000,
566         0x00000000,
567         0x00000000,
568         0x00000000,
569         0x00000000,
570 };
571
572 u32 MCD_varTab9[] = {
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         0x00000000,
597         0xe0000000,
598         0x20000000,
599         0x2000ffff,
600         0x00000000,
601         0x00000000,
602         0x00000000,
603         0x00000000,
604         0x00000000,
605 };
606
607 u32 MCD_varTab10[] = {
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         0x00000000,
632         0xe0000000,
633         0x20000000,
634         0x2000ffff,
635         0x00000000,
636         0x00000000,
637         0x00000000,
638         0x00000000,
639         0x00000000,
640 };
641
642 u32 MCD_varTab11[] = {
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         0x00000000,
667         0xe0000000,
668         0x20000000,
669         0x2000ffff,
670         0x00000000,
671         0x00000000,
672         0x00000000,
673         0x00000000,
674         0x00000000,
675 };
676
677 u32 MCD_varTab12[] = {
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         0x00000000,
702         0xe0000000,
703         0x20000000,
704         0x2000ffff,
705         0x00000000,
706         0x00000000,
707         0x00000000,
708         0x00000000,
709         0x00000000,
710 };
711
712 u32 MCD_varTab13[] = {
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         0x00000000,
737         0xe0000000,
738         0x20000000,
739         0x2000ffff,
740         0x00000000,
741         0x00000000,
742         0x00000000,
743         0x00000000,
744         0x00000000,
745 };
746
747 u32 MCD_varTab14[] = {
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         0x00000000,
772         0xe0000000,
773         0x20000000,
774         0x2000ffff,
775         0x00000000,
776         0x00000000,
777         0x00000000,
778         0x00000000,
779         0x00000000,
780 };
781
782 u32 MCD_varTab15[] = {
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         0x00000000,
807         0xe0000000,
808         0x20000000,
809         0x2000ffff,
810         0x00000000,
811         0x00000000,
812         0x00000000,
813         0x00000000,
814         0x00000000,
815 };
816
817 u32 MCD_funcDescTab0[] = {
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         0x00000000,
866         0xa0045670,
867         0xa0000000,
868         0xa0000000,
869         0x20000000,
870         0x21800000,
871         0x21e00000,
872         0x20400000,
873         0x20500000,
874         0x205a0000,
875         0x20a00000,
876         0x202fa000,
877         0x202f9000,
878         0x202ea000,
879         0x202da000,
880         0x202e2000,
881         0x202f2000,
882 };
883
884 #ifdef MCD_INCLUDE_EU
885 u32 MCD_funcDescTab1[] = {
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         0x00000000,
934         0xa0045670,
935         0xa0000000,
936         0xa0000000,
937         0x20000000,
938         0x21800000,
939         0x21e00000,
940         0x20400000,
941         0x20500000,
942         0x205a0000,
943         0x20a00000,
944         0x202fa000,
945         0x202f9000,
946         0x202ea000,
947         0x202da000,
948         0x202e2000,
949         0x202f2000,
950 };
951
952 u32 MCD_funcDescTab2[] = {
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         0x00000000,
1001         0xa0045670,
1002         0xa0000000,
1003         0xa0000000,
1004         0x20000000,
1005         0x21800000,
1006         0x21e00000,
1007         0x20400000,
1008         0x20500000,
1009         0x205a0000,
1010         0x20a00000,
1011         0x202fa000,
1012         0x202f9000,
1013         0x202ea000,
1014         0x202da000,
1015         0x202e2000,
1016         0x202f2000,
1017 };
1018
1019 u32 MCD_funcDescTab3[] = {
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         0x00000000,
1068         0xa0045670,
1069         0xa0000000,
1070         0xa0000000,
1071         0x20000000,
1072         0x21800000,
1073         0x21e00000,
1074         0x20400000,
1075         0x20500000,
1076         0x205a0000,
1077         0x20a00000,
1078         0x202fa000,
1079         0x202f9000,
1080         0x202ea000,
1081         0x202da000,
1082         0x202e2000,
1083         0x202f2000,
1084 };
1085
1086 u32 MCD_funcDescTab4[] = {
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         0x00000000,
1135         0xa0045670,
1136         0xa0000000,
1137         0xa0000000,
1138         0x20000000,
1139         0x21800000,
1140         0x21e00000,
1141         0x20400000,
1142         0x20500000,
1143         0x205a0000,
1144         0x20a00000,
1145         0x202fa000,
1146         0x202f9000,
1147         0x202ea000,
1148         0x202da000,
1149         0x202e2000,
1150         0x202f2000,
1151 };
1152
1153 u32 MCD_funcDescTab5[] = {
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         0x00000000,
1202         0xa0045670,
1203         0xa0000000,
1204         0xa0000000,
1205         0x20000000,
1206         0x21800000,
1207         0x21e00000,
1208         0x20400000,
1209         0x20500000,
1210         0x205a0000,
1211         0x20a00000,
1212         0x202fa000,
1213         0x202f9000,
1214         0x202ea000,
1215         0x202da000,
1216         0x202e2000,
1217         0x202f2000,
1218 };
1219
1220 u32 MCD_funcDescTab6[] = {
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         0x00000000,
1269         0xa0045670,
1270         0xa0000000,
1271         0xa0000000,
1272         0x20000000,
1273         0x21800000,
1274         0x21e00000,
1275         0x20400000,
1276         0x20500000,
1277         0x205a0000,
1278         0x20a00000,
1279         0x202fa000,
1280         0x202f9000,
1281         0x202ea000,
1282         0x202da000,
1283         0x202e2000,
1284         0x202f2000,
1285 };
1286
1287 u32 MCD_funcDescTab7[] = {
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         0x00000000,
1336         0xa0045670,
1337         0xa0000000,
1338         0xa0000000,
1339         0x20000000,
1340         0x21800000,
1341         0x21e00000,
1342         0x20400000,
1343         0x20500000,
1344         0x205a0000,
1345         0x20a00000,
1346         0x202fa000,
1347         0x202f9000,
1348         0x202ea000,
1349         0x202da000,
1350         0x202e2000,
1351         0x202f2000,
1352 };
1353
1354 u32 MCD_funcDescTab8[] = {
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         0x00000000,
1403         0xa0045670,
1404         0xa0000000,
1405         0xa0000000,
1406         0x20000000,
1407         0x21800000,
1408         0x21e00000,
1409         0x20400000,
1410         0x20500000,
1411         0x205a0000,
1412         0x20a00000,
1413         0x202fa000,
1414         0x202f9000,
1415         0x202ea000,
1416         0x202da000,
1417         0x202e2000,
1418         0x202f2000,
1419 };
1420
1421 u32 MCD_funcDescTab9[] = {
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         0x00000000,
1470         0xa0045670,
1471         0xa0000000,
1472         0xa0000000,
1473         0x20000000,
1474         0x21800000,
1475         0x21e00000,
1476         0x20400000,
1477         0x20500000,
1478         0x205a0000,
1479         0x20a00000,
1480         0x202fa000,
1481         0x202f9000,
1482         0x202ea000,
1483         0x202da000,
1484         0x202e2000,
1485         0x202f2000,
1486 };
1487
1488 u32 MCD_funcDescTab10[] = {
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         0x00000000,
1537         0xa0045670,
1538         0xa0000000,
1539         0xa0000000,
1540         0x20000000,
1541         0x21800000,
1542         0x21e00000,
1543         0x20400000,
1544         0x20500000,
1545         0x205a0000,
1546         0x20a00000,
1547         0x202fa000,
1548         0x202f9000,
1549         0x202ea000,
1550         0x202da000,
1551         0x202e2000,
1552         0x202f2000,
1553 };
1554
1555 u32 MCD_funcDescTab11[] = {
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         0x00000000,
1604         0xa0045670,
1605         0xa0000000,
1606         0xa0000000,
1607         0x20000000,
1608         0x21800000,
1609         0x21e00000,
1610         0x20400000,
1611         0x20500000,
1612         0x205a0000,
1613         0x20a00000,
1614         0x202fa000,
1615         0x202f9000,
1616         0x202ea000,
1617         0x202da000,
1618         0x202e2000,
1619         0x202f2000,
1620 };
1621
1622 u32 MCD_funcDescTab12[] = {
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         0x00000000,
1671         0xa0045670,
1672         0xa0000000,
1673         0xa0000000,
1674         0x20000000,
1675         0x21800000,
1676         0x21e00000,
1677         0x20400000,
1678         0x20500000,
1679         0x205a0000,
1680         0x20a00000,
1681         0x202fa000,
1682         0x202f9000,
1683         0x202ea000,
1684         0x202da000,
1685         0x202e2000,
1686         0x202f2000,
1687 };
1688
1689 u32 MCD_funcDescTab13[] = {
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         0x00000000,
1738         0xa0045670,
1739         0xa0000000,
1740         0xa0000000,
1741         0x20000000,
1742         0x21800000,
1743         0x21e00000,
1744         0x20400000,
1745         0x20500000,
1746         0x205a0000,
1747         0x20a00000,
1748         0x202fa000,
1749         0x202f9000,
1750         0x202ea000,
1751         0x202da000,
1752         0x202e2000,
1753         0x202f2000,
1754 };
1755
1756 u32 MCD_funcDescTab14[] = {
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         0x00000000,
1805         0xa0045670,
1806         0xa0000000,
1807         0xa0000000,
1808         0x20000000,
1809         0x21800000,
1810         0x21e00000,
1811         0x20400000,
1812         0x20500000,
1813         0x205a0000,
1814         0x20a00000,
1815         0x202fa000,
1816         0x202f9000,
1817         0x202ea000,
1818         0x202da000,
1819         0x202e2000,
1820         0x202f2000,
1821 };
1822
1823 u32 MCD_funcDescTab15[] = {
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         0x00000000,
1872         0xa0045670,
1873         0xa0000000,
1874         0xa0000000,
1875         0x20000000,
1876         0x21800000,
1877         0x21e00000,
1878         0x20400000,
1879         0x20500000,
1880         0x205a0000,
1881         0x20a00000,
1882         0x202fa000,
1883         0x202f9000,
1884         0x202ea000,
1885         0x202da000,
1886         0x202e2000,
1887         0x202f2000,
1888 };
1889 #endif                          /*MCD_INCLUDE_EU */
1890
1891 u32 MCD_contextSave0[128];      /* Task 0 context save space */
1892 u32 MCD_contextSave1[128];      /* Task 1 context save space */
1893 u32 MCD_contextSave2[128];      /* Task 2 context save space */
1894 u32 MCD_contextSave3[128];      /* Task 3 context save space */
1895 u32 MCD_contextSave4[128];      /* Task 4 context save space */
1896 u32 MCD_contextSave5[128];      /* Task 5 context save space */
1897 u32 MCD_contextSave6[128];      /* Task 6 context save space */
1898 u32 MCD_contextSave7[128];      /* Task 7 context save space */
1899 u32 MCD_contextSave8[128];      /* Task 8 context save space */
1900 u32 MCD_contextSave9[128];      /* Task 9 context save space */
1901 u32 MCD_contextSave10[128];     /* Task 10 context save space */
1902 u32 MCD_contextSave11[128];     /* Task 11 context save space */
1903 u32 MCD_contextSave12[128];     /* Task 12 context save space */
1904 u32 MCD_contextSave13[128];     /* Task 13 context save space */
1905 u32 MCD_contextSave14[128];     /* Task 14 context save space */
1906 u32 MCD_contextSave15[128];     /* Task 15 context save space */
1907
1908 u32 MCD_ChainNoEu_TDT[];
1909 u32 MCD_SingleNoEu_TDT[];
1910 #ifdef MCD_INCLUDE_EU
1911 u32 MCD_ChainEu_TDT[];
1912 u32 MCD_SingleEu_TDT[];
1913 #endif
1914 u32 MCD_ENetRcv_TDT[];
1915 u32 MCD_ENetXmit_TDT[];
1916
1917 u32 MCD_modelTaskTableSrc[] = {
1918         (u32) MCD_ChainNoEu_TDT,
1919         (u32) & ((u8 *) MCD_ChainNoEu_TDT)[0x0000016c],
1920         0x00000000,
1921         0x00000000,
1922         0x00000000,
1923         0x00000000,
1924         0x00000000,
1925         0x00000000,
1926         (u32) MCD_SingleNoEu_TDT,
1927         (u32) & ((u8 *) MCD_SingleNoEu_TDT)[0x000000d4],
1928         0x00000000,
1929         0x00000000,
1930         0x00000000,
1931         0x00000000,
1932         0x00000000,
1933         0x00000000,
1934 #ifdef MCD_INCLUDE_EU
1935         (u32) MCD_ChainEu_TDT,
1936         (u32) & ((u8 *) MCD_ChainEu_TDT)[0x000001b4],
1937         0x00000000,
1938         0x00000000,
1939         0x00000000,
1940         0x00000000,
1941         0x00000000,
1942         0x00000000,
1943         (u32) MCD_SingleEu_TDT,
1944         (u32) & ((u8 *) MCD_SingleEu_TDT)[0x00000124],
1945         0x00000000,
1946         0x00000000,
1947         0x00000000,
1948         0x00000000,
1949         0x00000000,
1950         0x00000000,
1951 #endif
1952         (u32) MCD_ENetRcv_TDT,
1953         (u32) & ((u8 *) MCD_ENetRcv_TDT)[0x0000009c],
1954         0x00000000,
1955         0x00000000,
1956         0x00000000,
1957         0x00000000,
1958         0x00000000,
1959         0x00000000,
1960         (u32) MCD_ENetXmit_TDT,
1961         (u32) & ((u8 *) MCD_ENetXmit_TDT)[0x000000d0],
1962         0x00000000,
1963         0x00000000,
1964         0x00000000,
1965         0x00000000,
1966         0x00000000,
1967         0x00000000,
1968 };
1969
1970 u32 MCD_ChainNoEu_TDT[] = {
1971         0x80004000,
1972         0x8118801b,
1973         0xb8c60018,
1974         0x10002b10,
1975         0x7000000d,
1976         0x018cf89f,
1977         0x6000000a,
1978         0x080cf89f,
1979         0x000001f8,
1980         0x98180364,
1981         0x8118801b,
1982         0xf8c6001a,
1983         0xb8c6601b,
1984         0x10002710,
1985         0x00000f18,
1986         0xb8c6001d,
1987         0x10001310,
1988         0x60000007,
1989         0x014cf88b,
1990         0x98c6001c,
1991         0x00000710,
1992         0x98c70018,
1993         0x10001f10,
1994         0x0000c818,
1995         0x000001f8,
1996         0xc1476018,
1997         0xc003231d,
1998         0x811a601b,
1999         0xc1862102,
2000         0x849be009,
2001         0x03fed7b8,
2002         0xda9b001b,
2003         0x9b9be01b,
2004         0x1000cb20,
2005         0x70000006,
2006         0x088cf88f,
2007         0x1000cb28,
2008         0x70000006,
2009         0x088cf88f,
2010         0x1000cb30,
2011         0x70000006,
2012         0x088cf88f,
2013         0x1000cb38,
2014         0x0000c728,
2015         0x000001f8,
2016         0xc1476018,
2017         0xc003241d,
2018         0x811a601b,
2019         0xda9b001b,
2020         0x9b9be01b,
2021         0x0000d3a0,
2022         0xc1862102,
2023         0x849be009,
2024         0x0bfed7b8,
2025         0xda9b001b,
2026         0x9b9be01b,
2027         0x1000cb20,
2028         0x70000006,
2029         0x088cf88f,
2030         0x1000cb28,
2031         0x70000006,
2032         0x088cf88f,
2033         0x1000cb30,
2034         0x70000006,
2035         0x088cf88f,
2036         0x1000cb38,
2037         0x0000c728,
2038         0x000001f8,
2039         0x8118801b,
2040         0xd8c60018,
2041         0x98c6601c,
2042         0x6000000b,
2043         0x0c8cfc9f,
2044         0x000001f8,
2045         0xa146001e,
2046         0x10000b08,
2047         0x10002050,
2048         0xb8c60018,
2049         0x10002b10,
2050         0x7000000a,
2051         0x080cf89f,
2052         0x6000000d,
2053         0x018cf89f,
2054         0x000001f8,
2055         0x8618801b,
2056         0x7000000e,
2057         0x084cf21f,
2058         0xd8990336,
2059         0x8019801b,
2060         0x040001f8,
2061         0x000001f8,
2062         0x000001f8,
2063 };
2064
2065 u32 MCD_SingleNoEu_TDT[] = {
2066         0x8198001b,
2067         0x7000000d,
2068         0x080cf81f,
2069         0x8198801b,
2070         0x6000000e,
2071         0x084cf85f,
2072         0x000001f8,
2073         0x8298001b,
2074         0x7000000d,
2075         0x010cf81f,
2076         0x6000000e,
2077         0x018cf81f,
2078         0xc202601b,
2079         0xc002221c,
2080         0x809a601b,
2081         0xc10420c2,
2082         0x839be009,
2083         0x03fed7b8,
2084         0xda9b001b,
2085         0x9b9be01b,
2086         0x70000006,
2087         0x088cf889,
2088         0x1000cb28,
2089         0x70000006,
2090         0x088cf889,
2091         0x1000cb30,
2092         0x70000006,
2093         0x088cf889,
2094         0x0000cb38,
2095         0x000001f8,
2096         0xc202601b,
2097         0xc002229c,
2098         0x809a601b,
2099         0xda9b001b,
2100         0x9b9be01b,
2101         0x0000d3a0,
2102         0xc10420c2,
2103         0x839be009,
2104         0x0bfed7b8,
2105         0xda9b001b,
2106         0x9b9be01b,
2107         0x70000006,
2108         0x088cf889,
2109         0x1000cb28,
2110         0x70000006,
2111         0x088cf889,
2112         0x1000cb30,
2113         0x70000006,
2114         0x088cf889,
2115         0x0000cb38,
2116         0x000001f8,
2117         0xc318022d,
2118         0x8018801b,
2119         0x040001f8,
2120 };
2121
2122 #ifdef MCD_INCLUDE_EU
2123 u32 MCD_ChainEu_TDT[] = {
2124         0x80004000,
2125         0x8198801b,
2126         0xb8c68018,
2127         0x10002f10,
2128         0x7000000d,
2129         0x01ccf89f,
2130         0x6000000a,
2131         0x080cf89f,
2132         0x000001f8,
2133         0x981803a4,
2134         0x8198801b,
2135         0xf8c6801a,
2136         0xb8c6e01b,
2137         0x10002b10,
2138         0x00001318,
2139         0xb8c6801d,
2140         0x10001710,
2141         0x60000007,
2142         0x018cf88c,
2143         0x98c6801c,
2144         0x00000b10,
2145         0x98c78018,
2146         0x10002310,
2147         0x0000c820,
2148         0x000001f8,
2149         0x8698801b,
2150         0x7000000f,
2151         0x084cf2df,
2152         0xd899042d,
2153         0x8019801b,
2154         0x60000003,
2155         0x2cd7c7df,
2156         0xd8990364,
2157         0x8019801b,
2158         0x60000003,
2159         0x2c17c7df,
2160         0x000001f8,
2161         0xc1c7e018,
2162         0xc003a35e,
2163         0x819a601b,
2164         0xc206a142,
2165         0x851be009,
2166         0x63fe0000,
2167         0x0d4cfddf,
2168         0xda9b001b,
2169         0x9b9be01b,
2170         0x70000002,
2171         0x004cf81f,
2172         0x1000cb20,
2173         0x70000006,
2174         0x088cf891,
2175         0x1000cb28,
2176         0x70000006,
2177         0x088cf891,
2178         0x1000cb30,
2179         0x70000006,
2180         0x088cf891,
2181         0x1000cb38,
2182         0x0000c728,
2183         0x000001f8,
2184         0xc1c7e018,
2185         0xc003a49e,
2186         0x819a601b,
2187         0xda9b001b,
2188         0x9b9be01b,
2189         0x0000d3a0,
2190         0xc206a142,
2191         0x851be009,
2192         0x6bfe0000,
2193         0x0d4cfddf,
2194         0xda9b001b,
2195         0x9b9be01b,
2196         0x70000002,
2197         0x004cf81f,
2198         0x1000cb20,
2199         0x70000006,
2200         0x088cf891,
2201         0x1000cb28,
2202         0x70000006,
2203         0x088cf891,
2204         0x1000cb30,
2205         0x70000006,
2206         0x088cf891,
2207         0x1000cb38,
2208         0x0000c728,
2209         0x000001f8,
2210         0x8198801b,
2211         0xd8c68018,
2212         0x98c6e01c,
2213         0x6000000b,
2214         0x0c8cfc9f,
2215         0x0000cc08,
2216         0xa1c6801e,
2217         0x10000f08,
2218         0x10002458,
2219         0xb8c68018,
2220         0x10002f10,
2221         0x7000000a,
2222         0x080cf89f,
2223         0x6000000d,
2224         0x01ccf89f,
2225         0x000001f8,
2226         0x8698801b,
2227         0x7000000e,
2228         0x084cf25f,
2229         0xd899037f,
2230         0x8019801b,
2231         0x040001f8,
2232         0x000001f8,
2233         0x000001f8,
2234 };
2235
2236 u32 MCD_SingleEu_TDT[] = {
2237         0x8218001b,
2238         0x7000000d,
2239         0x080cf81f,
2240         0x8218801b,
2241         0x6000000e,
2242         0x084cf85f,
2243         0x000001f8,
2244         0x8318001b,
2245         0x7000000d,
2246         0x014cf81f,
2247         0x6000000e,
2248         0x01ccf81f,
2249         0x8498001b,
2250         0x7000000f,
2251         0x080cf19f,
2252         0xd81882a4,
2253         0x8019001b,
2254         0x60000003,
2255         0x2c97c7df,
2256         0xd818826d,
2257         0x8019001b,
2258         0x60000003,
2259         0x2c17c7df,
2260         0x000001f8,
2261         0xc282e01b,
2262         0xc002a25e,
2263         0x811a601b,
2264         0xc184a102,
2265         0x841be009,
2266         0x63fe0000,
2267         0x0d4cfddf,
2268         0xda9b001b,
2269         0x9b9be01b,
2270         0x70000002,
2271         0x004cf99f,
2272         0x70000006,
2273         0x088cf88b,
2274         0x1000cb28,
2275         0x70000006,
2276         0x088cf88b,
2277         0x1000cb30,
2278         0x70000006,
2279         0x088cf88b,
2280         0x0000cb38,
2281         0x000001f8,
2282         0xc282e01b,
2283         0xc002a31e,
2284         0x811a601b,
2285         0xda9b001b,
2286         0x9b9be01b,
2287         0x0000d3a0,
2288         0xc184a102,
2289         0x841be009,
2290         0x6bfe0000,
2291         0x0d4cfddf,
2292         0xda9b001b,
2293         0x9b9be01b,
2294         0x70000002,
2295         0x004cf99f,
2296         0x70000006,
2297         0x088cf88b,
2298         0x1000cb28,
2299         0x70000006,
2300         0x088cf88b,
2301         0x1000cb30,
2302         0x70000006,
2303         0x088cf88b,
2304         0x0000cb38,
2305         0x000001f8,
2306         0x8144801c,
2307         0x0000c008,
2308         0xc398027f,
2309         0x8018801b,
2310         0x040001f8,
2311 };
2312 #endif
2313 u32 MCD_ENetRcv_TDT[] = {
2314         0x80004000,
2315         0x81988000,
2316         0x10000788,
2317         0x6000000a,
2318         0x080cf05f,
2319         0x98180209,
2320         0x81c40004,
2321         0x7000000e,
2322         0x010cf05f,
2323         0x7000000c,
2324         0x01ccf05f,
2325         0x70000004,
2326         0x014cf049,
2327         0x70000004,
2328         0x004cf04a,
2329         0x00000b88,
2330         0xc4030150,
2331         0x8119e012,
2332         0x03e0cf90,
2333         0x81188000,
2334         0x000ac788,
2335         0xc4030000,
2336         0x8199e000,
2337         0x70000004,
2338         0x084cfc8b,
2339         0x60000005,
2340         0x0cccf841,
2341         0x81c60000,
2342         0xc399021b,
2343         0x80198000,
2344         0x00008400,
2345         0x00000f08,
2346         0x81988000,
2347         0x10000788,
2348         0x6000000a,
2349         0x080cf05f,
2350         0xc2188209,
2351         0x80190000,
2352         0x040001f8,
2353         0x000001f8,
2354 };
2355
2356 u32 MCD_ENetXmit_TDT[] = {
2357         0x80004000,
2358         0x81988000,
2359         0x10000788,
2360         0x6000000a,
2361         0x080cf05f,
2362         0x98180309,
2363         0x80004003,
2364         0x81c60004,
2365         0x7000000e,
2366         0x014cf05f,
2367         0x7000000c,
2368         0x028cf05f,
2369         0x7000000d,
2370         0x018cf05f,
2371         0x70000004,
2372         0x01ccf04d,
2373         0x10000b90,
2374         0x60000004,
2375         0x020cf0a1,
2376         0xc3188312,
2377         0x83c70000,
2378         0x00001f10,
2379         0xc583a3c3,
2380         0x81042325,
2381         0x03e0c798,
2382         0xd8990000,
2383         0x9999e000,
2384         0x000acf98,
2385         0xd8992306,
2386         0x9999e03f,
2387         0x03eac798,
2388         0xd8990000,
2389         0x9999e000,
2390         0x000acf98,
2391         0xd8990000,
2392         0x99832302,
2393         0x0beac798,
2394         0x81988000,
2395         0x6000000b,
2396         0x0c4cfc5f,
2397         0x81c80000,
2398         0xc5190312,
2399         0x80198000,
2400         0x00008400,
2401         0x00000f08,
2402         0x81988000,
2403         0x10000788,
2404         0x6000000a,
2405         0x080cf05f,
2406         0xc2988309,
2407         0x80190000,
2408         0x040001f8,
2409         0x000001f8,
2410 };
2411
2412 #ifdef MCD_INCLUDE_EU
2413 MCD_bufDesc MCD_singleBufDescs[NCHANNELS];
2414 #endif