summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc/include/bootinfo.h
blob: 2bc7b7f8202c4ba86a9b002de35a921c3faccb0d (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.3 2005/12/11 12:18:19 christos 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 */