Raise WARNS to 6:
[dragonfly.git] / sys / boot / alpha / libalpha / bbinfo.h
1 /* 
2  * From $NetBSD: bbinfo.h,v 1.2 1997/04/06 08:40:57 cgd Exp $ 
3  * $FreeBSD: src/sys/boot/alpha/libalpha/bbinfo.h,v 1.2 1999/08/28 00:39:26 peter Exp $
4  * $DragonFly: src/sys/boot/alpha/libalpha/Attic/bbinfo.h,v 1.3 2003/11/10 06:08:29 dillon Exp $
5  */
6
7 /*
8  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
9  * All rights reserved.
10  *
11  * Author: Chris G. Demetriou
12  *
13  * Permission to use, copy, modify and distribute this software and
14  * its documentation is hereby granted, provided that both the copyright
15  * notice and this permission notice appear in all copies of the
16  * software, derivative works or modified versions, and any portions
17  * thereof, and that both notices appear in supporting documentation.
18  *
19  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
20  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
21  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
22  *
23  * Carnegie Mellon requests users of this software to return to
24  *
25  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
26  *  School of Computer Science
27  *  Carnegie Mellon University
28  *  Pittsburgh PA 15213-3890
29  *
30  * any improvements or extensions that they make and grant Carnegie the
31  * rights to redistribute these changes.
32  */
33
34 struct bbinfoloc {
35         u_int64_t       magic1;
36         u_int64_t       start;
37         u_int64_t       end;
38         u_int64_t       pad1[4];
39         u_int64_t       magic2;
40 };
41
42 struct bbinfo {
43         int32_t         cksum;
44         int32_t         nblocks;
45         int32_t         bsize;
46         u_int32_t       pad1[8];
47         int32_t         blocks[1];
48 };
49
50 struct netbbinfo {
51         u_int64_t       magic1;
52         u_int8_t        set;
53         u_int8_t        ether_addr[6];
54         u_int8_t        force;
55         u_int64_t       pad1[4];
56         u_int64_t       cksum;
57         u_int64_t       magic2;
58 };