source: mainline/kernel/generic/src/ipc/ipc.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @bb97118   6 years zarevucky.jiri Convert CAP_HANDLE_RAW and CAP_HANDLE_VALID into functions lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e394c196   6 years jakub Use a dedicated cache for instances of kobject_t lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @aafed15   6 years zarevucky.jiri Declare malloc() etc in standard <stdlib.h> rather than <mm/slab.h> lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @abf6c01   6 years zarevucky.jiri Add FRAME_ATOMIC to some allocations lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @90efa3b   6 years zarevucky.jiri Remove flags from ipc_call_alloc() lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b9a2725   6 years zarevucky.jiri Allocate call for ipc_phone_hangup() ahead of time lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @bab75df6   6 years jiri Let kernel code get printf via the standard stdio header. Clean up … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @6769005   6 years jakub Use user-defined labels instead of phone hashes This commit changes … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @174156fd   6 years jakub Disambiguate doxygroup generic* lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @09ab0a9a   6 years jiri Fix vertical spacing with new Ccheck revision. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e3306d04   6 years jiri.zarevucky Convert atomic_t to atomic_size_t (4): Use atomic_store instead of … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @036e97c   6 years jiri.zarevucky Convert atomic_t to atomic_size_t (3): Use atomic_load instead of … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @acf6b55   6 years jiri.zarevucky Make it possible for uspace to determine why SYS_IPC_WAIT returned. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @96c30c8   6 years jiri.zarevucky Turn ipc_poke() into a regular wakeup on the waitq. With prior … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7c3fb9b   7 years jiri Fix block comment formatting (ccheck). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @11b285d   7 years jiri.zarevucky Use standard signature for malloc() in kernel. The remaining … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @eed4139   7 years jakub Fix some comments mentioning 'call IDs' lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @eadaeae8   7 years jakub Make capability handles type-safe Define distinct pointer types for … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a36f442   7 years jakub Account the active call to callerbox if it exists lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @fce9b19   7 years jakub Print number of answerbox' active calls lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f40237f   7 years jakub Fix diagnostic message lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @34316d4   7 years jakub Hang up phones connected during ipc_cleanup() If an answer to … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1b4196d   7 years jakub Allow only connecting phones to connect If a phone is not in the … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ca61894   7 years jakub Streamline code lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e618885   7 years jakub Remove dead code The phone_cap_wait_cb was never called as all phone … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @70327bb   7 years jakub Track number of answers expected by answerbox lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @cdc4334   7 years jakub Rename ipc_phone_0 to ipc_box_0 for consistency lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @314f4b59   7 years jakub Remove dead code Hungup phones with zero active calls are … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @df1cbb3   7 years jakub Give reference to phone for each active call This effectively removes … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a35b458   7 years zarevucky.jiri style: Remove trailing whitespace on _all_ lines, including empty … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1b20da0   7 years zarevucky.jiri style: Remove trailing whitespace on non-empty lines, in certain file … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b7fd2a0   7 years zarevucky.jiri Use errno_t in all uspace and kernel code. Change type of every … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @cde999a   7 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
(edit) @897fd8f1   7 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
(edit) @7f11dc6   7 years zarevucky.jiri Numerous minor error code tweaks in kernel. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7565a4b   7 years zarevucky.jiri Return error code from ipc_phone_hangup(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @82d515e9   7 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
(edit) @96258fc   7 years jakub Free up all call capabilities when task exits lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d51a0d6   7 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
(edit) @c1f68b0   7 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
(edit) @7cf8522   7 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
(edit) @d470ec8   7 years jakub Maintain phone kobject reference for call_t::caller_phone lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @48bcf49   7 years jakub Introduce reference-counted kobjects Capabilities are thus reduced to … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @6abfd250   7 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
(edit) @9e87562   7 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
(edit) @e5f5ce0   7 years jakub Create a slab cache for allocating phone_t structures lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @63d8f43   7 years jakub Allocate the kobjects referenced by capabilities dynamically lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @3422fb6   7 years jakub Do not register IRQs inside of answerboxes lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9306cd7   7 years jakub Make IRQ subscribe/unsubscribe thread safe again lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e68765e   7 years jakub Store capability's handle inside of it lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @3f74275   7 years jakub Fix terminology around capabilities, capability handles and kernel objects lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e7ac23d0   7 years jakub Hide kobject implementation details lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e9d15d9   7 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
(edit) @05ffb41   7 years jakub Turn IPC phones into kobjects lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @63e27ef   7 years jiri ASSERT → assert lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @97b8ca9   8 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
(edit) @0b00599   8 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
(edit) @43e2cbc   8 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
(edit) @bc117a5   8 years jakub Partially revert jakub@… This … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @6d351e6   8 years jakub Revert changeset jakub@… We … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @feeac0d   11 years jiri Simplify use of list_foreach. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @466e95f7   12 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
(edit) @716185d   12 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
(edit) @675fcbd   12 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
(edit) @6f9c8f6   12 years jakub Code deduplication. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e9fe33b   12 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
(edit) @03a8a8e   12 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
(edit) @c97b086   12 years jakub Mark the call active also in ipc_backsend_err(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @796692c   12 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
(edit) @f1d5ef8   12 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
(edit) @cd671c3   12 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
(edit) @c33f39f   12 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
(edit) @5d3ed34   12 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
(edit) @f9841e69   12 years jakub Call answer_preprocess() also when ipc_forward() returns error. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4cd7fd0   12 years jakub Remove accidentally committed debugging code. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9c9903a   12 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
(edit) @5a77550   12 years jakub Always remember the original caller phone in a call. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @53af6e8c   12 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
(edit) @20282ef3   12 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
(edit) @b1e6269   12 years jakub Add two new sysipc_ops_t members: - request_forget() - … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ffc1b1d   12 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
(edit) @d891cba   12 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
(edit) @f9bd2e3   12 years jakub Handle phones that got slammed during IPC cleanup. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @525e91b   12 years jakub Make the assert condition shorter. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8f6858d0   12 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
(edit) @7975433   12 years jakub Cleanup of forgotten calls on answer. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2405bb5   12 years jakub Forget active calls when a task exits. - Synchronization between … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1cb75de   12 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
(edit) @86939b1   12 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
(edit) @cfaa35a   12 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
(edit) @cd529c4   12 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
(edit) @6c34f587   12 years jakub Remove synchronous IPC primitives. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f97f1e51   12 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
(edit) @ab34cc9   13 years jakub Make IPC_M_CONNECT_TO_ME more consistent with IPC_M_CONNECT_TO_ME. - … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e2ab36f1   13 years jakub Track client data by client task ID instead of client task hash. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c0699467   13 years martin do not provide general access to kernel headers from uspace, only … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @55b77d9   13 years jiri Separate list_t typedef from link_t (kernel part). * list_t … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @79ae36dd   14 years martin new async framework with integrated exchange tracking * strict … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @6aef742   14 years jakub Incoming vs. outgoing answers. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Note: See TracRevisionLog for help on using the revision log.