Kconfig 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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 n
  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. config LWP_UNIX98_PTY
  44. bool "The unix98 PTY support"
  45. default n
  46. if LWP_UNIX98_PTY
  47. config LWP_PTY_INPUT_BFSZ
  48. int "The unix98 PTY input buffer size"
  49. default 1024
  50. config LWP_PTY_PTS_SIZE
  51. int "The unix98 PTY device max num"
  52. default 3
  53. config LWP_PTY_USING_DEBUG
  54. bool "The unix98 PTY debug output"
  55. default n
  56. endif
  57. menuconfig RT_USING_LDSO
  58. bool "LDSO: dynamic load shared objects"
  59. default n
  60. if RT_USING_LDSO
  61. config ELF_DEBUG_ENABLE
  62. bool "Enable ldso debug"
  63. default n
  64. config ELF_LOAD_RANDOMIZE
  65. bool "Enable random load address"
  66. default n
  67. endif
  68. endif