Kconfig 4.3 KB

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