Kconfig 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. menuconfig RT_USING_LWP
  2. bool "light-weight process"
  3. depends on RT_USING_SMART
  4. default y
  5. help
  6. The lwP is a light weight process running in user mode.
  7. if RT_USING_LWP
  8. menuconfig LWP_DEBUG
  9. bool "Enable debugging features of LwP"
  10. default y
  11. if LWP_DEBUG
  12. config LWP_DEBUG_INIT
  13. select RT_USING_HOOKLIST
  14. bool "Enable debug mode of init process"
  15. default n
  16. endif
  17. config RT_LWP_MAX_NR
  18. int "The max number of light-weight process"
  19. default 30
  20. config LWP_TASK_STACK_SIZE
  21. int "The lwp thread kernel stack size"
  22. default 16384
  23. config RT_CH_MSG_MAX_NR
  24. int "The maximum number of channel messages"
  25. default 1024
  26. config LWP_TID_MAX_NR
  27. int "The maximum number of lwp thread id"
  28. default 64
  29. config LWP_ENABLE_ASID
  30. bool "The switch of ASID feature"
  31. depends on ARCH_ARM_CORTEX_A
  32. default y
  33. if ARCH_MM_MMU
  34. config RT_LWP_SHM_MAX_NR
  35. int "The maximum number of shared memory"
  36. default 64
  37. config LWP_USING_MPROTECT
  38. bool
  39. default n
  40. help
  41. ARCH has the support of mprotect
  42. endif
  43. if ARCH_MM_MPU
  44. config RT_LWP_MPU_MAX_NR
  45. int "The maximum number of mpu region"
  46. default 2
  47. config RT_LWP_USING_SHM
  48. bool "Enable shared memory"
  49. default y
  50. endif
  51. menuconfig RT_USING_LDSO
  52. bool "LDSO: dynamic load shared objects"
  53. depends on RT_USING_DFS_V2
  54. select RT_USING_PAGECACHE
  55. default y
  56. if RT_USING_LDSO
  57. config ELF_DEBUG_ENABLE
  58. bool "Enable ldso debug"
  59. default n
  60. config ELF_LOAD_RANDOMIZE
  61. bool "Enable random load address"
  62. default n
  63. endif
  64. rsource "terminal/Kconfig"
  65. rsource "vdso/Kconfig"
  66. endif