summaryrefslogtreecommitdiff
path: root/components/lwp
AgeCommit message (Collapse)Author
2026-06-09chore: align getaddrinfo hints copy flowcopilot/fix-sys-getaddrinfo-bugcopilot-swe-agent[bot]
2026-06-09chore: simplify getaddrinfo user copy checkscopilot-swe-agent[bot]
2026-06-09chore: tighten getaddrinfo user checkscopilot-swe-agent[bot]
2026-06-09chore: clarify getaddrinfo user pointer handlingcopilot-swe-agent[bot]
2026-06-09chore: refine getaddrinfo validation localscopilot-swe-agent[bot]
2026-06-09fix: validate nested getaddrinfo user pointerscopilot-swe-agent[bot]
2026-05-26lwp: fix pid leak on exec failure before task startupyang.zhang
When msh tries to execute a non-ELF path, lwp_execve() may allocate a PID before lwp_load() fails. The old error path only dropped the LWP reference, leaving the PID tree entry pointing to a freed LWP. In an init-less boot flow, this can poison pid 1 after a failed command from msh. A later LWP launch may then treat the stale pid 1 entry as a valid parent LWP, resulting in invalid pgrp/session state and a job-control assertion during process exit. Add lwp_pid_rollback() for exec/spawn failures before the process becomes runnable. Unlike lwp_pid_put(), it always releases the PID lock and does not enter the "no more pid allocation" state when the PID tree becomes empty. Use the rollback helper in lwp_execve() failure paths after PID allocation. Signed-off-by: zhangyang <[email protected]>
2026-04-30完善版权信息rcitach
2026-04-30修改用户态 data 页权限为 ROrcitach
2026-04-30修改锁为 rt_spinlockrcitach
2026-04-30更新 vdso img 校验rcitach
2026-04-30适配 arm 架构rcitach
2026-04-30删除无用函数声明rcitach
2026-04-30添加 vdso readtime 更新逻辑rcitach
2026-04-30style: format code with clang-format [skip ci]rcitach
2026-04-30解决 base_time 和 counter_last 采样不同步产生固定偏差rcitach
2026-04-30更新 vdso 框架rcitach
2026-04-01fix(lwp): reject wrapped user copy rangesAFWEF_147
2026-03-31style: format code with clang-format [skip ci]Telecaster2147
2026-03-31fix(lwp): validate thread priority in sched syscallsAFWEF_147
2026-03-12[lwp/aarch64] Fix macro definition style in reloc.chuangshuhua
Split the merged #define macros on line 13 into separate lines to comply with coding standards and avoid potential preprocessor issues.
2026-02-13chore: fix typo in components and libcputheqengineer
2026-01-31[components][clock_time] Refactor time subsystem around clock_time (#11111)Bernard Xiong
* [components][clock_time] Refactor time subsystem around clock_time Introduce the clock_time core with clock source/event separation, high-resolution scheduling, and boot-time helpers, plus clock_timer adapters for timer peripherals. Remove legacy ktime/cputime/hwtimer implementations and migrate arch and BSP time paths to the new subsystem while keeping POSIX time integration functional. Update drivers, Kconfig/SConscript wiring, documentation, and tests; add clock_time overview docs and align naming to clock_boottime/clock_hrtimer/clock_timer. * [components][clock_time] Use BSP-provided clock timer frequency on riscv64 * [risc-v] Use runtime clock timer frequency for tick and delays * [bsp] Add clock timer frequency hooks for riscv64 boards * [bsp] Update Renesas RA driver doc clock_timer link * [bsp] Sync zynqmp-r5-axu4ev rtconfig after config refresh * [bsp][rk3500] Update rk3500 clock configuration * [bsp][hpmicro] Add rt_hw_us_delay hook and update board delays * [bsp][stm32l496-st-nucleo] enable clock_time for hwtimer sample in ci * [bsp][hpmicro] Fix rtconfig include scope for hpm6750evk Move rtconfig.h include outside the ENET_MULTIPLE_PORT guard for hpm6750evk and hpm6750evk2 so configuration macros are available regardless of ENET settings. * [bsp][raspi3] select clock time for systimer * [bsp][hpm5300evk] Trim trailing blank line * [bsp][hpm5301evklite] Trim trailing blank line * [bsp][hpm5e00evk] Trim trailing blank line * [bsp][hpm6200evk] Trim trailing blank line * [bsp][hpm6300evk] Trim trailing blank line * [bsp][hpm6750evk] Trim trailing blank line * [bsp][hpm6750evk2] Trim trailing blank line * [bsp][hpm6750evkmini] Trim trailing blank line * [bsp][hpm6800evk] Trim trailing blank line * [bsp][hpm6e00evk] Trim trailing blank line * [bsp][nxp] switch lpc178x to gcc and remove mcx timer source * [bsp][stm32] fix the CONFIG_RT_USING_CLOCK_TIME issue. * [docs][clock_time] add clock time documentation * [docs][clock_time] Update clock time subsystem documentation - Update device driver index to use correct page reference - Clarify upper layer responsibilities in architecture overview - Update README to describe POSIX/libc, Soft RTC, and device driver usage - Refine architecture diagram with improved layout and color scheme - Remove obsolete clock_timer.md file * [kernel][utest] Trim trailing space * [clock_time] Fix hrtimer wrap handling * [clock_time] fix the static rt_inline issue * [clock_time] fix the rt_clock_hrtimer_control result issue
2025-11-15doxygen: add comments for lwp shared memory APIsibvqeibob
Add Doxygen-style comments for the lwp shared memory public APIs in components/lwp/lwp_shm.c and the related control structure. This change is documentation-only and does not modify any runtime behavior or logic. Signed-off-by: ibvqeibob <[email protected]>
2025-10-20Fix comment for address_search_head field of lwp structure.ligr
2025-10-20Align annotations of struct fields.ligr
2025-10-20fix structure comments according to doxygen spec.ligr
2025-10-20[components/lwp]add doxygen comment for lwp.c with lwp.h.ligr
2025-10-04[components/lwp]add doxygen comment for lwp futex. (#10763)Guorui Li
2025-09-26[components/lwp]add doxygen comment for lwp_dbg.c.ligr
2025-09-25[components/lwp]add doxygen comment for lwp avl implementation.ligr
2025-09-24[components/lwp]add doxygen comment for lwp_tid.ligr
2025-09-24RT_TIMER_CTRL_SET_TIME only accept rt_tick_t, pass rt_tick_t instead ↵Yonggang Luo
int/rt_int32_t
2025-09-19[components/lwp]add doxygen comment for lwp_pid. #10702Guorui Li
2025-09-14[components/lwp]add doxygen comment for lwp_args. (#10696)Guorui Li
2025-07-23[lwp][rv64] riscv: fix potential signal handler infinite loopYulong Wang
2025-07-23[lwp][rv64] restore tp register in arch_thread_signal_enter to fix user-mode ↵Yulong Wang
memory access
2025-07-07[smart] Optimize error handling after command executionbernard
2025-07-07[smart] rename the Group name to 'lwProcess' and optimize the error handling ↵bernard
for vDSO building.
2025-06-30[vdso] fix the arch/abi flag issue.bernard
2025-06-30[vdso] use the default arch/abi flags in risc-v vDSO building.BernardXiong
2025-05-19[smart] Fix parameter issue when calling the __arch_get_hw_counter function.bernard
2025-05-19[smart] Enhance build script with additional cleanup stepsbernard
2025-05-19[smart] Fix typo in vDSO Kconfig.bernard
2025-05-19[smart] move vdso.c to arch/common folder.bernard
2025-05-19[smart] Add vDSO support for RISC-V architecture and refactor related componentsbernard
- 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.
2025-05-09[component/lwp]add annotation for lwp elf. (#10230)Guorui Li
* [component/lwp]add annotation for lwp elf. * Update components/lwp/lwp_elf.c Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
2025-04-13add RT_THREAD_CTRL_SET_PRIORITYwycwyhwyq
2025-04-13add RT_THREAD_CTRL_SET_PRIORITYwycwyhwyq
2025-02-25feat: mm: added affinity pages allocatorShell
This patch introduces a tagged pages allocator to address the existing problems of page aliasing on specific platforms and the requirement of page coloring. It implements an affinity-id aware page manager by separating the runtime page list into two types: a normal single linked-list and a multi-dimensional affinity-list. Changes: - Introduced tagged pages allocator and managing algorithm for affinity pages list - Modified components to support affinity-id list management - Updated page allocation and freeing functions to handle tagged pages - Added configuration options for page affinity block size and debugging - Modified mmap and elf loading to respect affinity settings - Enhanced page list management to support multi-dimensional affinity-list Signed-off-by: Shell <[email protected]>