Kconfig 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  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 0xc0000000 if ARCH_ARM
  66. default 0x80000000 if ARCH_RISCV
  67. depends on ARCH_MM_MMU
  68. config PV_OFFSET
  69. hex "The offset of kernel physical address and virtural address"
  70. default 0xa0000000 if ARCH_ARM
  71. default 0x0 if ARCH_RISCV
  72. depends on ARCH_MM_MMU
  73. config RT_IOREMAP_LATE
  74. bool "Support to create IO mapping in the kernel address space after system initlalization."
  75. default n
  76. depends on ARCH_ARM_CORTEX_A
  77. depends on ARCH_MM_MMU
  78. endif
  79. config ARCH_ARM_ARM9
  80. bool
  81. select ARCH_ARM
  82. config ARCH_ARM_ARM11
  83. bool
  84. select ARCH_ARM
  85. config ARCH_ARM_CORTEX_A
  86. bool
  87. select ARCH_ARM
  88. select RT_USING_CPU_FFS
  89. if ARCH_ARM_CORTEX_A
  90. config RT_SMP_AUTO_BOOT
  91. bool
  92. default n
  93. config RT_USING_GIC_V2
  94. bool
  95. default n
  96. config RT_USING_GIC_V3
  97. bool
  98. default n
  99. config RT_NO_USING_GIC
  100. bool
  101. default y if !RT_USING_GIC_V2 && !RT_USING_GIC_V3
  102. endif
  103. config ARCH_ARM_CORTEX_A5
  104. bool
  105. select ARCH_ARM_CORTEX_A
  106. config ARCH_ARM_CORTEX_A7
  107. bool
  108. select ARCH_ARM_CORTEX_A
  109. config ARCH_ARM_CORTEX_A8
  110. bool
  111. select ARCH_ARM_CORTEX_A
  112. config ARCH_ARM_CORTEX_A9
  113. bool
  114. select ARCH_ARM_CORTEX_A
  115. config ARCH_ARM_SECURE_MODE
  116. bool "Running in secure mode [ARM Cortex-A]"
  117. default n
  118. depends on ARCH_ARM_CORTEX_A
  119. config RT_BACKTRACE_FUNCTION_NAME
  120. bool "To show function name when backtrace."
  121. default n
  122. depends on ARCH_ARM_CORTEX_A
  123. config ARCH_ARMV8
  124. bool
  125. select ARCH_ARM
  126. config ARCH_MIPS
  127. bool
  128. config ARCH_MIPS64
  129. bool
  130. select ARCH_CPU_64BIT
  131. config ARCH_MIPS_XBURST
  132. bool
  133. select ARCH_MIPS
  134. config ARCH_ANDES
  135. bool
  136. config ARCH_CSKY
  137. bool
  138. config ARCH_POWERPC
  139. bool
  140. config ARCH_RISCV
  141. bool
  142. config ARCH_RISCV_FPU
  143. bool
  144. config ARCH_RISCV_FPU_S
  145. select ARCH_RISCV_FPU
  146. bool
  147. config ARCH_RISCV_FPU_D
  148. select ARCH_RISCV_FPU
  149. bool
  150. config ARCH_RISCV32
  151. select ARCH_RISCV
  152. bool
  153. config ARCH_RISCV64
  154. select ARCH_RISCV
  155. select ARCH_CPU_64BIT
  156. bool
  157. config ARCH_IA32
  158. bool
  159. config ARCH_TIDSP
  160. bool
  161. config ARCH_TIDSP_C28X
  162. bool
  163. select ARCH_TIDSP
  164. select ARCH_CPU_STACK_GROWS_UPWARD
  165. config ARCH_HOST_SIMULATOR
  166. bool
  167. config ARCH_CPU_STACK_GROWS_UPWARD
  168. bool
  169. default n