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
Stefan Lankes
fec9f9cfe1
switch back to the ping example
...
- use RAW interface
- cut the timer debug messages
2011-06-30 12:26:16 -07:00
Carl-Benedikt Krüger
4674a140a0
...
2011-06-29 23:19:12 +02:00
Stefan Lankes
de216756d1
move mailbox example to tests.c
2011-06-29 12:29:04 -07:00
Carl-Benedikt Krüger
a2c40aee35
...
2011-06-29 01:28:45 +02:00
Carl-Benedikt Krüger
41b1d4d953
...
2011-06-29 01:16:25 +02:00
Carl-Benedikt Krüger
986dca6c0d
...
2011-06-29 00:59:22 +02:00
Carl-Benedikt Krüger
40841cd399
...
2011-06-29 00:56:32 +02:00
Carl-Benedikt Krüger
99858a1498
...
2011-06-29 00:15:17 +02:00
Carl-Benedikt Krüger
cb5a4559c2
...
2011-06-29 00:01:53 +02:00
Carl-Benedikt Krüger
8d8ff9d087
...
2011-06-28 16:21:16 +02:00
Carl-Benedikt Krüger
d93b99f97a
...
2011-06-28 16:13:00 +02:00
Carl-Benedikt Krüger
692728500c
...
2011-06-28 15:55:21 +02:00
Carl-Benedikt Krüger
b11940b7d1
...
2011-06-28 15:54:18 +02:00