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