Subversion Repositories HelenOS

Rev

Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
4405 5463 d 3 h jermar /trunk/kernel/generic/src/ipc/ Do not test the same condition twice.  
/trunk/kernel/generic/src/ipc/ipc.c
4252 5506 d 6 h decky /trunk/kernel/ move event notification to the ipc directory (where it probably belogs to, side-by-side to IRQ notifications)
cleanup the notification code a little bit (there is probably no need to allocate two structured dynamically)
 
/trunk/kernel/generic/include/ipc/event.h
/trunk/kernel/generic/include/ipc/event_types.h
/trunk/kernel/generic/src/ipc/event.c
/trunk/kernel/generic/include/event
/trunk/kernel/generic/src/event
/trunk/kernel/Makefile
/trunk/kernel/generic/src/console/cmd.c
/trunk/kernel/generic/src/console/console.c
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/main/main.c
/trunk/kernel/generic/src/syscall/syscall.c
4173 5520 d 3 h jermar /trunk/ Revive kernel notifications.  
/trunk/kernel/generic/include/event
/trunk/kernel/generic/include/event/event.h
/trunk/kernel/generic/include/event/event_types.h
/trunk/kernel/generic/src/event
/trunk/kernel/generic/src/event/event.c
/trunk/uspace/lib/libc/generic/event.c
/trunk/uspace/lib/libc/include/event.h
/trunk/kernel/Makefile
/trunk/kernel/generic/include/syscall/syscall.h
/trunk/kernel/generic/src/console/cmd.c
/trunk/kernel/generic/src/console/console.c
/trunk/kernel/generic/src/console/kconsole.c
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/main/main.c
/trunk/kernel/generic/src/syscall/syscall.c
/trunk/uspace/app/klog/klog.c
/trunk/uspace/app/trace/syscalls.c
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/srv/console/console.c
3476 5699 d 7 h jermar /trunk/kernel/generic/src/ipc/ Add comments documenting our treatment of the task's active call counter.  
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/ipc/sysipc.c
3449 5706 d 5 h jermar /trunk/kernel/generic/src/ipc/ Fix task active call accounting for IPC_M_HUNGUP calls.  
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/ipc/sysipc.c
3445 5707 d 4 h jermar /trunk/kernel/ Rename ipc/ipc_kbox.c to ipc/kbox.c.  
/trunk/kernel/generic/src/ipc/kbox.c
/trunk/kernel/generic/src/ipc/ipc_kbox.c
/trunk/kernel/Makefile
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/ipc/sysipc.c
3438 5707 d 13 h svoboda /trunk/ Merge syscall tracer (trace) and relevant part of udebug interface from tracing to trunk.  
/trunk/kernel/generic/include/ipc/ipc_kbox.h
/trunk/kernel/generic/include/udebug
/trunk/kernel/generic/include/udebug/udebug.h
/trunk/kernel/generic/include/udebug/udebug_ipc.h
/trunk/kernel/generic/include/udebug/udebug_ops.h
/trunk/kernel/generic/src/ipc/ipc_kbox.c
/trunk/kernel/generic/src/udebug
/trunk/kernel/generic/src/udebug/udebug.c
/trunk/kernel/generic/src/udebug/udebug_ipc.c
/trunk/kernel/generic/src/udebug/udebug_ops.c
/trunk/uspace/app/trace
/trunk/uspace/app/trace/Makefile
/trunk/uspace/app/trace/errors.c
/trunk/uspace/app/trace/errors.h
/trunk/uspace/app/trace/ipc_desc.c
/trunk/uspace/app/trace/ipc_desc.h
/trunk/uspace/app/trace/ipcp.c
/trunk/uspace/app/trace/ipcp.h
/trunk/uspace/app/trace/proto.c
/trunk/uspace/app/trace/proto.h
/trunk/uspace/app/trace/syscalls.c
/trunk/uspace/app/trace/syscalls.h
/trunk/uspace/app/trace/trace.c
/trunk/uspace/lib/libc/generic/udebug.c
/trunk/uspace/lib/libc/include/udebug.h
/trunk/boot/arch/amd64/Makefile.inc
/trunk/boot/arch/arm32/loader/Makefile
/trunk/boot/arch/ia32/Makefile.inc
/trunk/boot/arch/ia64/loader/Makefile
/trunk/boot/arch/mips32/loader/Makefile
/trunk/boot/arch/ppc32/loader/Makefile
/trunk/boot/arch/ppc64/loader/Makefile
/trunk/kernel/Makefile
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/include/ipc/sysipc.h
/trunk/kernel/generic/include/proc/task.h
/trunk/kernel/generic/include/proc/thread.h
/trunk/kernel/generic/include/syscall/syscall.h
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/kernel/generic/src/main/uinit.c
/trunk/kernel/generic/src/proc/task.c
/trunk/kernel/generic/src/proc/thread.c
/trunk/kernel/generic/src/syscall/syscall.c
/trunk/kernel/kernel.config
/trunk/uspace/Makefile
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/include/ipc/ipc.h
3395 5715 d 6 h jermar /trunk/kernel/generic/ Kernel's ipc_data_t and uspace's ipc_call_t must be in sync.

