Commit Graph

51 Commits

Author SHA1 Message Date
Troy 5bb902895c
[libc] add some posix function comments 2024-04-09 18:11:34 -04:00
Troy 3a4db99104
[libc][posix/io] add comments 2024-04-01 23:18:15 -04:00
Troy 7e492fc37c Add comments for all functions in components/libc/posix/io/eventfd/eventfd.c 2024-03-28 21:28:46 -04:00
Shell 83e95bdff4
sync smart & dfs (#8672)
Signed-off-by: xqyjlj <xqyjlj@126.com>
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2024-03-28 23:42:56 +08:00
Troy 56fd6984ac Fix the issue of incorrect return of invalid parameters in aio_write 2024-03-27 22:58:54 -04:00
Troy 51d4a9c804 Fix epoll.c file format error 2024-03-26 17:42:01 -04:00
Troy 9fc7c7569b Fix incorrect naming of triggered 2024-03-26 17:42:01 -04:00
Troy 46d6036c28 modified: components/libc/posix/io/aio/aio.c Added some function comments
modified:   components/libc/posix/io/aio/aio.h		Align comments within the aiocb structure
modified:   components/libc/posix/io/epoll/epoll.c	Add comments for all functions and members within structure members
2024-03-26 17:42:01 -04:00
rcitachi 0c96b26c23
[sys_bind] [signalfd] update (#8507) 2024-01-26 22:14:02 +08:00
zmq810150896 cdad0c254a
Update epoll and timerfd (#8330) 2023-12-21 11:17:59 +08:00
geniusgogo 0b6402f3cb
update libc (#8335) 2023-12-10 06:49:24 +08:00
zmq810150896 2790ce5357
Updated issues related to uds capacity and eventfd macro redefinition (#8329) 2023-12-06 13:51:13 +08:00
rcitachi c06f4e98fc
[SAL] Update SAL,Add socketpair sendmsg recvmsg function (#8293) 2023-11-28 13:56:06 +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
geniusgogo ecd29fda60
Sync dfs lwp (#8123) 2023-10-17 13:07:59 +08:00
zmq810150896 a289ae1b18
Fixed issues with timerfd (#8102) 2023-10-13 19:20:50 +08:00
zmq810150896 7c2f807a7c
Add the system call timerfd and update SConscript for signalfd (#8067) 2023-09-23 14:18:29 +08:00
zmq810150896 092b52ab24
Adapt rt_channel, increase the generality of some rt_channel functionality on dfs v2, and standardize signalfd (#8047) 2023-09-20 07:54:11 +08:00
zmq810150896 7c3d966df6
Add the system call signalfd (#8001) 2023-09-11 14:06:08 +08:00
zmq810150896 722a5fc29d
Optimize the epoll code to remove restrictions on descriptors (#7951) 2023-09-06 11:22:16 +08:00
FragrantRye 2917180c21 [libc][newlib] __sdidinit is obselete
related:
https://github.com/RT-Thread/rt-thread/issues/7923
44b60f0c4b

Co-authored-by: Meco Man <920369182@qq.com>
2023-08-17 02:22:53 -04:00
Meco Man b08d8672d2 [libc][posix/io/stdio] rename libc.c as posix/stdio.c 2023-08-17 02:22:53 -04:00
geniusgogo 4d20416b2f
update components & lwp. (#7888) 2023-08-07 12:22:14 -04:00
zmq810150896 2aa1056f19
Add fops for dfs_v2 and rt_set_errno (#7910) 2023-08-03 21:45:30 +08:00
zmq810150896 3f0a5e76bf
Add the system call epoll (#7893) 2023-08-01 17:15:41 +08:00
zmq810150896 307e9e5e98
Add the system call eventfd (#7835) 2023-07-27 17:24:56 +08:00
yangfasheng b4e59bac4e
dfs v2 修改 fd_new 的 startfd 起始值为 0 ;修复 futex_wait 超时时间换算异常; (#7705)
Signed-off-by: yangfasheng <yangfasheng@live.com>
2023-06-20 23:09:58 +08:00
heyuanjie87 0503d1e27f [libc/termios]修改oflags定义与musl一致 2023-06-19 00:38:36 -04:00
Bernard Xiong 99e80f8d33
[dfs] Add DFS v2.0 (#7606) 2023-06-10 21:35:25 +08: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
bernard 1f092da9e0 fix compiling warning. 2022-12-26 14:24:26 +08:00
guo ecf2d82159
sync branch rt-smart. (#6641)
* 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 <zhangbingru@rt-thread.com>
Co-authored-by: zhkag <zhkag@foxmail.com>
2022-12-03 12:07:44 +08:00
Man, Jianting (Meco) bdd663a33f
[libc][musl] support arm-linux-musleabi toolchain
目前基本功能已经可以在QEMU上跑起来,但是pthread和内核signal选中会报冲突。先合并一版本,后续解决这些问题。
2022-11-22 21:40:50 -05:00
Man, Jianting (Meco) 055267f049
[compiler] 增加SConscript依赖标志 AddDepend (#6534)
* [compiler] 增加SConscript依赖标志 AddDepend

* RT_USING_NEWLIB->RT_USING_NEWLIBC RT_USING_ARM_LIBC->RT_USING_ARMLIBC

* 删除过时的板载测试例程

* [gd32] 移除无用的反汇编文件

* [bsp]移除老旧bsp中对RT_USING_NEWLIBC的手动宏定义
2022-10-25 00:01:37 -04:00
Tangyuxin a4829b1c00
[fix] Fix simulator compilation warnings (#6438)
* [fix] Fix simulator compilation warnings

* Update bsp/simulator/rtconfig_project.h

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-09-20 10:31:11 -04:00
Tangyuxin f5c88add37
Fix compiler warnings (#6023) 2022-06-08 01:21:50 +08:00
thewon86 f5b0bfd3f4 uniform code writing-disable interrupt 2022-04-20 14:22:43 +08:00
tyx 87046a1abf [libc][io] Remove definitions that are not in use 2022-04-19 11:22:58 +08:00
Man, Jianting (Meco) b8bb6a4a87
[poll][select] 修复select死循环的问题 (#5740) 2022-03-30 10:47:05 +08:00
xiangxistu ffae7a2612
[fix] add the header file to avoid compiler error. (#5643) 2022-03-08 11:35:11 +08:00
Man, Jianting (Meco) 31c3214faf
[posix][io]整理posix/io文件夹 (#5539)
* [posix][io]整理posix/io文件夹
- 将select.c移入到poll文件夹
- 将libc.c移入到tty文件夹,isatty函数归并到libc.c中, termios并入tty文件夹中
- 整理Sconscript

Signed-off-by: Meco Man <920369182@qq.com>

* [libc][newlib]调整文件夹结构
2022-01-24 09:16:57 +08:00
Meco Man 8213bbd92e update 2022-01-14 23:09:32 +08:00
liukangcc 3d2e23ec1c [update] move dfs_posix.h to legacy/dfs/dfs_posix.h 2022-01-14 23:09:32 +08:00
Man, Jianting (Meco) bb1084556f [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题

* format codes

* [libc] 整理格式

* refresh projects
2022-01-09 00:20:32 +08:00
Meco Man 918ee6147c add RT_USING_POSIX_STDIO 2022-01-05 23:11:58 +08:00
Meco Man c8dcf7cc68 [libc]rename group name 2021-12-30 01:27:25 +08:00
Meco Man ed09f38012 [libc] remove RT_USING_LIBC 2021-12-30 01:27:25 +08:00
Man, Jianting (Meco) 6369e89502
[posix] POSIX standard implementation for PSE51 (#5384)
* [posix] POSIX standard implementation for PSE51

- add some posix's interfaces that we haven't before.
- these PR have passed the interface definition test across gcc platfrom;
- have tested base on qemu-a9 and stm32h750-art-pi.

* [newlib] only enable POSIX.1-1990

* update projects
2021-12-17 15:34:17 +08:00
Meco Man 153ab5c238 update poll sconscript 2021-12-14 06:12:04 +08:00
Meco Man 15435b6850 [posix][mmap] create the mman folder 2021-12-14 06:12:04 +08:00