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