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 |
|
Bernard Xiong
|
1f37de29c4
|
Fix the value width issue under 32/64 bit arch.
|
2018-12-13 14:54:26 +08:00 |
|
shaojinchun
|
56c0df1e58
|
修正dfs在fd_get时,未检查有效性的问题
|
2018-12-10 08:33:17 +08:00 |
|
shaojinchun
|
2a57ba9f96
|
统一getcwd和chdir的加锁方式
|
2018-11-22 18:21:45 +08:00 |
|
Bernard Xiong
|
e108dfe4a5
|
[libc] Fix the _EXFUN issue in newlib
|
2018-11-10 16:58:07 +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 |
|
zylx
|
8431c05635
|
[dfs] fix ioctl getflag/setflag issue.
|
2018-10-13 10:23:47 +08:00 |
|
heyuanjie87
|
18510fa80f
|
Update select.c
|
2018-08-14 09:33:22 +08:00 |
|
heyuanjie87
|
c90b449dac
|
Update select.c
|
2018-08-13 22:42:09 +08:00 |
|
heyuanjie87
|
d948dba42a
|
update select.c
|
2018-08-12 20:41:56 +08:00 |
|
heyuanjie
|
fd209cb880
|
[lwp]添加select系统调用
|
2018-08-12 20:26:16 +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
|
c779104ef7
|
[dfs] Fix dfs_file_ioctl return check on fcntl.
|
2018-07-13 11:14:36 +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 |
|
zyh
|
f68c80126e
|
[Components][DFS]fix if disk free more than 4GB
|
2018-04-27 15:33:22 +08:00 |
|
Bernard Xiong
|
eb78535604
|
[DFS] Add protection for pt->triggered
|
2018-03-09 08:35:12 +08:00 |
|
Bernard Xiong
|
4e41b0573b
|
[libc] fix the fcntl issue in newlib
|
2018-02-07 19:55:35 +08:00 |
|
BernardXiong
|
5a95d35626
|
[DFS] Add fcntl API (same with ioctl in RT-Thread).
|
2017-12-31 14:46:24 +08:00 |
|
bernard
|
872975b0ab
|
[DFS] add df cmd in msh and provide better display.
re-write for #1138
|
2017-12-31 10:46:24 +08:00 |
|
parai
|
eade1bbd0f
|
[dfs] fix the issue of stat "/.." of lwext4
|
2017-12-28 13:36:33 +08:00 |
|
aozima
|
108a1434cd
|
[LWIP] fixed select issues: pollset need clean.
|
2017-12-14 17:04:56 +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 |
|
Bernard Xiong
|
9508b0e650
|
fix the fs type search issue in mkfs.
|
2017-12-05 20:16:34 +08:00 |
|
bernard
|
2a83353e5f
|
[DFS] fix the filesystem_operation_table issue.
|
2017-11-30 23:55:22 +08:00 |
|
bernard
|
1d8636b7f4
|
[DFS] Code cleanup.
|
2017-10-25 18:42:06 +08:00 |
|
armink
|
b4168cc60d
|
[DFS] Fix fd_new failed return value.
|
2017-10-22 22:14:55 +08:00 |
|
bernard
|
8a38307e2c
|
[libc] Add RT_USING_POSIX macro.
1. Add macro check in rtdebug.h;
2. Use RT_USING_POSIX for poll/select, stdin etc.
3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
|
2017-10-17 22:27:06 +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
|
bc0fbbfe82
|
[DFS] change the cmd to long data type.
|
2017-06-15 14:37:18 +08:00 |
|
bernard
|
3101ba8ac8
|
[DFS] Add fd checking in dfs_file_close API.
|
2017-06-06 18:19:32 +08:00 |
|
lizhen9880
|
3e6f64fe7a
|
the file description is modified to local variable in function
static void copydir(const char * src, const char * dst)
|
2017-04-12 10:53:53 +08:00 |
|
Bernard Xiong
|
e68a3a977a
|
[DFS] Remove stat/fstat function under WIN32 simulation.
|
2016-04-06 01:16:09 +08:00 |
|
Bernard Xiong
|
455daf8e7a
|
Add ioctl API and fix the read/write conflict issue with newlib's API.
|
2015-12-22 10:18:36 +08:00 |
|
Bernard Xiong
|
d2ec1f3eaa
|
[DFS] remove st_blksize in the struct stat
|
2015-10-01 06:46:52 +00:00 |
|
www220@tom.com
|
3bd1a372a0
|
修正mkdir lseek中文件句柄不释放的bug
|
2015-09-11 19:34:37 +08:00 |
|
Bernard Xiong
|
52e0d3ce0f
|
[DFS] Add fsync function
|
2015-07-16 10:35:42 +08:00 |
|
Bernard Xiong
|
c6d4407c57
|
[DFS] Fix the fd clear issue.
|
2015-06-04 22:23:53 +08:00 |
|
Bernard Xiong
|
a7d6e284d0
|
[DFS] Export dfs_subdir/dfs_normalize_path symbol to module.
|
2015-05-02 08:55:08 +08:00 |
|