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
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
Simon Pickartz
3275d8cc17
still testing remote interrupt
2011-08-01 14:24:46 -07: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
Marian Ohligs
94a98c5950
Merge branch 'master' into ohligs
...
Conflicts:
kernel/tasks.c
2011-07-30 19:21:25 +02:00
Stefan Lankes
1f681afcb1
cosmetic changes
2011-07-30 17:29:43 +02:00
Marian Ohligs
55e0e971be
merge master
2011-07-27 10:28:01 +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
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
Stefan Lankes
8e9accd6ed
cosmetic changes
2011-07-19 09:58:40 +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
Stefan Lankes
09b3655ea4
reserve a page for the boot code of the application processors
2011-07-18 09:13:33 +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
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
dfe6759fc9
remove file
2011-07-04 13:07:24 -07:00
Stefan Lankes
227031a41c
Merge branch 'master' into network
2011-07-04 11:41:21 -07:00
Stefan Lankes
e08f6a9d53
add UART support
2011-07-02 13:04:26 -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
Marian Ohligs
0cd8ea9e37
add initrd_open. still buggy!
2011-07-01 18:03:49 +02:00
Stefan Lankes
e1d3ac2ec5
remove obsolete code & minor optimizations
2011-06-29 12:31:32 -07:00
Stefan Lankes
4e89605b1f
Merge branch 'master' into mailbox
2011-06-28 13:48:15 -07:00
Stefan Lankes
01a7530d63
use the FPGA registers to determine the number slots, which are used as private memory
2011-06-28 10:58:32 -07:00
root
c78b0e9f56
upgrade to newest metalsvm
2011-06-27 11:40:37 +02:00
Marian Ohligs
6027bb2d15
redesign of fs_open to support creating files and O_TRUNK
2011-06-21 17:51:52 +02:00
Marian Ohligs
aafb9d2cbb
add flags to fildes_t
...
allow lseek for CHARDEVICE
support for O_APPEND, O_CREATE and O_EXCL
2011-06-21 14:17:57 +02:00
Marian Ohligs
a7bc674cbf
add mode to fildes_t
2011-06-21 12:24:35 +02:00
root
a8b7141a8a
sccedit
2011-06-20 14:45:45 +02:00