Kconfig 3.6 KB

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