Commit graph

650 commits

Author SHA1 Message Date
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
Stefan Lankes
7cb05d8f4a first version to support the FPU
- seems to work
- currently, we didn't support SIMD instructions
2011-04-21 07:32:10 +02:00
Marian Ohligs
e765e16eb1 fixed a bug in create_user_task 2011-04-21 01:05:47 +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
Stefan Lankes
7e0179f5f7 first version to support the FPU
- seems to work
- currently, we didn't support SIMD instructions
2011-04-20 15:16: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
Marian Ohligs
aefc7e1165 add to dev folder: stdin, stdout and stderr 2011-04-19 00:33:45 +02:00
Marian Ohligs
489ed562c9 Merge branch 'master' into readwrite
Conflicts:
	kernel/tasks.c
2011-04-18 23:26:08 +02:00
Stefan Lankes
bd703f6be4 avoid compiler errors by using MAX_CORES = 1 2011-04-18 06:44:17 -07:00
Stefan Lankes
68564c3238 Merge branch 'tests'
Conflicts:
	include/metalsvm/spinlock.h
	include/metalsvm/spinlock_types.h
	kernel/tasks.c
2011-04-18 15:36:22 +02:00
Stefan Lankes
e94c31d03b add a new IRQ save spinlock implementation
- avoids a deadlock
- usable in a interrupt handler
2011-04-18 15:12:18 +02:00
Jacek Galowicz
2a6c555082 File read/write offset
Added offset integration.
2011-04-14 17:21:17 +02:00
Stefan Lankes
b5908af744 Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm into doxygen
Conflicts:
	.gitignore
	arch/x86/include/asm/apic.h
	arch/x86/include/asm/page.h
	arch/x86/include/asm/processor.h
	arch/x86/kernel/idt.c
2011-04-14 08:40:52 +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
be0a6fa72f Merge branch 'master' into readwrite
Conflicts:
	arch/x86/include/asm/page.h
	arch/x86/include/asm/processor.h
	arch/x86/kernel/idt.c
2011-04-12 12:58:38 +02:00
Marian Ohligs
cc06ff20e0 some test changes 2011-04-12 12:48:52 +02:00
Stefan Lankes
ba1388c13d Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm into rcce 2011-04-08 07:26:55 -07:00
Marian Ohligs
b6079272c1 Merge branch 'master' into readwrite
Conflicts:
	.gitignore
	arch/x86/include/asm/apic.h
	arch/x86/include/asm/processor.h
2011-04-08 16:25:00 +02:00
Stefan Lankes
d3ad7e1c66 move the call of scc_init to main function 2011-04-08 07:24:47 -07:00
Stefan Lankes
4d14ec6aa7 use HALT instead of NOP8 2011-04-08 16:02:24 +02:00
Stefan Lankes
c43efee104 use HALT instead of NOP 2011-04-08 16:02:18 +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
Jacek Galowicz
6c6d77cfa6 Committed the rest. There is only few stuff missing.
Embedded nice pictures.
2011-04-05 14:44:42 +02:00
Jacek Galowicz
f411498368 Commented another bunch of header files. 2011-04-04 18:12:08 +02:00
Jacek Galowicz
8a707cf2bd The procedure name "network_shotdown()" did indeed sound a bit too
violent, so i renamed it to "network_shutdown()", just like the header
file says.
2011-04-04 17:12:04 +02:00
Stefan Lankes
5d94954d3a move koutput_init to the function lowlevel_init 2011-03-25 07:46:23 +01:00
Stefan Lankes
604670c981 now, the system call "execve" sets also the environment 2011-03-10 09:10:12 +01:00
Stefan Lankes
472b13b527 fix typo 2011-03-09 18:35:23 +01:00
Stefan Lankes
2d9ba6ae70 forwarding arguments to the new tasks 2011-03-08 23:12:38 +01:00
Stefan Lankes
d201c4d1bc - add the support of the system call execve 2011-03-07 20:26:55 +01:00
Stefan Lankes
80377e4ff3 redesign of the IO interface
=> do not create an additional task to dump kernel messages
2011-03-07 20:02:24 +01:00
Stefan Lankes
6f092641ba remove memory leak and redesign of the internal memory accounting 2011-03-04 22:44:53 +01:00
Stefan Lankes
56ee331596 add nested spinlocks
- required to avoid deadlocks
2011-03-04 11:38:40 +01:00
Stefan Lankes
a27150b923 Fix bug in system call "fork"
- issues: memory leak
2011-03-02 23:08:01 +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
17193475bb use a spinlock for each PGD
increases also the useability of vm_alloc and vm_free
2011-02-24 19:06:32 +01:00
Stefan Lankes
e157f93104 create also for kernel tasks a new PGD 2011-02-24 18:44:11 +01:00
Stefan Lankes
54d636d25c after process termination, the PGD and its PGTs will be freed 2011-02-24 18:32:58 +01:00
Stefan Lankes
16efb49204 remove obsolete function arguments 2011-02-24 10:15:58 +01:00
Stefan Lankes
c5b650fc32 add the support of the VMA list into the kernel
- after process termination, this list is used to free the allocated memory regions
2011-02-24 09:37:31 +01:00
Stefan Lankes
c355adb300 create a new pgd for each process 2011-02-18 21:20:15 +01:00
Stefan Lankes
5f99201f9e add support of the system call "fork" in libgloss 2011-02-18 10:00:09 +01:00
Stefan Lankes
1b85d32945 boot process dumps the initrd 2011-02-16 15:22:48 +01:00
Stefan Lankes
6bb932acf9 remove SVN specific commands 2011-02-16 14:20:16 +01: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
9a9df5ed2e - merge current eduOS branch to MetalSVM
=> add the support of "real" user-space applications, which could be loaded via initrd


git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@394 315a16e6-25f9-4109-90ae-ca3045a26c18
2011-02-08 18:37:56 +00:00
stefan
2bfc5a49dc - move 32bit elf header to arch/x86
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@376 315a16e6-25f9-4109-90ae-ca3045a26c18
2011-01-19 07:04:50 +00:00