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