Home | History | Annotate | Line # | Download | only in include
      1  1.2  thorpej /*	$NetBSD: netwinder_boot.h,v 1.2 2002/04/03 05:37:00 thorpej Exp $	*/
      2  1.2  thorpej 
      3  1.1     matt struct nwbootinfo {
      4  1.1     matt 	union {
      5  1.1     matt 		struct {
      6  1.1     matt 			unsigned long bp_pagesize;
      7  1.1     matt 			unsigned long bp_nrpages;
      8  1.2  thorpej 			unsigned long bp_ramdisk_size;	/* not used */
      9  1.2  thorpej 			unsigned long bp_flags;		/* not used */
     10  1.2  thorpej 			unsigned long bp_rootdev;
     11  1.1     matt 		} u1_bp;
     12  1.1     matt 		char filler1[256];
     13  1.1     matt 	} bi_u1;
     14  1.1     matt #define bi_pagesize	bi_u1.u1_bp.bp_pagesize
     15  1.1     matt #define bi_nrpages	bi_u1.u1_bp.bp_nrpages
     16  1.2  thorpej #define	bi_rootdev	bi_u1.u1_bp.bp_rootdev
     17  1.1     matt 	union {
     18  1.1     matt 		char paths[8][128];
     19  1.1     matt 		struct magic {
     20  1.1     matt 			unsigned long magic;
     21  1.1     matt 			char filler2[1024 - sizeof(unsigned long)];
     22  1.1     matt 		} u2_d;
     23  1.1     matt 	} bi_u2;
     24  1.2  thorpej 	char bi_cmdline[1024];
     25  1.1     matt };
     26