Kconfig 4.7 KB

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