IxOsalOsIxp400CustomizedMapping.h 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404
  1. /**
  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. #ifndef IxOsalOsIxp400CustomizedMapping_H
  54. #define IxOsalOsIxp400CustomizedMapping_H
  55. /*
  56. * only include this file in Little Endian
  57. */
  58. #if defined (IX_OSAL_LINUX_BE)
  59. #error Only include IxOsalOsIxp400CustomizedMapping.h in Little Endian
  60. #endif
  61. /*
  62. * Components don't have to be in this list if
  63. * the default mapping is OK.
  64. */
  65. #define ix_osal 1
  66. #define ix_dmaAcc 2
  67. #define ix_atmdAcc 3
  68. #define ix_atmsch 5
  69. #define ix_ethAcc 6
  70. #define ix_npeMh 7
  71. #define ix_qmgr 8
  72. #define ix_npeDl 9
  73. #define ix_atmm 10
  74. #define ix_hssAcc 11
  75. #define ix_ethDB 12
  76. #define ix_ethMii 13
  77. #define ix_timerCtrl 14
  78. #define ix_adsl 15
  79. #define ix_usb 16
  80. #define ix_uartAcc 17
  81. #define ix_featureCtrl 18
  82. #define ix_cryptoAcc 19
  83. #define ix_unloadAcc 33
  84. #define ix_perfProfAcc 34
  85. #define ix_parityENAcc 49
  86. #define ix_sspAcc 51
  87. #define ix_timeSyncAcc 52
  88. #define ix_i2c 53
  89. #define ix_codelets_uartAcc 21
  90. #define ix_codelets_timers 22
  91. #define ix_codelets_atm 23
  92. #define ix_codelets_ethAal5App 24
  93. #define ix_codelets_demoUtils 26
  94. #define ix_codelets_usb 27
  95. #define ix_codelets_hssAcc 28
  96. #define ix_codelets_dmaAcc 40
  97. #define ix_codelets_cryptoAcc 41
  98. #define ix_codelets_perfProfAcc 42
  99. #define ix_codelets_ethAcc 43
  100. #define ix_codelets_parityENAcc 54
  101. #define ix_codelets_timeSyncAcc 55
  102. #endif /* IxOsalOsIxp400CustomizedMapping_H */
  103. /***************************
  104. * osal
  105. ***************************/
  106. #if (IX_COMPONENT_NAME == ix_osal)
  107. #define IX_OSAL_LE_AC_MAPPING
  108. #endif /* osal */
  109. /***************************
  110. * dmaAcc
  111. ***************************/
  112. #if (IX_COMPONENT_NAME == ix_dmaAcc)
  113. #define IX_OSAL_LE_AC_MAPPING
  114. #endif /* dmaAcc */
  115. /***************************
  116. * atmdAcc
  117. ***************************/
  118. #if (IX_COMPONENT_NAME == ix_atmdAcc)
  119. #define IX_OSAL_LE_AC_MAPPING
  120. #endif /* atmdAcc */
  121. /***************************
  122. * atmsch
  123. ***************************/
  124. #if (IX_COMPONENT_NAME == ix_atmsch)
  125. #define IX_OSAL_LE_AC_MAPPING
  126. #endif /* atmsch */
  127. /***************************
  128. * ethAcc
  129. ***************************/
  130. #if (IX_COMPONENT_NAME == ix_ethAcc)
  131. #define IX_OSAL_LE_AC_MAPPING
  132. #endif /* ethAcc */
  133. /***************************
  134. * npeMh
  135. ***************************/
  136. #if (IX_COMPONENT_NAME == ix_npeMh)
  137. #define IX_OSAL_LE_AC_MAPPING
  138. #endif /* npeMh */
  139. /***************************
  140. * qmgr
  141. ***************************/
  142. #if (IX_COMPONENT_NAME == ix_qmgr)
  143. #define IX_OSAL_LE_DC_MAPPING
  144. #endif /* qmgr */
  145. /***************************
  146. * npeDl
  147. ***************************/
  148. #if (IX_COMPONENT_NAME == ix_npeDl)
  149. #define IX_OSAL_LE_AC_MAPPING
  150. #endif /* npeDl */
  151. /***************************
  152. * atmm
  153. ***************************/
  154. #if (IX_COMPONENT_NAME == ix_atmm)
  155. #define IX_OSAL_LE_AC_MAPPING
  156. #endif /* atmm */
  157. /***************************
  158. * ethMii
  159. ***************************/
  160. #if (IX_COMPONENT_NAME == ix_ethMii)
  161. #define IX_OSAL_LE_AC_MAPPING
  162. #endif /* ethMii */
  163. /***************************
  164. * adsl
  165. ***************************/
  166. #if (IX_COMPONENT_NAME == ix_adsl)
  167. #define IX_OSAL_LE_AC_MAPPING
  168. #endif /* adsl */
  169. /***************************
  170. * usb
  171. ***************************/
  172. #if (IX_COMPONENT_NAME == ix_usb)
  173. #define IX_OSAL_LE_AC_MAPPING
  174. #endif /* usb */
  175. /***************************
  176. * uartAcc
  177. ***************************/
  178. #if (IX_COMPONENT_NAME == ix_uartAcc)
  179. #define IX_OSAL_LE_AC_MAPPING
  180. #endif /* uartAcc */
  181. /***************************
  182. * featureCtrl
  183. ***************************/
  184. #if (IX_COMPONENT_NAME == ix_featureCtrl)
  185. #define IX_OSAL_LE_AC_MAPPING
  186. #endif /* featureCtrl */
  187. /***************************
  188. * cryptoAcc
  189. ***************************/
  190. #if (IX_COMPONENT_NAME == ix_cryptoAcc)
  191. #define IX_OSAL_LE_AC_MAPPING
  192. #endif /* cryptoAcc */
  193. /***************************
  194. * codelets_usb
  195. ***************************/
  196. #if (IX_COMPONENT_NAME == ix_codelets_usb)
  197. #define IX_OSAL_LE_AC_MAPPING
  198. #endif /* codelets_usb */
  199. /***************************
  200. * codelets_uartAcc
  201. ***************************/
  202. #if (IX_COMPONENT_NAME == ix_codelets_uartAcc)
  203. #define IX_OSAL_LE_AC_MAPPING
  204. #endif /* codelets_uartAcc */
  205. /***************************
  206. * codelets_timers
  207. ***************************/
  208. #if (IX_COMPONENT_NAME == ix_codelets_timers)
  209. #define IX_OSAL_LE_AC_MAPPING
  210. #endif /* codelets_timers */
  211. /***************************
  212. * codelets_atm
  213. ***************************/
  214. #if (IX_COMPONENT_NAME == ix_codelets_atm)
  215. #define IX_OSAL_LE_AC_MAPPING
  216. #endif /* codelets_atm */
  217. /***************************
  218. * codelets_ethAal5App
  219. ***************************/
  220. #if (IX_COMPONENT_NAME == ix_codelets_ethAal5App)
  221. #define IX_OSAL_LE_AC_MAPPING
  222. #endif /* codelets_ethAal5App */
  223. /***************************
  224. * codelets_ethAcc
  225. ***************************/
  226. #if (IX_COMPONENT_NAME == ix_codelets_ethAcc)
  227. #define IX_OSAL_LE_AC_MAPPING
  228. #endif /* codelets_ethAcc */
  229. /***************************
  230. * codelets_demoUtils
  231. ***************************/
  232. #if (IX_COMPONENT_NAME == ix_codelets_demoUtils)
  233. #define IX_OSAL_LE_AC_MAPPING
  234. #endif /* codelets_demoUtils */
  235. /***************************
  236. * perfProfAcc
  237. ***************************/
  238. #if (IX_COMPONENT_NAME == ix_perfProfAcc)
  239. #define IX_OSAL_LE_AC_MAPPING
  240. #endif /* perfProfAcc */
  241. /***************************
  242. * unloadAcc
  243. ***************************/
  244. #if (IX_COMPONENT_NAME == ix_unloadAcc)
  245. #define IX_OSAL_LE_AC_MAPPING
  246. #endif /* unloadAcc */
  247. /***************************
  248. * parityENAcc
  249. ***************************/
  250. #if (IX_COMPONENT_NAME == ix_parityENAcc)
  251. #define IX_OSAL_LE_AC_MAPPING
  252. #endif /* parityENAcc */
  253. /***************************
  254. * codelets_parityENAcc
  255. ***************************/
  256. #if (IX_COMPONENT_NAME == ix_codelets_parityENAcc)
  257. #define IX_OSAL_LE_AC_MAPPING
  258. #endif /* codelets_parityENAcc */
  259. /***************************
  260. * timeSyncAcc
  261. ***************************/
  262. #if (IX_COMPONENT_NAME == ix_timeSyncAcc)
  263. #define IX_OSAL_LE_AC_MAPPING
  264. #endif /* timeSyncAcc */
  265. /***************************
  266. * codelets_timeSyncAcc
  267. ***************************/
  268. #if (IX_COMPONENT_NAME == ix_codelets_timeSyncAcc)
  269. #define IX_OSAL_LE_AC_MAPPING
  270. #endif /* codelets_timeSyncAcc */
  271. /***************************
  272. * i2c
  273. ***************************/
  274. #if (IX_COMPONENT_NAME == ix_i2c)
  275. #define IX_OSAL_LE_AC_MAPPING
  276. #endif /* i2c */
  277. /***************************
  278. * sspAcc
  279. ***************************/
  280. #if (IX_COMPONENT_NAME == ix_sspAcc)
  281. #define IX_OSAL_LE_AC_MAPPING
  282. #endif /* sspAcc */