Kconfig 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. if ARCH_ARMV8 && ARCH_CPU_64BIT
  2. menu "AArch64 Architecture Configuration"
  3. config ARCH_TEXT_OFFSET
  4. hex "Text offset"
  5. default 0x200000
  6. config ARCH_RAM_OFFSET
  7. hex "RAM offset"
  8. default 0
  9. config ARCH_SECONDARY_CPU_STACK_SIZE
  10. int "Secondary CPU stack size"
  11. default 4096
  12. config ARCH_HAVE_EFFICIENT_UNALIGNED_ACCESS
  13. bool
  14. default y
  15. endmenu
  16. endif
  17. config ARCH_CPU_64BIT
  18. bool
  19. config RT_USING_CACHE
  20. bool
  21. default n
  22. config RT_USING_HW_ATOMIC
  23. bool
  24. default n
  25. config ARCH_CPU_BIG_ENDIAN
  26. bool
  27. config ARCH_ARM_BOOTWITH_FLUSH_CACHE
  28. bool
  29. default n
  30. config ARCH_CPU_STACK_GROWS_UPWARD
  31. bool
  32. default n
  33. config RT_USING_CPU_FFS
  34. bool
  35. default n
  36. config ARCH_MM_MMU
  37. bool
  38. config ARCH_MM_MPU
  39. bool
  40. config ARCH_ARM
  41. bool
  42. config ARCH_ARM_CORTEX_M
  43. bool
  44. select ARCH_ARM
  45. config ARCH_ARM_CORTEX_R
  46. bool
  47. select ARCH_ARM
  48. config ARCH_ARM_CORTEX_FPU
  49. bool
  50. config ARCH_ARM_CORTEX_SECURE
  51. bool
  52. config ARCH_ARM_CORTEX_M0
  53. bool
  54. select ARCH_ARM_CORTEX_M
  55. config ARCH_ARM_CORTEX_M3
  56. bool
  57. select ARCH_ARM_CORTEX_M
  58. select RT_USING_CPU_FFS
  59. select RT_USING_HW_ATOMIC
  60. config ARCH_ARM_MPU
  61. bool
  62. depends on ARCH_ARM
  63. select ARCH_MM_MPU
  64. config ARCH_ARM_CORTEX_M4
  65. bool
  66. select ARCH_ARM_CORTEX_M
  67. select RT_USING_CPU_FFS
  68. select RT_USING_HW_ATOMIC
  69. config ARCH_ARM_CORTEX_M7
  70. bool
  71. select ARCH_ARM_CORTEX_M
  72. select RT_USING_CPU_FFS
  73. select RT_USING_CACHE
  74. config ARCH_ARM_CORTEX_M85
  75. bool
  76. select ARCH_ARM_CORTEX_M
  77. select RT_USING_CPU_FFS
  78. select RT_USING_HW_ATOMIC
  79. config ARCH_ARM_CORTEX_M23
  80. bool
  81. select ARCH_ARM_CORTEX_M
  82. select RT_USING_HW_ATOMIC
  83. config ARCH_ARM_CORTEX_M33
  84. bool
  85. select ARCH_ARM_CORTEX_M
  86. select RT_USING_CPU_FFS
  87. select RT_USING_HW_ATOMIC
  88. config ARCH_ARM_CORTEX_R
  89. bool
  90. select ARCH_ARM
  91. select RT_USING_HW_ATOMIC
  92. config ARCH_ARM_CORTEX_R52
  93. bool
  94. select ARCH_ARM_CORTEX_R
  95. config ARCH_ARM_MMU
  96. bool
  97. select RT_USING_CACHE
  98. select ARCH_MM_MMU
  99. depends on ARCH_ARM
  100. if RT_USING_SMART
  101. config KERNEL_VADDR_START
  102. hex "The virtural address of kernel start"
  103. default 0xffff000000000000 if ARCH_ARMV8
  104. default 0xc0000000 if ARCH_ARM
  105. default 0x80000000 if ARCH_RISCV
  106. depends on ARCH_MM_MMU
  107. config RT_IOREMAP_LATE
  108. bool "Support to create IO mapping in the kernel address space after system initlalization."
  109. default n
  110. depends on ARCH_ARM_CORTEX_A
  111. depends on ARCH_MM_MMU
  112. endif
  113. config ARCH_ARM_ARM9
  114. bool
  115. select ARCH_ARM
  116. config ARCH_ARM_ARM11
  117. bool
  118. select ARCH_ARM
  119. config ARCH_ARM_CORTEX_A
  120. bool
  121. select ARCH_ARM
  122. select ARCH_ARM_MMU
  123. select RT_USING_CPU_FFS
  124. select RT_USING_HW_ATOMIC
  125. if ARCH_ARM_CORTEX_A
  126. config RT_SMP_AUTO_BOOT
  127. bool
  128. default n
  129. config RT_USING_GIC_V2
  130. bool
  131. default n
  132. config RT_USING_GIC_V3
  133. bool
  134. default n
  135. config RT_NO_USING_GIC
  136. bool
  137. default y if !RT_USING_GIC_V2 && !RT_USING_GIC_V3
  138. endif
  139. config ARCH_ARM_CORTEX_A5
  140. bool
  141. select ARCH_ARM_CORTEX_A
  142. config ARCH_ARM_CORTEX_A7
  143. bool
  144. select ARCH_ARM_CORTEX_A
  145. config ARCH_ARM_CORTEX_A8
  146. bool
  147. select ARCH_ARM_CORTEX_A
  148. config ARCH_ARM_CORTEX_A9
  149. bool
  150. select ARCH_ARM_CORTEX_A
  151. config ARCH_ARM_CORTEX_A55
  152. bool
  153. select ARCH_ARM_CORTEX_A
  154. config ARCH_ARM_SECURE_MODE
  155. bool "Running in secure mode [ARM Cortex-A]"
  156. default n
  157. depends on ARCH_ARM_CORTEX_A
  158. config RT_BACKTRACE_FUNCTION_NAME
  159. bool "To show function name when backtrace."
  160. default n
  161. depends on ARCH_ARM_CORTEX_A
  162. config ARCH_ARMV8
  163. bool
  164. select ARCH_ARM
  165. select ARCH_ARM_MMU
  166. select RT_USING_CPU_FFS
  167. config ARCH_MIPS
  168. bool
  169. config ARCH_MIPS64
  170. bool
  171. select ARCH_CPU_64BIT
  172. config ARCH_MIPS_XBURST
  173. bool
  174. select ARCH_MIPS
  175. config ARCH_ANDES
  176. bool
  177. config ARCH_CSKY
  178. bool
  179. config ARCH_POWERPC
  180. bool
  181. config ARCH_RISCV
  182. bool
  183. config ARCH_RISCV_FPU
  184. bool
  185. config ARCH_RISCV_FPU_S
  186. select ARCH_RISCV_FPU
  187. bool
  188. config ARCH_RISCV_FPU_D
  189. select ARCH_RISCV_FPU
  190. bool
  191. config ARCH_RISCV32
  192. select ARCH_RISCV
  193. bool
  194. config ARCH_RISCV64
  195. select ARCH_RISCV
  196. select ARCH_CPU_64BIT
  197. bool
  198. config ARCH_IA32
  199. bool
  200. config ARCH_TIDSP
  201. bool
  202. config ARCH_TIDSP_C28X
  203. bool
  204. select ARCH_TIDSP
  205. select ARCH_CPU_STACK_GROWS_UPWARD
  206. config ARCH_HOST_SIMULATOR
  207. bool
  208. config ARCH_CPU_STACK_GROWS_UPWARD
  209. bool
  210. default n