Commit graph

236 commits

Author SHA1 Message Date
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
Stefan Lankes
5d16090b76 map FPGA registers to the kernel space 2011-05-29 15:30:34 -07:00
Marian Ohligs
83f5a4c426 Merge branch 'master' into ohligs
Conflicts:
	.gitignore
2011-05-29 11:20:49 +02:00
Stefan Lankes
cdd16a2b9f add the SSE support
=> context switch stores also the SSE registers
2011-05-28 23:35:46 +02:00
Marian Ohligs
4f0bc05a74 add basic support of scanf, get ... 2011-05-23 12:56:14 +02: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
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