Kconfig 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. config RT_USING_LWP
  2. bool "Using light-weight process"
  3. select RT_USING_DFS
  4. select RT_USING_LIBC
  5. select RT_USING_POSIX_CLOCKTIME
  6. depends on ARCH_ARM_CORTEX_M || ARCH_ARM_ARM9 || ARCH_ARM_CORTEX_A || ARCH_RISCV64
  7. default n
  8. help
  9. The lwP is a light weight process running in user mode.
  10. if RT_USING_LWP
  11. config RT_LWP_MAX_NR
  12. int "The max number of light-weight process"
  13. default 30
  14. endif
  15. config LWP_TASK_STACK_SIZE
  16. int "The lwp thread kernel stack size"
  17. default 16384
  18. depends on RT_USING_LWP
  19. config RT_USING_GDBSERVER
  20. bool "Using gdbserver"
  21. default y
  22. depends on RT_USING_USERSPACE
  23. config RT_CH_MSG_MAX_NR
  24. int "The maximum number of channel messages"
  25. default 1024
  26. depends on RT_USING_LWP
  27. config RT_LWP_SHM_MAX_NR
  28. int "The maximum number of shared memory"
  29. default 64
  30. depends on RT_USING_LWP
  31. config LWP_CONSOLE_INPUT_BUFFER_SIZE
  32. int "The input buffer size of lwp console device"
  33. default 1024
  34. depends on RT_USING_LWP
  35. config LWP_TID_MAX_NR
  36. int "The maximum number of lwp thread id"
  37. default 64
  38. depends on RT_USING_LWP
  39. config LWP_UNIX98_PTY
  40. bool "The unix98 PTY support"
  41. default n
  42. depends on RT_USING_LWP
  43. config LWP_PTY_INPUT_BFSZ
  44. int "The unix98 PTY input buffer size"
  45. default 1024
  46. depends on RT_USING_LWP
  47. depends on LWP_UNIX98_PTY
  48. config LWP_PTY_PTS_SIZE
  49. int "The unix98 PTY device max num"
  50. default 3
  51. depends on RT_USING_LWP
  52. depends on LWP_UNIX98_PTY
  53. config LWP_PTY_USING_DEBUG
  54. bool "The unix98 PTY debug output"
  55. default n
  56. depends on RT_USING_LWP
  57. depends on LWP_UNIX98_PTY