Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
3566 5725 d 22 h svoboda /trunk/ Set meaningful names for loaded programs. Now 'tasks' kconsole command is much less obscure.  
3565 5726 d 9 h svoboda /trunk/ Fix sys_thread_create(): could fail when passed name was at end of mapping, could crash if provided name was not null-terminated.  
3496 5742 d 12 h svoboda /trunk/kernel/generic/src/ipc/ Split and streamline kbox_thread_proc().  
3495 5742 d 12 h svoboda /trunk/kernel/generic/src/ipc/ Synchronize properly when detaching kbox from within.  
3494 5744 d 11 h svoboda /trunk/kernel/generic/src/ipc/ Fix panic when debugged task quits. Also fix memory leak when debugger disconnects first.  
3476 5769 d 14 h jermar /trunk/kernel/generic/src/ipc/ Add comments documenting our treatment of the task's active call counter.  
3468 5771 d 0 h svoboda /trunk/kernel/generic/src/udebug/ Document functions in udebug_ipc.c  
3457 5775 d 13 h svoboda /trunk/kernel/generic/src/udebug/ Document functions in udebug.c and udebug_ops.c  
3451 5776 d 11 h jermar /trunk/kernel/generic/src/console/ Rename kconsole's 'ipc_task' command to 'ipc'.  
3449 5776 d 12 h jermar /trunk/kernel/generic/src/ipc/ Fix task active call accounting for IPC_M_HUNGUP calls.  
3445 5777 d 11 h jermar /trunk/kernel/ Rename ipc/ipc_kbox.c to ipc/kbox.c.  
3441 5777 d 19 h svoboda /trunk/kernel/generic/src/ Use LOG() instead of printf() for debug messages.  
3438 5777 d 20 h svoboda /trunk/ Merge syscall tracer (trace) and relevant part of udebug interface from tracing to trunk.  
3422 5780 d 11 h jermar /trunk/kernel/generic/src/mm/ as_area_resize() should use as instead of AS.  
3404 5780 d 21 h jermar /trunk/kernel/generic/src/lib/ cstyle  
3395 5785 d 13 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.
 
3394 5786 d 11 h jermar /trunk/kernel/generic/src/ipc/ cstyle for ipc.c  
3384 5792 d 13 h jermar /trunk/kernel/generic/src/mm/ cstyle  
3383 5792 d 22 h svoboda /trunk/kernel/generic/src/mm/ Fix panic caused by not setting new area flags in as_area_change_flags(), as pointed out by Jakub.  
3382 5793 d 11 h jermar /trunk/kernel/generic/src/mm/ Fix the rare case when the anon or ELF backend uses PFN 0 for mapping.  
3370 5798 d 11 h jermar /trunk/kernel/generic/ Synchronous IPC must be interruptible.  
3363 5801 d 14 h jermar /trunk/kernel/generic/src/ipc/ Demasquerade the caller phone during ipc_answer_n() rather than in
ipc_wait_for_call().
 
3362 5801 d 14 h jermar /trunk/kernel/generic/ Fix processing of answers to forwarded masqueraded calls.  
3359 5801 d 21 h jermar /trunk/kernel/generic/src/proc/ Improve comments in task.c  
3332 5809 d 18 h jermar /trunk/kernel/generic/src/ipc/ Fix types when processing IPC_M_DATA_WRITE arguments.  
3274 5815 d 17 h jermar /trunk/ memcpy(), memmove() and similar functions return dst instead of src.
Fix all implementations, including those in assembly. ppc32 assembly
version didn't seem to be affected by this.
 
3246 5819 d 14 h jermar /trunk/ cstyle  
3240 5825 d 21 h decky / move unfinished ObjC support to a separate branch  
3225 5831 d 22 h jermar /trunk/kernel/generic/src/sysinfo/ Check the validity of the 'len' argument for sysinfo syscalls.  
3222 5848 d 16 h svoboda /trunk/ Merge program-loader related stuff from dynload branch to trunk. (huge)  
3208 5850 d 12 h jermar /trunk/kernel/generic/ The real intention of the previous commit was to put the boundary
on 4 GiB, not 16 GiB.
 
3207 5850 d 12 h jermar /trunk/kernel/generic/ Introduce FRAME_LOW_16_GiB slab/frame allocator flag. When specified, the
allocators will not allocate memory above 16 GiB. Each architecture needs to
make sure not to merge zones from below and above 16 GiB. Allocations that
require memory below 16 GiB need to be altered to use this flag.
 
3206 5850 d 14 h jermar /trunk/kernel/generic/ Avoid deadlock during the 'zone n' kconsole command. Buddy allocator detail is
no longer printed because the effort to avoid the deadlock was simply not worth
it.
 
3205 5850 d 16 h jermar /trunk/kernel/generic/src/mm/ Fix deadlock in the 'zones' kconsole command.  
3194 5855 d 20 h jermar /trunk/kernel/generic/src/console/ Remove left-over debugging stuff.  
3193 5856 d 12 h jermar /trunk/kernel/ cstyle fixes  
3188 5863 d 9 h jermar /trunk/kernel/generic/src/mm/ Finer grained waiting for memory with consideration of the number
of available memory frames.
 
3187 5863 d 13 h jermar /trunk/kernel/generic/src/mm/ Get rid of the infamous "Sleep not implemented" panic during low memory
condition. Use a condition variable to implement the sleep. As of now, the
condition is rather coarse and can cause that threads may sleep unnecessarily.
Needs to be fine tuned and based on the amount of memory available.
 
3186 5863 d 13 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.
 
3185 5864 d 13 h jermar /trunk/kernel/generic/src/mm/ cstyle for frame.c