diff options
author | dzwdz | 2021-08-24 16:25:50 +0200 |
---|---|---|
committer | dzwdz | 2021-08-24 16:25:50 +0200 |
commit | 83fa1f34ea744da7d26997179a0dd6af751dd8b0 (patch) | |
tree | 0794348a02acebf36ecab9ad665bc0f0f75fbfee /src/kernel/proc.h | |
parent | 2df1c7370bf596aebbe06f7333a65a6f4d6ec15a (diff) |
add some scaffolding for file descriptors
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r-- | src/kernel/proc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h index ffc342a..0a1a42c 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -1,5 +1,6 @@ #pragma once #include <kernel/arch/generic.h> +#include <kernel/fd.h> #include <kernel/vfs/mount.h> enum process_state { @@ -28,6 +29,8 @@ struct process { size_t saved_len; struct vfs_mount *mount; + + struct fd fds[FD_MAX]; }; extern struct process *process_first; |