Shell
470454d201
[components/mm] support for scalable memory management ( #7277 )
...
* [mm/page] multi-list page manager
[mm/page] page debugger
[libcpu/aarch64] hugepage support
* [quality] remove void-arith
* [format] remove kasan codes
2023-04-22 23:59:11 +08:00
朱天龙 (Armink)
69e6c3017b
Utest win ( #7347 )
...
* [tools] Add `--add-rtconfig` args for scons when you want to add macro definitions build time.
* [utilities][utest] Add VS simulator support.
2023-04-22 21:49:20 +08:00
xiaoniaoyou6hua
4f1c3a1472
fix warning ( #7340 )
2023-04-22 09:25:52 +08:00
xqyjlj
fd1413d29b
🎈 perf(components/libc/compilers/common/ctime.c): if define cputime, then CLOCK_REALTIME use cputime ( #7343 )
2023-04-22 09:09:40 +08:00
张世争
3f442bbe4a
[lwp_ipc] support file descriptor transmit ( #7318 )
2023-04-21 13:42:05 +08:00
hiro_655
786dce62c4
[Doxygen][components][net]Fix some comments ( #7280 )
...
修改了doxygen所报告的一些注释中的问题
2023-04-21 01:25:53 -04:00
Man, Jianting (Meco)
279825936b
Update sal_socket.c
2023-04-20 22:54:04 -04:00
Myself
4117872c4c
[SAL][Kconfig]使用网络检测才依赖workqueue
2023-04-20 20:38:18 -04:00
Meco Man
4a7ef40dc7
[serial-v2]fix the data type error
2023-04-19 07:49:46 -04:00
7YZ7
501b22aabe
[HUST CSE] Fix many abnormal symbols in annotations and format code
2023-04-17 22:26:23 -04:00
Hy
7c629d974d
[HUST CSE]NULL POINTER ( #7220 )
...
* avoids the risk of a null pointer
* 将||改成&&来判断断言
There is a possibility of a null pointer
* there is a possibility of a null pointer
* Update components/drivers/fdt/src/dtb_get.c
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
* 已根据代码规范进行修改,谢谢提醒
---------
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-04-17 08:12:27 +08:00
lessone1
2638a2a90c
[components] Wrong order of judgment
2023-04-14 22:51:06 -04:00
Xu Biang
2c98ce4605
[HUST CSE][document] Fix some comments, invalid grouping commands and warnings in Doxygen.
...
将Doxygen输入文件(由Doxyfile中的INPUT定义)中的失效Doxygen分组指令(如/*@*/和/*@}*/)更改为有效的分组指令(如/**@*/和/**@}*/);(此处只对INPUT中的文件做了修改,bsp目录下和libcpu目录下存在近万个失效的Doxygen分组指令,但由于不作为文档的输入文件且这些文件过于庞大老旧,没有对这些文件中的无效指令做修改)
将图片文件统一放入了images目录下;
修改了Doxyfile和部分Doxygen注释,使得Doxyfile能够定位到新的代码路径且不受重复实现的影响;
解决了一些注释中的参数名不匹配、参数多余/缺失等问题。
2023-04-14 12:33:43 -04:00
xqyjlj
8748886987
🐞 fix(components/drivers/cputime/cputimer.c): fix cputimer with signal ( #7247 )
2023-04-14 17:02:42 +08:00
xqyjlj
970c7c6f7a
🐞 fix(components/drivers): fix cpu timer in multithreading ( #7222 )
...
* 🐞 fix(components/drivers): fix cpu timer in multithreading
* 🎈 perf(components): change double to uint64_t
* 🎈 perf(components): add UL suffix
2023-04-13 16:00:19 +08:00
geniusgogo
5bbcb5dc79
fix tmpfs spinlock error. ( #7216 )
2023-04-12 13:12:27 +08:00
True-False-debug
dc24388833
Update sd.c
2023-04-11 23:01:03 -04:00
unknown
582adfb211
[finsh]更正注释
2023-04-10 22:13:03 -04:00
Meco Man
e9bbc2e349
[adc] modify adc channel data type from rt_uint32_t to rt_int8_t
2023-04-08 22:40:37 -04:00
Meco Man
505023b656
[adc] 增加ADC内置通道通用通道号标识
2023-04-08 22:40:37 -04:00
Bernard Xiong
9600b75b55
[DFS] prepare for dfs_v2.0 ( #7200 )
...
* [DFS] prepare for dfs_v2. dfs_fd -> dfs_file; dfs_fnode -> dfs_vnode.
* [BSP] fix code analysis warning
* [smart] fix the pointer overflow.
* code format
* [smart] fix the lwp->lwp_obj checking.
2023-04-08 22:25:51 +08:00
geniusgogo
3ea1ce9e46
Fix nfs ( #7194 )
...
* fixed nfs 64bit arch fault
* change mount cmd support nfs.
2023-04-08 12:22:19 +08:00
Shicheng Chu
93f3cb30e4
[kernel] 将rt_thread结构体改为显式继承rt_object ( #7131 )
2023-04-04 09:06:27 -04:00
Bernard Xiong
23955edf53
[DFS] add Kconfig for dfs-v2.0 ( #7156 )
...
* [DFS] add Kconfig for dfs-v2.0
* [DFS] Optimize the SConscript.
* [dfs] move old dfs to dfs/dfs_v1
2023-04-04 15:02:56 +08:00
Sparks-Pion
accab17fa5
[HUST CSE IoTS&P Lab] [fix] check rt_mutex_create return value ( #7169 )
2023-04-04 00:33:10 -04:00
HUST_lxq
69e5b10e31
[at_socket.c] Fix null pointer vulnerability caused by the variable at_sock ( #7166 )
2023-04-03 23:06:42 +08:00
Lu_Reaper
3a9c5690b1
[AT] Add null pointer check in at_client_get ( #7154 )
...
1. prevent null-pointer dereference in rt_strcmp
2023-04-03 23:04:40 +08:00
bernard
9ffb66878b
[components] fix dtb compiling warning.
2023-04-01 12:10:23 -04:00
Shell
897ba365ba
[fix] compilation error from rpi ( #7143 )
...
* [fix] compile error from rpi
2023-03-31 20:58:01 +08:00
Lei Peng
517b5eb016
[libc][ctime] stime clear tv.tv_usec as zero
...
when using stime set rtc time, tv.tv_usec not 0,but always is 0xdeadbeef, make set time error
2023-03-30 23:57:19 -04:00
xqyjlj
d6e40f2a24
✨ feat(components/dfs/filesystems/tmpfs/dfs_tmpfs.c): add f_bavail support
2023-03-31 10:56:37 +08:00
xqyjlj
7fb8f61756
✨ feat(components/dfs/filesystems/devfs/devfs.c): add statfs support
2023-03-31 10:56:37 +08:00
xqyjlj
cd1e0a7901
✨ feat(components): add statfs, statfs64, fstatfs, fstatfs64 support
2023-03-31 10:56:37 +08:00
xqyjlj
e4bd8e00f0
✨ feat(components/lwp/lwp.c): add OS env to default environ
2023-03-31 10:56:37 +08:00
xqyjlj
954f1d9b63
🐞 fix(components/dfs/src/dfs_posix.c): use stat to implement fstat
2023-03-31 10:56:37 +08:00
xqyjlj
63c7d0ceb4
🐞 fix(components/lwp/lwp_syscall.c): fix sys_readlink
2023-03-31 10:56:37 +08:00
xqyjlj
157dc0959c
✨ feat(components): add uname support
2023-03-31 10:56:37 +08:00
xqyjlj
c3b08d4288
✨ feat(components/lwp/lwp_syscall.c): add sys_lstat support
...
temporarily use sys_stat. should be replaced by sys_lstat if symbolic link are implemented
2023-03-31 10:56:37 +08:00
chinky
b9f5bf7d91
[libc]优化usleep函数
2023-03-30 00:41:13 -04:00
Shell
eec78d9f5d
[rt-smart] testcase & improvements for memory management ( #7099 )
...
* [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-30 08:25:15 +08:00
zhkag
f2dd21ccee
对 /dev 目录做特殊处理
2023-03-29 15:31:46 +08:00
wangfuan
19f311b498
[libc][delay] fix wrong usleep function
2023-03-27 13:06:12 -04:00
xqyjlj
eb0df6b12c
✨ feat(components/dfs/filesystems/elmfat/dfs_elm.c): add st_blocks su… ( #7091 )
2023-03-25 07:34:00 +08:00
yangjie11
b0c247fb59
[components/drivers][touch]删除多余的touch.h ( #7090 )
...
* [components/drivers][touch]删除多余的touch.h
* 将touc.h替换为rtdevice.h
2023-03-24 11:47:28 -04:00
Zxy
156fda61cf
[errno code]fix that use RT_ENOMEM without -
2023-03-23 01:55:21 -04:00
Meco Man
deb40e8c0c
[errno code][-RT_EBUSY] fix that use RT_EBUSY without -
2023-03-22 01:55:18 -04:00
Meco Man
eb3cb250be
[errno code][-RT_ETIMEOUT] fix that use RT_ETIMEOUT without -
2023-03-22 01:54:52 -04:00
wdfk-prog
87c57f86f7
[device]修改mtd_nor读写函数返回类型为rt_ssize_t
2023-03-20 18:58:10 -04:00
Meco Man
0f461e870c
[errno code][-RT_ERROR] fix that use RT_ERROR without -
2023-03-20 00:06:16 -04:00
Shell
dd2f1a795a
[rt-smart] fix competition on aspace ( #7064 )
...
* [mm] mmu operations should be wrapped by _aspace_bst_insert & _aspace_bst_remove to avoid competition on page table
* [lwp] may not return null on failed
2023-03-19 14:41:50 +08:00