Kconfig 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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 RT_LWP_MAX_NR
  9. int "The max number of light-weight process"
  10. default 30
  11. config LWP_TASK_STACK_SIZE
  12. int "The lwp thread kernel stack size"
  13. default 16384
  14. config RT_CH_MSG_MAX_NR
  15. int "The maximum number of channel messages"
  16. default 1024
  17. config LWP_CONSOLE_INPUT_BUFFER_SIZE
  18. int "The input buffer size of lwp console device"
  19. default 1024
  20. config LWP_TID_MAX_NR
  21. int "The maximum number of lwp thread id"
  22. default 64
  23. config LWP_ENABLE_ASID
  24. bool "The switch of ASID feature"
  25. depends on ARCH_ARM_CORTEX_A
  26. default y
  27. if ARCH_MM_MMU
  28. config RT_LWP_SHM_MAX_NR
  29. int "The maximum number of shared memory"
  30. default 64
  31. endif
  32. if ARCH_MM_MPU
  33. config RT_LWP_MPU_MAX_NR
  34. int "The maximum number of mpu region"
  35. default 2
  36. config RT_LWP_USING_SHM
  37. bool "Enable shared memory"
  38. default y
  39. endif
  40. config LWP_UNIX98_PTY
  41. bool "The unix98 PTY support"
  42. default n
  43. if LWP_UNIX98_PTY
  44. config LWP_PTY_INPUT_BFSZ
  45. int "The unix98 PTY input buffer size"
  46. default 1024
  47. config LWP_PTY_PTS_SIZE
  48. int "The unix98 PTY device max num"
  49. default 3
  50. config LWP_PTY_USING_DEBUG
  51. bool "The unix98 PTY debug output"
  52. default n
  53. endif
  54. endif