proc: enter into userspace

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-19 19:25:38 -04:00
commit cd916f624b
12 changed files with 138 additions and 29 deletions

View file

@ -72,7 +72,7 @@ struct _fs {
u64 flags;
size_t block_size;
size_t n_blocks;
void *priv;
void *priv;
dirent_t *root_dirent;
@ -97,6 +97,12 @@ struct mount {
u64 flags;
};
struct fildes {
u64 fdno;
dirent_t *file;
struct proc *proc;
};
void vfs_init(void);
void vfs_register(struct fs_driver *fs);