Rev |
Age |
Author |
Path |
Log message |
Diff |
1780 |
6750 d 16 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1757 |
6764 d 21 h |
jermar |
/kernel/trunk/ |
Cleanup of comments. |
|
1702 |
6771 d 19 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1693 |
6773 d 16 h |
palkovsky |
/kernel/trunk/generic/ |
Modified ipc/irq to be able to pass up to 3 arguments to userspace. |
|
1669 |
6776 d 16 h |
palkovsky |
/kernel/trunk/generic/src/ipc/ |
Small consitency ipc update. |
|
1595 |
6779 d 1 h |
palkovsky |
/kernel/trunk/ |
Added kernel circular buffer klog.
Added automatic killing of tasks raising inappropriate exceptions.
TODO: Fix vsnprintf return value(and behaviour according to specs) and remove workaround in klog. |
|
1591 |
6779 d 11 h |
palkovsky |
/kernel/trunk/generic/ |
Small updates to ipc. |
|
1573 |
6780 d 16 h |
palkovsky |
/kernel/trunk/generic/ |
Renamed some things in IPC to be consistent.
Added ipc reporting to kconsole. |
|
1568 |
6780 d 17 h |
palkovsky |
/kernel/trunk/generic/ |
Slightly remodelled ipc hangups to facilitate correct cleanup.
Doc updates for frame allocator. |
|
1502 |
6782 d 21 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 |
6784 d 19 h |
palkovsky |
/kernel/trunk/generic/ |
Slightly changed semantics of AS_AREA_SEND/RECV. |
|
1434 |
6787 d 15 h |
palkovsky |
/kernel/trunk/ |
Added 'realtime' clock interface.
Added some asm macros as memory barriers.
Added drift computing for mips platform. |
|
1428 |
6788 d 10 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 |
6790 d 12 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 |
6791 d 11 h |
jermar |
/kernel/trunk/generic/ |
Reimplement memory sharing. Currently, only
anonymous address space areas can be shared. |
|
1396 |
6794 d 13 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 |
6798 d 19 h |
jermar |
/kernel/trunk/generic/ |
Modify ipc_wait_for_call() to support all of blocking, non-blocking and timeout operation. |
|
1359 |
6799 d 16 h |
jermar |
/kernel/trunk/generic/ |
Rename IPC_M_AS_SEND to IPC_M_AS_AREA_SEND. |
|
1346 |
6799 d 23 h |
palkovsky |
/kernel/trunk/generic/src/ipc/ |
Small updates to IPC regarding AS_SEND. |
|
1329 |
6801 d 16 h |
palkovsky |
/kernel/trunk/generic/ |
Added support to IPC for simple page sharing. |
|
1297 |
6808 d 18 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 |
6810 d 18 h |
palkovsky |
/kernel/trunk/ |
Implemented mips memcpy (copy from gcc builtin memcpy). |
|
1288 |
6810 d 21 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 |
6813 d 11 h |
palkovsky |
/kernel/trunk/ |
Added means to make a simple action upon interrupt. |
|
1258 |
6816 d 11 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 |
6818 d 16 h |
jermar |
/kernel/trunk/ |
Add some @file doxygen comments and improve already existing comments. |
|
1141 |
6845 d 19 h |
palkovsky |
/kernel/trunk/generic/src/ipc/ |
Completed ipc_cleanup, it should be somehow integrated into
cleanup of task. The function can sleep. |
|
1090 |
6857 d 13 h |
palkovsky |
/kernel/trunk/generic/ |
Reduced unnecessary IPC system calls.
Allow everything to be sync & async, everything is handled using messages. |
|
1088 |
6857 d 20 h |
palkovsky |
/kernel/trunk/generic/ |
More IPC stuff, added correct closing of connections from both sides. |
|
1086 |
6858 d 10 h |
palkovsky |
/kernel/trunk/generic/ |
Untested better IPC functions.
* There is some bug in MIPS, unpredicatbly sometimes the thread gets mapped
different frame for stack. |
|
1084 |
6859 d 8 h |
palkovsky |
/kernel/trunk/ |
Better IPC implementation with regard to locking and final cleanup. |
|
1072 |
6859 d 21 h |
palkovsky |
/kernel/trunk/ |
Added debugger to AMD64.
Added automatic debugging of AS if it is not rewritten with zero.
Did small changes to IPC infrastructure. |
|
1063 |
6860 d 9 h |
palkovsky |
/kernel/trunk/ |
Add support for more then 2GB of address space for AMD64. |
|
1060 |
6860 d 12 h |
palkovsky |
/kernel/trunk/ |
Added task_print.
Fixed ipc to support connect_me_to. |
|
1040 |
6860 d 21 h |
palkovsky |
/kernel/trunk/generic/ |
Changed ipc to use spinlocks instead of mutexes again.
Fixed loading inits to set nameservice as the first loaded process.
Lot of TODO in ipc done. |
|
1029 |
6861 d 9 h |
palkovsky |
/kernel/trunk/generic/src/ipc/ |
Fixed bad locking. |
|
1027 |
6861 d 9 h |
palkovsky |
/kernel/trunk/ |
Implemented callback IPC call (connect_to_me). |
|