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
stefan
9d2b73c6cb
- add a workaround to use paging and the apic at the same time
...
(we don't use __attribute__((optimize(0))))
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@366 315a16e6-25f9-4109-90ae-ca3045a26c18
2011-01-05 20:12:07 +00:00
stefan
8646b56a63
- minor changes to support APIC
...
(currently, we got page fault by entering apic_calibration)
- first steps to realize a loader
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@365 315a16e6-25f9-4109-90ae-ca3045a26c18
2011-01-05 10:16:53 +00:00
stefan
ab442041c1
- remove bug in the network driver
...
=> now, we use correct irq number
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@334 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-12-13 21:58:46 +00:00
stefan
45219bce2e
- huge commit
...
- enable the paging support
- redesign of the APIC code
TODO:
- Currently, we are not able to start user-level applications.
- The RTL8139 driver does not longer work. Perhaps, a bug in the output function.
- The APIC codes doesn't work on all systems. Therefore, the code is currently disabled.
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@326 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-12-10 06:16:58 +00:00
stefan
7ba3a994b6
- remove some wrong definitions
...
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@303 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-11-30 19:50:03 +00:00
stefan
34e28a36f6
- add some debug messages
...
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@302 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-11-30 19:48:57 +00:00
stefan
c3c7468208
- some code cleanup
...
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@301 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-11-30 19:47:46 +00:00
stefan
71be663e2d
- remove some compiler warnings
...
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@299 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-11-30 08:14:11 +00:00
stefan
12bfcd2f87
- add lwIP-based echo and ping servers
...
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@297 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-11-30 06:06:28 +00:00