Kconfig 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  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_FPU
  46. bool
  47. config ARCH_ARM_CORTEX_SECURE
  48. bool
  49. config ARCH_ARM_CORTEX_M0
  50. bool
  51. select ARCH_ARM_CORTEX_M
  52. config ARCH_ARM_CORTEX_M3
  53. bool
  54. select ARCH_ARM_CORTEX_M
  55. select RT_USING_CPU_FFS
  56. select RT_USING_HW_ATOMIC
  57. config ARCH_ARM_MPU
  58. bool
  59. depends on ARCH_ARM
  60. select ARCH_MM_MPU
  61. config ARCH_ARM_CORTEX_M4
  62. bool
  63. select ARCH_ARM_CORTEX_M
  64. select RT_USING_CPU_FFS
  65. select RT_USING_HW_ATOMIC
  66. config ARCH_ARM_CORTEX_M7
  67. bool
  68. select ARCH_ARM_CORTEX_M
  69. select RT_USING_CPU_FFS
  70. select RT_USING_CACHE
  71. config ARCH_ARM_CORTEX_M85
  72. bool
  73. select ARCH_ARM_CORTEX_M
  74. select RT_USING_CPU_FFS
  75. select RT_USING_HW_ATOMIC
  76. config ARCH_ARM_CORTEX_M23
  77. bool
  78. select ARCH_ARM_CORTEX_M
  79. select RT_USING_HW_ATOMIC
  80. config ARCH_ARM_CORTEX_M33
  81. bool
  82. select ARCH_ARM_CORTEX_M
  83. select RT_USING_CPU_FFS
  84. select RT_USING_HW_ATOMIC
  85. config ARCH_ARM_CORTEX_R
  86. bool
  87. select ARCH_ARM
  88. select RT_USING_HW_ATOMIC
  89. config ARCH_ARM_MMU
  90. bool
  91. select RT_USING_CACHE
  92. select ARCH_MM_MMU
  93. depends on ARCH_ARM
  94. if RT_USING_SMART
  95. config KERNEL_VADDR_START
  96. hex "The virtural address of kernel start"
  97. default 0xffff000000000000 if ARCH_ARMV8
  98. default 0xc0000000 if ARCH_ARM
  99. default 0x80000000 if ARCH_RISCV
  100. depends on ARCH_MM_MMU
  101. config RT_IOREMAP_LATE
  102. bool "Support to create IO mapping in the kernel address space after system initlalization."
  103. default n
  104. depends on ARCH_ARM_CORTEX_A
  105. depends on ARCH_MM_MMU
  106. endif
  107. config ARCH_ARM_ARM9
  108. bool
  109. select ARCH_ARM
  110. config ARCH_ARM_ARM11
  111. bool
  112. select ARCH_ARM
  113. config ARCH_ARM_CORTEX_A
  114. bool
  115. select ARCH_ARM
  116. select ARCH_ARM_MMU
  117. select RT_USING_CPU_FFS
  118. select RT_USING_HW_ATOMIC
  119. if ARCH_ARM_CORTEX_A
  120. config RT_SMP_AUTO_BOOT
  121. bool
  122. default n
  123. config RT_USING_GIC_V2
  124. bool
  125. default n
  126. config RT_USING_GIC_V3
  127. bool
  128. default n
  129. config RT_NO_USING_GIC
  130. bool
  131. default y if !RT_USING_GIC_V2 && !RT_USING_GIC_V3
  132. endif
  133. config ARCH_ARM_CORTEX_A5
  134. bool
  135. select ARCH_ARM_CORTEX_A
  136. config ARCH_ARM_CORTEX_A7
  137. bool
  138. select ARCH_ARM_CORTEX_A
  139. config ARCH_ARM_CORTEX_A8
  140. bool
  141. select ARCH_ARM_CORTEX_A
  142. config ARCH_ARM_CORTEX_A9
  143. bool
  144. select ARCH_ARM_CORTEX_A
  145. config ARCH_ARM_CORTEX_A55
  146. bool
  147. select ARCH_ARM_CORTEX_A
  148. config ARCH_ARM_SECURE_MODE
  149. bool "Running in secure mode [ARM Cortex-A]"
  150. default n
  151. depends on ARCH_ARM_CORTEX_A
  152. config RT_BACKTRACE_FUNCTION_NAME
  153. bool "To show function name when backtrace."
  154. default n
  155. depends on ARCH_ARM_CORTEX_A
  156. config ARCH_ARMV8
  157. bool
  158. select ARCH_ARM
  159. select ARCH_ARM_MMU
  160. select RT_USING_CPU_FFS
  161. config ARCH_MIPS
  162. bool
  163. config ARCH_MIPS64
  164. bool
  165. select ARCH_CPU_64BIT
  166. config ARCH_MIPS_XBURST
  167. bool
  168. select ARCH_MIPS
  169. config ARCH_ANDES
  170. bool
  171. config ARCH_CSKY
  172. bool
  173. config ARCH_POWERPC
  174. bool
  175. config ARCH_RISCV
  176. bool
  177. config ARCH_RISCV_FPU
  178. bool
  179. config ARCH_RISCV_FPU_S
  180. select ARCH_RISCV_FPU
  181. bool
  182. config ARCH_RISCV_FPU_D
  183. select ARCH_RISCV_FPU
  184. bool
  185. config ARCH_RISCV32
  186. select ARCH_RISCV
  187. bool
  188. config ARCH_RISCV64
  189. select ARCH_RISCV
  190. select ARCH_CPU_64BIT
  191. bool
  192. config ARCH_IA32
  193. bool
  194. config ARCH_TIDSP
  195. bool
  196. config ARCH_TIDSP_C28X
  197. bool
  198. select ARCH_TIDSP
  199. select ARCH_CPU_STACK_GROWS_UPWARD
  200. config ARCH_HOST_SIMULATOR
  201. bool
  202. config ARCH_CPU_STACK_GROWS_UPWARD
  203. bool
  204. default n