Rev |
Age |
Author |
Path |
Log message |
Diff |
3422 |
5821 d 21 h |
jermar |
/trunk/kernel/generic/src/mm/ |
as_area_resize() should use as instead of AS. |
|
3404 |
5822 d 7 h |
jermar |
/trunk/kernel/generic/src/lib/ |
cstyle |
|
3395 |
5826 d 23 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 |
5827 d 21 h |
jermar |
/trunk/kernel/generic/src/ipc/ |
cstyle for ipc.c |
|
3384 |
5833 d 23 h |
jermar |
/trunk/kernel/generic/src/mm/ |
cstyle |
|
3383 |
5834 d 9 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 |
5834 d 21 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Fix the rare case when the anon or ELF backend uses PFN 0 for mapping. |
|
3370 |
5839 d 21 h |
jermar |
/trunk/kernel/generic/ |
Synchronous IPC must be interruptible. |
|
3363 |
5843 d 0 h |
jermar |
/trunk/kernel/generic/src/ipc/ |
Demasquerade the caller phone during ipc_answer_n() rather than in
ipc_wait_for_call(). |
|
3362 |
5843 d 0 h |
jermar |
/trunk/kernel/generic/ |
Fix processing of answers to forwarded masqueraded calls. |
|
3359 |
5843 d 8 h |
jermar |
/trunk/kernel/generic/src/proc/ |
Improve comments in task.c |
|
3332 |
5851 d 5 h |
jermar |
/trunk/kernel/generic/src/ipc/ |
Fix types when processing IPC_M_DATA_WRITE arguments. |
|
3274 |
5857 d 3 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 |
5861 d 0 h |
jermar |
/trunk/ |
cstyle |
|
3240 |
5867 d 8 h |
decky |
/ |
move unfinished ObjC support to a separate branch |
|
3225 |
5873 d 8 h |
jermar |
/trunk/kernel/generic/src/sysinfo/ |
Check the validity of the 'len' argument for sysinfo syscalls. |
|
3222 |
5890 d 2 h |
svoboda |
/trunk/ |
Merge program-loader related stuff from dynload branch to trunk. (huge) |
|
3208 |
5891 d 22 h |
jermar |
/trunk/kernel/generic/ |
The real intention of the previous commit was to put the boundary
on 4 GiB, not 16 GiB. |
|
3207 |
5891 d 23 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 |
5892 d 0 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 |
5892 d 2 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Fix deadlock in the 'zones' kconsole command. |
|
3194 |
5897 d 7 h |
jermar |
/trunk/kernel/generic/src/console/ |
Remove left-over debugging stuff. |
|
3193 |
5897 d 22 h |
jermar |
/trunk/kernel/ |
cstyle fixes |
|
3188 |
5904 d 19 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Finer grained waiting for memory with consideration of the number
of available memory frames. |
|
3187 |
5905 d 0 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 |
5905 d 0 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 |
5905 d 23 h |
jermar |
/trunk/kernel/generic/src/mm/ |
cstyle for frame.c |
|
3184 |
5906 d 2 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. |
|
3183 |
5906 d 4 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Avoid easy deadlock while printing slab cache statistics. |
|
3181 |
5907 d 7 h |
jermar |
/trunk/kernel/generic/src/ |
cstyle for kinit.c and scheduler.c |
|
3180 |
5907 d 9 h |
jermar |
/trunk/kernel/generic/src/mm/ |
cstyle for slab.c |
|
3175 |
5909 d 6 h |
jermar |
/trunk/kernel/generic/src/main/ |
Don't print anything before the kernel initializes the first THE
structure. This fixes a regression introduced in r3061. If anything
worked from r3061 until now, it was only due to luck. arm32 was not
that lucky when built with gcc 4.3.1. |
|
3143 |
5914 d 2 h |
svoboda |
/trunk/kernel/ |
Implement smc_coherence[_block]() for ppc32 |
|
3142 |
5914 d 2 h |
svoboda |
/trunk/kernel/generic/src/mm/ |
Fix build when smc_coherence_block() is defined as an empty macro |
|
3141 |
5914 d 5 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Maintain cache coherence when the ELF backend duplicates a frame from an
executable segment. |
|
3137 |
5914 d 7 h |
jermar |
/trunk/kernel/generic/src/proc/ |
Maintain cache coherence after sys_task_spawn() copies ELF image from user space. |
|
3130 |
5916 d 11 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Add a comment explaining the reason for a memory barrier after page table update in detail. |
|
3128 |
5916 d 23 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Issue a memory barrier after modifying a page table mapping in order to
prevent memory prefetching. |
|
3113 |
5921 d 19 h |
decky |
/trunk/kernel/generic/ |
rename SYS_IO to SYS_KLOG
do not notify uspace klog with every single character, introduce some latency |
|
3104 |
5922 d 11 h |
svoboda |
/trunk/kernel/ |
Declare arguments for memstr.h operations as pointers instead of uintptr_t. |
|