summaryrefslogtreecommitdiff
path: root/fs/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fs.h')
-rw-r--r--fs/fs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/fs.h b/fs/fs.h
index fe35f3f..db6e608 100644
--- a/fs/fs.h
+++ b/fs/fs.h
@@ -3,9 +3,6 @@
#include <stdint.h>
-
-#define EXT2_RAM_ADDRESS 0x124000 // here the bootloader puts our image
-
enum FS_FILE_TYPE{
FS_FILE_TYPE_DIR = 1,
@@ -20,6 +17,9 @@ typedef struct fs_dirent_struct
uint8_t type;
char name[256];
}fs_dirent;
+
int fs_readdir(const char *name,fs_dirent *dirs,int max);
+void fs_mount(uint32_t ext2_ramimage); // all you can mount so far is just one single
+ // ext2 ramimage as root
#endif