Kconfig 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  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 RT_USING_CPU_FFS
  91. if ARCH_ARM_CORTEX_A
  92. config RT_SMP_AUTO_BOOT
  93. bool
  94. default n
  95. config RT_USING_GIC_V2
  96. bool
  97. default n
  98. config RT_USING_GIC_V3
  99. bool
  100. default n
  101. config RT_NO_USING_GIC
  102. bool
  103. default y if !RT_USING_GIC_V2 && !RT_USING_GIC_V3
  104. endif
  105. config ARCH_ARM_CORTEX_A5
  106. bool
  107. select ARCH_ARM_CORTEX_A
  108. config ARCH_ARM_CORTEX_A7
  109. bool
  110. select ARCH_ARM_CORTEX_A
  111. config ARCH_ARM_CORTEX_A8
  112. bool
  113. select ARCH_ARM_CORTEX_A
  114. config ARCH_ARM_CORTEX_A9
  115. bool
  116. select ARCH_ARM_CORTEX_A
  117. config ARCH_ARM_SECURE_MODE
  118. bool "Running in secure mode [ARM Cortex-A]"
  119. default n
  120. depends on ARCH_ARM_CORTEX_A
  121. config RT_BACKTRACE_FUNCTION_NAME
  122. bool "To show function name when backtrace."
  123. default n
  124. depends on ARCH_ARM_CORTEX_A
  125. config ARCH_ARMV8
  126. bool
  127. select ARCH_ARM
  128. select ARCH_ARM_MMU
  129. config ARCH_MIPS
  130. bool
  131. config ARCH_MIPS64
  132. bool
  133. select ARCH_CPU_64BIT
  134. config ARCH_MIPS_XBURST
  135. bool
  136. select ARCH_MIPS
  137. config ARCH_ANDES
  138. bool
  139. config ARCH_CSKY
  140. bool
  141. config ARCH_POWERPC
  142. bool
  143. config ARCH_RISCV
  144. bool
  145. config ARCH_RISCV_FPU
  146. bool
  147. config ARCH_RISCV_FPU_S
  148. select ARCH_RISCV_FPU
  149. bool
  150. config ARCH_RISCV_FPU_D
  151. select ARCH_RISCV_FPU
  152. bool
  153. config ARCH_RISCV32
  154. select ARCH_RISCV
  155. bool
  156. config ARCH_RISCV64
  157. select ARCH_RISCV
  158. select ARCH_CPU_64BIT
  159. bool
  160. config ARCH_IA32
  161. bool
  162. config ARCH_TIDSP
  163. bool
  164. config ARCH_TIDSP_C28X
  165. bool
  166. select ARCH_TIDSP
  167. select ARCH_CPU_STACK_GROWS_UPWARD
  168. config ARCH_HOST_SIMULATOR
  169. bool
  170. config ARCH_CPU_STACK_GROWS_UPWARD
  171. bool
  172. default n