GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / staging / tidspbridge / dynload / reloc_table_c6000.c
bloba28bc044249145e6d8dca3a85834507a1828caf6
1 /*
2 * reloc_table_c6000.c
4 * DSP-BIOS Bridge driver support functions for TI OMAP processors.
6 * Copyright (C) 2005-2006 Texas Instruments, Inc.
8 * This package is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
12 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 /* Tables generated for c6000 */
19 #define HASH_FUNC(zz) (((((zz) + 1) * 1845UL) >> 11) & 63)
20 #define HASH_L(zz) ((zz) >> 8)
21 #define HASH_I(zz) ((zz) & 0xFF)
23 static const u16 rop_map1[] = {
27 20,
31 15,
32 80,
33 81,
34 82,
35 83,
36 84,
37 85,
38 86,
39 87,
40 17,
41 18,
42 19,
43 21,
44 16,
45 16394,
46 16404,
47 65535,
48 65535,
49 65535,
50 65535,
51 65535,
52 65535,
53 32,
54 65535,
55 65535,
56 65535,
57 65535,
58 65535,
59 65535,
60 40,
61 112,
62 113,
63 65535,
64 16384,
65 16385,
66 16386,
67 16387,
68 16388,
69 16389,
70 16390,
71 16391,
72 16392,
73 16393,
74 16395,
75 16396,
76 16397,
77 16398,
78 16399,
79 16400,
80 16401,
81 16402,
82 16403,
83 16405,
84 16406,
85 65535,
86 65535,
87 65535
90 static const s16 rop_map2[] = {
91 -256,
92 -255,
93 -254,
94 -245,
95 -253,
96 -252,
97 -251,
98 -250,
99 -241,
100 -240,
101 -239,
102 -238,
103 -237,
104 -236,
105 1813,
106 5142,
107 -248,
108 -247,
109 778,
110 -244,
111 -249,
112 -221,
113 -211,
120 -243,
127 -242,
128 -233,
129 -232,
131 -231,
132 -230,
133 -229,
134 -228,
135 -227,
136 -226,
137 -225,
138 -224,
139 -223,
140 5410,
141 -220,
142 -219,
143 -218,
144 -217,
145 -216,
146 -215,
147 -214,
148 -213,
149 5676,
150 -210,
151 -209,
157 static const u16 rop_action[] = {
158 2560,
159 2304,
160 2304,
161 2432,
162 2432,
163 2560,
164 2176,
165 2304,
166 2560,
167 3200,
168 3328,
169 3584,
170 3456,
171 2304,
172 4208,
173 20788,
174 21812,
175 3415,
176 3245,
177 2311,
178 4359,
179 19764,
180 2311,
181 3191,
182 3280,
183 6656,
184 7680,
185 8704,
186 9728,
187 10752,
188 11776,
189 12800,
190 13824,
191 14848,
192 15872,
193 16896,
194 17920,
195 18944,
200 1536,
201 1536,
202 1536,
203 5632,
204 512,
208 static const u16 rop_info[] = {
224 283,
225 299,
226 4135,
227 4391,
228 291,
229 33059,
230 283,
231 295,
232 4647,
233 4135,
236 128,
246 128,
247 201,
248 197,
251 208,
252 196,
253 200,
254 192,
255 192,