|
|
@7ad17de
|
13 years |
jakub |
Instead of printing the standard kill message, only inform the user …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d1e8440
|
13 years |
jakub |
Get rid of USTACK_ADDRESS.
- Let the kernel find a suitable address …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@57355a40
|
13 years |
jakub |
Rather than testing for address overlap with kernel address space, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@67b152e
|
13 years |
jakub |
Define default size for userspace stacks.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0aae87a6
|
13 years |
jakub |
Unify the default stack size used by userspace threads and fibrils.
- …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3b8a990
|
13 years |
jakub |
Create also the uspace thread stacks with guard pages and late …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@01029fc
|
13 years |
jakub |
Define two new as area backend callbacks.
- Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c387838
|
13 years |
jakub |
Test for frame allocation failure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5892ec1
|
13 years |
jakub |
Rename AS_AREA_NORESERVE to AS_AREA_LATE_RESERVE.
This reflects the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a9c805
|
13 years |
jakub |
Reserve memory for NORESERVE areas pagefaults when the page fault …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@692bd3f2
|
13 years |
jakub |
Define AS_AREA_NORESERVE and allow its use in the anonymous backend.
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@338810f
|
13 years |
jakub |
Make km_temporary_page_get() more flexible by accepting more flags.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@94795812
|
13 years |
jakub |
Check for dangerous unsigned integer overflows in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0941e9ae
|
13 years |
jakub |
Test for addition overflow of area's base and size.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@35a3d950
|
13 years |
m.lombardi85 |
mm: implement support to guarded address space areas
Guarded address …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@466e95f7
|
13 years |
jakub |
Add SYSIPC_OP macro to avoid repeating the same boilerplate code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@716185d
|
13 years |
jakub |
Call request_process() callback for incoming calls during IPC cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@675fcbd
|
13 years |
jakub |
Call the answer_process() callback for answers picked up in IPC cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6f9c8f6
|
13 years |
jakub |
Code deduplication.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@00b4a68
|
13 years |
jakub |
Merge from lp:~jakub/helenos/camp2012.
Kernel IPC subsystem …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e9fe33b
|
13 years |
jakub |
Use the caller local variable instead of the full dereference.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@03a8a8e
|
13 years |
jakub |
Link each phone to its containing task.
This makes it possible to set …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c97b086
|
13 years |
jakub |
Mark the call active also in ipc_backsend_err().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@796692c
|
13 years |
jakub |
Set request method also for manually sent IPC_M_PHONE_HUNGUP messages.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f1d5ef8
|
13 years |
jakub |
Document two issues in ipc_answerbox_slam_phones() when cleaning up a kbox.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cd671c3
|
13 years |
jakub |
Reference count call_t structures.
Add ipc_call_hold() and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@239acce
|
13 years |
jakub |
Make the phone_alloc() code shorter.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c33f39f
|
13 years |
jakub |
Do not establish callback connections after the answerbox enters cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2541646
|
13 years |
jakub |
Do not slam phones of potentially long gone forwarder tasks.
Instead, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d3ed34
|
13 years |
jakub |
Make sure that both dispatched and non-dispatched calls are properly …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9ef1b79b
|
13 years |
jakub |
Make it explicit that we are not interested in the return value.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f9841e69
|
13 years |
jakub |
Call answer_preprocess() also when ipc_forward() returns error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fcfa926b
|
13 years |
jakub |
Factor out common statements.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95a3082
|
13 years |
jakub |
Call answer_preprocess() in call forwarding error paths.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4cd7fd0
|
13 years |
jakub |
Remove accidentally committed debugging code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9c9903a9
|
13 years |
jakub |
Do not walk call→sender of a forgotten call in ipc_print_task().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a77550
|
13 years |
jakub |
Always remember the original caller phone in a call.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f39d5c2
|
13 years |
jakub |
Add comment about taking shortcut in IPC_M_CONNECT_TO_ME's …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e5a4250
|
13 years |
jakub |
Leave cleaning of call→buffer to ipc_call_free() for now.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@53af6e8c
|
13 years |
jakub |
No need to hold the sender task when the call is going to be answered. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@20282ef3
|
13 years |
jakub |
When answer_preprocess() wins the race for a call, let it also dequeue …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b1e6269
|
13 years |
jakub |
Add two new sysipc_ops_t members:
- request_forget()
- …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@13dbaa8c
|
13 years |
jakub |
Factor out dealing with call→buffer from process_answer() to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b186ed
|
13 years |
jakub |
Move handling of IPC_M_CONNECT_ME_TO in process_answer() to its …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@32e4643
|
13 years |
jakub |
Always remember the original request method so that it is actually …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e8039a86
|
13 years |
jakub |
Separate system IPC logic into dedicated ops structure hooks.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@642dc72
|
13 years |
jakub |
Return null_ops if sysipc_ops is not defined for a given method.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f0defd2
|
13 years |
jakub |
Basic infrastructure for system IPC ops.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fa6f2357
|
13 years |
jakub |
Sender phone cannot be deallocated in the recipient context.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ffc1b1d
|
13 years |
jakub |
Prevent likely double free of call→buffer.
The buffer is supposed to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d891cba
|
13 years |
jakub |
Phones in IPC cleanup need to be accessed under the protection of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f9bd2e3
|
13 years |
jakub |
Handle phones that got slammed during IPC cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@525e91b
|
13 years |
jakub |
Make the assert condition shorter.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8f6858d0
|
13 years |
jakub |
Forget any IPC_M_PHONE_HUNGUP messages sent from IPC cleanup so that …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7975433
|
13 years |
jakub |
Cleanup of forgotten calls on answer.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c8cbd39
|
13 years |
vojtechhorky |
Hack: copy kernel arguments to sysinfo
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2405bb5
|
13 years |
jakub |
Forget active calls when a task exits.
- Synchronization between …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@691d8d8
|
13 years |
jakub |
Give each system IPC method its dedicated request process hook.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@924c2530
|
13 years |
jakub |
Give each system IPC method its dedicated request preprocess hook.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a82ac1
|
13 years |
jakub |
Be nice and provide a default switch case in answer_preprocess().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9956fad9
|
13 years |
jakub |
Give each system IPC method its dedicated answer preprocess hook.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1cb75de
|
13 years |
jakub |
Remove an answered call from the task's active list when the call is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@86939b1
|
13 years |
jakub |
Maintain task's active calls in the active call list.
- The call is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cfaa35a
|
13 years |
jakub |
Rename call_t's link to ab_link as this link is exclusively used for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cd529c4
|
13 years |
jakub |
In the absence of synchronous IPC calls, call_t's callerbox is just …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c34f587
|
13 years |
jakub |
Remove synchronous IPC primitives.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1772e6d
|
13 years |
sucha14 |
Update documentation for str_cmp and str_lcmp.
This is a modified …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4efeab5
|
13 years |
sucha14 |
Update documentation for str_cmp and str_lcmp
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8f4f444
|
13 years |
jakub |
Add a variant of fault_if_from_uspace() that doesn't check whether
the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8486c07
|
13 years |
martin |
IRQ pseudocode improvements
* rename CMD_BTEST to CMD_AND (less …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@56c167c
|
13 years |
martin |
cstyle (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e435537
|
13 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dfc07c1
|
13 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f4a8734
|
13 years |
vojtechhorky |
C style
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@550af2b
|
13 years |
vojtechhorky |
Add missing documentation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aca4a04
|
13 years |
vojtechhorky |
Extract common code into function
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f0d7bd9
|
13 years |
vojtechhorky |
Create function for displaying —more— prompt
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1e01a35
|
13 years |
vojtechhorky |
Symbol table completion for kernel console (#50)
Kernel console …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9432f08
|
13 years |
jakub |
Process all TLB messages or until TLB_INVL_ALL is reached.
- …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6a78b9
|
13 years |
jakub |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f22dc820
|
13 years |
jakub |
Honour the prohibition of migration also in thread_ready().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6eef3c4
|
13 years |
martin |
cleanup thread_create() and thread_t structure
- remove 'flag' …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f97f1e51
|
13 years |
martin |
unify slab cache naming scheme (according to the type name)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2902e1bb
|
13 years |
martin |
add support for variable uspace stack size
create individual address …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4e5dabf
|
13 years |
martin |
cstyle (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@db675dd
|
13 years |
martin |
print more informative messages about init tasks, the loader and the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@692be1ae
|
13 years |
martin |
print elf_load() return value if CONFIG_LOG is set
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d67dfdc
|
13 years |
jakub |
Avoid blocking callpaths in TLB shootdown sequences.
- In …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fce7b43
|
13 years |
jakub |
Fix build.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d2d308f
|
13 years |
jakub |
Examine the lock→guard in irq_spinlock_trylock() only when the lock …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@311929ec
|
13 years |
jakub |
Print stack traces when looping on a spinlock or an active mutex is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@905721b
|
13 years |
jakub |
mem_avail_mtx is an active mutex and needs to be IRQ-safe.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4d194be
|
13 years |
jakub |
Convert slab_cache_t's maglock into an IRQ spinlock as it is taken …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ddb56be
|
13 years |
jakub |
Convert slab_cache_t's slablock into an IRQ spinlock as it is taken …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c8d0f9e5
|
13 years |
jakub |
Add assertions to stress the fact that the slab allocator spinlocks …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@25ebfbd
|
13 years |
jakub |
Make slab_mag_cache_t's spinlock IRQ safe.
- slab_cache_destroy() was …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1295a1da
|
13 years |
jakub |
Make the ra_arena_t spinlock IRQ save.
- The lock is currently being …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6aae539d
|
13 years |
martin |
rename IPC_M_CONNECT_ME to IPC_M_CLONE_ESTABLISH
* the term itself …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@64a617f
|
13 years |
martin |
backport printf fixes to kernel and boot
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3a050c7
|
13 years |
martin |
make the kernel log a global symbol (so it can be easily found in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|