vfs: add initial ramfs driver
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
dec9b2c715
commit
e4122d1c65
5 changed files with 244 additions and 8 deletions
|
|
@ -4,7 +4,9 @@
|
|||
|
||||
#include <fs/vfs.h>
|
||||
|
||||
dirent_t *ramfs_mount(int flags, struct block_device *bdev);
|
||||
#define FS_TYPE_RAMFS 0x1234
|
||||
|
||||
int ramfs_create(u64 flags, fs_t **out);
|
||||
int ramfs_umount(fs_t *fs);
|
||||
|
||||
#endif /* _RAMFS_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue