FreeCalypso > hg > freecalypso-reveng
diff pirollback/struct.h @ 42:15c2ac2c5c73
pirollback: started
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sat, 06 Jul 2013 20:16:34 +0000 |
parents | |
children | 074237879eca |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pirollback/struct.h Sat Jul 06 20:16:34 2013 +0000 @@ -0,0 +1,24 @@ +/* actual MPFFS on-media structure */ +struct inode_flash { + u16 len; + u8 reserved1; + u8 type; + u16 descend; + u16 sibling; + u32 dataptr; + u16 sequence; + u16 updates; +}; + +/* our own struct for convenience */ +struct inode_info { + struct inode_flash *flash; + int parent; + int type; + u8 *dataptr; + u32 offset; + u32 rawloc; + u16 len; + int descend; + int sibling; +};