Rev |
Age |
Author |
Path |
Log message |
Diff |
1502 |
6729 d 8 h |
jermar |
/kernel/trunk/ |
Replace nonblocking argument of waitq_sleep_timeout with flags that specify mode of operation.
Now a flag can be used to specify interruptible sleep.
Modify waitq_interrupt_sleep() to only interrupt threads that used this flag.
O |
|
1461 |
6731 d 7 h |
palkovsky |
/kernel/trunk/generic/ |
Slightly changed semantics of AS_AREA_SEND/RECV. |
|
1434 |
6734 d 3 h |
palkovsky |
/kernel/trunk/ |
Added 'realtime' clock interface.
Added some asm macros as memory barriers.
Added drift computing for mips platform. |
|
1428 |
6734 d 22 h |
palkovsky |
/kernel/trunk/generic/ |
Added 256K slab, so that AMD can boot (until ELF loader is fixed).
Added AS_AREA_RECV so that the caller can receive AS_AREA. |
|
1417 |
6737 d 0 h |
jermar |
/kernel/trunk/generic/ |
Modify as_area_share() to accept destination area flags bitmask from the sender
(i.e. the sender can limit access mode to the shared area for the recipient).
Modify IPC_M_AS_AREA_SEND code to support this. Arguments for sender: arg1=as_area,
arg2=size, arg3=flags_mask.
The mechanism seems to work, but the page fault handlers need to be altered to
distinguish between faults under different access modes. |
|
1413 |
6737 d 23 h |
jermar |
/kernel/trunk/generic/ |
Reimplement memory sharing. Currently, only
anonymous address space areas can be shared. |
|
1396 |
6741 d 1 h |
palkovsky |
/kernel/trunk/ |
Fixed mips to compile with fb (missing hw_map).
Fixed mips hw virt/phys addresses of fb.
Moved fb_init to post_mm, because it needs malloc(). |
|
1364 |
6745 d 7 h |
jermar |
/kernel/trunk/generic/ |
Modify ipc_wait_for_call() to support all of blocking, non-blocking and timeout operation. |
|
1359 |
6746 d 4 h |
jermar |
/kernel/trunk/generic/ |
Rename IPC_M_AS_SEND to IPC_M_AS_AREA_SEND. |
|
1346 |
6746 d 11 h |
palkovsky |
/kernel/trunk/generic/src/ipc/ |
Small updates to IPC regarding AS_SEND. |
|
1329 |
6748 d 4 h |
palkovsky |
/kernel/trunk/generic/ |
Added support to IPC for simple page sharing. |
|
1297 |
6755 d 6 h |
jermar |
/kernel/trunk/ |
Add SYS_CAP_GRANT and SYS_CAP_REVOKE syscalls.
Move SYS_PREEMPT_CONTROL to ddi.c.
Add some comments and fix some small issues. |
|
1293 |
6757 d 6 h |
palkovsky |
/kernel/trunk/ |
Implemented mips memcpy (copy from gcc builtin memcpy). |
|
1288 |
6757 d 9 h |
jermar |
/kernel/trunk/ |
Complete implementation of copy_from_uspace() and copy_to_uspace()
for amd64 and ia32. Other architectures still compile and run,
but need to implement their own assembly-only memcpy(), memcpy_from_uspace(),
memcpy_to_uspace() and their failover parts. For these architectures
only dummy implementations are provided. |
|
1281 |
6759 d 23 h |
palkovsky |
/kernel/trunk/ |
Added means to make a simple action upon interrupt. |
|
1258 |
6762 d 23 h |
palkovsky |
/kernel/trunk/ |
Added support for IRQ notifiactions.
- seems to work correctly on ia32, amd64
- the mips kbd probably lowers interrupts when the char is read from
the port, we will have to find a way how to deal with it. |
|
1248 |
6765 d 4 h |
jermar |
/kernel/trunk/ |
Add some @file doxygen comments and improve already existing comments. |
|
1141 |
6792 d 7 h |
palkovsky |
/kernel/trunk/generic/src/ipc/ |
Completed ipc_cleanup, it should be somehow integrated into
cleanup of task. The function can sleep. |
|
1090 |
6804 d 1 h |
palkovsky |
/kernel/trunk/generic/ |
Reduced unnecessary IPC system calls.
Allow everything to be sync & async, everything is handled using messages. |
|
1088 |
6804 d 8 h |
palkovsky |
/kernel/trunk/generic/ |
More IPC stuff, added correct closing of connections from both sides. |
|