|
|
@cde999a
|
8 years |
zarevucky.jiri |
Fix comments to stop referring to error codes as negative.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a1026da
|
8 years |
jakub |
Introduce IPC_CALL_AUTO_REPLY call flag
Calls that never make it to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@897fd8f1
|
8 years |
zarevucky.jiri |
Use <errno.h> instead of special ESYNCH_xx error codes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7f11dc6
|
8 years |
zarevucky.jiri |
Numerous minor error code tweaks in kernel.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7565a4b
|
8 years |
zarevucky.jiri |
Return error code from ipc_phone_hangup().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@09d01f2
|
8 years |
zarevucky.jiri |
Return phones/capabilities separately from error codes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@90f20cf
|
8 years |
zarevucky.jiri |
Fix pagein. Oops.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6abda242
|
8 years |
zarevucky.jiri |
pagein_request_process() should be pagein_request_preprocess().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0016674
|
8 years |
zarevucky.jiri |
Properly handle errors in SYS_IPC_KBOX.
Also, merge the separate …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@569a51a
|
8 years |
zarevucky.jiri |
Return phone handle in SYS_IPC_CONNECT_KBOX separately from error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9233e9d
|
8 years |
zarevucky.jiri |
Return capability handle in SYS_IPC_IRQ_SUBSCRIBE separately from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6deb2cd
|
8 years |
zarevucky.jiri |
Return capability handle in SYS_IPC_WAIT via call data structure, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@addbce4
|
8 years |
jakub |
Remove IPC_CALLID_* macros
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@82d515e9
|
8 years |
jakub |
Fix terminology
Objects of slab_cache_t type are caches, not slabs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d7e245a
|
8 years |
jakub |
Use ordinary errors instead of IPC_CALLRET_FATAL
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@474c68b
|
8 years |
jakub |
Do not leak call address in sys_ipc_call_async_*()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96258fc
|
8 years |
jakub |
Free up all call capabilities when task exits
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@01c3bb4
|
8 years |
jakub |
Convert call-handling syscalls to capabilities
This commit modifies …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@503ffce
|
8 years |
jakub |
Return IPC_CALLID_* in call data instead of callid
Callid will be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c0e1f5
|
8 years |
jakub |
Rework userspace call tracking
Setting the address of the userspace …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d51a0d6
|
8 years |
jakub |
Associate a kobject_t with a call_t
Let all the reference counting be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@706b4de
|
8 years |
jakub |
Remove support for IPC_CALLRET_TEMPORARY
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d432c02
|
8 years |
jakub |
Make kernel IPC fail hard if maximum number of calls reached
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c1f68b0
|
8 years |
jakub |
Use recursive mutex to protect task_t::cap_info
This makes it …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7cf8522
|
8 years |
jakub |
Unpublish and free phone and IRQ capabilities in ipc_cleanup()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3dab10ae
|
8 years |
jakub |
Drop phone kobject reference when slamming the phone in answer_preprocess
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d470ec8
|
8 years |
jakub |
Maintain phone kobject reference for call_t::caller_phone
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@37e8c4a
|
8 years |
zarevucky.jiri |
Disallow common symbols. They are never needed.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@82cbf8c6
|
8 years |
jakub |
Replace the old hash table implementation in the kernel with the newer …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@91b60499
|
8 years |
jakub |
Merge support for capabilities from lp:~jakub/helenos/caps
This …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@48bcf49
|
8 years |
jakub |
Introduce reference-counted kobjects
Capabilities are thus reduced to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6abfd250
|
8 years |
jakub |
Rename caps_apply_to_all to caps_apply_to_type
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9e87562
|
8 years |
jakub |
Make all accesses to capabilites exclusive
This commit makes sure …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e5f5ce0
|
8 years |
jakub |
Create a slab cache for allocating phone_t structures
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@431c402
|
8 years |
jakub |
Create a slab cache for allocating irq_t structures
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63d8f43
|
8 years |
jakub |
Allocate the kobjects referenced by capabilities dynamically
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@30c27e9
|
8 years |
jakub |
Improve comments
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a5d0143
|
8 years |
jakub |
Improve comments
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3422fb6
|
8 years |
jakub |
Do not register IRQs inside of answerboxes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9306cd7
|
8 years |
jakub |
Make IRQ subscribe/unsubscribe thread safe again
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4d6629f
|
8 years |
jakub |
Remove unused connection cloning
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8a45bf09
|
8 years |
jakub |
Improve comments
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d81eb6
|
8 years |
jakub |
Copy entire ipc_data_t to uspace on answer
This is necessary so that …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@88db88d
|
8 years |
jakub |
Do not access the capability table directly in phone_alloc()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e68765e
|
8 years |
jakub |
Store capability's handle inside of it
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3f74275
|
8 years |
jakub |
Fix terminology around capabilities, capability handles and kernel objects
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e7ac23d0
|
8 years |
jakub |
Hide kobject implementation details
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@24abb85d
|
8 years |
jakub |
Remove SYS_DEVICE_ASSIGN_DEVNO
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e9d15d9
|
8 years |
jakub |
Turn IRQ structures into kernel objects
ipc_irq_subscribe() now …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@05ffb41
|
8 years |
jakub |
Turn IPC phones into kobjects
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63e27ef
|
8 years |
jiri |
ASSERT → assert
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@44a7ee5
|
8 years |
jiri |
memxxx functions should be provided in the kernel via the same header …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@719a208
|
8 years |
jakub |
Rename SYS_CAP_GRANT/REVOKE to SYS_PERM_GRANT/REVOKE
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b30846e
|
9 years |
jakub |
Do not allow circular paging dependencies of two or more tasks
The …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a97302
|
9 years |
jakub |
Use a more descriptive name for static function
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae66564
|
9 years |
jakub |
Add reference to frame only if the action was initiated by the kernel
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@560b81c
|
9 years |
jakub |
Make sure to test the present bit of the found PTE
By design, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@97b8ca9
|
9 years |
jakub |
Fix race between ipc_answerbox_slam_phones() and ipc_cleanup()
We …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0b00599
|
9 years |
jakub |
Use correct answerbox to answer IPC_M_PHONE_HUNGUP in kbox thread
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@43e2cbc
|
9 years |
jakub |
Implement interruptible wait for messages sent by the kernel
This …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2a2fbc8
|
9 years |
jakub |
Merge from lp:~jakub/helenos/pt
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9befb0d
|
9 years |
jakub |
Increment reference count only for physical memory frames
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@072607b
|
9 years |
jakub |
Add IPC_M_PAGE_IN system method
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bc117a5
|
9 years |
jakub |
Partially revert jakub@…
This …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6d351e6
|
9 years |
jakub |
Revert changeset jakub@…
We …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8a637a4
|
10 years |
martin |
remove EEXISTS in favor of EEXIST
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@09024119
|
10 years |
martin |
fix possible NULL pointer derefence in answer_need_old() before a NULL …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@022d72ff
|
10 years |
jakub |
Improve code structure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eab9689
|
10 years |
jakub |
Fix assertion on phone→state == IPC_PHONE_CONNECTING in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b1c57a8
|
11 years |
jakub |
Merge from lp:~adam-hraska+lp/helenos/rcu/.
Only merge from the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8820544
|
11 years |
martin |
support for kernel notification multiplexing in the async framework
* …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@feeac0d
|
12 years |
jiri |
Simplify use of list_foreach.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@33c2952
|
13 years |
adam.hraska+hos |
Merged with mainline.
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
|
|
|
@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
|
|
|