Commit graph

362 commits

Author SHA1 Message Date
Stefan Lankes
2a5411c987 fix bug in the initialization of caching strategy 2011-04-21 09:28:56 -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
5d0cf35f4f Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm 2011-04-21 07:32:42 +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
Stefan Lankes
a3176aac0b remove bug in the calulation of the break condition 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
Stefan Lankes
d8ad0b8dce add space to store the FPU context 2011-04-21 07:31:46 +02:00
Jacek Galowicz
a9c4b5ddc0 Encapsulated IDT-/GDT-descriptor configuring code into helper functions. 2011-04-21 07:31:45 +02:00
Stefan Lankes
65d66171d7 add jacobi solver as example program 2011-04-21 07:31:45 +02:00
Stefan Lankes
23313590be use logical operations instead of / and % to increase the performance 2011-04-21 07:31:45 +02:00
Stefan Lankes
145c2e91be enables runtime debug messages for RCCE library calls 2011-04-21 07:31:45 +02:00
Stefan Lankes
f25beaa8b0 define that we also load metalsvm.obj to pid 1 2011-04-21 07:31:45 +02:00
Stefan Lankes
a070ac6c5a add Intel's bin2obj tool
- this is part of http://marcbug.scc-dc.com/svn/repository/trunk/linuxkernel/bin2obj
2011-04-21 07:31:44 +02:00
Stefan Lankes
f02655ccda add fallback code for memcpy 2011-04-21 07:31:44 +02:00
Stefan Lankes
ed22678011 add code to initialize (i)RCCE and to test RCCE 2011-04-21 07:31:44 +02:00
Stefan Lankes
373d663fd0 add iRCCE code 2011-04-21 07:31:38 +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
8a515c9925 remove bug in the calulation of the break condition 2011-04-20 20:41:51 +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
Stefan Lankes
ea19b15781 - add room to the FPU context 2011-04-20 11:34:52 +02:00
Stefan Lankes
c29e2a8931 Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm into jacobi 2011-04-20 07:31:50 +02:00
Stefan Lankes
6e255fe27e add jacobi solver as example program 2011-04-19 20:18:38 +02:00
Stefan Lankes
3fea08710d use logical operations instead of / and % to increase the performance 2011-04-19 20:01:18 +02:00
Jacek Galowicz
6a1fdca0ac Encapsulated IDT-/GDT-descriptor configuring code into helper functions. 2011-04-19 18:51:59 +02:00
Stefan Lankes
a62b4949ee Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm into jacobi 2011-04-19 17:52:26 +02:00
Stefan Lankes
f3972a36c4 enables runtime debug messages for RCCE library calls 2011-04-19 08:36:58 -07:00
Stefan Lankes
7d36bb7ed1 define that we also load metalsvm.obj to pid 1 2011-04-19 08:36:00 -07:00
Stefan Lankes
ed6aa2eca8 add Intel's bin2obj tool
- this is part of http://marcbug.scc-dc.com/svn/repository/trunk/linuxkernel/bin2obj
2011-04-19 07:39:53 -07:00
Stefan Lankes
52c924f62a add fallback code for memcpy 2011-04-19 07:18:35 -07:00
Stefan Lankes
622b403f08 add code to initialize (i)RCCE and to test RCCE 2011-04-19 07:17:51 -07:00
Stefan Lankes
f556608010 - add iRCCE code 2011-04-19 07:17:07 -07:00
Stefan Lankes
df250721b5 use logical operation instead of / and % to increase the performance 2011-04-19 07:23:00 +02:00
Stefan Lankes
4fc507bc6b fix bug in the TSS initialization for a new task, which is a copy of the current task 2011-04-18 12:18:59 -07: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
Stefan Lankes
68281c8ad0 cosmetic changes, minor code optimization 2011-04-18 15:10:24 +02:00
Stefan Lankes
47f37e3b00 use memory barriers instead of read memory barriers to determine the current TSC
=> more accurate caclculation of the timer frequency
+ minor cosmetic changes
2011-04-18 15:07:45 +02:00
Stefan Lankes
624afd187c by entering a system call, we need also to push the segment descriptor on the stack 2011-04-18 15:05:27 +02:00
Stefan Lankes
04a0dfb114 enable the support of the system call "fork"
remove obsolete file
2011-04-18 15:03:35 +02:00
Jacek Galowicz
b9b7841dc3 Moved IDT related structs from idt.c to idt.h. 2011-04-15 15:08:41 +02:00
Stefan Lankes
02cf1d87f2 resolve some merge conflicts 2011-04-14 08:58:07 +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
Stefan Lankes
a9ce93d119 define the macro SCC_BOOTINFO, which defines the address of the boot parameters 2011-04-13 11:10:47 -07:00
Stefan Lankes
9fb28ccfd9 currently, a fork doesn't work on all architectures => disable this feature in our examples 2011-04-13 11:04:46 -07:00
Stefan Lankes
eeb49cdb90 add the SCC support of a initial ramdisk 2011-04-13 11:03:34 -07:00
Stefan Lankes
4da0a6e15e set correct dependencies between the rules 2011-04-13 11:01:24 -07:00
Stefan Lankes
12fb2a60f2 create a dynamic region, which specifies the boot parameters 2011-04-13 07:04:50 -07:00
Stefan Lankes
0fbf2df5ac use inline assembler to load the IDT 2011-04-08 10:45:26 -07:00
Stefan Lankes
ba1388c13d Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm into rcce 2011-04-08 07:26:55 -07:00