Commit graph

250 commits

Author SHA1 Message Date
Marian Ohligs
9d157c4542 - remove some obsolete code 2011-09-14 17:30:02 +02:00
Marian Ohligs
39396f1188 - only initialize the fildes_t in usertasks, on create_user_task 2011-09-14 16:25:29 +02:00
Marian Ohligs
0dc10634a9 - code cleanup
- rename netio in socket
    - reactivate workaround in lseek
2011-09-14 14:30:06 +02:00
Marian Ohligs
e572d1c502 Merge branch 'master' into ohligs
Conflicts:
	kernel/init.c
	kernel/tests.c
2011-09-09 21:23:15 +02:00
Stefan Lankes
8aadb9a426 to solve some DHCP issues, we use same procedure to initialize LwIP like the LwIP examples 2011-09-07 10:09:47 +02:00
Stefan Lankes
c6339bfd2d by leaving the interrupt handler, we check if an urgent task is ready
if yes, the kernel switchs to this task
2011-09-06 06:46:52 -07:00
Stefan Lankes
62070aa3a9 add the support of (explicit) write through caching 2011-09-03 13:25:49 -07:00
Stefan Lankes
27e652f81d if a task exists with a higher priority, we start a rescheduling in check_workqueues. 2011-09-02 13:57:11 -07:00
Marian Ohligs
ed5dba2672 Merge branch 'master' into ohligs
Conflicts:
	kernel/tests.c
2011-08-29 14:52:23 +02:00
Stefan Lankes
38d26aecae Merge branch 'master' into demo 2011-08-28 23:59:12 -07:00
Stefan Lankes
4fe2562839 fine tuning by using the irq fast lane 2011-08-28 01:24:28 -07:00
Stefan Lankes
512db09866 remove compiler warnings 2011-08-27 14:28:21 -07:00
Stefan Lankes
c81c83e9ff Merge remote branch 'origin/mailbox_integration' into demo 2011-08-27 08:07:43 -07:00
Stefan Lankes
298670b0db use also the ticket lock workaround for irq save spinlocks 2011-08-27 05:25:47 -07:00
Marian Ohligs
b3be0861f9 Merge branch 'master' into ohligs 2011-08-27 12:11:53 +02:00
Stefan Lankes
7e3c06f47b if required, the waken task will remove from the timer queue 2011-08-26 21:55:16 +02:00
Marian Ohligs
6ee8ee2be5 Merge branch 'master' into ohligs 2011-08-26 21:20:01 +02:00
Stefan Lankes
5e047d6b96 bug in ticket lock! => switch (temporary) to a "normal" spinlock 2011-08-26 03:11:58 -07:00
Marian Ohligs
e9805be005 Merge branch 'master' into ohligs
Conflicts:
	kernel/tasks.c
	kernel/tests.c
2011-08-25 12:15:36 +02:00
Generic account for RWTHAachen Students
17b104d11c Merge commit '499f43bfaf0bd7ca9387091712c0b60273bfa5d2' into mailbox_integration
Conflicts:
	arch/x86/scc/icc.c
	kernel/tests.c
2011-08-24 23:47:56 -07:00
Stefan Lankes
9631d861c3 Merge branch 'libsocket' 2011-08-24 09:39:17 +02:00
Stefan Lankes
499f43bfaf add first version of the lazy release consistency 2011-08-23 14:03:34 -07:00
Stefan Lankes
0a0452b7a1 prepare SVM subsystem to support also other consitency modells 2011-08-23 07:40:20 -07:00
Simon Pickartz
105cc84303 Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm into mailbox_integration 2011-08-18 13:58:16 -07:00
Simon Pickartz
774ae9df37 Merge branch 'master' into mailbox_integration 2011-08-18 13:54:04 -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
35621d72d1 first try to realize task stealing 2011-08-18 12:16:31 +02:00
Simon Pickartz
142e4892af resolve merge conflicts 2011-08-17 23:32:39 -07:00
Stefan Lankes
93257508ee wakeup a blocked task on the core, which the task used during the last time slice 2011-08-17 15:09:59 +02:00
Stefan Lankes
6c1553ce0e fix conflict 2011-08-17 14:58:51 +02:00
Stefan Lankes
f3a817ee92 Merge branch 'master' into libsocket
Conflicts:
	include/metalsvm/tasks_types.h
	kernel/tests.c
2011-08-17 14:57:20 +02:00
Stefan Lankes
5661ee64e1 remove compiler warnings 2011-08-17 14:55:33 +02:00
Stefan Lankes
296e8e98f4 the idle priority doesn't longer possess an own runqueue
only the idle task uses this priority class
2011-08-17 14:49:12 +02:00
Stefan Lankes
4c9855c83a redesign of the scheduler, defining of a runqueue per core
=> Currently, we work stealing isn't supported
2011-08-17 13:51:19 +02: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
Generic account for RWTHAachen Students
7bf0cf184c only check irq status reg if irq_no = 124 2011-08-15 09:56:46 -07:00
Stefan Lankes
62e7ead997 add SVM demo example and redesign of the SVM system 2011-08-15 07:16:12 -07:00
Simon Pickartz
6892fa021a testing remote interrupts 2011-08-13 17:14:01 -07:00
Marian Ohligs
2f89686df8 - change close(node) in close(file)
- disable close in netchar, for testing
2011-08-11 17:11:48 +02: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
926f90fc4f add LwIP errno variable in the context of the task 2011-08-10 08:17:32 +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
a179ded21b redesign of the timers, support of timeouts in mailboxes and semaphores 2011-08-06 15:55:34 +02:00
Stefan Lankes
40230ade50 avoid unneeded using of per_core macro 2011-08-03 21:38:40 +02:00
Stefan Lankes
452aa3b1d1 cosmetic changes and add some scheduling statistics 2011-08-03 19:37:05 +02:00
Marian Ohligs
032bba3a95 - some chmod changes 2011-08-02 15:58:20 +02:00
Marian Ohligs
9c7b565344 - enable flags in fs.h (O_RDONLY O_WRONLY O_RDWR) 2011-08-02 12:00:25 +02:00