summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc/include/bootinfo.h
blob: 827167f9f2a78a068b4468d3859be2609911f4c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*	$NetBSD: bootinfo.h,v 1.2 2003/07/28 09:22:56 scw Exp $	*/

#ifndef _MVMEPPC_BOOTINFO
#define _MVMEPPC_BOOTINFO

#define	BOOTLINE_LEN	32
#define	CONSOLEDEV_LEN	16

struct mvmeppc_bootinfo {
	u_int32_t	bi_boothowto;
	u_int32_t	bi_bootaddr;
	u_int16_t	bi_bootclun;
	u_int16_t	bi_bootdlun;
	char		bi_bootline[BOOTLINE_LEN];
	char		bi_consoledev[CONSOLEDEV_LEN];
	u_int32_t	bi_consoleaddr;
	u_int32_t	bi_consolechan;
	u_int32_t	bi_consolespeed;
	u_int32_t	bi_consolecflag;
	u_int16_t	bi_modelnumber;
	u_int32_t	bi_memsize;
	u_int32_t	bi_mpuspeed;
	u_int32_t	bi_busspeed;
	u_int32_t	bi_clocktps;
} __attribute__((packed));

#ifdef _KERNEL
extern struct mvmeppc_bootinfo bootinfo;
#endif

#endif /* _MVMEPPC_BOOTINFO */