Commit graph

264 commits

Author SHA1 Message Date
Marian Ohligs
83f5a4c426 Merge branch 'master' into ohligs
Conflicts:
	.gitignore
2011-05-29 11:20:49 +02:00
Stefan Lankes
e4b6c8a356 Merge branch 'svm' 2011-05-25 15:34:43 -07:00
Stefan Lankes
5d702411ab enable in RCCE the shared memory support 2011-05-25 15:28:20 -07:00
Jacek Galowicz
394befa3a8 Color management for procedures using vga_putchar
As seen in some BSD operating systems, you can now push and pop foreground and background colors onto a stack to change the colors you see on the screen whenever kprintf/kputchar is used.

This could become useful if one wants to see kernel space kprintfs in other colors than user space printfs or error messages in red and other debugging purposes.

Beware: This is just a small and dirty hack which protects the colorstack with locks and so on. But on task switching the color will not be switched. That makes different colors for different colors persistent for all the time difficult/impossible. But I considered adding colors to the task structures a bit overdone for a small debugging-help.

[Sorry for those commit-and-pull-back-mails. Forgot that I had this stuff on the master branch while pushing my own branch onto the server.]
2011-05-25 09:26:00 +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
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
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
Marian Ohligs
4c370ad377 Bug fixed in stdout: printf is working
some test changes in initrd_write
2011-04-26 16:43:57 +02:00
Stefan Lankes
3a0e42eef1 add ping pong test and some bug fixes in the ICC part 2011-04-24 07:27:27 -07:00
Marian Ohligs
ef59f6cb8d Merge branch 'master' into ohligs
Conflicts:
	kernel/tasks.c
2011-04-23 11:09:56 +02:00
Stefan Lankes
29ab43f289 First steps to realize Inter-Core-Communication via RCCE 2011-04-23 00:13:12 -07:00
Stefan Lankes
900c67c2a0 remove obsolete flags 2011-04-22 09:31:33 +02: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
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
Stefan Lankes
d8ad0b8dce add space to store the FPU context 2011-04-21 07:31:46 +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
ed22678011 add code to initialize (i)RCCE and to test RCCE 2011-04-21 07:31:44 +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
Stefan Lankes
ea19b15781 - add room to the FPU context 2011-04-20 11:34:52 +02:00
Marian Ohligs
1dd09910a8 Merge branch 'master' into readwrite 2011-04-19 20:42:40 +02:00
Stefan Lankes
3fea08710d use logical operations instead of / and % to increase the performance 2011-04-19 20:01:18 +02:00
Stefan Lankes
622b403f08 add code to initialize (i)RCCE and to test RCCE 2011-04-19 07:17:51 -07:00
Marian Ohligs
489ed562c9 Merge branch 'master' into readwrite
Conflicts:
	kernel/tasks.c
2011-04-18 23:26:08 +02: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
Marian Ohligs
f730f410c3 Merge branch 'master' into readwrite
Conflicts:
	arch/x86/include/asm/apic.h
	arch/x86/include/asm/page.h
	arch/x86/include/asm/processor.h
	arch/x86/kernel/idt.c
	fs/initrd.c
2011-04-16 23:20:52 +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
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
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
Marian Ohligs
04583e3982 read write patch (not working yet) 2011-04-07 16:41:39 +02:00
Stefan Lankes
f0e4a2b833 add the support of the memory type MPBT
=> seesection "10.1.2 Internal Cache Changes" of SCC External Architecture Specification (R1.1)
2011-04-05 23:43:44 -07: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
Stefan Lankes
ffe0c1d806 add standard C function strtoul 2011-04-04 08:51:15 +02:00
Stefan Lankes
cb75bf1d87 specify SCC's memory layout in the config file 2011-03-25 20:39:05 +01:00
Stefan Lankes
4efaedd33a fix typo in Makefile 2011-03-24 05:24:40 -07:00
Stefan Lankes
966338f590 add an example for the RCCE settings 2011-03-24 11:28:26 +01:00
Stefan Lankes
c738a64d57 integration of RCCE in MetalSVM (untested version)
Attention: currently, MetalSVM didn't support the floating point unit

=> no using of RCCE_wtime
=> no using of the data type RCCE_double
=> RCCE_init expect an integer value as frequency in MHZ
2011-03-24 11:21:38 +01:00
Stefan Lankes
1d8810aa91 add rudimental support of basic C functions
- isacii
- islower
- isupper
- toascii
- isspace
- isdigit
- tolower
- toupper
- strtol
- atoi
2011-03-24 11:01:59 +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