Kconfig 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. config ARCH_CPU_64BIT
  2. bool
  3. config RT_USING_CACHE
  4. bool
  5. default n
  6. config ARCH_CPU_BIG_ENDIAN
  7. bool
  8. config ARCH_ARM_BOOTWITH_FLUSH_CACHE
  9. bool
  10. default n
  11. config ARCH_CPU_STACK_GROWS_UPWARD
  12. bool
  13. default n
  14. config RT_USING_CPU_FFS
  15. bool
  16. default n
  17. config ARCH_MM_MMU
  18. bool
  19. config ARCH_MM_MPU
  20. bool
  21. config ARCH_ARM
  22. bool
  23. config ARCH_ARM_CORTEX_M
  24. bool
  25. select ARCH_ARM
  26. config ARCH_ARM_CORTEX_FPU
  27. bool
  28. config ARCH_ARM_CORTEX_SECURE
  29. bool
  30. config ARCH_ARM_CORTEX_M0
  31. bool
  32. select ARCH_ARM_CORTEX_M
  33. config ARCH_ARM_CORTEX_M3
  34. bool
  35. select ARCH_ARM_CORTEX_M
  36. select RT_USING_CPU_FFS
  37. config ARCH_ARM_MPU
  38. bool
  39. depends on ARCH_ARM
  40. select ARCH_MM_MPU
  41. config ARCH_ARM_CORTEX_M4
  42. bool
  43. select ARCH_ARM_CORTEX_M
  44. select RT_USING_CPU_FFS
  45. config ARCH_ARM_CORTEX_M7
  46. bool
  47. select ARCH_ARM_CORTEX_M
  48. select RT_USING_CPU_FFS
  49. select RT_USING_CACHE
  50. config ARCH_ARM_CORTEX_M33
  51. bool
  52. select ARCH_ARM_CORTEX_M
  53. select RT_USING_CPU_FFS
  54. config ARCH_ARM_CORTEX_R
  55. bool
  56. select ARCH_ARM
  57. config ARCH_ARM_MMU
  58. bool
  59. select RT_USING_CACHE
  60. select ARCH_MM_MMU
  61. depends on ARCH_ARM
  62. if RT_USING_SMART
  63. config KERNEL_VADDR_START
  64. hex "The virtural address of kernel start"
  65. default 0xffff000000000000 if ARCH_ARMV8
  66. default 0xc0000000 if ARCH_ARM
  67. default 0x80000000 if ARCH_RISCV
  68. depends on ARCH_MM_MMU
  69. config PV_OFFSET
  70. hex "The offset of kernel physical address and virtural address"
  71. default 0x1000040000000 if ARCH_ARMV8
  72. default 0xa0000000 if ARCH_ARM
  73. default 0x0 if ARCH_RISCV
  74. depends on ARCH_MM_MMU
  75. config RT_IOREMAP_LATE
  76. bool "Support to create IO mapping in the kernel address space after system initlalization."
  77. default n
  78. depends on ARCH_ARM_CORTEX_A
  79. depends on ARCH_MM_MMU
  80. endif
  81. config ARCH_ARM_ARM9
  82. bool
  83. select ARCH_ARM
  84. config ARCH_ARM_ARM11
  85. bool
  86. select ARCH_ARM
  87. config ARCH_ARM_CORTEX_A
  88. bool
  89. select ARCH_ARM
  90. select ARCH_ARM_MMU
  91. select RT_USING_CPU_FFS
  92. if ARCH_ARM_CORTEX_A
  93. config RT_SMP_AUTO_BOOT
  94. bool
  95. default n
  96. config RT_USING_GIC_V2
  97. bool
  98. default n
  99. config RT_USING_GIC_V3
  100. bool
  101. default n
  102. config RT_NO_USING_GIC
  103. bool
  104. default y if !RT_USING_GIC_V2 && !RT_USING_GIC_V3
  105. endif
  106. config ARCH_ARM_CORTEX_A5
  107. bool
  108. select ARCH_ARM_CORTEX_A
  109. config ARCH_ARM_CORTEX_A7
  110. bool
  111. select ARCH_ARM_CORTEX_A
  112. config ARCH_ARM_CORTEX_A8
  113. bool
  114. select ARCH_ARM_CORTEX_A
  115. config ARCH_ARM_CORTEX_A9
  116. bool
  117. select ARCH_ARM_CORTEX_A
  118. config ARCH_ARM_SECURE_MODE
  119. bool "Running in secure mode [ARM Cortex-A]"
  120. default n
  121. depends on ARCH_ARM_CORTEX_A
  122. config RT_BACKTRACE_FUNCTION_NAME
  123. bool "To show function name when backtrace."
  124. default n
  125. depends on ARCH_ARM_CORTEX_A
  126. config ARCH_ARMV8
  127. bool
  128. select ARCH_ARM
  129. select ARCH_ARM_MMU
  130. config ARCH_MIPS
  131. bool
  132. config ARCH_MIPS64
  133. bool
  134. select ARCH_CPU_64BIT
  135. config ARCH_MIPS_XBURST
  136. bool
  137. select ARCH_MIPS
  138. config ARCH_ANDES
  139. bool
  140. config ARCH_CSKY
  141. bool
  142. config ARCH_POWERPC
  143. bool
  144. config ARCH_RISCV
  145. bool
  146. config ARCH_RISCV_FPU
  147. bool
  148. config ARCH_RISCV_FPU_S
  149. select ARCH_RISCV_FPU
  150. bool
  151. config ARCH_RISCV_FPU_D
  152. select ARCH_RISCV_FPU
  153. bool
  154. config ARCH_RISCV32
  155. select ARCH_RISCV
  156. bool
  157. config ARCH_RISCV64
  158. select ARCH_RISCV
  159. select ARCH_CPU_64BIT
  160. bool
  161. config ARCH_IA32
  162. bool
  163. config ARCH_TIDSP
  164. bool
  165. config ARCH_TIDSP_C28X
  166. bool
  167. select ARCH_TIDSP
  168. select ARCH_CPU_STACK_GROWS_UPWARD
  169. config ARCH_HOST_SIMULATOR
  170. bool
  171. config ARCH_CPU_STACK_GROWS_UPWARD
  172. bool
  173. default n