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
e4a170938e
create a special init task (initd), which spawns all other tasks
2011-08-06 15:52:47 +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
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
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
c7012f7bc0
- enable flags O_RDONLY O_WRONLY and O_RDWR
2011-08-02 11:57:14 +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
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
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
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
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
Stefan Lankes
ab37b024b0
simply the scheduler => move code from entry.asm to timer.c
2011-07-21 09:59:29 +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
Stefan Lankes
dfa928de78
reduce the number of function calls to determine the core id
2011-07-19 21:22:54 +02:00
Stefan Lankes
82e6604a2c
demo also shows the core number on which the application is running
2011-07-18 09:51:16 +02: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
Marian Ohligs
a4c870deca
- bugfix in syscall.c
...
- disable FILE_TYPE checks in lseek for testing purposes
2011-07-11 13:36:41 +02:00
Marian Ohligs
1744238f28
- open is working yet. Have to be tested a little bit more.
2011-07-06 04:00:55 +02:00
Marian Ohligs
c1336596ab
- some design changes
2011-07-05 15:36:39 +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
Stefan Lankes
ea10e8f4d6
fix bug to compile MetalSVM on systems without RCCE support
2011-07-04 22:21:02 +02:00
Stefan Lankes
30aaa5fda3
review of Benedikt's virtual IP device
2011-07-04 13:02:19 -07:00
Stefan Lankes
227031a41c
Merge branch 'master' into network
2011-07-04 11:41:21 -07:00
Stefan Lankes
42b5542881
don't longer use ping_send_now
2011-07-04 10:56:50 -07:00
Stefan Lankes
f48c738d8e
fix bug in the initialization of LwIP
2011-07-04 10:56:15 -07:00
Stefan Lankes
0fe5027a63
if LwIP supports sockets, the ping example will switch to the socket interface
2011-07-04 10:51:30 -07:00
Stefan Lankes
e5c0e2b037
integrate the timer values of the icc ping example in the payload of the mailbox header
...
=> remove some static variables
2011-07-02 03:40:08 -07:00
Stefan Lankes
32a36c5e6e
disable ping example
2011-07-02 00:28:41 -07:00
Marian Ohligs
3d74f1b514
- rewrite the read_fs and write_fs. Now both functions use fildes_t instead of vfs_node_t structs.
...
INFO: typedef struct fildes {
vfs_node_t* node;
off_t offset;
int flags;
int mode;
} fildes_t;
- merge fs_types.h and fs.h into one file fs.h
2011-07-01 18:04:00 +02:00