4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-26 23:57:06 +08:00

49 Commits

Author SHA1 Message Date
tangyuxin
e71ec65549 [components][dfs]格式化代码 2019-04-08 14:51:01 +08:00
Bernard Xiong
7383269905 [Kernel] Code cleanup for compiling warning. 2019-02-12 14:33:45 +08:00
yangfasheng
c16d3de633 update dfs.c dfs_file.c dfs_file.h
Signed-off-by: yangfasheng <yangfasheng@rt-thread.com>
2019-01-09 17:40:32 +08:00
MurphyZhao
5d6c7e0df7 [components][dfs] Refix #2100 PR
#2100 PR 增加 `#include <libc.h>` 后,如果定义了 `RT_USING_DFS_DEVFS`,那就必须要开启 LIBC 才可以成功编译,增加了对 RT_USING_LIBC 的依赖。但是,这个修复又是关于开启 POSIX 的时候遇到的问题,因此建议在引入 <libc.h> 的地方,加入对 `RT_USING_POSIX` 的依赖。

Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-01-05 14:20:44 +08:00
gbcwbz
0924d277f6 [dfs] Fix stdio fd error when POSIX api is used
POSIX api e.g. poll read write
2018-12-23 19:14:14 +08:00
shaojinchun
56c0df1e58 修正dfs在fd_get时,未检查有效性的问题 2018-12-10 08:33:17 +08:00
armink
83b7b763b7 The dbg_log API is DISCARDED. Change all dbg_log to LOG_X. 2018-11-02 10:20:30 +08:00
Bernard Xiong
8c1c6516b3 [Components] Change license to Apache License v2.0 2018-10-29 11:06:58 +08:00
Bernard Xiong
90cef4fbac
Merge pull request #1673 from yangfasheng/master
update dfs.c of File System
2018-08-01 11:44:53 +08:00
heyuanjie
c79fbd373f [lwp]给thread添加lwp成员 2018-07-30 11:12:12 +08:00
yangfasheng
e13f1d9e7f update dfs.c of File System 2018-07-29 12:07:36 +08:00
tangyuxin
cea61291e4 [components][dfs]修复list_fd打印乱码的问题 2018-07-20 15:30:24 +08:00
aozima
6deeb61efb
Merge pull request #1622 from armink/fix_com_init
[components] Update dfs and lwIP 2.0.2 re-initialization process.
2018-07-16 20:48:24 +08:00
armink
6139e6a3cc [dfs] Update error log for dfs. 2018-07-14 11:06:59 +08:00
armink
730981ec42 [components] Update dfs and lwIP 2.0.2 re-initialization process. 2018-07-13 09:59:03 +08:00
aozima
f3fc141f5f [dfs] add re-initial check. 2018-07-02 16:58:49 +08:00
Bluebear233
052e6009d0
Update dfs.c
修复list_fd打印乱码问题
2018-06-29 10:50:16 +08:00
tangyuxin
839254d976 [components][dfs] list_fd 打印信息更加友好 2018-06-26 14:01:27 +08:00
Bernard Xiong
bca65f30a9 [lwP] Add light weight process component. 2018-06-10 17:57:34 +08:00
parai
eade1bbd0f
[dfs] fix the issue of stat "/.." of lwext4 2017-12-28 13:36:33 +08:00
Bernard Xiong
5ec1046ca9 [DFS] fix the free issue in fd_is_open 2017-12-11 19:22:47 +08:00
uestczyh222
049ed5047f [Components][USB][DFS][usb minimize stack size dfs fix build error
without finsh]
2017-12-07 07:24:37 +08:00
armink
b4168cc60d [DFS] Fix fd_new failed return value. 2017-10-22 22:14:55 +08:00
bernard
0f5a68a55e [dfs] add poll/select
1. Add poll/select APIs;
2. Add wait queue implementation;
3. Remove DFS_STATUS_* code and use errno;
4. Add pipe API;
5. Use a standalone fops in DFS;
2017-10-15 22:44:53 +08:00
Bernard Xiong
a7d6e284d0 [DFS] Export dfs_subdir/dfs_normalize_path symbol to module. 2015-05-02 08:55:08 +08:00
Aubr.Cool
eb898f69c9 Correct dfs fd_is_open search index error 2015-01-27 11:00:25 +08:00
yiyue.fang
773990abdb Embedded GPLv2 license in dfs 2013-06-26 22:30:40 +08:00
Bernard Xiong
9acd018cbb fix compiling warning 2013-06-23 07:57:22 +08:00
Bernard Xiong
88c9bc2d64 fix compiling error 2013-06-23 07:53:19 +08:00
Bernard Xiong
98c8a23e94 Add component initialization. 2013-06-23 07:48:42 +08:00
geniusgogo
8d6264af58 dfs.c: delete the redunant space in the line end. 2013-04-01 02:37:13 +08:00
geniusgogo
ec6f9e3b5a dfs.c: fix null pointer bug. 2013-04-01 02:31:24 +08:00
goprife@gmail.com
58fc3334b0 add dfs_fd check code in dfs and fix a warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2547 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 06:28:28 +00:00
goprife@gmail.com
c0fadff061 dfs_fd check code should not be in fd_get, which will cause open/mkdir failed.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2546 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 05:01:02 +00:00
goprife@gmail.com
911cbb5793 move check dfs_fd valid code from close to fd_get
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2540 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 02:49:35 +00:00
dzzxzz@gmail.com
69521e2c8f fixed the coding style in components/dfs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2530 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-26 01:12:13 +00:00
dzzxzz@gmail.com
fdc7dfc768 use RT_NULL instead of NULL in DFS, and format the code in DFS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2213 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 09:25:19 +00:00
bernard.xiong@gmail.com
94d413a7a7 merge 1.0.2 modification.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2194 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-29 06:03:11 +00:00
bernard.xiong@gmail.com
23839bc886 fix rename issue in DFS.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1890 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 04:05:40 +00:00
dzzxzz
44a2d720a0 unify the components/dfs coding style according to the /documentation/coding_style_cn.txt
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1866 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 02:11:55 +00:00
bernard.xiong@gmail.com
b2f9217686 change to UNIX end of line.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1746 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-08 14:50:08 +00:00
bernard.xiong
1992d17501 fix compiler warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1661 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-04 03:46:32 +00:00
bernard.xiong@gmail.com
24dfbe437d remove dfs_config.h file and fix filesystem lookup issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1332 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-12 00:17:41 +00:00
bernard.xiong
83bb6a11bb fix compiling warning; optimize ls function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1186 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-09 07:54:00 +00:00
bernard.xiong@gmail.com
f8397a1693 fix mkdir issue; add cd command in finsh.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1185 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-09 00:07:03 +00:00
bernard.xiong
8ccfaa8eb7 cleanup DFS_USING_WORKDIR code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1152 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-30 05:36:25 +00:00
bernard.xiong@gmail.com
7a80d831c9 update doxygen comments.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1132 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 00:04:55 +00:00
bernard.xiong@gmail.com
726c787485 fix dfs_subdir issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@880 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-26 15:32:56 +00:00
bernard.xiong@gmail.com
26aa51e8a6 add flush, statfs, mkfs to device file system interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@804 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-18 16:35:56 +00:00