Kconfig 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. config LWP_DEBUG
  9. bool "Enable debugging features of LwP"
  10. default y
  11. config RT_LWP_MAX_NR
  12. int "The max number of light-weight process"
  13. default 30
  14. config LWP_TASK_STACK_SIZE
  15. int "The lwp thread kernel stack size"
  16. default 16384
  17. config RT_CH_MSG_MAX_NR
  18. int "The maximum number of channel messages"
  19. default 1024
  20. config LWP_CONSOLE_INPUT_BUFFER_SIZE
  21. int "The input buffer size of lwp console device"
  22. default 1024
  23. config LWP_TID_MAX_NR
  24. int "The maximum number of lwp thread id"
  25. default 64
  26. config LWP_ENABLE_ASID
  27. bool "The switch of ASID feature"
  28. depends on ARCH_ARM_CORTEX_A
  29. default y
  30. if ARCH_MM_MMU
  31. config RT_LWP_SHM_MAX_NR
  32. int "The maximum number of shared memory"
  33. default 64
  34. endif
  35. if ARCH_MM_MPU
  36. config RT_LWP_MPU_MAX_NR
  37. int "The maximum number of mpu region"
  38. default 2
  39. config RT_LWP_USING_SHM
  40. bool "Enable shared memory"
  41. default y
  42. endif
  43. menuconfig RT_USING_LDSO
  44. bool "LDSO: dynamic load shared objects"
  45. depends on RT_USING_DFS_V2
  46. select RT_USING_PAGECACHE
  47. default y
  48. if RT_USING_LDSO
  49. config ELF_DEBUG_ENABLE
  50. bool "Enable ldso debug"
  51. default n
  52. config ELF_LOAD_RANDOMIZE
  53. bool "Enable random load address"
  54. default n
  55. endif
  56. source "$RTT_DIR/components/lwp/terminal/Kconfig"
  57. endif