summaryrefslogtreecommitdiff
path: root/src/kernel/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r--src/kernel/proc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h
index 970c694..0e02d27 100644
--- a/src/kernel/proc.h
+++ b/src/kernel/proc.h
@@ -2,6 +2,7 @@
#include <kernel/arch/generic.h>
#include <kernel/handle.h>
#include <kernel/vfs/mount.h>
+#include <shared/syscalls.h>
enum process_state {
PS_RUNNING,
@@ -32,8 +33,8 @@ struct process {
struct vfs_request pending_req; // PS_WAITS4FS
struct {
char __user *buf;
- int __user *len;
- int __user *id;
+ int max_len;
+ struct fs_wait_response __user *res;
} awaited_req; // PS_WAITS4REQUEST
};
struct vfs_request *handled_req;