Commit Graph

4162 Commits

Author SHA1 Message Date
geniusgogo 0e4a3142a8
[component] add openat syscall. (#7488) 2023-05-15 20:40:27 +08:00
7YZ7 a5211c70b6
[components][drivers][HUST CSE]修复serial_v2.c中可能产生的死循环 (#7394) 2023-05-15 14:42:11 +08:00
kunpHust 7a2bccd1c2
[HUST CSE][components][udisk.c] add two checkout procedures after malloc to make sure allocating successfully (#7475) 2023-05-15 14:35:38 +08:00
Shell b7554a70d2
[libcpu][component][debug] add debug info for gdb (#7033) 2023-05-14 23:48:16 +08:00
wenxingpt f2d78e87b5
[component][at] fix(misc): fix null char input issue
fix issue #7005
2023-05-14 00:33:59 -04:00
DylanLiuH2O 92a253c88f
[components][libc][posix] fix RT_NAME_MAX misspelled as NAME_MAX (#7489) 2023-05-14 11:15:36 +08:00
miaoxingr f36a1bb514
[components/drivers] add checking code after allocating memory 2023-05-12 01:39:51 -04:00
hust202013232 9dd0d41251
[components][rndis.c] add safety checking after allocating memory 2023-05-12 01:37:42 -04:00
a1012112796 5e4a95f54d
[components/drivers] add result check for configure in `rt_spi_configure` (#7474)
Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-05-12 00:11:28 -04:00
Rain Park c4002dea9f
[doxygen][libc] Add some comments for posix pthread functions (#7467)
Signed-off-by: Rain Park <1162678210@qq.com>
2023-05-10 14:01:33 +08:00
Wayne 3291882b38
[i2c] fix the return value of rt_i2c_master_send/recv
fix the related PR: #7029
2023-05-09 01:13:02 -04:00
kkangdom 3cf07f1a62
[components][rndis.c] add a checkout procedure after malloc to make sure allocating successfully (#7460) 2023-05-09 10:02:11 +08:00
xqyjlj 353aa57a54
[component][drivers][cputime]Fix timer dev (#7442) 2023-05-07 23:14:39 +08:00
zhkag 3419e591da [libc] redirecting header sys/ioctl to bits/ioctl 2023-05-05 19:29:38 -04:00
zhkag a6a9b0dfcb
[components][posix] 完善 posix 接口消息队列 (#7395) 2023-05-05 18:14:07 +08:00
Bernard Xiong 8ad70ca231
[tty] change driver of tty to device and code cleanup. (#7444) 2023-05-05 08:19:09 +08:00
LostCivilization ca023c1b41
[HUST CSE][vbus] fix the NULL pointer error 2023-05-01 00:45:55 -04:00
Man, Jianting (Meco) d580042145
[libc] support external third pary libc software package (#7425) 2023-04-30 12:19:57 +08:00
zouziyu2002 ce4674defa
[HUST CSE] add forced type conversion when using 'realloc','malloc','calloc' for better readability 2023-04-28 15:55:28 +01:00
ourea1429 085ded8eef
[winusb.c] add checking after allocating memory for variable winusb_device to make sure allocae is successful 2023-04-28 14:59:42 +01:00
geniusgogo 18c452e4dd
fix lwp _load_script. (#7405) 2023-04-28 11:49:05 +08:00
OnlyShirley 8dfcf07c24
[HUST CSE]Assign Null to fdt after free to avoid dangling pointer (#7389) 2023-04-27 07:13:11 +08:00
zhkag 550b9282f9
[syscall] lwp_syscall 中 rt_err_t 改为 sysret_t (#7374) 2023-04-26 19:12:30 +08:00
xiao-mang c043657353
fork子进程时,lwp_struct_copy函数增加拷贝working_directory功能 (#7380) 2023-04-26 17:21:00 +08:00
Shell 6e7c5d9bc9
[libcpu/aarch64] fix cache invalidate operation (#7363) 2023-04-26 17:17:42 +08:00
xiaoniaoyou6hua c34608b4a9
fix ipv6 compatibility issues (#7339) 2023-04-26 09:19:41 +08:00
szlr 90853abb08
[HUST CSE] for循环判断条件出错字符串读取越界 (#7352) 2023-04-26 09:15:31 +08:00
goldengrandpa efbdeb25ee
[dfs]释放fd_slot之前将子节点释放避免内存泄漏 (#7378) 2023-04-26 08:47:21 +08:00
Bushilei e902187a64
[HUST CSE]fix:uninitialized *p (#7364)
Signed-off-by: bushilei <shileibu@hust.edu.cn>
2023-04-25 11:20:40 +08:00
guo bd1763b979
[netdev] Add check if netdev->ops is null (#7362) 2023-04-24 17:06:54 +08:00
Sseven731 17ed572644
[HUST CSE] [readme] fix invalid URL 2023-04-24 00:47:02 -04:00
tyx 7ec14378ef [net][netdev]Add more hook functions 2023-04-24 10:58:05 +08:00
tyx 8aaa57e2ea [net][netdev]Use the interface to set the default netdev 2023-04-24 10:58:05 +08:00
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