Commit graph

53 commits

Author SHA1 Message Date
Marian Ohligs
ed5dba2672 Merge branch 'master' into ohligs
Conflicts:
	kernel/tests.c
2011-08-29 14:52:23 +02:00
Stefan Lankes
5f4c1f8aaa Integration of Simon's mailbox system into the SVM subsystem 2011-08-29 01:49:59 -07:00
Simon Pickartz
142e4892af resolve merge conflicts 2011-08-17 23:32:39 -07: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
36de5701ce work, still have to tidy up a bit 2011-08-10 21:48:23 +02:00
Marian Ohligs
d98bf1f888 typo 2011-08-10 21:33:00 +02:00
Marian Ohligs
eebcf3fee1 add some debug information 2011-08-10 21:29:24 +02:00
Marian Ohligs
27b7c6aa6e add networkI/O (unstable) 2011-08-10 18:56:40 +02:00
Marian Ohligs
5c7e9f38ec Merge branch 'master' into ohligs
Conflicts:
	.gitignore
	kernel/syscall.c
	kernel/tasks.c
	kernel/tests.c
	newlib/examples/Makefile
2011-08-10 16:57:17 +02:00
Stefan Lankes
5d9f361174 add system calls to map the user-level socket library to LwIP sockets 2011-08-10 08:15:53 +02:00
Marian Ohligs
898311edd6 - read, write , close, lseek now check if fd >= 0 2011-08-03 11:57:21 +02:00
Marian Ohligs
032bba3a95 - some chmod changes 2011-08-02 15:58:20 +02:00
Marian Ohligs
d03afaf36f - minor optimization in syscall.c 2011-08-02 12:41:26 +02:00
Marian Ohligs
55e0e971be merge master 2011-07-27 10:28:01 +02:00
Simon Pickartz
f344f65769 mailbox-system thread-safe now 2011-07-23 12:27:08 -07: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
a4c870deca - bugfix in syscall.c
- disable FILE_TYPE checks in lseek for testing purposes
2011-07-11 13:36:41 +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
c1336596ab - some design changes 2011-07-05 15:36:39 +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
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
34641f4338 - add some open-flag defines
- some design changes
2011-05-19 12:53:47 +02:00
Marian Ohligs
33be04bfcd lseek only works with FS_FILE. On failture, the result is -EINVAL 2011-05-19 11:11:18 +02:00
Marian Ohligs
06f24224ef Merge branch 'ohligs' into readwrite 2011-05-18 18:18:36 +02:00
Marian Ohligs
9e5dcfc2b4 add lseek (SEEK_SET, SEEK_CUR, SEEK_END)
- still missing some filetype checking
2011-05-18 18:14:23 +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
4460d92843 add syscall lseek (not working yet)
some design changes in kernel/systcall.c
2011-05-12 11:29:31 +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
Marian Ohligs
ef59f6cb8d Merge branch 'master' into ohligs
Conflicts:
	kernel/tasks.c
2011-04-23 11:09:56 +02:00
Marian Ohligs
02f7fecc61 first stdin, stout, stderr implementation (still buggy) 2011-04-23 11:04:32 +02:00
Stefan Lankes
29ab43f289 First steps to realize Inter-Core-Communication via RCCE 2011-04-23 00:13:12 -07:00
Stefan Lankes
f3b620a9be add rudimental support of the system call times
- no full support of the POSIX API
- however, the libc function clock works correctly
2011-04-21 10:13:58 +02:00
Stefan Lankes
0c411fd702 add basic support of sbrk and fix bug in saving of the fpu context 2011-04-21 07:32:20 +02:00
Marian Ohligs
40ce1fe457 manual merge old readwrite branch 2011-04-21 00:25:05 +02:00
Stefan Lankes
faa41e25e2 add basic support of sbrk and fix bug in saving of the fpu context 2011-04-20 21:23:22 +02:00
Marian Ohligs
0444ef966d - replace syscalls with kprintfs
- remove stdin, stdout and stderr for testing
2011-04-20 12:25:38 +02:00
Jacek Galowicz
2a6c555082 File read/write offset
Added offset integration.
2011-04-14 17:21:17 +02:00
Marian Ohligs
4990227b5c add initrd_write (working with small files only) 2011-04-12 16:48:16 +02:00
Marian Ohligs
e16eb7ea07 some cosmetic changes in syscall.c 2011-04-12 13:26:00 +02:00
Marian Ohligs
cc06ff20e0 some test changes 2011-04-12 12:48:52 +02:00
Marian Ohligs
47a69a5603 corrent status 2011-04-08 14:58:33 +02:00
Marian Ohligs
04583e3982 read write patch (not working yet) 2011-04-07 16:41:39 +02:00
Stefan Lankes
d201c4d1bc - add the support of the system call execve 2011-03-07 20:26:55 +01:00
Stefan Lankes
5ce3ed9338 First steps to support the system calls "fork" and "wait"
- Currently, the system call "fork" doesn't work and has a memory leak
- However, it is a good starting point for further developments.
2011-03-02 13:49:36 +01:00
Stefan Lankes
54d636d25c after process termination, the PGD and its PGTs will be freed 2011-02-24 18:32:58 +01:00