view target-utils/libtiffs/struct.h @ 426:1060bf70d95d

doc/Compal-unlock: added cautionary note about flashing firmwares containing boot code that checks the word at 0x2060
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 21 Jun 2014 06:55:27 +0000
parents 2900fe603f8a
children
line wrap: on
line source

struct inode {
	u16	len;
	u8	reserved1;
	u8	type;
	u16	descend;
	u16	sibling;
	u32	dataptr;
	u16	sequence;
	u16	updates;
};

#define	OBJTYPE_FILE	0xF1
#define	OBJTYPE_DIR	0xF2
#define	OBJTYPE_SEGMENT	0xF4

struct journal {
	u8	status;
	u8	objtype;
	u16	this_ino;
	u16	link_ptr;
	u16	replacee;
	u32	location;
	u16	size;
	u16	repli;	/* ??? */
};