Kconfig 5.0 KB

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