blob: c581c33ae8ae89933ed46d8f7f7862adfd77d355 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef FOOLOS_FS
#define FOOLOS_FS
#define EXT2_RAM_ADDRESS 0x168800
enum FS_FILE_TYPE{
FS_FILE_TYPE_DIR = 1,
FS_FILE_TYPE_FILE = 2
};
typedef struct fs_dirent_struct
{
uint32_t inode;
uint32_t offset;
uint16_t length;
uint8_t type;
char name[256];
}fs_dirent;
#endif
|