diff options
author | Marvin Borner | 2021-01-15 16:34:19 +0100 |
---|---|---|
committer | Marvin Borner | 2021-01-15 16:34:19 +0100 |
commit | 41cba1de51b328979ff2d0261b4141bb4e128fe6 (patch) | |
tree | 88ea7bda9e7a675ed0e043ea8662ea9cf3767ce3 /kernel/inc/fs.h | |
parent | d3924f541f36bc08fed87f25ec7fc6e64b86e511 (diff) |
Implemented basic dev ready-state waiting
Diffstat (limited to 'kernel/inc/fs.h')
-rw-r--r-- | kernel/inc/fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/inc/fs.h b/kernel/inc/fs.h index 1b2b073..e5c444c 100644 --- a/kernel/inc/fs.h +++ b/kernel/inc/fs.h @@ -52,6 +52,8 @@ void vfs_install(void); u32 vfs_mounted(struct device *dev, const char *path); u32 vfs_mount(struct device *dev, const char *path); +struct device *vfs_find_dev(const char *path); + u32 vfs_read(const char *path, void *buf, u32 offset, u32 count); u32 vfs_write(const char *path, void *buf, u32 offset, u32 count); u32 vfs_stat(const char *path, struct stat *buf); |