summaryrefslogtreecommitdiff
path: root/components/dfs/src
AgeCommit message (Collapse)Author
2023-03-31✨ feat(components): add statfs, statfs64, fstatfs, fstatfs64 supportxqyjlj
2023-03-31🐞 fix(components/dfs/src/dfs_posix.c): use stat to implement fstatxqyjlj
2023-03-13[rt-smart] Fix return value in syscall (#7045)Shell
* [timer] fix sys return value to avoid outdated errno * [rtdef] add wrap to stringify * [syscall] return value in rt errno should be recycle immediately after call to posix layer * [syscall] return type of syscall should be long errno should be recycle immediately after call to rt posix layer to avoid outdated value * [format] move prototype to header file * [fix] futex definition conflict
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-15add "\n" to cat褚仕成
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-22[libc][musl] support arm-linux-musleabi toolchainMan, Jianting (Meco)
目前基本功能已经可以在QEMU上跑起来,但是pthread和内核signal选中会报冲突。先合并一版本,后续解决这些问题。
2022-11-21[msh] remove list_xxx commands, use 'list' to replaceMeco Man
2022-11-09replace `rt_enter_critical` with `dfs_lock` for list_fda1012112796
I found that if use mutex in `rt_kprintf`, the `rt_enter_critical` will create a assert error later. after chehcking,I found all operation with fd_table has using `dfs_lock/unlock` to protect. so I think using `dfs_lock` is enough. thanks. Signed-off-by: a1012112796 <[email protected]>
2022-10-10lseek()函数中,当seek到文件的位置和当前位置相同时,不� ↵winfenggao
�要调用dfs_file_lseek()函数,直接返回当前位置即可。 (#6498) 当seek到文件的位置和当前位置相同时,不需要调用dfs_file_lseek()函数,直接返回当前位置即可。 同时,以lseek(fd,0,SEEK_CUR)的方式执行函数可以返回文件当前读去位置,可以实现 ftell()的功能. 以lseek(fd,0,SEEK_CUR)的方式执行函数返回文件当前位置,实现ftell()的功能时不用调用dfs_file_lseek()函数,提高效率;seek(fd,0,SEEK_CUR)本来就能返回当前位置。
2022-08-02Fix some compilation warning (#5744)dongly
* Fix some compilation warning * 补充修正一些数据类型的使用错误 Co-authored-by: Meco Man <[email protected]>
2022-03-26list_fd 显示完整路径 (#5683)a1012112796
2022-01-20[dfs][posix] add creat()Meco Man
2022-01-09[core] 使用rt_memcpy rt_memset代替memcpy memsetMeco Man
2022-01-05add RT_USING_POSIX_STDIOMeco Man
2021-11-24revise RT_USING_POSIX_STDIO to RT_USING_POSIX_DEVIOMeco Man
2021-11-24Merge pull request #5283 from mysterywolf/dfsBernard Xiong
[dfs] move dfs back
2021-11-17[mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFOMeco Man
2021-11-16[dfs] move dfs backMeco Man
2021-11-07add RT_USING_POSIX_STDIOMeco Man
2021-10-27[libc][posix] 解决RT_LIBC_USING_FILEIO范围过大的问题Meco Man
2021-10-26[posix][libc] 优化libc中posix结构Meco Man
2021-10-21[posix][dfs] move dfs_posix dfs_poll dfs_select.c to posix folderMeco Man
2021-10-14Revert "[libc]&[dfs] remove unnecessary RT_USING_POSIX and RT_USING_DFS_DEVFS"Jianting (Meco) Man
2021-10-13[libc]&[dfs] remove unnecessary RT_USING_POSIX and RT_USING_DFS_DEVFSMeco Man
2021-10-11[bsp][simulator] Fix compilation errorstangyuxin
2021-09-22[libc标准化]脱敏dfs_select.h 由标准sys/select.h代替Meco Man
2021-09-13[libc] fix the conflict warning of read and write functionsMeco Man
2021-09-13Merge pull request #5051 from mysterywolf/be_libcguo
[libc标准化] 使用标准poll.h代替dfs_poll.h
2021-09-11[标准化libc] fix CI warningMeco Man
2021-09-11使用poll.h代替dfs_poll.hMeco Man
2021-09-11标准化<poll.h> 弱化<dfs_poll.h>Meco Man
2021-07-08[devfs] F_GETFL/F_SETFL should be handled by the drivers.guozhanxin
2021-03-21[dfs] cat命令执行后增加\n 与linux行为一致Meco Man
2021-03-08[compoenets] auto & manual formattedMeco Man
2020-09-26[dfs] fix the DEVICE could not get or set flagstangyuxin
2020-09-26[add] DFS file system supports device typestangyuxin
2020-08-07[DFS] clean the unnecessary checkingBernard Xiong
2020-05-211、解决do_pollfd函数中处理底层网络设备返回错误-1的情况� ↵longtengmcu
��返回-1时select函数也要返回-1 … 2、网卡设备调用关闭dhcp时,底层要调用dhcp_stop函数来关闭dhcp功能,打开时再调用dhcp_start,否则再次打开dhcp时无法获取ip地址或者出现在使用静态ip地址会在dhcp租约到期时自动再获取ip地址。 3、sal_socket.c程序中的sal_accept函数增加判断网卡up,down的功能 4、修改注释信息
2020-05-171、解决do_pollfd函数中处理底层网络设备返回错误-1的情况� ↵longtengmcu
��返回-1时select函数也要返回-1 2、网卡设备调用关闭dhcp时,底层要调用dhcp_stop函数来关闭dhcp功能,打开时再调用dhcp_start,否则再次打开dhcp时无法获取ip地址或者出现在使用静态ip地址会在dhcp租约到期时自动再获取ip地址。 3、sal_socket.c程序中的sal_accept函数增加判断网卡up,down的功能
2020-03-16Support msc mode automatic switchingCliff Chen
Signed-off-by: Cliff Chen <[email protected]>
2019-12-18[DFS] cleanup the log in dfs.Bernard Xiong
2019-11-161.修复sd卡热插拔内存泄露的bughichard
2.dfs增加函数,配合实现sd卡热插拔自动挂载卸载文件系统
2019-09-26[components][dfs]添加ftruncate接口zhangjun
2019-07-26[components][dfs] Fix fd error in command list_fdgbcwbz
2019-06-18fix kernel and framework no cast type errortyustli
2019-04-23[components/dfs]fix index overflow bug when not filesystem was selectedmisonyo
2019-04-12[DFS] Update dfs file open log.armink
2019-04-09fix use printf format bugHubretXie
fix use printf format bug
2019-04-08[components][dfs]格式化代码tangyuxin