Commit graph

800 commits

Author SHA1 Message Date
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
40d3763d4c remove typo 2011-08-06 07:27:14 -07:00
Stefan Lankes
6d08dbcf72 minor changes to support the new semaphore interface 2011-08-06 07:24:21 -07: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
54dfd7ba49 add example macro to check if the tcpip thread is alive 2011-08-06 15:54:00 +02:00
Stefan Lankes
e4a170938e create a special init task (initd), which spawns all other tasks 2011-08-06 15:52:47 +02:00
Stefan Lankes
87cd484bb9 add additional debug information 2011-08-06 15:46:10 +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
2e1cfd7965 fix wrong data type and wrong using of create_kernel_task 2011-08-03 21:40:07 +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
8fcf9514ca Merge branch 'master' into ohligs 2011-08-03 16:56:55 +02:00
Stefan Lankes
22dab59699 minor changes in the scheduler routine to relalize a fair round-robin scheduling 2011-08-03 15:10:58 +02:00
Marian Ohligs
898311edd6 - read, write , close, lseek now check if fd >= 0 2011-08-03 11:57:21 +02:00
Marian Ohligs
5af1ae0386 Merge branch 'master' into ohligs 2011-08-03 10:43:10 +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
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
Marian Ohligs
53d3b0e45d Merge branch 'master' into ohligs
Conflicts:
	kernel/tests.c
2011-08-02 16:00:11 +02:00
Marian Ohligs
032bba3a95 - some chmod changes 2011-08-02 15:58:20 +02:00
Stefan Lankes
75cf088989 use nicer output messages 2011-08-02 06:19:26 -07:00
Stefan Lankes
556734bf8c disable LwIP example 2011-08-02 05:26:40 -07:00
Marian Ohligs
b744c01dc0 - correcting some AUTO-merge faults 2011-08-02 13:14:03 +02:00
Marian Ohligs
0aac6cf2be Merge branch 'master' into ohligs 2011-08-02 13:08:10 +02:00
Stefan Lankes
81a24913ca fix bug by disabling LwIP 2011-08-02 13:05:08 +02:00
Marian Ohligs
c3d912bee1 - minor optimization in main.c and tasks.c 2011-08-02 13:01:28 +02:00
Marian Ohligs
d03afaf36f - minor optimization in syscall.c 2011-08-02 12:41:26 +02:00
Marian Ohligs
9c7b565344 - enable flags in fs.h (O_RDONLY O_WRONLY O_RDWR) 2011-08-02 12:00:25 +02:00
Marian Ohligs
c7012f7bc0 - enable flags O_RDONLY O_WRONLY and O_RDWR 2011-08-02 11:57:14 +02:00
Marian Ohligs
a154525683 - correct some errno msg 2011-08-02 11:28:48 +02:00
Marian Ohligs
3bc6844833 Merge branch 'master' into ohligs 2011-08-02 11:14:39 +02:00
Stefan Lankes
026d5e264c use table_lock to avoid GPs during a task switch 2011-08-02 10:24:17 +02:00
Stefan Lankes
744abc36c8 minor optimization on single core systems 2011-08-02 07:07:16 +02:00
Marian Ohligs
429c2a99d7 Merge branch 'master' into ohligs 2011-08-01 22:35:04 +02:00
Stefan Lankes
5ffa35351c minor optimizations... IRQ handler calls directly the LwIP stack 2011-08-01 13:26:11 -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
2538fd7d0b use nicer output messages 2011-08-01 22:00:05 +02:00
Stefan Lankes
5c9ef35170 use tcpip_input instead of ethernet_input
=> With NO_SYS=0, netif->input must be set to tcpip_input for all netif types (whether ethernet, PPP, slipif, etc.)
2011-08-01 21:57:38 +02:00
Stefan Lankes
3f2d9a2405 add support of LwIP's "lightweight" synchronization mechanisms 2011-08-01 21:56:16 +02:00
Stefan Lankes
253ec92ca0 remove obsolete wait function
=> IRQ handler uses directly the LwIP stacks
2011-08-01 21:52:57 +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
Stefan Lankes
27ee238684 search MP table on all systems 2011-07-31 19:15:06 +02:00
Stefan Lankes
ee30cdd0bf enable LWIP's raw ip for the ping example 2011-07-31 19:13:59 +02:00
Marian Ohligs
f9be7c9641 Merge branch 'master' into ohligs 2011-07-30 23:00:57 +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
Marian Ohligs
36ed70c214 - reset mshell code 2011-07-30 19:48:44 +02:00
Marian Ohligs
94a98c5950 Merge branch 'master' into ohligs
Conflicts:
	kernel/tasks.c
2011-07-30 19:21:25 +02:00