Commit graph

118 commits

Author SHA1 Message Date
Stefan Lankes
32a36c5e6e disable ping example 2011-07-02 00:28:41 -07:00
Stefan Lankes
fec9f9cfe1 switch back to the ping example
- use RAW interface
- cut the timer debug messages
2011-06-30 12:26:16 -07:00
Stefan Lankes
de216756d1 move mailbox example to tests.c 2011-06-29 12:29:04 -07:00
Simon Pickartz
d6860b60b7 Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm into mailbox_integration 2011-06-27 13:37:26 +02:00
Stefan Lankes
499fc1192f comment ping example 2011-06-22 11:29:59 -07:00
Simon Pickartz
39b79506bf Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm into mailbox_integration 2011-06-22 19:51:21 +02:00
Stefan Lankes
19fffd46c5 use netif_set_up to enable the network device 2011-06-21 23:19:28 -07:00
Stefan Lankes
fd89f4f825 use the socket version of ping, if this feature is enabled in LwIP 2011-06-21 23:18:10 -07:00
Stefan Lankes
692e554a3a remove obsolete test 2011-06-21 23:10:45 -07:00
Simon Pickartz
f6fed124b6 use interrupts+anylength_call now 2011-06-09 04:23:17 -07:00
Stefan Lankes
5517d505db remove SCC workaround 2011-06-08 23:43:29 -07:00
Stefan Lankes
b4639fc1ae fix typo, remove some SCC workarounds 2011-06-08 23:42:20 -07:00
Stefan Lankes
b904e8e412 Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm into lwip 2011-06-08 23:24:34 -07:00
Stefan Lankes
393808e198 fix bug in the initializtion of the BSS section
- DO NOT LONGER USE the compiler flag "-fno-zero-initialized-in-bss"
2011-06-09 08:18:12 +02:00
Generic account for RWTHAachen Students
fbd30d8f5a testing mail_check 2011-06-08 09:23:05 -07:00
Simon Pickartz
7045bc208b merge 2011-06-08 05:00:52 -07:00
Simon Pickartz
f1aa9fa24c little mail test 2011-06-08 04:59:23 -07:00
Generic account for RWTHAachen Students
bba87c8e27 bug fix in mail_ping 2011-06-07 05:53:16 -07:00
Simon Pickartz
771ed2190e a 2011-06-05 13:08:44 +02:00
Stefan Lankes
6c80f9e15a add initial version of eMAC driver
as workround for some bugs, a few LwIP features and the interrupt handling in ICC are disabled
2011-06-05 00:05:41 -07:00
Simon Pickartz
11e61b6816 add printfs 2011-05-31 05:47:16 -07:00
Simon Pickartz
e59860dde3 add icc_mail_ping to icc.h 2011-05-31 04:57:55 -07:00
Simon Pickartz
4a1930fb9f bug fix 2011-05-31 04:29:20 -07:00
Simon Pickartz
3cf792d250 add mailbox test 2011-05-31 02:55:40 -07:00
Stefan Lankes
bfc5f29620 add ping test and increase the number of timeouts 2011-05-29 15:54:33 +02:00
Stefan Lankes
fdeceeac36 switch from lwip-1.3.2 to lwip 1.4.0 2011-05-29 15:36:02 +02:00
Stefan Lankes
cdd16a2b9f add the SSE support
=> context switch stores also the SSE registers
2011-05-28 23:35:46 +02: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
08f5153257 add the support of inter core interrupts 2011-05-17 08:13:20 -07:00
Stefan Lankes
3a0e42eef1 add ping pong test and some bug fixes in the ICC part 2011-04-24 07:27:27 -07:00
Stefan Lankes
29ab43f289 First steps to realize Inter-Core-Communication via RCCE 2011-04-23 00:13:12 -07:00
Stefan Lankes
a563c756ee fix bug in the setup of the caching strategy 2011-04-21 09:33:49 -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
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
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
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
ba1388c13d Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm into rcce 2011-04-08 07:26:55 -07: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
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