mufs: initial support for mounting/formatting

This commit is contained in:
S.J.R. van Schaik 2017-05-19 18:58:42 +02:00
parent e131d77cf5
commit 19cd9d185f
2 changed files with 59 additions and 0 deletions

12
include/fs/mufs.h Normal file
View file

@ -0,0 +1,12 @@
#pragma once
struct flash_dev;
struct mufs {
struct flash_dev *dev;
uint32_t nblocks;
uint32_t root;
};
int mufs_mount(struct mufs *fs, struct flash_dev *dev);
int mufs_format(struct flash_dev *dev);