aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc
diff options
context:
space:
mode:
authorMarvin Borner2021-01-04 12:40:30 +0100
committerMarvin Borner2021-01-04 12:40:30 +0100
commit75526aea5027d76b9f7cf07b8741cd7c8642f4ed (patch)
tree01667d1b61a986d0886bf3844011943b82d16f40 /kernel/inc
parentd4c618d81316614942a8248f34e18d105ea31201 (diff)
Some vfs fixes
Diffstat (limited to 'kernel/inc')
-rw-r--r--kernel/inc/fs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/inc/fs.h b/kernel/inc/fs.h
index 3cc39e6..8fd0707 100644
--- a/kernel/inc/fs.h
+++ b/kernel/inc/fs.h
@@ -18,13 +18,15 @@ struct device {
u8 (*write)(u8 *buf, u32 offset, u32 count, struct device *dev);
};
+void device_install(void);
+
/**
* VFS
*/
struct vfs {
const char *name;
- u8 (*read)(char *, char *, struct device *, void *);
+ //u8 (*read)(char *, char *, struct device *, void *);
u8 (*mount)(struct device *, void *);
};
@@ -33,6 +35,8 @@ struct mount_info {
struct device *dev;
};
+void vfs_install(void);
+
/**
* EXT2
*/