Kconfig 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  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 0x80000000 if ARCH_RISCV
  111. depends on ARCH_MM_MMU
  112. config RT_IOREMAP_LATE
  113. bool "Support to create IO mapping in the kernel address space after system initlalization."
  114. default n
  115. depends on ARCH_ARM_CORTEX_A
  116. depends on ARCH_MM_MMU
  117. endif
  118. config ARCH_ARM_ARM9
  119. bool
  120. select ARCH_ARM
  121. config ARCH_ARM_ARM11
  122. bool
  123. select ARCH_ARM
  124. config ARCH_ARM_CORTEX_A
  125. bool
  126. select ARCH_ARM
  127. select ARCH_ARM_MMU
  128. select RT_USING_CPU_FFS
  129. select RT_USING_HW_ATOMIC
  130. if ARCH_ARM_CORTEX_A
  131. config RT_SMP_AUTO_BOOT
  132. bool
  133. default n
  134. config RT_USING_GIC_V2
  135. bool
  136. default n
  137. config RT_USING_GIC_V3
  138. bool
  139. default n
  140. config RT_NO_USING_GIC
  141. bool
  142. default y if !RT_USING_GIC_V2 && !RT_USING_GIC_V3
  143. endif
  144. config ARCH_ARM_CORTEX_A5
  145. bool
  146. select ARCH_ARM_CORTEX_A
  147. config ARCH_ARM_CORTEX_A7
  148. bool
  149. select ARCH_ARM_CORTEX_A
  150. config ARCH_ARM_CORTEX_A8
  151. bool
  152. select ARCH_ARM_CORTEX_A
  153. config ARCH_ARM_CORTEX_A9
  154. bool
  155. select ARCH_ARM_CORTEX_A
  156. config ARCH_ARM_CORTEX_A55
  157. bool
  158. select ARCH_ARM_CORTEX_A
  159. config ARCH_ARM_SECURE_MODE
  160. bool "Running in secure mode [ARM Cortex-A]"
  161. default n
  162. depends on ARCH_ARM_CORTEX_A
  163. config RT_BACKTRACE_FUNCTION_NAME
  164. bool "To show function name when backtrace."
  165. default n
  166. depends on ARCH_ARM_CORTEX_A
  167. config ARCH_ARMV8
  168. bool
  169. select ARCH_ARM
  170. select ARCH_ARM_MMU
  171. select RT_USING_CPU_FFS
  172. config ARCH_MIPS
  173. bool
  174. config ARCH_MIPS64
  175. bool
  176. select ARCH_CPU_64BIT
  177. config ARCH_MIPS_XBURST
  178. bool
  179. select ARCH_MIPS
  180. config ARCH_ANDES
  181. bool
  182. config ARCH_CSKY
  183. bool
  184. config ARCH_POWERPC
  185. bool
  186. config ARCH_RISCV
  187. bool
  188. config ARCH_RISCV_FPU
  189. bool
  190. config ARCH_RISCV_FPU_S
  191. select ARCH_RISCV_FPU
  192. bool
  193. config ARCH_RISCV_FPU_D
  194. select ARCH_RISCV_FPU
  195. bool
  196. config ARCH_RISCV32
  197. select ARCH_RISCV
  198. bool
  199. config ARCH_RISCV64
  200. select ARCH_RISCV
  201. select ARCH_CPU_64BIT
  202. bool
  203. config ARCH_IA32
  204. bool
  205. config ARCH_TIDSP
  206. bool
  207. config ARCH_TIDSP_C28X
  208. bool
  209. select ARCH_TIDSP
  210. select ARCH_CPU_STACK_GROWS_UPWARD
  211. config ARCH_HOST_SIMULATOR
  212. bool
  213. config ARCH_CPU_STACK_GROWS_UPWARD
  214. bool
  215. default n
  216. config ARCH_USING_HW_THREAD_SELF
  217. bool
  218. default n