xref: /original-bsd/sys/hp300/stand/volhdr.h (revision 3705696b)
1 /*
2  * Copyright (c) 1988 University of Utah.
3  * Copyright (c) 1990, 1993
4  *	The Regents of the University of California.  All rights reserved.
5  *
6  * This code is derived from software contributed to Berkeley by
7  * the Systems Programming Group of the University of Utah Computer
8  * Science Department.
9  *
10  * %sccs.include.redist.c%
11  *
12  *	@(#)volhdr.h	8.1 (Berkeley) 06/10/93
13  */
14 
15 /*
16  * vohldr.h: volume header for "LIF" format volumes
17  */
18 
19 struct	lifvol {
20 	short	vol_id;
21 	char	vol_label[6];
22 	int	vol_addr;
23 	short	vol_oct;
24 	short	vol_dummy;
25 	int	vol_dirsize;
26 	short	vol_version;
27 	short	vol_zero;
28 	int	vol_huh1;
29 	int	vol_huh2;
30 	int	vol_length;
31 };
32 
33 struct	lifdir {
34 	char	dir_name[10];
35 	short	dir_type;
36 	int	dir_addr;
37 	int	dir_length;
38 	char	dir_toc[6];
39 	short	dir_flag;
40 	int	dir_exec;
41 };
42 
43 /* load header for boot rom */
44 struct load {
45 	int address;
46 	int count;
47 };
48 
49 #define VOL_ID		-32768
50 #define VOL_OCT		4096
51 #define	DIR_TYPE	-5822
52 #define DIR_FLAG	0x8001	/* dont ask me! */
53 #define	SECTSIZE	256
54