xref: /csrg-svn/sys/hp300/stand/volhdr.h (revision 63165)
141488Smckusick /*
241488Smckusick  * Copyright (c) 1988 University of Utah.
3*63165Sbostic  * Copyright (c) 1990, 1993
4*63165Sbostic  *	The Regents of the University of California.  All rights reserved.
541488Smckusick  *
641488Smckusick  * This code is derived from software contributed to Berkeley by
741488Smckusick  * the Systems Programming Group of the University of Utah Computer
841488Smckusick  * Science Department.
941488Smckusick  *
1041488Smckusick  * %sccs.include.redist.c%
1141488Smckusick  *
12*63165Sbostic  *	@(#)volhdr.h	8.1 (Berkeley) 06/10/93
1341488Smckusick  */
1441488Smckusick 
1541488Smckusick /*
1641488Smckusick  * vohldr.h: volume header for "LIF" format volumes
1741488Smckusick  */
1841488Smckusick 
1941488Smckusick struct	lifvol {
2041488Smckusick 	short	vol_id;
2141488Smckusick 	char	vol_label[6];
2241488Smckusick 	int	vol_addr;
2341488Smckusick 	short	vol_oct;
2441488Smckusick 	short	vol_dummy;
2541488Smckusick 	int	vol_dirsize;
2641488Smckusick 	short	vol_version;
2741488Smckusick 	short	vol_zero;
2841488Smckusick 	int	vol_huh1;
2941488Smckusick 	int	vol_huh2;
3041488Smckusick 	int	vol_length;
3141488Smckusick };
3241488Smckusick 
3341488Smckusick struct	lifdir {
3441488Smckusick 	char	dir_name[10];
3541488Smckusick 	short	dir_type;
3641488Smckusick 	int	dir_addr;
3741488Smckusick 	int	dir_length;
3841488Smckusick 	char	dir_toc[6];
3941488Smckusick 	short	dir_flag;
4041488Smckusick 	int	dir_exec;
4141488Smckusick };
4241488Smckusick 
4341488Smckusick /* load header for boot rom */
4441488Smckusick struct load {
4541488Smckusick 	int address;
4641488Smckusick 	int count;
4741488Smckusick };
4841488Smckusick 
4941488Smckusick #define VOL_ID		-32768
5041488Smckusick #define VOL_OCT		4096
5141488Smckusick #define	DIR_TYPE	-5822
5241488Smckusick #define DIR_FLAG	0x8001	/* dont ask me! */
5341488Smckusick #define	SECTSIZE	256
54