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

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(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   13 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
(edit) @5378f99   14 years martin improve 'ipc' command printouts lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8c9b742   14 years jakub Change the client task hash only when making the call or when … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @fdb9982c   14 years jakub Sign each outgoing call by the task hash. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e186eb5   14 years jakub For connected phones, print also the task ID of the target task. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @228e490   14 years martin initial modifications for supporting declarative IPC interfaces lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @96b02eb9   14 years martin more unification of basic types - use sysarg_t and native_t (unsigned … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @97d17fe   14 years jakub Associate the limit of active calls with a phone rather than the task. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7e752b2   14 years martin * correct printf() formatting strings and corresponding arguments * … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @be06914   14 years martin nicer top printouts fix typos (recieved → received) lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @da1bafb   15 years martin major code revision - replace spinlocks taken with interrupts … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @170332d   15 years Jakub Jermář Disable interrupts when taking TASK→lock. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @aa028db   15 years jakub Fix ipc_wait_for_call() not to take the TASK spinlock while holding … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @95319bd   15 years stanislav.kozina Added dummy_load utility. It just does some dummy load - either in … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a307beb   15 years stanislav.kozina IPC statistics measured. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c713aa56   15 years jakub Do not deadlock when the task cleans up messages it sent itself. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e701eb1   15 years jakub Disassociate the phone with the answerbox in cleanup. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @33adc6ce   15 years jakub Introduce the per-task list of active synchronous answerboxes and make … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c70ce74   15 years jakub Allocate the answerbox for synchronous calls dynamically. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4ca28512   15 years jakub Remove ipc_call_static_init() and IPC_CALL_STATIC_ALLOC. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @287e83f   16 years jakub Do not test the same condition twice. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @13a638d   16 years martin move event notification to the ipc directory (where it probably belogs … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @05641a9e   16 years jakub Revive kernel notifications. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @119c335   16 years jakub Add comments documenting our treatment of the task's active call counter. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4e5aa02   16 years jakub Fix task active call accounting for IPC_M_HUNGUP calls. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e028660   16 years jakub Rename ipc/ipc_kbox.c to ipc/kbox.c. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9a1b20c   16 years jirik.svoboda Merge syscall tracer (trace) and relevant part of udebug interface … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @27526e87   16 years jakub Kernel's ipc_data_t and uspace's ipc_call_t must be in sync. This … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e40e3007   16 years jakub cstyle for ipc.c lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @79872cd   16 years jakub Synchronous IPC must be interruptible. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @74965d2   16 years jakub Demasquerade the caller phone during ipc_answer_n() rather than in … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @645d9ed2   16 years jakub Fix processing of answers to forwarded masqueraded calls. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @08a19ba   16 years jakub Support for active mutexes. Active mutexes implement busy waiting, … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @69eac4aa   16 years jakub Fix a scary two-year old bug: do not attempt to initialize a call … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e32e092   17 years jirik.svoboda Declare arguments for memstr.h operations as pointers instead of uintptr_t. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @78d0da8   17 years martin revert coding style change lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9fe962d6   17 years martin proper printf formatting lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ff48a15   17 years jakub Turn phone→lock into mutex. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @12ab886   17 years jakub Fix initialization of answerbox→task in ipc_answerbox_init. … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a55d5f9f   17 years jakub Add support for IPC_M_DATA_READ calls. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @38c706cc   17 years malyzelenyhnus Extended IPC_M_CONNECT_TO_ME to use 3 user defined parameters. Phone … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9201f47   17 years jakub Introduce the IPC_FF_ROUTE_FROM_ME forwarding flag. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d40a8ff   17 years jakub Add mode argument to IPC forward. This argument can be used to modify … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7c5bcc0   17 years jakub Fix and improve two IPC related comments. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7918fce   17 years jakub Implement a new mechanism for copying data between two address spaces … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @bd72c3e9   17 years jakub Some left-over stuff from the last commit (IPC cleanup and improved … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8b243f2   17 years jakub Greatly improve comments in the IPC layer. Now I think I finally start … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5c8ba05   18 years jakub Cleanup the waitq_wakeup() interface. Replace numeric constants (i.e. … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @201abde   18 years martin make thread ID 64 bit (task ID is 64 bit already) cleanup thread syscalls lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @31d8e10   18 years jakub Continue to de-oversynchronize the kernel. - replace as→refcount with … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @df4ed85   18 years jakub © versus © lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b14e35f2   18 years jakub Implement efficient IPC notification cleanup. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2b017ba   18 years jakub Replace the old IRQ dispatcher and IPC notifier with new … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(add) @11675207   16 years Jakub Jermář Move everything to kernel/. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Note: See TracRevisionLog for help on using the revision log.