proc: enter into userspace
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
1a8061e3b3
commit
cd916f624b
12 changed files with 138 additions and 29 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue