summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-05-21[utest] add device find (#8959)Shell
* [utest] add device find Signed-off-by: Shell <[email protected]> * fixup: add test * fixup: ptr aliasing * quality: meaning parameter --------- Signed-off-by: Shell <[email protected]>
2024-05-17[smart] select console device dynamically (#8949)Shell
* [smart] select console device dynamically - Fixed compiler warning on terminal subsystem for `components/lwp/terminal/terminal.h` - Updated default console setup to dynamically select an appropriate tty device based on the configured console device name. Signed-off-by: Shell <[email protected]> * fixup: remove useless codes --------- Signed-off-by: Shell <[email protected]>
2024-05-16[libcpu/arm64] add C11 atomic ticket spinlock (#8882)Shell
* [libcpu/arm64] add C11 atomic ticket spinlock Replace the former implementation of flag-based spinlock which is unfair Besides, C11 atomic implementation is more readable (it's C anyway), and maintainable. Cause toolchain can use their builtin optimization and tune for different micro-architectures. For example armv8.5 introduces a better instruction. The compiler can help with that when it knows your target platform in support of it. Signed-off-by: Shell <[email protected]> * fixup: RT_CPUS_NR --------- Signed-off-by: Shell <[email protected]>
2024-05-11[hrtimer] fixup use-after-free (#8928)Shell
Signed-off-by: Shell <[email protected]>
2024-05-10[smart] fixup arm64 aspace switch (#8925)Shell
* [smart] fixup arm64 aspace switch Signed-off-by: Shell <[email protected]> * fixup: arm add arch_kernel_mmu_table_get --------- Signed-off-by: Shell <[email protected]>
2024-05-09fix RT_DEBUGING_ASSERTgeniusgogo
2024-05-07[kernel][timer] remove wordy logsMeco Man
2024-05-08[timer] The rt_timer_check and _soft_timer_check functions are merged (#8884)wdfk-prog
2024-05-08[ipc] support of lockless rt_completion (#8887)Shell
* [ipc] lockless rt_completion implementation The new rt_completion implemented by lockless algorithm can improve timer resolution for up to ~12%, compare to sem IPC. Signed-off-by: Shell <[email protected]> * fixup: error * remove useless changes --------- Signed-off-by: Shell <[email protected]>
2024-05-08[src] add rt_hw_cpu_id() wrapper API (#8894)Shell
* [src] add rt_hw_cpu_id() wrapper API rt_hw_cpu_id() is an unsafe API which should not be used by most codes directly. It's error-prone because it must be used in proper context, otherwise it can lead to errors and unpredictable behavior. This patch adds a wrapper API for rt_hw_cpu_id() to address this risk. It includes the context-checking functionality and provides a safer alternative for obtaining CPU IDs, ensuring that it is used correctly within the appropriate context. Signed-off-by: Shell <[email protected]> * fixup UMP * update API & comment * ci: cpp_check --------- Signed-off-by: Shell <[email protected]>
2024-05-06[src][Kconfig]make RT_ASSERT independent of RT_USING_DEUBGzms123456
2024-05-01[kernel] add rt_thread_close()Shell
* [thread] Add rt_thread_close() This patch introduces a new function `rt_thread_close()` to enhances the usability and maintainability by providing a dedicated mechanism for closing threads. - A new function `rt_thread_close()` is added to the API, providing a standardized approach for closing threads. - The `rt_thread_close()` function removes a thread from the thread queue, updates its status to indicate closure, and performs the thread timer detaching which is a embedded timer in thread object. - Additionally, the `rt_thread_detach()` function is modified to utilize `rt_thread_close()` internally, streamlining the thread detachment process. Signed-off-by: Shell <[email protected]>
2024-04-28[src][thread]bind cpu fixup (#8872)zms123456
bind cpu fixup
2024-04-27[mem]When using SLAB, calls to memcheck and memtrace will be abnormal (#8862)wdfk-prog
* [mem]When using SLAB, calls to memcheck and memtrace will be abnormal * [mem]The memtrace printing system does not match the display
2024-04-20[klibc] organize and renmae macros, and add CI checkMeco Man
2024-04-20[kernel] move errno functions into klibcMeco Man
2024-04-19fixup: add Kconfig optionShell
2024-04-19fixup: debugShell
2024-04-19add cpu upShell
2024-04-18[mem] Remove useless code And Update mem documentationwdfk-prog
2024-04-16upgrade RT-Thread version to v5.2.0Meco Man
2024-04-16[fix] 添加创建线程函数时间片参数检查 (#8807)Yaochenger
2024-04-15[components][drivers]fix workqueue bugzms123456
fix workqueue bug
2024-04-13[mem] Modify macro definitions for better code readingwdfk-prog
2024-04-10[src][scheduler]修复 rt_exit_critical_safe 函数错误地使用了返回sp-cai
函数 rt_exit_critical_safe 应是没有返回值的,rt_exit_critical() 也是没返回值的
2024-04-02[kernel]SIGNAL节点分配失败应该返回错误posfilu
2024-03-30[gcc] add footprint information when compilingMeco Man
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-03-20[kernel] remove redundant _scheduler_stack_checkShell
2024-03-20[kernel] move std libc related to rtklibc.hMeco Man
2024-03-19[kernel] fix marcos warning in Keil5Meco Man
2024-03-19[kernel][timer] remove unused _soft_timer_statusMeco Man
which caused warnings when using Keil5
2024-03-06[kernel][timer] remove _timerhead_idx which is unusedMeco Man
2024-03-03[ci][kernel] only GCC use strict checkingMeco Man
2024-03-03[kservice]:修复关闭RT_USING_CONSOLE和RT_USING_FINSH编译有警告的 ↵BreederBai
BUG (#8575)
2024-03-02[fixup] check NULL pointer before access (#8573)Shell
Signed-off-by: Shell <[email protected]>
2024-02-25[kservice] 完善rt_vsnprintf (#8558)Meco Man
2024-02-23🎯 Sync smart & scheduler codes (#8537)Shell
Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-02-20[ci] open ci check with function declaration warning (#8546)Yuqiang Wang
2024-02-20[ci] fix errors under strick compiling modeMeco Man
2024-02-20[kernel][SConscript] add strict warning cflagsMeco Man
2024-02-19[kernel] fix some strict compiling warningsMeco Man
2024-02-10Change copyright information to 2024 🐉 (#8532)Bernard Xiong
2024-01-16[style] renaming to _console_take/releaseShell
2024-01-16[kservice] MT-safe output support (kprintf/kputs)Shell
Signed-off-by: Shell <[email protected]>
2024-01-12[cpu] remove assert for recursion for #8475Shell
Signed-off-by: Shell <[email protected]>
2024-01-09[kernel] fixup of data racing accessing percpu objects (#8475)Shell
Signed-off-by: Shell <[email protected]>
2024-01-05✨ feat: delete thread ref (#8456)xqyjlj
2024-01-02🐞 fix(thread): fix thread sleep (deadlock)xqyjlj
2024-01-02[kernel] support for hook listShell
Signed-off-by: Shell <[email protected]>