diff options
| author | Michal Idziorek <m.i@gmx.at> | 2015-05-15 02:06:48 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2015-05-15 02:06:48 +0200 |
| commit | 0365bbb5c58912fd24b3d33b90477d3de5d46d96 (patch) | |
| tree | 0e171394f0e9f508b6ff1a7971ce61ddf8b2f989 /fs/fs.h | |
| parent | fb8a5f18835e8811dd1a98b8eb5352151fc2df31 (diff) | |
fixes and imporvements
Diffstat (limited to 'fs/fs.h')
| -rw-r--r-- | fs/fs.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
