Commit Graph

4363 Commits

Author SHA1 Message Date
Xiang.Lin da55491608
[libc][picolibc] improve gcc picolibc support 2023-11-08 02:09:09 -05:00
xqyjlj fa9b496b2a
feat: fix pid recycling (#8225) 2023-11-06 13:22:27 +08:00
xqyjlj 5ad6a6f2c5
🐞 fix: fix taskset (#8211) 2023-11-02 23:12:44 +08:00
xqyjlj f806d6edd1
🐞 fix(lwip/port/sys_arch): fix spinlock`s deadlock (#8208) 2023-11-02 23:11:56 +08:00
Shell c2036e769a
[smart] fixup of lwp recycling and mm varea (#8206)
Signed-off-by: shell <wangxiaoyao@rt-thread.com>
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2023-11-02 20:23:11 +08:00
xqyjlj 27aac584a5
feat(dfs_v2/cromfs): add cromfs mmap (#8218) 2023-11-02 20:12:20 +08:00
shu-qian c7e0a96f6f
[libc] add comments to the cstdlib.c (#8209)
Co-authored-by: sq <1838545301@qq.com>
2023-11-01 05:31:57 -04:00
kk 1d3fc71c79
[libc] [ctime] fix rt_timespec_to_tick fun internal data overflow (#8198) 2023-10-31 08:59:01 -04:00
kk 7066761510
[dfs][mqueue]Ensure that dev is initialized before mqueue (#8197) 2023-10-30 23:12:42 +08:00
tangzz98 acc66c5479
实现MPU抽象层 (#8080)
- 为RT-Thread设计MPU抽象层,支持ARMV7-M,ARMV8-M架构,让用户使用MPU检测栈溢出等内存问题,实现线程内存隔离
- 在components/mp目录下提供通用的API,libcpu目录下提供各处理器架构的具体实现
- 在STM32U575 NUCLEO, STM32H75 NUCLEO开发板测试通过
2023-10-30 08:24:55 -04:00
Supper Thomas 65623777d5
[action] Doxygen ci fix (#8191) 2023-10-29 13:12:29 -04:00
guo f744d5e6fb
[msh]Optimize list_thread display (#7977) 2023-10-27 10:52:52 +08:00
xiao-mang 6b161bf3d5
update elmfat from r14b to r15 (#8179) 2023-10-26 17:26:48 +08:00
Shell eafb04e011
[ctime] fixup of data racing (#8187)
Signed-off-by: Shell <smokewood@qq.com>
2023-10-26 13:56:27 +08:00
kk 01672f8627
[dfs_v2][mqueue] fix No mqueue mounted (#8189) 2023-10-26 10:43:49 +08:00
xqyjlj 3283f54c7a
🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: Shell <smokewood@qq.com>
2023-10-25 20:31:25 +08:00
Shell 91fc52df36 fixup: merge condition 2023-10-25 18:40:44 +08:00
Shell e94b759160 [quality] fixup: vulnerability in kernel
including out-of-bound access in dfs, and use-after-free in
aspace_traversal

Signed-off-by: Shell <smokewood@qq.com>
2023-10-25 18:40:44 +08:00
Shell fb78a71020
[smart] replace varea pgmgr and fixup of dfs mmap (#8184)
Signed-off-by: shell <smokewood@qq.com>
Signed-off-by: Shell <smokewood@qq.com>
2023-10-25 14:59:48 +08:00
梁生 0f5334586a
[libc][time]修复MDK编译环境下difftime()函数多重定义的问题 (#8174) 2023-10-24 09:12:10 -04:00
xiao-mang 3c7b184f93 add exfat config 2023-10-24 18:02:02 +08:00
xiao-mang 93f350ae1f add exfat config 2023-10-24 18:02:02 +08:00
xiao-mang d3aa7406ed add exfat config 2023-10-24 18:02:02 +08:00
xiao-mang 117d1f6324 add exfat config 2023-10-24 18:02:02 +08:00
shell b40d106bdc [dfs] fixup: file_mmap and page cache
Including cache maintenance, potential dereference of null pointer and
the use-after-free issue in page cache

Signed-off-by: shell <smokewood@qq.com>
2023-10-24 14:49:30 +08:00
xiao-mang 50bb71e458
fix ash ifconfig updown (#8165) 2023-10-24 13:16:29 +08:00
Shell 70a8d1d465
[kservice] improve backtrace service in kernel (#8144)
Signed-off-by: Shell <smokewood@qq.com>
2023-10-21 20:14:45 +08:00
xiao-mang 90c7089d47
fix ash echo (#8150) 2023-10-21 08:41:55 +08:00
geniusgogo 9dd1d73c94 update ldso pagecache kconfig 2023-10-20 12:35:06 -04:00
XYZ 1f05b6b401
[dfs v2] support O_DIRECT and O_SYNC flags (#8155) 2023-10-20 13:24:56 +08:00
zms123456 d01dd05a0c
[kernel][dm]适配新的设备驱动模型 (#8075) 2023-10-18 20:50:30 +08:00
fangjianzhou dd33b31c28
修改virtio.c存在的问题 (#8146) 2023-10-18 08:29:24 +08:00
sp-cai 7f6f086601
[components][i2c]增加通用的软件模拟 I2C (#7850) 2023-10-17 11:24:32 -04:00
geniusgogo ecd29fda60
Sync dfs lwp (#8123) 2023-10-17 13:07:59 +08:00
fangjianzhou 7d64cdcf58
qemu-virt64-aarch64/qemu-virt64-riscv支持SDL2 (#8130) 2023-10-17 13:03:03 +08:00
xqyjlj 1e0f406b4f
feat(dfs_v2/cromfs): add symlink support (#8132) 2023-10-17 09:55:28 +08:00
zms123456 a39da9cb59
[components][mm]添加预留内存支持 (#8025) 2023-10-14 14:10:57 +08:00
Shell 1e7add54d4
[smart] fixup: syscall.c (#8131)
Signed-off-by: shell <wangxiaoyao@rt-thread.com>
2023-10-14 13:09:17 +08:00
Shell 4158c8e88e
[smart] Replace irq disable/enable codes in futex (#7941)
Signed-off-by: Shell <smokewood@qq.com>
2023-10-14 13:07:45 +08:00
xiao-mang 5d16042765
add sys_utimensat (#8124) 2023-10-13 19:21:49 +08:00
zmq810150896 a289ae1b18
Fixed issues with timerfd (#8102) 2023-10-13 19:20:50 +08:00
Shell 8e57b5fdd4
[smart] fixup: lwp_free() (#8126)
Signed-off-by: shell <wangxiaoyao@rt-thread.com>
2023-10-13 14:21:06 +08:00
zmq810150896 e6eddfa711
Fix the problem that when dfs_v2 transmits fd, dentry or vnode does not exist (#8089) 2023-10-12 08:22:46 +08:00
Z8MAN8 19bfdac891 [fix][usb]return data type as rt_ssize_t
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-10-11 12:01:20 -04:00
Shell a300cef2a8 [smart] split out part of lwp_new() to lwp_create()
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 <smokewood@qq.com>
2023-10-11 08:48:06 +08:00
xqyjlj e5c5ec4b2a
🐞 fix(dfs_v2/filesystems/elmfat): fix elm can not exec (#8118) 2023-10-09 13:26:58 +08:00
skychen123 fcd0fecd3e
add sys_setitimer syscall (#8096) 2023-10-08 13:30:04 +08:00
yangpeng 8012c0c9a2 [at]优先判断是否是URC数据 2023-10-08 13:25:28 +08:00
yangpeng c386a2c956 [at]优化at格式化输出,避免多个at client和server输出冲突 2023-10-08 13:25:28 +08:00
xqyjlj 31a2311f64
🌈 style(ktime): mv to components/drivers/ktime (#8103) 2023-09-28 21:34:21 +08:00