Commit graph

29 commits

Author SHA1 Message Date
Stefan Lankes
bf73e0e0aa remove memory leak 2012-08-26 14:06:00 +02:00
Marian Ohligs
557cdfa4b9 remove debug msg 2011-11-09 12:53:46 +01:00
Marian Ohligs
b292e96cec fix bug 2011-11-09 12:51:21 +01:00
Marian Ohligs
c63fa01de6 add opendir, add closedir 2011-11-08 16:45:16 +01:00
Marian Ohligs
92c1bbae62 Merge branch 'master' into readwrite
Conflicts:
	newlib/src/libgloss/metalsvm/Makefile.in
2011-11-08 16:09:34 +01:00
Marian Ohligs
2688601379 remove debug msg 2011-11-08 16:01:07 +01:00
Marian Ohligs
b6b6d42a89 fix bug in open 2011-11-08 15:55:15 +01:00
Marian Ohligs
108c73e35f fix bug in open 2011-11-08 15:46:40 +01:00
Stefan Lankes
b230f1a451 cosmetic changes 2011-11-07 08:13:22 +01:00
Marian Ohligs
d90d962201 add type FS_SOCKET, change locking rules, it's now possible to use more then one mshell at the same time. 2011-11-01 20:11:52 +01:00
Marian Ohligs
1e03b40869 - remove bugfix in findnode_fs
- change bugfix in open_fs
2011-09-25 12:57:39 +02:00
Marian Ohligs
b8552f1f03 - fix bug in open_fs and findnode_fs 2011-09-25 11:48:27 +02:00
Marian Ohligs
0dc10634a9 - code cleanup
- rename netio in socket
    - reactivate workaround in lseek
2011-09-14 14:30:06 +02:00
Marian Ohligs
2f89686df8 - change close(node) in close(file)
- disable close in netchar, for testing
2011-08-11 17:11:48 +02:00
Marian Ohligs
032bba3a95 - some chmod changes 2011-08-02 15:58:20 +02:00
Marian Ohligs
55e0e971be merge master 2011-07-27 10:28:01 +02:00
Marian Ohligs
c768f03193 - initrd_open now init in initrd_mkdir
- O_CREAT is working!
2011-07-21 13:32:09 +02:00
Marian Ohligs
5da4c28249 bug fix 2011-07-21 10:59:45 +02:00
Marian Ohligs
1744238f28 - open is working yet. Have to be tested a little bit more. 2011-07-06 04:00:55 +02:00
Marian Ohligs
7b63bf1d27 !!!!! -> increasing the offset has to be done inside the fs/chardriver.
- rewrite the initrd_read/write, char_driver r/w. Now all functions use fildes_t instead of vfs_node_t structs.
- eleminate some compiler warnings
- some changes in open, to reduce compiler warnings. This function isn't working yet!
2011-07-05 14:50:25 +02:00
Marian Ohligs
3d74f1b514 - rewrite the read_fs and write_fs. Now both functions use fildes_t instead of vfs_node_t structs.
INFO:	typedef struct fildes {
        	vfs_node_t* 	node;
        	off_t 		offset;
		int 		flags;
		int 		mode;
	} fildes_t;

- merge fs_types.h and fs.h into one file fs.h
2011-07-01 18:04:00 +02:00
Marian Ohligs
0cd8ea9e37 add initrd_open. still buggy! 2011-07-01 18:03:49 +02:00
Marian Ohligs
6027bb2d15 redesign of fs_open to support creating files and O_TRUNK 2011-06-21 17:51:52 +02:00
Marian Ohligs
aafb9d2cbb add flags to fildes_t
allow lseek for CHARDEVICE

support for O_APPEND, O_CREATE and O_EXCL
2011-06-21 14:17:57 +02:00
Marian Ohligs
4990227b5c add initrd_write (working with small files only) 2011-04-12 16:48:16 +02:00
Marian Ohligs
04583e3982 read write patch (not working yet) 2011-04-07 16:41:39 +02:00
stefan
77aaeb77b8 - remove linker problems by using non-initialized arrays
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@125 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-24 09:10:12 +00:00
stefan
da2b895d68 - redesign of the initial ram disk
- now, we could map file in subdirectories


git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@119 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-22 09:56:02 +00:00
stefan
5cfbfb5a32 - add a simple virtual filesystem and as simple initial ramdisk
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@102 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-17 21:20:03 +00:00