4c447e5383
Based mostly on NetBSD/prep at this time since the earlier mvme160x boards are pretty much PReP compliant. Later boards in the range diverge somewhat from the reference platform, hence the separate port. Still needs *lots* of bashing into shape, but at this time it will boot to multi-user over ethernet on an MVME1603-051.
32 lines
693 B
C
32 lines
693 B
C
/* $NetBSD: bootinfo.h,v 1.1 2002/02/27 21:02:14 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;
|
|
};
|
|
|
|
#ifdef _KERNEL
|
|
extern struct mvmeppc_bootinfo bootinfo;
|
|
#endif
|
|
|
|
#endif /* _MVMEPPC_BOOTINFO */
|