Kconfig 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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 n
  11. if LWP_DEBUG
  12. config LWP_DEBUG_INIT
  13. select RT_USING_HOOKLIST
  14. bool "Enable debug mode of init process"
  15. depends on LWP_USING_RUNTIME
  16. default y
  17. endif
  18. config LWP_USING_RUNTIME
  19. bool "Using processes runtime environment (INIT process)"
  20. default y
  21. help
  22. Runtime environment provide by init process including boot scripts,
  23. poweroff, shutdown, reboot, etc.
  24. config RT_LWP_MAX_NR
  25. int "The max number of light-weight process"
  26. default 30
  27. config LWP_TASK_STACK_SIZE
  28. int "The lwp thread kernel stack size"
  29. default 16384
  30. config RT_CH_MSG_MAX_NR
  31. int "The maximum number of channel messages"
  32. default 1024
  33. config LWP_TID_MAX_NR
  34. int "The maximum number of lwp thread id"
  35. default 64
  36. config LWP_ENABLE_ASID
  37. bool "The switch of ASID feature"
  38. depends on ARCH_ARM_CORTEX_A
  39. default y
  40. if ARCH_MM_MMU
  41. config RT_LWP_SHM_MAX_NR
  42. int "The maximum number of shared memory"
  43. default 64
  44. config LWP_USING_MPROTECT
  45. bool
  46. default n
  47. help
  48. ARCH has the support of mprotect
  49. endif
  50. if ARCH_MM_MPU
  51. config RT_LWP_MPU_MAX_NR
  52. int "The maximum number of mpu region"
  53. default 2
  54. config RT_LWP_USING_SHM
  55. bool "Enable shared memory"
  56. default y
  57. endif
  58. menuconfig RT_USING_LDSO
  59. bool "LDSO: dynamic load shared objects"
  60. depends on RT_USING_DFS_V2
  61. select RT_USING_PAGECACHE
  62. default y
  63. if RT_USING_LDSO
  64. config ELF_DEBUG_ENABLE
  65. bool "Enable ldso debug"
  66. default n
  67. config ELF_LOAD_RANDOMIZE
  68. bool "Enable random load address"
  69. default n
  70. endif
  71. rsource "terminal/Kconfig"
  72. rsource "vdso/Kconfig"
  73. endif