Commit graph

408 commits

Author SHA1 Message Date
Stefan Lankes
cf6fdf4067 reducing the size of the kernel image by using unintialized global arrays 2011-06-22 08:38:49 +02:00
Stefan Lankes
9095773735 Merge branch 'lwip' 2011-06-21 23:28:56 -07:00
Stefan Lankes
f8be2e3483 add first functional version of the eMAC driver
- this driver required at least sccKit 1.4.0
2011-06-21 23:26:31 -07: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
b68e9051cb MetalSVM is a research project => we trust the incoming IP packets
- set ETHARP_TRUST_IP_MAC to 1
2011-06-21 23:12:09 -07:00
Stefan Lankes
692e554a3a remove obsolete test 2011-06-21 23:10:45 -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
9085bb67e4 fix typo 2011-06-09 08:29:06 +02: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
Stefan Lankes
46b86a6746 remove typo 2011-06-08 06:03:57 -07:00
Stefan Lankes
536e02892f Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm into lwip
Conflicts:
	lwip/src/include/lwipopts.h
2011-06-06 13:20:31 -07:00
Stefan Lankes
3b79af56a3 add the support of the Socket API 2011-06-06 21:45:10 +02:00
Stefan Lankes
7ecdc87d89 integration of MetalSVM features into LwIP
- setting LwIP macro NO_SYS to 0
- this approach based on Carl-Benedikt Krueger's LwIP branch "krueger"
2011-06-05 21:39:57 +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
Stefan Lankes
3645a598da remove typo 2011-05-31 23:44:03 +02:00
Jacek Galowicz
ce6272ab6e Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm 2011-05-30 11:26:37 +02:00
Jacek Galowicz
7fdb044e9a Encapsulated FPU restore instructions.
There is a new procedure restore_fpu_state() in
arch/x86/include/asm/tasks_types.
Will need this code in lguest, too.
2011-05-30 11:22:54 +02:00
Stefan Lankes
5d16090b76 map FPGA registers to the kernel space 2011-05-29 15:30:34 -07:00
Stefan Lankes
318324949e add missing directory to the list of the lwip directories 2011-05-29 13:02:04 -07:00
Stefan Lankes
bfc5f29620 add ping test and increase the number of timeouts 2011-05-29 15:54:33 +02:00
Stefan Lankes
8a746580b0 fix typo 2011-05-29 15:38:18 +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
3ff984a21c add the example jacobi to the git ignore list 2011-05-28 23:37:15 +02:00
Stefan Lankes
cdd16a2b9f add the SSE support
=> context switch stores also the SSE registers
2011-05-28 23:35:46 +02:00
Stefan Lankes
b5066036ab only if the macro CONFIG_VGA is set, the function settextcolor will be used 2011-05-25 15:42:10 -07: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
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
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
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
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
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
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