xref: /netbsd-src/sys/arch/netwinder/include/netwinder_boot.h (revision 4de06fbd8a1ef9eb9d29437e8d53c6818a69477c)
1*4de06fbdSthorpej /*	$NetBSD: netwinder_boot.h,v 1.2 2002/04/03 05:37:00 thorpej Exp $	*/
2*4de06fbdSthorpej 
356260f7dSmatt struct nwbootinfo {
456260f7dSmatt 	union {
556260f7dSmatt 		struct {
656260f7dSmatt 			unsigned long bp_pagesize;
756260f7dSmatt 			unsigned long bp_nrpages;
8*4de06fbdSthorpej 			unsigned long bp_ramdisk_size;	/* not used */
9*4de06fbdSthorpej 			unsigned long bp_flags;		/* not used */
10*4de06fbdSthorpej 			unsigned long bp_rootdev;
1156260f7dSmatt 		} u1_bp;
1256260f7dSmatt 		char filler1[256];
1356260f7dSmatt 	} bi_u1;
1456260f7dSmatt #define bi_pagesize	bi_u1.u1_bp.bp_pagesize
1556260f7dSmatt #define bi_nrpages	bi_u1.u1_bp.bp_nrpages
16*4de06fbdSthorpej #define	bi_rootdev	bi_u1.u1_bp.bp_rootdev
1756260f7dSmatt 	union {
1856260f7dSmatt 		char paths[8][128];
1956260f7dSmatt 		struct magic {
2056260f7dSmatt 			unsigned long magic;
2156260f7dSmatt 			char filler2[1024 - sizeof(unsigned long)];
2256260f7dSmatt 		} u2_d;
2356260f7dSmatt 	} bi_u2;
24*4de06fbdSthorpej 	char bi_cmdline[1024];
2556260f7dSmatt };
26