This commit fixes a problem introduced in revision 3362, when
ipc_data_t was enlarged by the caller_phone member. This resulted
in sys_ipc_wait_for_call() passing larger structure to uspace
than requested, leading to a random damage of userspace memory.
 
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/src/ipc/ipc.c
3394 5716 d 4 h jermar /trunk/kernel/generic/src/ipc/ cstyle for ipc.c  
/trunk/kernel/generic/src/ipc/ipc.c
3370 5728 d 4 h jermar /trunk/kernel/generic/ Synchronous IPC must be interruptible.  
/trunk/kernel/generic/include/errno.h
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/ipc/sysipc.c
3363 5731 d 6 h jermar /trunk/kernel/generic/src/ipc/ Demasquerade the caller phone during ipc_answer_n() rather than in
ipc_wait_for_call().
 
/trunk/kernel/generic/src/ipc/ipc.c
3362 5731 d 7 h jermar /trunk/kernel/generic/ Fix processing of answers to forwarded masqueraded calls.  
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/ipc/ipcrsc.c
/trunk/kernel/generic/src/main/kinit.c
3186 5793 d 6 h jermar /trunk/kernel/ Support for active mutexes. Active mutexes implement busy waiting, pretty much
in the same way as spinlocks, but can be passed to condition variables, which is
the motivation for this enhancement.
 
/trunk/kernel/genarch/src/mm/as_ht.c
/trunk/kernel/generic/include/synch/mutex.h
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/mm/as.c
/trunk/kernel/generic/src/proc/task.c
/trunk/kernel/generic/src/synch/condvar.c
/trunk/kernel/generic/src/synch/mutex.c
/trunk/kernel/generic/src/synch/rwlock.c
/trunk/kernel/test/mm/slab2.c
3184 5794 d 9 h jermar /trunk/kernel/generic/src/ipc/ Fix a scary two-year old bug: do not attempt to initialize a call structure if
its allocation failed.
 
/trunk/kernel/generic/src/ipc/ipc.c
3104 5810 d 17 h svoboda /trunk/kernel/ Declare arguments for memstr.h operations as pointers instead of uintptr_t.  
/trunk/kernel/Makefile
/trunk/kernel/arch/amd64/include/memstr.h
/trunk/kernel/arch/amd64/src/pm.c
/trunk/kernel/arch/arm32/include/memstr.h
/trunk/kernel/arch/ia32/include/memstr.h
/trunk/kernel/arch/ia32/src/drivers/ega.c
/trunk/kernel/arch/ia32/src/pm.c
/trunk/kernel/arch/ia32/src/smp/smp.c
/trunk/kernel/arch/ia32xen/src/ia32xen.c
/trunk/kernel/arch/ia32xen/src/pm.c
/trunk/kernel/arch/ia32xen/src/smp/smp.c
/trunk/kernel/arch/ia64/include/memstr.h
/trunk/kernel/arch/ia64/src/drivers/ega.c
/trunk/kernel/arch/ia64/src/mm/vhpt.c
/trunk/kernel/arch/mips32/include/memstr.h
/trunk/kernel/arch/ppc32/include/memstr.h
/trunk/kernel/arch/ppc64/include/memstr.h
/trunk/kernel/arch/ppc64/src/mm/page.c
/trunk/kernel/arch/sparc64/include/memstr.h
/trunk/kernel/arch/sparc64/src/mm/as.c
/trunk/kernel/genarch/src/mm/as_pt.c
/trunk/kernel/genarch/src/mm/page_pt.c
/trunk/kernel/generic/include/memstr.h
/trunk/kernel/generic/src/adt/hash_table.c
/trunk/kernel/generic/src/cpu/cpu.c
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/lib/memstr.c
/trunk/kernel/generic/src/lib/objc_ext.c
/trunk/kernel/generic/src/mm/as.c
/trunk/kernel/generic/src/mm/backend_anon.c
/trunk/kernel/generic/src/mm/backend_elf.c
/trunk/kernel/generic/src/mm/slab.c
/trunk/kernel/generic/src/proc/thread.c
/trunk/kernel/test/mm/falloc2.c
/trunk/kernel/test/mm/slab1.c
/trunk/kernel/test/mm/slab2.c
3090 5813 d 10 h decky /trunk/kernel/generic/src/ipc/ revert coding style change  
/trunk/kernel/generic/src/ipc/ipc.c
3054 5813 d 10 h decky /trunk/kernel/generic/src/ipc/ proper printf formatting  
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/ipc/sysipc.c
3020 5819 d 4 h jermar /trunk/kernel/generic/ Turn phone->lock into mutex.  
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/ipc/sysipc.c
2802 5872 d 14 h jermar /trunk/kernel/generic/ Fix initialization of answerbox->task in ipc_answerbox_init.
Contributed by Jiri Svoboda.
 
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/proc/task.c
2662 5976 d 4 h jermar /trunk/ Add support for IPC_M_DATA_READ calls.  
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/include/ipc/ipc.h

Show All