summaryrefslogtreecommitdiff
path: root/components/lwp/arch/risc-v/common
AgeCommit message (Collapse)Author
2025-12-05[clock_time] Fix all remaining ktime references in codebasecopilot-swe-agent[bot]
- Updated dev_soft_rtc.c: RT_USING_KTIME → RT_USING_CLOCK_TIME - Updated vdso_data.c (risc-v): rt_ktime_boottime_get_ns → rt_clock_time_boottime_ns - Updated vdso_data.c (aarch64): rt_ktime_boottime_get_ns → rt_clock_time_boottime_ns - Updated pic.c: rt_ktime_boottime_get_ns → rt_clock_time_boottime_ns - Updated hwtimer-rockchip_timer.c: All rt_ktime_* → rt_clock_* APIs - Renamed base_ktime_ts to base_clocktime_ts in soft_rtc - All ktime API references replaced with clock_time equivalents Co-authored-by: BernardXiong <[email protected]>
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.