diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2018-11-20 10:43:33 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2018-11-20 10:43:33 -0500 |
commit | 22615096dee294f63c6940c17f2a448da51d9197 (patch) | |
tree | cf38db8d010344e445210c35348ec457f33b7a7e /src/kernel/vfs.h | |
parent | e88b4f9040b63d70563bee8553596f3c317022a5 (diff) |
fs work, initrd/stdio
Diffstat (limited to 'src/kernel/vfs.h')
-rw-r--r-- | src/kernel/vfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/vfs.h b/src/kernel/vfs.h index 29763a5..89213f9 100644 --- a/src/kernel/vfs.h +++ b/src/kernel/vfs.h @@ -22,7 +22,7 @@ typedef struct vfs_volume_funcs_t { typedef struct { uint32_t flags; - vfs_volume_funcs *funcs; + const vfs_volume_funcs *funcs; } vfs_volume; // Indicates an opened file @@ -43,7 +43,7 @@ typedef struct { void vfs_init(void); -int vfs_mount(vfs_volume_funcs *funcs, uint32_t flags); +int vfs_mount(const vfs_volume_funcs *funcs, uint32_t flags); int vfs_open(const char *path, uint32_t flags); int vfs_close(int fd); uint32_t vfs_read(int fd, uint32_t count, uint8_t *buffer); |