disklabel.h revision 1.2
11.2Ssoren/* $NetBSD: disklabel.h,v 1.2 2000/03/22 20:38:05 soren Exp $ */ 21.1Ssoren 31.2Ssoren#define LABELSECTOR 1 /* sector containing label */ 41.2Ssoren#define LABELOFFSET 0 /* offset of label in sector */ 51.1Ssoren#define MAXPARTITIONS 16 61.1Ssoren#define RAW_PART 3 71.1Ssoren 81.1Ssoren/* Pull in MBR partition definitions. */ 91.1Ssoren#include <sys/disklabel_mbr.h> 101.1Ssoren 111.1Ssoren#ifndef __ASSEMBLER__ 121.1Ssoren#include <sys/dkbad.h> 131.1Ssorenstruct cpu_disklabel { 141.2Ssoren struct mbr_partition dosparts[NMBRPART]; 151.1Ssoren struct dkbad bad; 161.1Ssoren}; 171.1Ssoren#endif 18