Changeset 8b655705 in mainline for kernel/generic/include/ipc/ipc.h


Ignore:
Timestamp:
2011-04-15T19:38:07Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9dd730d1
Parents:
6b9e85b (diff), b2fb47f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/ipc/ipc.h

    r6b9e85b r8b655705  
    116116#define IPC_FF_ROUTE_FROM_ME  (1 << 0)
    117117
     118/* Data transfer flags. */
     119#define IPC_XF_NONE             0
     120
     121/** Restrict the transfer size if necessary. */
     122#define IPC_XF_RESTRICT         (1 << 0)
     123
    118124/** Kernel IPC interfaces
    119125 *
     
    165171 *                       error is sent back to caller. Otherwise
    166172 *                       the call is accepted and the response is sent back.
    167  *                     - the allocated phoneid is passed to userspace
     173 *                     - the hash of the client task is passed to userspace
     174 *                       (on the receiving side) as ARG4 of the call.
     175 *                     - the hash of the allocated phone is passed to userspace
    168176 *                       (on the receiving side) as ARG5 of the call.
    169177 *
     
    319327typedef struct {
    320328        sysarg_t args[IPC_CALL_LEN];
     329        /** Task which made or forwarded the call with IPC_FF_ROUTE_FROM_ME. */
     330        struct task *task;
     331        /** Phone which made or last masqueraded this call. */
    321332        phone_t *phone;
    322333} ipc_data_t;
     
    333344         * The caller box is different from sender->answerbox
    334345         * for synchronous calls.
    335          *
    336346         */
    337347        answerbox_t *callerbox;
     
    350360         * cases, we must keep it aside so that the answer is processed
    351361         * correctly.
    352          *
    353362         */
    354363        phone_t *caller_phone;
Note: See TracChangeset for help on using the changeset viewer.