summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common
AgeCommit message (Collapse)Author
2025-12-28[clock_time] Fix rt_timespec_to_tick availability for POSIX semaphorescopilot/refactor-hwtimer-ktime-cputimecopilot-swe-agent[bot]
- Moved rt_timespec_to_tick outside of RT_USING_CLOCK_TIME guard - Function now available with just RT_USING_POSIX_CLOCK defined - Fixes undefined reference error when building with POSIX semaphores - Maintains backward compatibility with configurations that don't use clock_time yet Co-authored-by: BernardXiong <[email protected]>
2025-12-04[clock_time] Remove compatibility layers and refactor to direct implementationcopilot-swe-agent[bot]
- Removed cputime_compat.c and ktime_compat.c - Created clock_time_cputime.c for CPU time APIs (clock_cpu_*, rt_cputime_*) - Created clock_time_boottime.c for boottime APIs (rt_boottime_*) - Created stub cputime.h header for BSP compatibility - Removed all compatibility type definitions from clock_time.h - Removed compatibility Kconfig options - Updated SConscript to build new files - Replaced all rt_ktime_hrtimer_* calls with rt_clock_hrtimer_* in ctime.c - Replaced all rt_ktime_* functions with rt_clock_* equivalents - Simplified nanosleep() to use rt_clock_ndelay() directly Co-authored-by: BernardXiong <[email protected]>
2025-12-04[clock_time] Remove old subsystems and update to use only clock_timecopilot-swe-agent[bot]
- Deleted ktime, cputime, and hwtimer directories completely - Removed old header files (ktime.h, cputime.h, cputimer.h, hwtimer.h) - Updated ctime.c to only use RT_USING_CLOCK_TIME (removed RT_USING_KTIME conditionals) - Updated main drivers Kconfig to remove old subsystem entries - Added all legacy API declarations to clock_time.h when compatibility is enabled - Added legacy type definitions (rt_clock_cputime_ops, rt_cputimer) to clock_time.h - Removed ktime.h include from ktime_compat.c (types now in clock_time.h) - All POSIX time APIs (clock_gettime, clock_settime, timer_create, etc.) continue to work Co-authored-by: BernardXiong <[email protected]>
2025-12-04[clock_time] Fix data type compatibility and add libc integrationcopilot-swe-agent[bot]
- Changed hrtimer cnt types from rt_uint64_t to unsigned long for ktime compatibility - Added RT_USING_CLOCK_TIME support to libc/ctime.c - Added proper type definitions for ktime compatibility layer - Fixed all type casts and function signatures Co-authored-by: BernardXiong <[email protected]>
2025-11-16Reorganize Group names in build system for clarity and IDE integration #10923Copilot
2025-10-13compute ns with rt_int64_t instead of int64_t in ctime.cYonggang Luo
2024-12-27[include] RT_USING_MUSLLIBC结构体报错的bug (#9834)godmial
解决了gd32470z-lckfb libc_dirent结构体报错的bug
2024-12-24[libc] uncomment wcwidth for win32Meco Man
2024-12-21[klibc] format codeMeco Man
2024-12-06[components] When rtc is not enabled, use other clock sources instead (#9747)wycwyhwyq
When rtc is not enabled, use other clock sources instead Signed-off-by: wycwyhwyq <[email protected]>
2024-11-17Modify the position of libc_rent definitionrcitachi
2024-11-01[libc] modify function names to resolve naming conflictsrcitachi
2024-09-03[libc] 修复 ctime()死机问题yandld
2024-08-12Add RT_USING_RTC conditional compilation protection in ctimer.cZ8MAN8
Analysis: There is still an omission in the preprocessing control of _control_rtc in 24b0a81 ("Add RT_USING_RTC conditional compilation protection in ctimer.c") Solution: Add RT_USING_RTC preprocessing control to missing _control_rtc Signed-off-by: Shicheng Chu <[email protected]>
2024-08-11Add RT_USING_RTC conditional compilation protection in ctimer.cZ8MAN8
Analysis: RT_USING_RTC preprocessing is used in 47cd52d ("修复不 使能 RT_USING_DEVICE 时编译报错") to control the reference of rtdevice.h, as well as the implementation and call of _control_rtc, but there are some omissions. Solution: Add RT_USING_RTC preprocessing control to missing _control_rtc Signed-off-by: Shicheng Chu <[email protected]> Reviewed-by: Chen Wang <[email protected]>
2024-08-04修复不使能 RT_USING_DEVICE 时编译报错 (#9145)马龙伟
* 修复不使能 RT_USING_DEVICE 时编译报错 * 删除 ctime.c 中多余引用
2024-06-23[components][ktime]support period ktime timeout and multiple ktimer_hrtimer ↵zms123456
(#8972) * support period time * enable multiple ktimer * mv set delay_cnt to hrtimer_start * add ktime debug info * change current_irq_begin to local var * fix bug: setting current timer and setting timeout in driver aren't atomicly * create->init * refactoring ktime
2024-04-22[components][drivers]improve ktimer sleep (#8838)zms123456
improve ktimer sleep
2024-03-30[fixup] aarch64 UMP compiler error (#8677)Shell
Signed-off-by: Shell <[email protected]>
2024-03-28sync smart & dfs (#8672)Shell
Signed-off-by: xqyjlj <[email protected]> Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-02-23🎯 Sync smart & scheduler codes (#8537)Shell
Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-01-02fix some -Wmissing-prototypes warningsMeco Man
2023-12-28[libc] fix undefined warning of rt_memsetMeco Man
2023-11-16[fix] sal build error.guozhanxin
2023-11-16[libc] update ctime.c compatible with old driversguozhanxin
2023-11-01[libc] add comments to the cstdlib.c (#8209)shu-qian
Co-authored-by: sq <[email protected]>
2023-10-31[libc] [ctime] fix rt_timespec_to_tick fun internal data overflow (#8198)kk
2023-10-26[ctime] fixup of data racing (#8187)Shell
Signed-off-by: Shell <[email protected]>
2023-10-25🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)xqyjlj
Signed-off-by: Shell <[email protected]> Co-authored-by: Shell <[email protected]>
2023-10-24[libc][time]修复MDK编译环境下difftime()函数多重定义的问题 ↵梁生
(#8174)
2023-09-20Adapt rt_channel, increase the generality of some rt_channel functionality ↵zmq810150896
on dfs v2, and standardize signalfd (#8047)
2023-08-28[ctime] 避免时区为负数时引入的隐式转换问题TangZhenye
2023-08-23cleanup: fix building warningsgeniusgogo
2023-08-17[libc][posix/io/stdio] rename libc.c as posix/stdio.cMeco Man
2023-08-13[libc][time] pre-support fully version timezone and daylight saving timeMeco Man
2023-08-13[libc][timezone] implement lightweith timezone configurationMeco Man
2023-08-08[libc][time] silence the incorrect type warningMeco Man
2023-08-01[components/ctime] fix the free of rt_work (#7882)Shell
Signed-off-by: Shell <[email protected]>
2023-07-22[smart] fix possible memory leak (#7832)Shell
Signed-off-by: Shell <[email protected]>
2023-07-21[libc][time] cleanup codeMeco Man
2023-07-20✨ feat(ktime): add RT_USING_KTIME to kconfig buildxqyjlj
2023-07-20[component/lwp] support more feature of signal from IEEE Std 1003.1-2017 (#7828)Shell
Signed-off-by: Shell <[email protected]>
2023-07-17[time]时钟框架重构 (#7794)xqyjlj
2023-06-29[libc]更新 libc timer id 分配方式 (#7744)zhkag
2023-06-14[components][time.h]Fixed undefined macro TIMER_ABSTIMEyangjie11
2023-06-13[libc][ctime] move null pointer check before dereferenceMingjie Shen
This null check was redundant because the pointer timep was dereferenced in any case.
2023-06-10[dfs] Add DFS v2.0 (#7606)Bernard Xiong
2023-06-07[simulator] 修复 linux simulator 编译运行失败zhkag
2023-05-31[ctime]解决clock_gettime计算出来的nsec超过1sec的问题goldengrandpa
2023-05-17[add] llvm-arm workflowsguozhanxin