aa74d98737
removed unused variable
2014-02-07 11:01:21 +01:00
c6d5656c63
moved list_fs() dump routine to fs/ and improved output
2014-01-28 11:10:54 +01:00
9018781eee
replaced old kfree() calls with new signature
2013-11-20 14:11:19 +01:00
aa1730919e
standardized comment format and code cleanup
2013-11-20 12:03:24 +01:00
Marian Ohligs
400451879c
remove test printf
2012-12-30 21:39:20 +01:00
Marian Ohligs
f0ff5b2c86
remove "syntactic sugar"
2012-12-30 21:15:37 +01:00
Stefan Lankes
bf73e0e0aa
remove memory leak
2012-08-26 14:06:00 +02:00
Stefan Lankes
575727535a
use correct coding style
2012-07-20 09:32:58 +02:00
Stefan Lankes
edadf16d7f
Merge branch 'master' into readwrite
2012-07-20 09:05:57 +02:00
Stefan Lankes
a929feb257
nicer code style
2012-06-10 09:00:02 +02:00
Stefan Lankes
227cc19890
add alpha version of x64 support
...
New features:
- support of kernel tasks in 64bit mode
- support of LwIP in 64bit mode
Missing features in 64bit mode
- user-level support
- APIC support => SMP support
To create a 64bit version of the MetalSVM kernel, the compiler flags “-m64 -mno-red-zone” and the assembler flags “-felf64” has to be used. Please use qemu-system-x86_64 as test platform.
Notice, metalsvm.elf is a 32bit ELF file. However, it contains (beside the startup code) only 64bit code. This is required because GRUB doesn’t boot 64bit ELF kernels. Therefore, for disassembling via objdump the flag “-M x86-64” has to be used.
2012-06-10 08:05:24 +02:00
Stefan Lankes
45313d47f2
add build environment for 64bit code
...
=> environment build 64bit kernel, but the kernel is not tested!
=> work in progess
2012-05-24 10:49:45 +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
6a10fb1a0b
add ls in mshell
2011-11-09 12:14:31 +01:00
Marian Ohligs
a834155cce
add readdir
2011-11-09 11:56:37 +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
Stefan Lankes
a33d1ca9eb
use a simpler name (log) for kernel messages
2011-10-26 13:05:31 -07:00
Stefan Lankes
2e12c7ca1d
add character device to dump all kernel messages
2011-09-25 23:58:37 +02: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
Stefan Lankes
0709d365a1
remove some compiler warnings
2011-09-15 21:49:56 +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
27b7c6aa6e
add networkI/O (unstable)
2011-08-10 18:56:40 +02:00
Marian Ohligs
032bba3a95
- some chmod changes
2011-08-02 15:58:20 +02:00
Marian Ohligs
c7012f7bc0
- enable flags O_RDONLY O_WRONLY and O_RDWR
2011-08-02 11:57:14 +02:00
Marian Ohligs
a154525683
- correct some errno msg
2011-08-02 11:28:48 +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
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