Commit graph

245 commits

Author SHA1 Message Date
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
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
Marian Ohligs
5c7e9f38ec Merge branch 'master' into ohligs
Conflicts:
	.gitignore
	kernel/syscall.c
	kernel/tasks.c
	kernel/tests.c
	newlib/examples/Makefile
2011-08-10 16:57:17 +02:00
Stefan Lankes
c3fbc90b9e switch (partly) from a Apache License to a BSD License 2011-08-08 23:32:34 +02:00
Marian Ohligs
cdc6707852 Merge branch 'master' into ohligs
- one more bug: block_task is missing

Conflicts:
	include/metalsvm/tasks_types.h
	kernel/main.c
	kernel/tasks.c
2011-08-06 17:51:48 +02:00
Stefan Lankes
452aa3b1d1 cosmetic changes and add some scheduling statistics 2011-08-03 19:37:05 +02:00
Stefan Lankes
e2c546a782 first steps to realize a SVM subsystem 2011-08-02 07:17:49 -07:00
Marian Ohligs
032bba3a95 - some chmod changes 2011-08-02 15:58:20 +02:00
Simon Pickartz
736d221022 merge 2011-08-01 14:28:31 -07:00
Simon Pickartz
3275d8cc17 still testing remote interrupt 2011-08-01 14:24:46 -07:00
Marian Ohligs
429c2a99d7 Merge branch 'master' into ohligs 2011-08-01 22:35:04 +02: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
Simon Pickartz
e813c37d9f update mailbox_system to newest version 2011-08-01 13:55:29 +02:00
Marian Ohligs
b25bd2d785 Merge branch 'master' into ohligs 2011-07-31 20:09:00 +02:00
Stefan Lankes
a26f88c940 cosmetic changes 2011-07-31 19:17:42 +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
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
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
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
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
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
36a8ed9e31 add helper functions for reading and writing CMOS entries 2011-07-18 09:06:09 +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
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
Simon Pickartz
439c56292e add icc_mail_noise to generate noise on the other cores 2011-07-04 12:27:28 +02: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
Stefan Lankes
5cd3d7557a fine tuning to increase the performance of the mailbox example 2011-07-02 03:13:24 -07:00
Simon Pickartz
f4443e6761 new mail_pingpong test 2011-07-01 15:41:41 +02:00
Stefan Lankes
86b1d02945 remove obsolete lines 2011-06-30 12:11:58 -07:00
Stefan Lankes
e1d3ac2ec5 remove obsolete code & minor optimizations 2011-06-29 12:31:32 -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
Generic account for RWTHAachen Students
262e9f085a bug fix 2011-06-07 03:53:37 -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
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
e59860dde3 add icc_mail_ping to icc.h 2011-05-31 04:57:55 -07:00
Simon Pickartz
75ed99db86 added mailbox-support 2011-05-31 10:45:22 +02:00
Marian Ohligs
d92515f02a Merge branch 'master' into ohligs 2011-05-30 22:48:00 +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