disklabel.h revision 1.3
11.3Ssoren/* $NetBSD: disklabel.h,v 1.3 2000/03/24 20:16:27 soren Exp $ */ 21.3Ssoren 31.3Ssoren#ifndef _MACHINE_DISKLABEL_H_ 41.3Ssoren#define _MACHINE_DISKLABEL_H_ 51.1Ssoren 61.2Ssoren#define LABELSECTOR 1 /* sector containing label */ 71.2Ssoren#define LABELOFFSET 0 /* offset of label in sector */ 81.1Ssoren#define MAXPARTITIONS 16 91.1Ssoren#define RAW_PART 3 101.1Ssoren 111.1Ssoren/* Pull in MBR partition definitions. */ 121.1Ssoren#include <sys/disklabel_mbr.h> 131.1Ssoren 141.1Ssoren#ifndef __ASSEMBLER__ 151.1Ssoren#include <sys/dkbad.h> 161.1Ssorenstruct cpu_disklabel { 171.2Ssoren struct mbr_partition dosparts[NMBRPART]; 181.1Ssoren struct dkbad bad; 191.1Ssoren}; 201.1Ssoren#endif 211.3Ssoren 221.3Ssoren#endif /* _MACHINE_DISKLABEL_H_ */ 23