blob: 47ce3a2d80d69250a8d2ff87233ac6f27e80e800 [file] [log] [blame]
Wolfgang Denkba94a1b2006-05-30 15:56:48 +02001/**
2 * @file IxOsalOsIxp400CustomizedMapping.h
3 *
4 * @brief Set LE coherency modes for components.
5 * The default setting is IX_OSAL_NO_MAPPING for LE.
6 *
7 *
8 * By default IX_OSAL_STATIC_MEMORY_MAP is defined for all the components.
9 * If any component uses a dynamic memory map it must define
10 * IX_OSAL_DYNAMIC_MEMORY_MAP in its corresponding section.
11 *
12 *
13 * @par
14 *
15 * @par
16 * IXP400 SW Release version 2.0
17 *
18 * -- Copyright Notice --
19 *
20 * @par
21 * Copyright 2001-2005, Intel Corporation.
22 * All rights reserved.
23 *
24 * @par
25 * Redistribution and use in source and binary forms, with or without
26 * modification, are permitted provided that the following conditions
27 * are met:
28 * 1. Redistributions of source code must retain the above copyright
29 * notice, this list of conditions and the following disclaimer.
30 * 2. Redistributions in binary form must reproduce the above copyright
31 * notice, this list of conditions and the following disclaimer in the
32 * documentation and/or other materials provided with the distribution.
33 * 3. Neither the name of the Intel Corporation nor the names of its contributors
34 * may be used to endorse or promote products derived from this software
35 * without specific prior written permission.
36 *
37 * @par
38 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
39 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
40 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
41 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
42 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
43 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
44 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
45 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
46 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
47 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
48 * SUCH DAMAGE.
49 *
50 * @par
51 * -- End of Copyright Notice --
52 */
53
54#ifndef IxOsalOsIxp400CustomizedMapping_H
55#define IxOsalOsIxp400CustomizedMapping_H
56
57/*
58 * only include this file in Little Endian
59 */
60
61#if defined (IX_OSAL_LINUX_BE)
62#error Only include IxOsalOsIxp400CustomizedMapping.h in Little Endian
63#endif
64
65 /*
66 * Components don't have to be in this list if
67 * the default mapping is OK.
68 */
69#define ix_osal 1
70#define ix_dmaAcc 2
71#define ix_atmdAcc 3
72
73#define ix_atmsch 5
74#define ix_ethAcc 6
75#define ix_npeMh 7
76#define ix_qmgr 8
77#define ix_npeDl 9
78#define ix_atmm 10
79#define ix_hssAcc 11
80#define ix_ethDB 12
81#define ix_ethMii 13
82#define ix_timerCtrl 14
83#define ix_adsl 15
84#define ix_usb 16
85#define ix_uartAcc 17
86#define ix_featureCtrl 18
87#define ix_cryptoAcc 19
88#define ix_unloadAcc 33
89#define ix_perfProfAcc 34
90#define ix_parityENAcc 49
91#define ix_sspAcc 51
92#define ix_timeSyncAcc 52
93#define ix_i2c 53
94
95#define ix_codelets_uartAcc 21
96#define ix_codelets_timers 22
97#define ix_codelets_atm 23
98#define ix_codelets_ethAal5App 24
99#define ix_codelets_demoUtils 26
100#define ix_codelets_usb 27
101#define ix_codelets_hssAcc 28
102#define ix_codelets_dmaAcc 40
103#define ix_codelets_cryptoAcc 41
104#define ix_codelets_perfProfAcc 42
105#define ix_codelets_ethAcc 43
106#define ix_codelets_parityENAcc 54
107#define ix_codelets_timeSyncAcc 55
108
109
110#endif /* IxOsalOsIxp400CustomizedMapping_H */
111
112
113/***************************
114 * osal
115 ***************************/
116#if (IX_COMPONENT_NAME == ix_osal)
117
118#define IX_OSAL_LE_AC_MAPPING
119
120#endif /* osal */
121
122/***************************
123 * dmaAcc
124 ***************************/
125#if (IX_COMPONENT_NAME == ix_dmaAcc)
126
127#define IX_OSAL_LE_AC_MAPPING
128
129#endif /* dmaAcc */
130
131/***************************
132 * atmdAcc
133 ***************************/
134#if (IX_COMPONENT_NAME == ix_atmdAcc)
135
136#define IX_OSAL_LE_AC_MAPPING
137
138#endif /* atmdAcc */
139
140/***************************
141 * atmsch
142 ***************************/
143#if (IX_COMPONENT_NAME == ix_atmsch)
144
145#define IX_OSAL_LE_AC_MAPPING
146
147#endif /* atmsch */
148
149/***************************
150 * ethAcc
151 ***************************/
152#if (IX_COMPONENT_NAME == ix_ethAcc)
153
154#define IX_OSAL_LE_AC_MAPPING
155
156#endif /* ethAcc */
157
158/***************************
159 * npeMh
160 ***************************/
161#if (IX_COMPONENT_NAME == ix_npeMh)
162
163#define IX_OSAL_LE_AC_MAPPING
164
165#endif /* npeMh */
166
167/***************************
168 * qmgr
169 ***************************/
170#if (IX_COMPONENT_NAME == ix_qmgr)
171
172#define IX_OSAL_LE_DC_MAPPING
173
174#endif /* qmgr */
175
176/***************************
177 * npeDl
178 ***************************/
179#if (IX_COMPONENT_NAME == ix_npeDl)
180
181#define IX_OSAL_LE_AC_MAPPING
182
183#endif /* npeDl */
184
185/***************************
186 * atmm
187 ***************************/
188#if (IX_COMPONENT_NAME == ix_atmm)
189
190#define IX_OSAL_LE_AC_MAPPING
191
192#endif /* atmm */
193
194/***************************
195 * ethMii
196 ***************************/
197#if (IX_COMPONENT_NAME == ix_ethMii)
198
199#define IX_OSAL_LE_AC_MAPPING
200
201#endif /* ethMii */
202
203
204/***************************
205 * adsl
206 ***************************/
207#if (IX_COMPONENT_NAME == ix_adsl)
208
209#define IX_OSAL_LE_AC_MAPPING
210
211#endif /* adsl */
212
213/***************************
214 * usb
215 ***************************/
216#if (IX_COMPONENT_NAME == ix_usb)
217
218#define IX_OSAL_LE_AC_MAPPING
219
220#endif /* usb */
221
222/***************************
223 * uartAcc
224 ***************************/
225#if (IX_COMPONENT_NAME == ix_uartAcc)
226
227#define IX_OSAL_LE_AC_MAPPING
228
229#endif /* uartAcc */
230
231/***************************
232 * featureCtrl
233 ***************************/
234#if (IX_COMPONENT_NAME == ix_featureCtrl)
235
236#define IX_OSAL_LE_AC_MAPPING
237
238#endif /* featureCtrl */
239
240/***************************
241 * cryptoAcc
242 ***************************/
243#if (IX_COMPONENT_NAME == ix_cryptoAcc)
244
245#define IX_OSAL_LE_AC_MAPPING
246
247#endif /* cryptoAcc */
248
249/***************************
250 * codelets_usb
251 ***************************/
252#if (IX_COMPONENT_NAME == ix_codelets_usb)
253
254#define IX_OSAL_LE_AC_MAPPING
255
256#endif /* codelets_usb */
257
258
259/***************************
260 * codelets_uartAcc
261 ***************************/
262#if (IX_COMPONENT_NAME == ix_codelets_uartAcc)
263
264#define IX_OSAL_LE_AC_MAPPING
265
266#endif /* codelets_uartAcc */
267
268
269
270/***************************
271 * codelets_timers
272 ***************************/
273#if (IX_COMPONENT_NAME == ix_codelets_timers)
274
275#define IX_OSAL_LE_AC_MAPPING
276
277#endif /* codelets_timers */
278
279/***************************
280 * codelets_atm
281 ***************************/
282#if (IX_COMPONENT_NAME == ix_codelets_atm)
283
284#define IX_OSAL_LE_AC_MAPPING
285
286#endif /* codelets_atm */
287
288/***************************
289 * codelets_ethAal5App
290 ***************************/
291#if (IX_COMPONENT_NAME == ix_codelets_ethAal5App)
292
293#define IX_OSAL_LE_AC_MAPPING
294
295#endif /* codelets_ethAal5App */
296
297/***************************
298 * codelets_ethAcc
299 ***************************/
300#if (IX_COMPONENT_NAME == ix_codelets_ethAcc)
301
302#define IX_OSAL_LE_AC_MAPPING
303
304#endif /* codelets_ethAcc */
305
306
307/***************************
308 * codelets_demoUtils
309 ***************************/
310#if (IX_COMPONENT_NAME == ix_codelets_demoUtils)
311
312#define IX_OSAL_LE_AC_MAPPING
313
314#endif /* codelets_demoUtils */
315
316
317
318/***************************
319 * perfProfAcc
320 ***************************/
321#if (IX_COMPONENT_NAME == ix_perfProfAcc)
322
323#define IX_OSAL_LE_AC_MAPPING
324
325#endif /* perfProfAcc */
326
327
328/***************************
329 * unloadAcc
330 ***************************/
331#if (IX_COMPONENT_NAME == ix_unloadAcc)
332
333#define IX_OSAL_LE_AC_MAPPING
334
335#endif /* unloadAcc */
336
337
338
339
340
341/***************************
342 * parityENAcc
343 ***************************/
344#if (IX_COMPONENT_NAME == ix_parityENAcc)
345
346#define IX_OSAL_LE_AC_MAPPING
347
348#endif /* parityENAcc */
349
350/***************************
351 * codelets_parityENAcc
352 ***************************/
353#if (IX_COMPONENT_NAME == ix_codelets_parityENAcc)
354
355#define IX_OSAL_LE_AC_MAPPING
356
357#endif /* codelets_parityENAcc */
358
359
360
361
362/***************************
363 * timeSyncAcc
364 ***************************/
365#if (IX_COMPONENT_NAME == ix_timeSyncAcc)
366
367#define IX_OSAL_LE_AC_MAPPING
368
369#endif /* timeSyncAcc */
370
371
372/***************************
373 * codelets_timeSyncAcc
374 ***************************/
375#if (IX_COMPONENT_NAME == ix_codelets_timeSyncAcc)
376
377#define IX_OSAL_LE_AC_MAPPING
378
379#endif /* codelets_timeSyncAcc */
380
381
382
383
384/***************************
385 * i2c
386 ***************************/
387#if (IX_COMPONENT_NAME == ix_i2c)
388
389#define IX_OSAL_LE_AC_MAPPING
390
391#endif /* i2c */
392
393
394
395/***************************
396 * sspAcc
397 ***************************/
398#if (IX_COMPONENT_NAME == ix_sspAcc)
399
400#define IX_OSAL_LE_AC_MAPPING
401
402#endif /* sspAcc */
403
404