mufs: initial support for mounting/formatting
This commit is contained in:
parent
e131d77cf5
commit
19cd9d185f
2 changed files with 59 additions and 0 deletions
12
include/fs/mufs.h
Normal file
12
include/fs/mufs.h
Normal 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);
|
Loading…
Add table
Add a link
Reference in a new issue