1 /*        $NetBSD: bootinfo.h,v 1.3 2005/12/11 12:18:19 christos Exp $          */
2 
3 #ifndef _MVMEPPC_BOOTINFO
4 #define _MVMEPPC_BOOTINFO
5 
6 #define   BOOTLINE_LEN        32
7 #define   CONSOLEDEV_LEN      16
8 
9 struct mvmeppc_bootinfo {
10           u_int32_t bi_boothowto;
11           u_int32_t bi_bootaddr;
12           u_int16_t bi_bootclun;
13           u_int16_t bi_bootdlun;
14           char                bi_bootline[BOOTLINE_LEN];
15           char                bi_consoledev[CONSOLEDEV_LEN];
16           u_int32_t bi_consoleaddr;
17           u_int32_t bi_consolechan;
18           u_int32_t bi_consolespeed;
19           u_int32_t bi_consolecflag;
20           u_int16_t bi_modelnumber;
21           u_int32_t bi_memsize;
22           u_int32_t bi_mpuspeed;
23           u_int32_t bi_busspeed;
24           u_int32_t bi_clocktps;
25 } __attribute__((packed));
26 
27 #ifdef _KERNEL
28 extern struct mvmeppc_bootinfo bootinfo;
29 #endif
30 
31 #endif /* _MVMEPPC_BOOTINFO */
32