Commit graph

777 commits

Author SHA1 Message Date
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
Stefan Lankes
8c9504a87f add some additional error checks 2011-07-30 17:40:09 +02:00
Stefan Lankes
f76f4ac70d fix wrong initialization of current_task 2011-07-30 17:36:21 +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
1f681afcb1 cosmetic changes 2011-07-30 17:29:43 +02:00
Stefan Lankes
30f84a4007 fix bug in irq handling 2011-07-30 17:28:09 +02:00
Stefan Lankes
4735eb6651 redirect qemu's monitor to stdio 2011-07-30 17:24:06 +02:00
Marian Ohligs
102a887add - test commit.
--> malloc with 532 chars is working
--> malloc with more than 533 chars causes an error
2011-07-27 17:17:40 +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
0d867265d9 set LWIP_RAW to 0 because we don't nee raw pcbs => speeds up input processing 2011-07-26 14:54:06 -07: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
83bd42a020 remove type 2011-07-21 21:57:15 +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
Marian Ohligs
c768f03193 - initrd_open now init in initrd_mkdir
- O_CREAT is working!
2011-07-21 13:32:09 +02:00
Marian Ohligs
5da4c28249 bug fix 2011-07-21 10:59:45 +02:00
Marian Ohligs
a11897414d - O_TRUNC is working yet
- fixing some bugs in O_TRUNC
- disable some buggy code
2011-07-21 10:24:37 +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
b228c2260f reduce the number of per_core calls 2011-07-21 09:58:42 +02:00
Stefan Lankes
28a535dbeb SMP version is currently buggy => please define MAX_CORES as 1 2011-07-20 09:51:50 +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