vfs: add initial ramfs driver

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-04 22:56:39 +02:00
commit e4122d1c65
5 changed files with 244 additions and 8 deletions

View file

@ -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_ */