FreeCalypso > hg > freecalypso-sw
comparison target-utils/libmpffs/struct.h @ 100:02ece4d8c755
pirexplore: beginning of FFS support
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 01 Sep 2013 21:55:51 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
99:b78db17bfc85 | 100:02ece4d8c755 |
---|---|
1 struct inode { | |
2 u16 len; | |
3 u8 reserved1; | |
4 u8 type; | |
5 u16 descend; | |
6 u16 sibling; | |
7 u32 dataptr; | |
8 u16 sequence; | |
9 u16 updates; | |
10 }; | |
11 | |
12 #define OBJTYPE_FILE 0xF1 | |
13 #define OBJTYPE_DIR 0xF2 | |
14 #define OBJTYPE_SEGMENT 0xF4 | |
15 | |
16 struct journal { | |
17 u8 status; | |
18 u8 objtype; | |
19 u16 this_ino; | |
20 u16 link_ptr; | |
21 u16 replacee; | |
22 u32 location; | |
23 u16 size; | |
24 u16 repli; /* ??? */ | |
25 }; |