Stefan Lankes
0410594ae8
fix bug in handling the timer interrupt
...
=> sending EOI before task switching
2011-07-30 22:47:27 +02:00
Stefan Lankes
5290cd0002
using of the correct data types
...
=> avoids some conflicts on other architectures
2011-07-30 22:46:08 +02:00
Marian Ohligs
94a98c5950
Merge branch 'master' into ohligs
...
Conflicts:
kernel/tasks.c
2011-07-30 19:21:25 +02:00
Stefan Lankes
fba32ec692
using of the correct data types
...
=> avoids some conflicts on other architectures
2011-07-30 17:34:30 +02:00
Stefan Lankes
30f84a4007
fix bug in irq handling
2011-07-30 17:28:09 +02:00
Marian Ohligs
4b258871be
Merge branch 'master' into ohligs
2011-07-27 10:36:51 +02:00
Marian Ohligs
55e0e971be
merge master
2011-07-27 10:28:01 +02:00
Simon Pickartz
f344f65769
mailbox-system thread-safe now
2011-07-23 12:27:08 -07:00
Stefan Lankes
ff2b9da103
do not longer search a MP table, if MAX_CORES is set to 1
2011-07-22 21:17:15 +02:00
Stefan Lankes
ff8c37d68d
use "real" atomic operations to set a value in atomic_t
2011-07-22 21:08:38 +02:00
Stefan Lankes
dd9ddbca46
add memory barrier
2011-07-21 19:15:48 +02:00
Marian Ohligs
a14ba26991
Merge branch 'master' into ohligs
...
Conflicts:
kernel/tasks.c
kernel/tests.c
2011-07-21 15:05:32 +02:00
Stefan Lankes
ab37b024b0
simply the scheduler => move code from entry.asm to timer.c
2011-07-21 09:59:29 +02:00
Stefan Lankes
e57a447fda
minor changes in using the per_core macro, add additional output messages by an exception & cosmetic changes
2011-07-20 09:47:46 +02:00
Stefan Lankes
20c944b099
avoid a task migration during the calculation of the current task
...
=> temporary clearing the IF flag
2011-07-20 08:24:24 +02:00
Stefan Lankes
8e9accd6ed
cosmetic changes
2011-07-19 09:58:40 +02:00
Stefan Lankes
a422926dda
cosmetic changes
2011-07-19 09:23:55 +02:00
Stefan Lankes
d05ffcacac
we use the same handler for exceptions and interrupts => interrupts has to push a virtual error code on the stack
2011-07-19 09:10:12 +02:00
Stefan Lankes
b1c5bf67c2
use a more robust method to find the MP table
2011-07-19 07:36:24 +02:00
Stefan Lankes
d203a070f4
add IPI support to flush the TLB on the other cores
2011-07-19 07:16:49 +02:00
Stefan Lankes
85768e6f58
fix bug in APIC code
...
=> before we enable the interrupts, we map the APIC registers
2011-07-18 15:51:26 +02:00
Simon Pickartz
6e14d56de8
mailbox does not support sendings to own mailbox
2011-07-18 01:14:18 -07:00
Stefan Lankes
da8b078184
align timer_ticks to a cache line
2011-07-18 09:32:52 +02:00
Stefan Lankes
e595fae384
add SMP support
...
- this is experimental version
- by setting MAX_CORES to 1, you are to disable the SMP support
2011-07-18 09:14:28 +02:00
Stefan Lankes
09b3655ea4
reserve a page for the boot code of the application processors
2011-07-18 09:13:33 +02:00
Stefan Lankes
ba1cbc97c8
on a SMP system, only the boot processor increases the timer value
2011-07-18 09:10:23 +02:00
Stefan Lankes
36a8ed9e31
add helper functions for reading and writing CMOS entries
2011-07-18 09:06:09 +02:00
Stefan Lankes
35ec905b7e
move processor initialization code into the function cpu_init
2011-07-18 09:01:35 +02:00
Stefan Lankes
18ce8eff11
some code cleanups
2011-07-15 09:22:31 +02:00
Simon Pickartz
ac840a835a
add new iRCC.h
2011-07-13 15:16:52 +02:00
Simon Pickartz
76befd94f1
update to current mailbox-system
2011-07-13 15:08:33 +02:00
Stefan Lankes
a61607d2e7
add additional error messages
2011-07-12 10:26:50 -07:00
Stefan Lankes
ff1bc7c470
remove typo
2011-07-11 23:42:25 -07:00
Marian Ohligs
7b63bf1d27
!!!!! -> increasing the offset has to be done inside the fs/chardriver.
...
- rewrite the initrd_read/write, char_driver r/w. Now all functions use fildes_t instead of vfs_node_t structs.
- eleminate some compiler warnings
- some changes in open, to reduce compiler warnings. This function isn't working yet!
2011-07-05 14:50:25 +02:00
Stefan Lankes
f5c3437e09
fix bug to compile MetalSVM on RockCreek without LwIP support
2011-07-04 13:25:50 -07:00
Stefan Lankes
227031a41c
Merge branch 'master' into network
2011-07-04 11:41:21 -07:00
Generic account for RWTHAachen Students
f7ca4a2ef1
new test scenario with all cores
2011-07-04 05:06:46 -07:00
Generic account for RWTHAachen Students
b685c15f81
Merge branch 'mailbox_integration' of git.lfbs.rwth-aachen.de:metalsvm into mailbox_integration
2011-07-04 03:34:52 -07:00
Generic account for RWTHAachen Students
9e3d74c1c0
fix typos
2011-07-04 03:34:32 -07:00
Simon Pickartz
439c56292e
add icc_mail_noise to generate noise on the other cores
2011-07-04 12:27:28 +02:00
Stefan Lankes
351a0f6391
remove obsolete iRCCE_*_push
2011-07-03 02:31:40 -07:00
Stefan Lankes
e08f6a9d53
add UART support
2011-07-02 13:04:26 -07:00
Simon Pickartz
c0fe176945
remove typos
2011-07-02 09:09:53 -07:00
Simon Pickartz
f3c241d1fe
add mail_ping_irq example
2011-07-02 17:51:25 +02:00
Stefan Lankes
e5c0e2b037
integrate the timer values of the icc ping example in the payload of the mailbox header
...
=> remove some static variables
2011-07-02 03:40:08 -07:00
Stefan Lankes
5cd3d7557a
fine tuning to increase the performance of the mailbox example
2011-07-02 03:13:24 -07:00
Stefan Lankes
4b3efa14a3
add Simon's patch
2011-07-02 03:10:07 -07:00
Simon Pickartz
c2341562c7
more rounds in mail_pingpong
2011-07-01 07:08:19 -07:00
Simon Pickartz
681bb5428f
merge
2011-07-01 06:48:16 -07:00
Simon Pickartz
ae496a6d19
typos
2011-07-01 06:46:59 -07:00