mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-11-16 12:34:33 +00:00
- Implemented vDSO functionality for the RISC-V architecture, including the necessary source files and linker scripts. - Introduced a new `vdso_sys.c` file for RISC-V, containing functions to handle time retrieval using the vDSO mechanism. - Created architecture-specific linker scripts (`vdso.lds.S`) for both AArch64 and RISC-V. - Updated the build system to support vDSO compilation for RISC-V, including necessary adjustments in `SConstruct` files. - Refactored existing vDSO code to improve compatibility and maintainability across architectures. - Adjusted the maximum number of PTY devices in the terminal configuration from 64 to 32 for better resource management. - Fixed minor issues in existing code, including correcting the path for the vDSO shared library and ensuring proper function definitions.
15 lines
452 B
Plaintext
15 lines
452 B
Plaintext
menuconfig LWP_USING_TERMINAL
|
|
bool "Terminal I/O Subsystem"
|
|
depends on RT_USING_SMART
|
|
default y
|
|
select RT_USING_SERIAL_BYPASS
|
|
|
|
if LWP_USING_TERMINAL
|
|
config LWP_PTY_MAX_PARIS_LIMIT
|
|
int "Max number of pty devices registered at the same time"
|
|
default 32
|
|
help
|
|
This upper limit is set to protect kernel memory from draining
|
|
out by the application if it keeps allocating pty devices.
|
|
endif
|