Kconfig 1.9 KB

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