Commit graph

289 commits

Author SHA1 Message Date
Stefan Lankes
0a0452b7a1 prepare SVM subsystem to support also other consitency modells 2011-08-23 07:40:20 -07:00
Stefan Lankes
0d74873fa9 minor optimizations 2011-08-23 06:51:25 -07:00
Stefan Lankes
2605ce5b34 RCCE_shmalloc returns only a physical address => we have to map this region into the virtual address space 2011-08-23 01:12:52 -07:00
Stefan Lankes
af6ef23085 add some performance counters and remove bug in the physical to virtual address translation 2011-08-22 22:13:06 -07:00
Stefan Lankes
5472960a13 cosmetic changes 2011-08-22 22:10:15 -07:00
Stefan Lankes
a4a4c5b9f0 use RCCE's method to flush the write combining buffers 2011-08-22 13:16:54 -07:00
Stefan Lankes
6f1c07c0dc some code cleanups 2011-08-20 01:03:18 -07:00
Stefan Lankes
a36134c5ff Merge branch 'master' into svm 2011-08-19 13:52:43 -07:00
Stefan Lankes
f721582a5c on the SCCm we include always scc_memcpy.h 2011-08-19 13:50:47 -07:00
Stefan Lankes
9c15383d2c add first running version of our svm system 2011-08-19 00:11:36 -07:00
Stefan Lankes
1f178b99cc now, the page fault handler determines the PGT's address correctly 2011-08-18 07:08:25 -07:00
Stefan Lankes
01a4573b36 remove some output messages 2011-08-18 05:50:54 -07:00
Stefan Lankes
016c4a1227 Merge branch 'master' into svm 2011-08-18 05:43:31 -07:00
Stefan Lankes
e9aa86ed51 fix bug in the MPB-specific memcpy functions
=> solves a problem in Simon's mailbox system
2011-08-18 05:38:23 -07:00
Stefan Lankes
6e55a3a874 add some debug messages and remove obsolete macros 2011-08-16 16:08:04 -07:00
Stefan Lankes
a0bae35a88 add untested prototype of an SVM system 2011-08-16 03:29:54 -07:00
Stefan Lankes
c471e8177e Merge branch 'master' into svm 2011-08-15 11:09:56 -07:00
Stefan Lankes
c8e22fe08e add faster memcpy function for the SCC 2011-08-15 08:01:47 -07:00
Stefan Lankes
62e7ead997 add SVM demo example and redesign of the SVM system 2011-08-15 07:16:12 -07:00
Stefan Lankes
7980fd5bd7 RCCE_shmalloc manages only physical memory regions
=> users have to map these regions in the virtual address space by their own
=> temporary disabling of mmnif
2011-08-15 07:13:31 -07:00
Stefan Lankes
c1cb54ae90 cosmetic changes 2011-08-15 06:36:38 -07:00
Stefan Lankes
5c3c757cbb Merge branch 'master' into svm 2011-08-15 01:13:02 -07:00
Stefan Lankes
1583f886b8 on the SCC, the kernel determines the virtual address for the initrd 2011-08-10 03:25:22 -07:00
Stefan Lankes
c3fbc90b9e switch (partly) from a Apache License to a BSD License 2011-08-08 23:32:34 +02:00
Stefan Lankes
a179ded21b redesign of the timers, support of timeouts in mailboxes and semaphores 2011-08-06 15:55:34 +02:00
Stefan Lankes
387ef0ea9b cosmetic changes 2011-08-04 16:48:04 +02:00
Stefan Lankes
22441375bb add blocking timers
only the idle tasks use the polling mode
2011-08-03 21:41:06 +02:00
Stefan Lankes
452aa3b1d1 cosmetic changes and add some scheduling statistics 2011-08-03 19:37:05 +02:00
Stefan Lankes
577300919c fix bug in search_apic and uses function to find the MP Config Table 2011-08-03 07:37:57 +02:00
Stefan Lankes
e98a53ba16 Merge branch 'master' into svm 2011-08-02 12:53:21 -07:00
Stefan Lankes
f4dd038ee5 save and restore segment registers
=> this fixed a bug in the system call "fork"
2011-08-02 12:33:08 -07:00
Stefan Lankes
d91b0d49c2 minor bug fix
=> search the MP Config Table below 1MB
2011-08-02 18:29:20 +02:00
Stefan Lankes
e2c546a782 first steps to realize a SVM subsystem 2011-08-02 07:17:49 -07:00
Stefan Lankes
75cf088989 use nicer output messages 2011-08-02 06:19:26 -07:00
Stefan Lankes
d5bfc4f28c avoid races on SMP systems
=> signalizes with a new flag, that a task switch is finished
2011-08-01 22:01:39 +02:00
Stefan Lankes
a26f88c940 cosmetic changes 2011-07-31 19:17:42 +02:00
Stefan Lankes
27ee238684 search MP table on all systems 2011-07-31 19:15:06 +02:00
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
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
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
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