summaryrefslogtreecommitdiff
path: root/fs/fs.h
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-15 02:06:48 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-15 02:06:48 +0200
commit0365bbb5c58912fd24b3d33b90477d3de5d46d96 (patch)
tree0e171394f0e9f508b6ff1a7971ce61ddf8b2f989 /fs/fs.h
parentfb8a5f18835e8811dd1a98b8eb5352151fc2df31 (diff)
fixes and imporvements
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