Home | History | Annotate | Line # | Download | only in machine
disklabel.h revision 1.4
      1  1.4    uch /*	$NetBSD: disklabel.h,v 1.4 2004/08/06 18:33:09 uch Exp $	*/
      2  1.1    uch 
      3  1.1    uch /* Windows CE architecture */
      4  1.1    uch 
      5  1.1    uch #define	LABELSECTOR	1		/* sector containing label */
      6  1.1    uch #define	LABELOFFSET	0		/* offset of label in sector */
      7  1.1    uch #define	MAXPARTITIONS	8		/* number of partitions */
      8  1.1    uch #define	RAW_PART	3		/* raw partition: XX?d (XXX) */
      9  1.1    uch 
     10  1.1    uch /* Pull in MBR partition definitions. */
     11  1.3    uwe 
     12  1.3    uwe #if !defined(__GNUC__)
     13  1.3    uwe #include <sys/cdefs.h>		/* force <sys/cdefs.h> to be read */
     14  1.3    uwe #undef __packed			/* so that we can undo the damage */
     15  1.4    uch #define	__packed
     16  1.3    uwe #pragma pack(push, _sys_bootblock_h, 1)
     17  1.3    uwe #endif
     18  1.3    uwe 
     19  1.2  lukem #include <sys/bootblock.h>
     20  1.3    uwe 
     21  1.3    uwe #if !defined(__GNUC__)
     22  1.3    uwe #pragma pack(pop, _sys_bootblock_h)
     23  1.3    uwe #endif
     24