diff options
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r-- | src/kernel/proc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h index 93044d2..eb5bd6b 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -14,6 +14,7 @@ enum process_state { PS_WAITS4CHILDDEATH, PS_WAITS4FS, PS_WAITS4REQUEST, + PS_WAITS4PIPE, PS_LAST, }; @@ -42,6 +43,11 @@ struct process { size_t max_len; struct fs_wait_response __user *res; } awaited_req; // PS_WAITS4REQUEST + struct { + struct handle *pipe; + char __user *buf; + size_t len; + } waits4pipe; }; struct vfs_request *handled_req; |