summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-06-21[kernel]add api rt_hw_interrupt_is_disabled (#7706)guo
2023-06-21[Kernel] message 可以返回消息的实际大小 (#7709)zhkag
2023-06-11内核Kconfig增加AMP选项, api:rt_hw_cpu_id和 ↵wangqinglin
RT_USING_SMP宏解耦,增加rt_hw_ipi_send对RT_USING_AMP的依赖
2023-06-10[simulator] 模拟器可以使用 utest 测试框架 (#7644)zhkag
Co-authored-by: Man, Jianting (Meco) <[email protected]>
2023-05-17[include][src] Add API to get object name and thread name (#7507)Fan Yang
Signed-off-by: Fan YANG <[email protected]> Co-authored-by: Man, Jianting (Meco) <[email protected]>
2023-05-17[kernel][src] improve code (#7367)半吊子内核开发
2023-05-16[kernel] fix device_open oflag comparison error. (#7512)guo
2023-05-15[device] Avoid repeated calls device_open interface. (#7476)guo
2023-05-11[bsp][phytium]适配rt-thread5.0.0 版本 (#7441)huanghe
Co-authored-by: 朱耿宇 <[email protected]>
2023-05-05[tty] change driver of tty to device and code cleanup. (#7444)Bernard Xiong
2023-05-01[Better style] Unify the function declaration and definition paramete… (#7432)dejavudwh
2023-04-28[HUST CSE][kernel][thread] 变量 rt_err 没有初始化 (#7401)Pikachu
2023-04-25add rt-smart mode Kconcfig select (#7369)flyingcys
Co-authored-by: chenyisong <[email protected]>
2023-04-25[HUST_CSE] add doxygen missing `@brief` (#7368)Nephr1te
2023-04-22[components/mm] support for scalable memory management (#7277)Shell
* [mm/page] multi-list page manager [mm/page] page debugger [libcpu/aarch64] hugepage support * [quality] remove void-arith * [format] remove kasan codes
2023-04-14[HUST CSE][document] Fix some comments, invalid grouping commands and ↵Xu Biang
warnings in Doxygen. 将Doxygen输入文件(由Doxyfile中的INPUT定义)中的失效Doxygen分组指令(如/*@*/和/*@}*/)更改为有效的分组指令(如/**@*/和/**@}*/);(此处只对INPUT中的文件做了修改,bsp目录下和libcpu目录下存在近万个失效的Doxygen分组指令,但由于不作为文档的输入文件且这些文件过于庞大老旧,没有对这些文件中的无效指令做修改) 将图片文件统一放入了images目录下; 修改了Doxyfile和部分Doxygen注释,使得Doxyfile能够定位到新的代码路径且不受重复实现的影响; 解决了一些注释中的参数名不匹配、参数多余/缺失等问题。
2023-04-13[HUST CSE][src][timer.c]修复 iar 中的类型转换报错n0vic3
2023-04-13[HUST CSE][doxygen][src]Fix the comment in rt_thread_defunct_enqueue (#7228)hiro_655
根据这个issues #6857 在idle.c文件中找到一个函数缺失参数
2023-04-04[kernel] 将rt_thread结构体改为显式继承rt_object (#7131)Shicheng Chu
2023-04-02change version number to v5.0.1褚仕成
2023-04-01change version number to v5.1.0褚仕成
2023-03-31✨ feat(components): add uname supportxqyjlj
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-29[src][scheduler] Split scheduler.c (#7103)螺丝松掉的人
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-13[mutex] mutex may suspend a thread already suspended & fix ceilingprio (#7046)Shell
* [fix] reinsert should not suspend twice * [mutex] fix prioceiling * [mutex] fix prioceiling
2023-03-01Revert "[kernel][timer] 修复在IAR下数据类型报错 (#6804)"Man, Jianting (Meco)
This reverts commit 93a7cff44ccc2921f57dd05096268064bcaadd06.
2023-02-28[Kernel] Fix the alignment issue for memheap.bernard
2023-03-01smart select POSIX timer clockzhkag
2023-02-21fix rt_kprint 64bit errorzhkag
2023-02-21[fix] pipelinewangxiaoyao
2023-02-21[src] add assertion for debuggingwangxiaoyao
2023-02-07rt_device_write/read return data type as rt_ssize_tMeco Man
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-02[doxygen] Fix some warnings in doxygen (#6899)tuduweb
2023-02-02[Kernel] Add Smart ID in logo show (#6898)Bernard Xiong
2023-01-19[doxygen][src] Fix the comment in rt_custom_object_createsupperthomas
Signed-off-by: supperthomas <[email protected]>
2023-01-12modify RT_ALIGN_SIZE as 8 by defaultMeco Man
2023-01-08[rt-smart] kernel virtual memory management layer (#6809)Shell
synchronize virtual memory system works. adding kernel virtual memory management layer for page-based MMU enabled architecture porting libcpu MMU codes porting lwp memory related codes
2023-01-02[kernel][timer] 修复在IAR下数据类型报错 (#6804)Man, Jianting (Meco)
2022-12-26[kernel] RT_NAME_MAX set the range from 1Meco Man
RT_NAME_MAX为0是nano中使用,完整版中不支持const name
2022-12-20[kenel] add static name for rt_object (#6422)Man, Jianting (Meco)
增加静态object 名字,用户可以根据内存实际使用情况决定使用动态还是静态。适用于资源极度受限的情况下使用。该功能在RT-Thread完整版本中不常用,主要用于RT-Thread Nano,以缩减对内存的占用。由于没有动态拼接支持,在静态名字下,空闲线程的名字在多核时将命名成相同的名字。
2022-12-20[smart/aarch64] code sync (#6750)Shell
* [smart/aarch64] sync aarch64
2022-12-16[rt-smart] 弱化 RT_USING_LWP,使用 RT_USING_SMART 作为宏配置 (#6740)guo
* [dfs] sync cromfs * [rt-smart]Weaken RT_USING_LWP, use RT_USING_SMART as macro configuration * [format] fix some format issue.
2022-12-11[rtdef] use lower-case to define attributes (#6728)Man, Jianting (Meco)
* [rtdef] rename RT_WEAK attribute as rt_weak * [rtdef] rename RT_USED attribute as rt_used * [rtdef] rename RT_SECTION attribute as rt_section * [rtdef] rename ALIGN attribute as rt_align * [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-03sync branch rt-smart. (#6641)guo
* Synchronize the code of the rt mart branch to the master branch. * TTY device * Add lwP code from rt-smart * Add vnode in DFS, but DFS will be re-write for rt-smart * There are three libcpu for rt-smart: * arm/cortex-a, arm/aarch64 * riscv64 Co-authored-by: Rbb666 <[email protected]> Co-authored-by: zhkag <[email protected]>
2022-11-21Revert "[kernel] 修正复制name字段时潜在的内存踩踏问题"Man, Jianting (Meco)
This reverts commit 2d17fe736f79860237d8a05c57f9aabcfdab4c87.
2022-11-14[kernel] 优化Sconscript脚本Meco Man
2022-11-14[kernel] 修正复制name字段时潜在的内存踩踏问题Meco Man
2022-11-06Merge pull request #6523 from BernardXiong/nested_mutexBernard Xiong
[Kernel] Add nested mutex feature