Generic account for RWTHAachen Students
262e9f085a
bug fix
2011-06-07 03:53:37 -07:00
Simon Pickartz
a980bd56e6
add mail_ping interrupt test-scenario
2011-06-07 12:40:07 +02:00
Simon Pickartz
570b559b5e
add mail_ping interrupt test-scenario
2011-06-07 12:38:35 +02:00
Simon Pickartz
02037f6ba5
Merge branch 'mailbox_integration' of git.lfbs.rwth-aachen.de:metalsvm into mailbox_integration
2011-06-06 23:30:44 -07:00
Simon Pickartz
413af27f9b
add counter for mail_ping latency
2011-06-06 23:29:00 -07:00
Generic account for RWTHAachen Students
240abdef8c
little memory optimization in fetch-function
2011-06-06 08:32:59 -07:00
Generic account for RWTHAachen Students
521c3e1bc9
free allocated memory for iRCCE_MAIL_HEADER now; call iRCCE_finalize() in icc_halt()
2011-06-06 06:45:17 -07:00
Simon Pickartz
841e404a21
Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm into mailbox_integration
2011-06-05 13:14:23 -07:00
Simon Pickartz
ddc72ef51e
add some printfs for debugging purpose
2011-06-05 05:46:39 -07:00
Stefan Lankes
3645a598da
remove typo
2011-05-31 23:44:03 +02: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
9aa95fee0c
add anysource support for irecv and recv
2011-05-31 12:58:15 +02:00
Simon Pickartz
3cf792d250
add mailbox test
2011-05-31 02:55:40 -07:00
Simon Pickartz
d1fd6d151f
kfree calls match to inteface now
2011-05-31 01:57:48 -07:00
Simon Pickartz
e7cae5599d
conflict fix
2011-05-31 01:53:05 -07:00
Simon Pickartz
cb3f4295e4
add iRCCE_mailbox.c to Makefile
2011-05-31 01:50:47 -07:00
Simon Pickartz
b05400348a
anylength support in isend
2011-05-31 10:48:28 +02:00
Simon Pickartz
75ed99db86
added mailbox-support
2011-05-31 10:45:22 +02:00
Simon Pickartz
683f36b83e
added mailbox-system
2011-05-31 10:22:26 +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
cdd16a2b9f
add the SSE support
...
=> context switch stores also the SSE registers
2011-05-28 23:35:46 +02:00
Stefan Lankes
e4b6c8a356
Merge branch 'svm'
2011-05-25 15:34:43 -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
098546fe25
fix typo in the declaration of icc_ping
2011-05-17 08:11:41 -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
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
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
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
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
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
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
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
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