summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2024-06-20除了bsp之外的Kconfig使用rsource替代sourcelatercomer
2024-06-20[timer]add all soft timer config (#9048)zms123456
* add all soft timer * update wq * add timer test * shield LOG_D
2024-06-13[fix]fix tmpfs bug (#8970)zhuzhuzhu
* first * second * thrid * Update SConscript * tmpfs testcase default n * Update dfs_tmpfs.c * format document --------- Co-authored-by: zhujiale <[email protected]>
2024-06-07[mm] precise & readable mm fault type (#9047)Shell
* [smart] fixup: precise mm fault type Also, fixup arm64 read access fault * arm64: using meaningful macro on trap * fixup: renaming macro
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-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-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-04-18[mem] Remove useless code And Update mem documentationwdfk-prog
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-16[kservice] MT-safe output support (kprintf/kputs)Shell
Signed-off-by: Shell <[email protected]>
2024-01-02[kernel] support for hook listShell
Signed-off-by: Shell <[email protected]>
2023-12-28[examples][tcpserver]打印错误值errnoyangpeng
2023-12-28[examples]更正tcp例程中recv/send返回值判断yangpeng
2023-12-16dfsv2 code tidy. (#8374)geniusgogo
2023-11-02[smart] fixup of lwp recycling and mm varea (#8206)Shell
Signed-off-by: shell <[email protected]> Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2023-10-27[serial_v2]串口设备框架serial_v2在utest下的testcases补充 (#8079)zan319
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-25[smart] replace varea pgmgr and fixup of dfs mmap (#8184)Shell
Signed-off-by: shell <[email protected]> Signed-off-by: Shell <[email protected]>
2023-10-14[components][mm]添加预留内存支持 (#8025)zms123456
2023-10-11[smart] split out part of lwp_new() to lwp_create()Shell
Prev implementation of lwp_new() including the create of lwp object and the pid allocation. But not every lwp object need a pid. So this patch split out the business of lwp_new() to improve the maintainability. Signed-off-by: Shell <[email protected]>
2023-09-26[utest] 更改线程栈的大小,避免栈异常zhkag
2023-09-25[utest] 添加 signal 依赖项wangyuqiang
2023-09-20[utest] 更改 thread_tc 线程栈的大小,避免 64 ↵zhkag
位机器导致的栈异常 (#8057)
2023-09-08[posix]修复消息队列返回长度异常 (#8014)zhkag
2023-08-16[components/mm] add unmap page API (#7834)Shell
Signed-off-by: Shell <[email protected]>
2023-07-25[libcpu/arm] fix race condition with ldrex,strex (#7842)Shell
Signed-off-by: Shell <[email protected]>
2023-06-26[src][components][include]消息队列支持优先级 (#7382)zhkag
2023-06-25[testcases]增加volatile解决优化等级高的情况下,测试不通过� ↵goldengrandpa
�问题 (#7717)
2023-06-21[Kernel] message 可以返回消息的实际大小 (#7709)zhkag
2023-06-19[testcase] correct the file names in sconscirptzhangyan
2023-06-18testcase 修改 (#7688)zhangyan
2023-05-18[HUST CSE][example] fix some typo bugs about 'sucess' and others. (#7528)shandianchengzi
2023-05-16[HUST CSE][examples]Fix undefined behavior 'fclose(NULL)' (#7513)Liu Haoyi
2023-05-14[HUST CSE] fix fgets_tc.c (#7503)chiehwarm
这个文件里存在使用fopen函数后没有关闭文件fclose的问题,而且stream=NULL时是不需要fclose的
2023-05-14[HUST CSE][utest] fix the sizeof incorrect calculation连琦
atoi_tc.c中的"sizeof(test_data[0])" 和atol_tc.c中的"sizeof(test_data1[0]"错误,小于实际数组中的数据个数
2023-05-12[testcase][thread_tc]修复高优化等级时thread测试用例死循环的� ↵goldengrandpa
��题 (#7483)
2023-05-01[HUST CSE][utest] fix the NULL pointer errorLostCivilization
2023-05-01[HUST CSE] 判断条件冗余 (#7430)LostCivilization
2023-04-29[examples]Fixed an issue where fclose was not used after using fopenZ-Xiaoyuan
2023-04-28[HUST CSE] add forced type conversion when using 'realloc','malloc','calloc' ↵zouziyu2002
for better readability
2023-04-23[HUST CSE]Fix if condition statement not closed (#7353)Xuhxx
2023-04-21[HUST CSE]fix closing the same file twiceChef003
2023-03-30[utest][atomic]添加返回值测试 (#7124)Yaochenger
* [utest][atomic]添加返回值测试
2023-03-30[rt-smart] testcase & improvements for memory management (#7099)Shell
* [utest/mm] add testcase for create/init format codes of create/init in components/mm * [libcpu/aarch64] fix user stack check routine * [kservice] export API for utest * [utest/mm] testcase for aspace_map format & modify the files under components/mm related with aspace_map * [lwp/user_mm] add user_map_varea for mmap feature * [mm] rename rt_mm_fault_try_fix to rt_aspace_fault_try_fix * [utest/mm] testcase for synchronization * [mm] modify unmap api to improve throughput * [utest/mm] testcases for cache and varea map * [format] remove extra space * [utest/mm] fix testcase problem in header * [lwp] extend map_user_varea with a flag * [utest/mm] testcase for lwp_map_user_varea * [libcpu/arm/cortex-a] fix kernel space layout * [utest/mm] adjust for armv7 arch
2023-03-23[atomic]添加arm与risc-v下的常用原子操作函数 (#7053)Yaochenger
* Update Kconfig * Update trap_gcc.S * Update bsp/hifive1/drivers/SConscript Co-authored-by: Man, Jianting (Meco) <[email protected]> * Update SConscript * [atomic]提交一份arm与risc-v架构下的常用原子操作函数 * 修改变量类型 * 更新rtatomic.h与atomic_port.c * 更新rt-thread\libcpu\arm\common\atomic_port.c * 更新include/rtatomic.h与libcpu/arm/common/SConscript * 更新include/rtatomic.h * 修正格式与Kconfig * 修正格式与文件结构 * 规范文件格式与文件重命名 * 添加测试用例与CI * 添加函数声明 * 修改virt64/SConscript 添加atomic_riscv.c * 1.规范代码风格 * 2.添加RISC-V64原子指令支持 解决在RV64下编译器将32-bit运算结果扩展为64-bit 导致判断错误 * 添加C11标准库原子操作测试 --------- Co-authored-by: Man, Jianting (Meco) <[email protected]>
2023-03-20[errno code][-RT_ERROR] fix that use RT_ERROR without -Meco Man
2023-03-03[fix] mm bugs (#7010)Shell
* [fix] implementation fault on avl * [fix] mm may free varea allocated statically * [test] add test and benchmark for avl
2023-02-13[ci] fix build error.guozhanxin
2023-02-13add rtsmart ciguozhanxin