aa1730919e
standardized comment format and code cleanup
2013-11-20 12:03:24 +01:00
2f2dd1d3c7
added some comments
2013-10-10 11:48:00 +02:00
Marian Ohligs
0a29c633ad
remove memory leak
2012-09-12 15:42:07 +02:00
Marian Ohligs
a834155cce
add readdir
2011-11-09 11:56:37 +01:00
Marian Ohligs
0fa52c279c
add switch in stat syscall converting FS_TYPES in newlib st_mode types, enable stat in mshell
2011-10-12 11:41:32 +02:00
Marian Ohligs
bff21fdcad
tidy up syscall.c, add comments, add missing checks, fix bug in open
2011-09-30 11:48:13 +02:00
Marian Ohligs
83547015b7
add new system call dup2
2011-09-29 11:22:06 +02:00
Marian Ohligs
fde6b46203
filedescriptor redesign, fix close issue in telnet
2011-09-28 22:03:54 +02:00
Marian Ohligs
acc3796cc1
minor optimizations in syscall.c
2011-09-28 17:20:22 +02:00
Marian Ohligs
675c47f1b3
add basic support for syscall stat
2011-09-28 00:10:54 +02:00
Stefan Lankes
1d2e3e9be9
add new system call dup
...
TODO: dup2 is missing
2011-09-25 20:40:12 +02:00
Stefan Lankes
b1a968a82c
add first steps to realize the system call stat
2011-09-23 14:49:31 +02:00
Stefan Lankes
d51487cfd6
enable the support of lwip_close
2011-09-18 18:12:43 +02:00
Marian Ohligs
ed9b9f1831
bug fix in lseek
2011-09-15 23:26:48 +02:00
Marian Ohligs
8c3751fca4
- remove lwip_close tests
...
- deactivate lwip_close in driver/char/socket to remove Pagefaults until lwip_close works correctly
2011-09-14 17:13:54 +02:00
Marian Ohligs
9de6a8c423
- lwip_close tests
2011-09-14 17:01:30 +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
e572d1c502
Merge branch 'master' into ohligs
...
Conflicts:
kernel/init.c
kernel/tests.c
2011-09-09 21:23:15 +02:00
Stefan Lankes
27e652f81d
if a task exists with a higher priority, we start a rescheduling in check_workqueues.
2011-09-02 13:57:11 -07:00
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