Changeset 5f62ef9 in mainline for generic/include


Ignore:
Timestamp:
2006-03-14T23:47:04Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d99d8c8
Parents:
1065603e
Message:

Completed asynchronous ipc.

Location:
generic/include
Files:
3 edited

Legend:

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

    r1065603e r5f62ef9  
    3333/* - the uspace may not be able to utilize full length */
    3434#define IPC_CALL_LEN    4
     35
     36/** Maximum active async calls per thread */
     37#define IPC_MAX_ASYNC_CALLS  4
    3538
    3639/* Flags for calls */
  • generic/include/proc/task.h

    r1065603e r5f62ef9  
    4141        link_t tasks_link;      /**< Link to other tasks within the system. */
    4242        as_t *as;               /**< Address space. */
     43        /* IPC stuff */
    4344        answerbox_t answerbox;  /**< Communication endpoint */
    4445        phone_t phones[IPC_MAX_PHONES];
     46        atomic_t active_calls;  /**< Active asynchronous messages */
    4547};
    4648
  • generic/include/syscall/syscall.h

    r1065603e r5f62ef9  
    3434        SYS_IO,
    3535        SYS_MREMAP,
     36        SYS_IPC_CALL_SYNC_FAST,
    3637        SYS_IPC_CALL_SYNC,
    37         SYS_IPC_CALL_SYNC_MEDIUM,
     38        SYS_IPC_CALL_ASYNC_FAST,
    3839        SYS_IPC_CALL_ASYNC,
    3940        SYS_IPC_ANSWER,
Note: See TracChangeset for help on using the changeset viewer.