Kconfig 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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_CONSOLE_INPUT_BUFFER_SIZE
  27. int "The input buffer size of lwp console device"
  28. default 1024
  29. config LWP_TID_MAX_NR
  30. int "The maximum number of lwp thread id"
  31. default 64
  32. config LWP_ENABLE_ASID
  33. bool "The switch of ASID feature"
  34. depends on ARCH_ARM_CORTEX_A
  35. default y
  36. if ARCH_MM_MMU
  37. config RT_LWP_SHM_MAX_NR
  38. int "The maximum number of shared memory"
  39. default 64
  40. endif
  41. if ARCH_MM_MPU
  42. config RT_LWP_MPU_MAX_NR
  43. int "The maximum number of mpu region"
  44. default 2
  45. config RT_LWP_USING_SHM
  46. bool "Enable shared memory"
  47. default y
  48. endif
  49. menuconfig RT_USING_LDSO
  50. bool "LDSO: dynamic load shared objects"
  51. depends on RT_USING_DFS_V2
  52. select RT_USING_PAGECACHE
  53. default y
  54. if RT_USING_LDSO
  55. config ELF_DEBUG_ENABLE
  56. bool "Enable ldso debug"
  57. default n
  58. config ELF_LOAD_RANDOMIZE
  59. bool "Enable random load address"
  60. default n
  61. endif
  62. rsource "terminal/Kconfig"
  63. endif