/kernel/trunk/generic/include/proc/task.h |
---|
40,8 → 40,10 |
link_t th_head; /**< List of threads contained in this task. */ |
link_t tasks_link; /**< Link to other tasks within the system. */ |
as_t *as; /**< Address space. */ |
/* IPC stuff */ |
answerbox_t answerbox; /**< Communication endpoint */ |
phone_t phones[IPC_MAX_PHONES]; |
atomic_t active_calls; /**< Active asynchronous messages */ |
}; |
extern spinlock_t tasks_lock; |
/kernel/trunk/generic/include/syscall/syscall.h |
---|
33,8 → 33,9 |
SYS_CTL = 0, |
SYS_IO, |
SYS_MREMAP, |
SYS_IPC_CALL_SYNC_FAST, |
SYS_IPC_CALL_SYNC, |
SYS_IPC_CALL_SYNC_MEDIUM, |
SYS_IPC_CALL_ASYNC_FAST, |
SYS_IPC_CALL_ASYNC, |
SYS_IPC_ANSWER, |
SYS_IPC_WAIT, |
/kernel/trunk/generic/include/ipc/ipc.h |
---|
33,6 → 33,9 |
/* - the uspace may not be able to utilize full length */ |
#define IPC_CALL_LEN 4 |
/** Maximum active async calls per thread */ |
#define IPC_MAX_ASYNC_CALLS 4 |
/* Flags for calls */ |
#define IPC_CALL_ANSWERED 1 /**< This is answer to a call */ |
#define IPC_CALL_STATIC_ALLOC 2 /**< This call will not be freed on error */ |