summaryrefslogtreecommitdiff
path: root/components/dfs
AgeCommit message (Collapse)Author
2023-08-02update dfs (#7887)geniusgogo
2023-07-27[dfs v2]fix fcntl(F_SETFL) bug,and modify the error code when opening… (#7878)Tennn11
2023-07-24[smart] 修复用户态 mq_receive 不能阻塞 (#7836)zhkag
2023-07-24modify some function prototypes of the dfs_file_ops structure and the ↵xiao-mang
function declarations based on it (#7849)
2023-07-05[posix] posix 的 mqueue 对接到文件系统的 fd (#7768)zhkag
2023-07-04[DFS_V2]Update dfs_elm.c 修复变量使用错误 (#7776)zhkag
2023-06-20dfs v2 修改 fd_new 的 startfd 起始值为 0 ;修复 futex_wait ↵yangfasheng
超时时间换算异常; (#7705) Signed-off-by: yangfasheng <[email protected]>
2023-06-11[dfs v2] fix dentry hash lookup bug; update dentry dump msh cmd; (#7655)yangfasheng
Signed-off-by: yangfasheng <[email protected]>
2023-06-11Add color ls for executable file. (#7654)Bernard Xiong
2023-06-10[dfs] Add DFS v2.0 (#7606)Bernard Xiong
2023-05-16fixed dfsv2 openat.geniusgogo
2023-05-15[component] add openat syscall. (#7488)geniusgogo
2023-04-26[dfs]释放fd_slot之前将子节点释放避免内存泄漏 (#7378)goldengrandpa
2023-04-14[HUST CSE][document] Fix some comments, invalid grouping commands and ↵Xu Biang
warnings in Doxygen. 将Doxygen输入文件(由Doxyfile中的INPUT定义)中的失效Doxygen分组指令(如/*@*/和/*@}*/)更改为有效的分组指令(如/**@*/和/**@}*/);(此处只对INPUT中的文件做了修改,bsp目录下和libcpu目录下存在近万个失效的Doxygen分组指令,但由于不作为文档的输入文件且这些文件过于庞大老旧,没有对这些文件中的无效指令做修改) 将图片文件统一放入了images目录下; 修改了Doxyfile和部分Doxygen注释,使得Doxyfile能够定位到新的代码路径且不受重复实现的影响; 解决了一些注释中的参数名不匹配、参数多余/缺失等问题。
2023-04-12fix tmpfs spinlock error. (#7216)geniusgogo
2023-04-08[DFS] prepare for dfs_v2.0 (#7200)Bernard Xiong
* [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-08Fix nfs (#7194)geniusgogo
* fixed nfs 64bit arch fault * change mount cmd support nfs.
2023-04-04[DFS] add Kconfig for dfs-v2.0 (#7156)Bernard Xiong
* [DFS] add Kconfig for dfs-v2.0 * [DFS] Optimize the SConscript. * [dfs] move old dfs to dfs/dfs_v1
2023-03-31✨ feat(components/dfs/filesystems/tmpfs/dfs_tmpfs.c): add f_bavail supportxqyjlj
2023-03-31✨ feat(components/dfs/filesystems/devfs/devfs.c): add statfs supportxqyjlj
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-29对 /dev 目录做特殊处理zhkag
2023-03-25✨ feat(components/dfs/filesystems/elmfat/dfs_elm.c): add st_blocks su… ↵xqyjlj
(#7091)
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
2023-02-07🌈 style(components/dfs/filesystems/tmpfs/dfs_tmpfs.c): fix stylexqyjlj
2023-02-07🐞 fix(components/dfs/filesystems/tmpfs/dfs_tmpfs.c): cannot open the same ↵xqyjlj
file repeatedly in 'w' mode
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-14[dfs] sync cromfs (#6739)guo
2022-12-11[rtdef] use lower-case to define attributes (#6728)Man, Jianting (Meco)
* [rtdef] rename RT_WEAK attribute as rt_weak * [rtdef] rename RT_USED attribute as rt_used * [rtdef] rename RT_SECTION attribute as rt_section * [rtdef] rename ALIGN attribute as rt_align * [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
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-09-20[fix] Fix simulator compilation warnings (#6438)Tangyuxin
* [fix] Fix simulator compilation warnings * Update bsp/simulator/rtconfig_project.h Co-authored-by: Man, Jianting (Meco) <[email protected]>
2022-08-02Fix some compilation warning (#5744)dongly
* Fix some compilation warning * 补充修正一些数据类型的使用错误 Co-authored-by: Meco Man <[email protected]>
2022-06-22[rtc] use gmtime_r to replace gmtime (#6012)Man, Jianting (Meco)
* [rtc] use gmtime_r to replace gmtime
2022-04-08Revert "[dfs][romfs]支持相对地址模式 (#5768)" (#5786)Bernard Xiong
This reverts commit e68f934ff8c83d36f162b80e240e633b58949036.
2022-04-06[dfs][romfs]支持相对地址模式 (#5768)Tangyuxin
2022-03-26list_fd 显示完整路径 (#5683)a1012112796
2022-03-25[components][kconfig] 整理Kconfig目录名称和结构 (#5698)Man, Jianting (Meco)
2022-01-26add RT_DEBUG_SCHEDULER_AVAILABLE checkguozhanxin
2022-01-20[dfs][posix] add creat()Meco Man
2022-01-14[update] move dfs_posix.h to legacy/dfs/dfs_posix.hliukangcc
2022-01-09[core] 使用rt_memcpy rt_memset代替memcpy memsetMeco Man
2022-01-05add RT_USING_POSIX_STDIOMeco Man
2021-12-30[libc] remove RT_USING_LIBCMeco Man
2021-11-24revise some RT_USING_POSIX to RT_USING_POSIX_DEVIOMeco Man