Commit Graph

24 Commits

Author SHA1 Message Date
xingkong121 9b925fb9c0
Modify comment error
Device file system should be registered
2020-11-28 22:47:06 +08:00
tangyuxin 50dc41468e [add] DFS file system supports device types 2020-09-26 09:55:58 +08:00
tangyuxin e71ec65549 [components][dfs]格式化代码 2019-04-08 14:51:01 +08:00
Bernard Xiong b5e9927b85 [license] Change the license of FS/DFS to Apache. 2018-10-15 01:46:07 +08:00
BernardXiong 780c09e3e4 [libc] Fix the O_CREAT issue.
libc_stdio_set_console/newlib uses fopen to open console device, which
has O_CREAT flag and cause fault.
2018-02-11 13:57:51 +08:00
Bernard Xiong 2f409c85f1 [Kernel] Use rt_object_get_information to get object chain 2017-12-12 07:36:37 +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 6e63cbb9be [DFS] "console" device check.
[DFS] To make sure the "console" device exist or not when initialize
console device.
2017-06-15 14:36:40 +08:00
Bernard Xiong d2ec1f3eaa [DFS] remove st_blksize in the struct stat 2015-10-01 06:46:52 +00:00
Bernard Xiong 78ef35f2cf Merge remote-tracking branch 'coding/master' 2015-04-06 05:16:53 +00:00
Bernard.Xiong b68d041275 [DFS] add file header infor 2015-04-06 11:52:29 +08:00
Bernard Xiong 1377022b18 [DFS] Use SConscript of each file system to build. 2015-04-03 14:26:18 +00:00
Bernard Xiong 01c3460cdb [DevFS] fix the device none-open issue 2015-01-28 14:13:44 +08:00
Bernard Xiong ab05daf4ef [LIBC] fix compiling warning 2014-12-06 07:26:19 +00:00
yiyue.fang 773990abdb Embedded GPLv2 license in dfs 2013-06-26 22:30:40 +08:00
Bernard Xiong 98c8a23e94 Add component initialization. 2013-06-23 07:48:42 +08:00
dzzxzz@gmail.com 4b0e272644 delete the re-defined rt_list_entry(node, type, member) and format the code in devfs.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2211 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 00:42:39 +00:00
bernard.xiong@gmail.com 5cc877fa24 fixed compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2040 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-13 15:29:51 +00:00
bernard.xiong@gmail.com beaf51ff82 add full path options (DFS_FS_FLAG_FULLPATH) to the file system.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1904 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-01 13:37:21 +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 5d8c15c4bb rename the private field in device to user_data.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1134 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 07:48:17 +00:00
bernard.xiong@gmail.com 54e77664fa romfs and dev is usable. fix directory adjustment in ls function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1035 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-31 13:52:58 +00:00
bernard.xiong 363ad228a4 add device file system implementation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1028 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-22 10:15:50 +00:00