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
root
7e52c1a39e
sccedit
2011-06-20 14:38:04 +02:00
Generic account for RWTHAachen Students
bba87c8e27
bug fix in mail_ping
2011-06-07 05:53:16 -07:00
Simon Pickartz
570b559b5e
add mail_ping interrupt test-scenario
2011-06-07 12:38:35 +02:00
U-MobileHooK\Benedikt
1077a5a3ca
initial commit
2011-06-04 09:27:30 +02:00
Marian Ohligs
83f5a4c426
Merge branch 'master' into ohligs
...
Conflicts:
.gitignore
2011-05-29 11:20:49 +02:00
Stefan Lankes
e4b6c8a356
Merge branch 'svm'
2011-05-25 15:34:43 -07:00
Stefan Lankes
5d702411ab
enable in RCCE the shared memory support
2011-05-25 15:28:20 -07:00
Jacek Galowicz
394befa3a8
Color management for procedures using vga_putchar
...
As seen in some BSD operating systems, you can now push and pop foreground and background colors onto a stack to change the colors you see on the screen whenever kprintf/kputchar is used.
This could become useful if one wants to see kernel space kprintfs in other colors than user space printfs or error messages in red and other debugging purposes.
Beware: This is just a small and dirty hack which protects the colorstack with locks and so on. But on task switching the color will not be switched. That makes different colors for different colors persistent for all the time difficult/impossible. But I considered adding colors to the task structures a bit overdone for a small debugging-help.
[Sorry for those commit-and-pull-back-mails. Forgot that I had this stuff on the master branch while pushing my own branch onto the server.]
2011-05-25 09:26:00 +02:00
Marian Ohligs
ec6ccf9c3a
Merge branch 'ohligs' into readwrite
...
Conflicts:
newlib/examples/hello.c
2011-05-23 12:59:10 +02:00
Marian Ohligs
34641f4338
- add some open-flag defines
...
- some design changes
2011-05-19 12:53:47 +02:00
Marian Ohligs
06f24224ef
Merge branch 'ohligs' into readwrite
2011-05-18 18:18:36 +02:00
Marian Ohligs
9e5dcfc2b4
add lseek (SEEK_SET, SEEK_CUR, SEEK_END)
...
- still missing some filetype checking
2011-05-18 18:14:23 +02:00
Marian Ohligs
d1e0e2304d
Merge branch 'ohligs' into readwrite
...
Conflicts:
newlib/examples/test
2011-05-16 10:27:43 +02:00
Marian Ohligs
b94875ccfe
initrd_write:
...
- writing strings of any length now possible
2011-05-16 10:19:13 +02:00
Marian Ohligs
0ac95a30b3
Merge branch 'ohligs' into readwrite
...
Conflicts:
drivers/char/null.c
drivers/stderr/Makefile
drivers/stderr/stderr.c
drivers/stdin/Makefile
drivers/stdin/stdin.c
drivers/stdout/Makefile
drivers/stdout/stdout.c
fs/initrd.c
include/metalsvm/fs_types.h
include/metalsvm/tasks_types.h
kernel/syscall.c
kernel/tasks.c
kernel/tests.c
newlib/examples/hello.c
newlib/examples/test
tools/Makefile
2011-04-26 17:27:42 +02:00
Marian Ohligs
6c45e03d0e
Merge branch 'master' into ohligs
...
Conflicts:
fs/initrd.c
2011-04-26 16:52:52 +02:00
Marian Ohligs
4c370ad377
Bug fixed in stdout: printf is working
...
some test changes in initrd_write
2011-04-26 16:43:57 +02:00
Stefan Lankes
3a0e42eef1
add ping pong test and some bug fixes in the ICC part
2011-04-24 07:27:27 -07:00
Marian Ohligs
ef59f6cb8d
Merge branch 'master' into ohligs
...
Conflicts:
kernel/tasks.c
2011-04-23 11:09:56 +02:00