1 /* $NetBSD: disklabel.h,v 1.5 2005/12/11 12:17:29 christos Exp $ */ 2 3 /* Windows CE architecture */ 4 5 #define LABELSECTOR 1 /* sector containing label */ 6 #define LABELOFFSET 0 /* offset of label in sector */ 7 #define MAXPARTITIONS 8 /* number of partitions */ 8 #define RAW_PART 3 /* raw partition: XX?d (XXX) */ 9 10 /* Pull in MBR partition definitions. */ 11 12 #if !defined(__GNUC__) 13 #include <sys/cdefs.h> /* force <sys/cdefs.h> to be read */ 14 #undef __packed /* so that we can undo the damage */ 15 #define __packed 16 #pragma pack(push, _sys_bootblock_h, 1) 17 #endif 18 19 #include <sys/bootblock.h> 20 21 #if !defined(__GNUC__) 22 #pragma pack(pop, _sys_bootblock_h) 23 #endif 24