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
a11897414d
- O_TRUNC is working yet
...
- fixing some bugs in O_TRUNC
- disable some buggy code
2011-07-21 10:24:37 +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
ec6ccf9c3a
Merge branch 'ohligs' into readwrite
...
Conflicts:
newlib/examples/hello.c
2011-05-23 12:59:10 +02:00
Marian Ohligs
4f0bc05a74
add basic support of scanf, get ...
2011-05-23 12:56:14 +02:00
Marian Ohligs
d1e0e2304d
Merge branch 'ohligs' into readwrite
...
Conflicts:
newlib/examples/test
2011-05-16 10:27:43 +02:00
Marian Ohligs
b94875ccfe
initrd_write:
...
- writing strings of any length now possible
2011-05-16 10:19:13 +02:00
Marian Ohligs
0ac95a30b3
Merge branch 'ohligs' into readwrite
...
Conflicts:
drivers/char/null.c
drivers/stderr/Makefile
drivers/stderr/stderr.c
drivers/stdin/Makefile
drivers/stdin/stdin.c
drivers/stdout/Makefile
drivers/stdout/stdout.c
fs/initrd.c
include/metalsvm/fs_types.h
include/metalsvm/tasks_types.h
kernel/syscall.c
kernel/tasks.c
kernel/tests.c
newlib/examples/hello.c
newlib/examples/test
tools/Makefile
2011-04-26 17:27:42 +02:00
Marian Ohligs
6c45e03d0e
Merge branch 'master' into ohligs
...
Conflicts:
fs/initrd.c
2011-04-26 16:52:52 +02:00
Marian Ohligs
4c370ad377
Bug fixed in stdout: printf is working
...
some test changes in initrd_write
2011-04-26 16:43:57 +02:00
Stefan Lankes
29ab43f289
First steps to realize Inter-Core-Communication via RCCE
2011-04-23 00:13:12 -07:00
Marian Ohligs
40ce1fe457
manual merge old readwrite branch
2011-04-21 00:25:05 +02:00
Marian Ohligs
e2ae62af2b
add initrd_write
2011-04-20 23:14:15 +02:00
Marian Ohligs
0444ef966d
- replace syscalls with kprintfs
...
- remove stdin, stdout and stderr for testing
2011-04-20 12:25:38 +02:00
Marian Ohligs
aefc7e1165
add to dev folder: stdin, stdout and stderr
2011-04-19 00:33:45 +02:00
Marian Ohligs
f730f410c3
Merge branch 'master' into readwrite
...
Conflicts:
arch/x86/include/asm/apic.h
arch/x86/include/asm/page.h
arch/x86/include/asm/processor.h
arch/x86/kernel/idt.c
fs/initrd.c
2011-04-16 23:20:52 +02:00
Stefan Lankes
eeb49cdb90
add the SCC support of a initial ramdisk
2011-04-13 11:03:34 -07: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 Lankes
88393984d9
use platform independent data types to create the initrd
2011-03-22 19:04:37 +01:00
Stefan Lankes
9e082fcb68
move driver "/dev/null" to the directory "drivers/char"
2011-03-03 07:44:20 +01:00
stefan
180f370298
- add the directories sbin and var
...
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@403 315a16e6-25f9-4109-90ae-ca3045a26c18
2011-02-10 06:47:22 +00:00
stefan
2f595f03c6
- remove compiler warnings
...
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@402 315a16e6-25f9-4109-90ae-ca3045a26c18
2011-02-09 20:23:46 +00:00
stefan
308e023a85
- use non-recursive Makefiles
...
- this patch based on Florian Zeitz's hint
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@400 315a16e6-25f9-4109-90ae-ca3045a26c18
2011-02-09 19:13:40 +00:00
stefan
9130e9f03c
- increasing the readability
...
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@396 315a16e6-25f9-4109-90ae-ca3045a26c18
2011-02-09 07:07:07 +00:00
stefan
98769944c8
- remove bug in initrd_read
...
=> fix the using of the argument "offset"
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@377 315a16e6-25f9-4109-90ae-ca3045a26c18
2011-01-19 17:12:20 +00: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
7398111913
- add the definition "__KERNEL__" to avoid redifinition of ssize_t and off_t
...
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@120 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-22 10:08:38 +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
1f49e6a863
- add a simple implementation of a null device
...
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@117 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-22 09:51:57 +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