diff options
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 |
