Commit graph

1778 commits

Author SHA1 Message Date
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
Stefan Lankes
f51b24a45f using of kprintf instead of printf 2011-05-24 15:05:29 -07:00
Stefan Lankes
2357d65a09 add baremetal version of coreid, readLUT and writeLUT 2011-05-24 15:04:44 -07:00
Marian Ohligs
fbd948f66f remove hangman, add mshell 2011-05-24 23:37:40 +02:00
Marian Ohligs
240d7f65c3 Merge branch 'mshell' into readwrite 2011-05-24 23:33:01 +02:00
Marian Ohligs
1650d12295 Merge branch 'ohligs' into readwrite 2011-05-24 18:58:10 +02:00
Marian Ohligs
af0728a57d add the feature to start elf-files 2011-05-24 18:54:53 +02:00
Marian Ohligs
6ba32a14b5 Merge branch 'ohligs' into mshell
Conflicts:
	kernel/tests.c
2011-05-24 18:42:58 +02:00
Marian Ohligs
5c9ff18204 fixing a bug with fork 2011-05-24 18:41:24 +02:00
Marian Ohligs
f54b06a807 add the ability to start apps (still buggy) 2011-05-24 17:23:10 +02:00
Marian Ohligs
cf570ee42a Merge branch 'ohligs' into mshell 2011-05-24 15:44:40 +02:00
Marian Ohligs
3cf6180196 fix some strange behavior with backspace 2011-05-24 00:56:21 +02:00
Marian Ohligs
9137549a42 add basic mshell
-> help
-> exit
-> path/to/elf
2011-05-24 00:48:56 +02:00
Marian Ohligs
bb80eec6e4 Merge branch 'ohligs' into readwrite 2011-05-23 13:48:12 +02:00
Marian Ohligs
bae6e2df51 add tiny hangman test 2011-05-23 13:47:05 +02:00
Marian Ohligs
8651593758 bug fix in fb.c 2011-05-23 13:42:26 +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
34641f4338 - add some open-flag defines
- some design changes
2011-05-19 12:53:47 +02:00
Marian Ohligs
33be04bfcd lseek only works with FS_FILE. On failture, the result is -EINVAL 2011-05-19 11:11:18 +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
1f74434a46 Merge branch 'master' into ohligs 2011-05-18 12:50:41 +02:00
Stefan Lankes
fc17e7710d simplify pingpong benchmark 2011-05-18 00:37:25 -07:00
Stefan Lankes
08f5153257 add the support of inter core interrupts 2011-05-17 08:13:20 -07:00
Stefan Lankes
7970899fd1 use HALT instead of NOP8 2011-05-17 08:12:56 -07:00
Stefan Lankes
098546fe25 fix typo in the declaration of icc_ping 2011-05-17 08:11:41 -07:00
Marian Ohligs
c4a64535dd Merge branch 'master' into ohligs 2011-05-16 23:22:39 +02:00
Jacek Galowicz
58115dc000 New Makefile target: qemudbg
This target starts qemu in Debug-Mode and GDB.
There is a GDB-Script file script.gdb which is extensible to match your
debugging needs.
2011-05-16 13:26:49 +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
4460d92843 add syscall lseek (not working yet)
some design changes in kernel/systcall.c
2011-05-12 11:29:31 +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
2f6bf8219f add some drivers Makefiles 2011-04-26 17:01:09 +02:00
Marian Ohligs
6c45e03d0e Merge branch 'master' into ohligs
Conflicts:
	fs/initrd.c
2011-04-26 16:52:52 +02:00
Marian Ohligs
f785bcf9a4 Fix Bug in stderr (same as stdout) 2011-04-26 16:49:10 +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
Marian Ohligs
02f7fecc61 first stdin, stout, stderr implementation (still buggy) 2011-04-23 11:04:32 +02:00
Stefan Lankes
29ab43f289 First steps to realize Inter-Core-Communication via RCCE 2011-04-23 00:13:12 -07:00
Stefan Lankes
1157306567 remove typo 2011-04-22 23:19:53 -07:00
Stefan Lankes
eab1480113 remove typo 2011-04-22 09:55:27 +02:00
Stefan Lankes
900c67c2a0 remove obsolete flags 2011-04-22 09:31:33 +02:00
Stefan Lankes
ea4a7477c5 set CR0's MP flag to monitor the coprocessor 2011-04-21 19:46:55 +02:00
Stefan Lankes
6d143c00f7 Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm 2011-04-21 09:40:31 -07:00
Stefan Lankes
a563c756ee fix bug in the setup of the caching strategy 2011-04-21 09:33:49 -07:00
Stefan Lankes
2a5411c987 fix bug in the initialization of caching strategy 2011-04-21 09:28:56 -07:00