]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/arm/disklabel.h
xnu-4570.1.46.tar.gz
[apple/xnu.git] / bsd / arm / disklabel.h
diff --git a/bsd/arm/disklabel.h b/bsd/arm/disklabel.h
new file mode 100644 (file)
index 0000000..966f66d
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2000-2007 Apple Inc. All rights reserved.
+ */
+#ifndef _MACHINE_DISKLABEL_H_
+#define _MACHINE_DISKLABEL_H_
+
+#include <sys/appleapiopts.h>
+
+#ifdef __APPLE_API_OBSOLETE
+#define        LABELSECTOR     (1024 / DEV_BSIZE)      /* sector containing label */
+#define        LABELOFFSET     0                       /* offset of label in sector */
+#define        MAXPARTITIONS   8                       /* number of partitions */
+#define        RAW_PART        2                       /* raw partition: xx?c */
+
+/* Just a dummy */
+struct cpu_disklabel {
+       int     cd_dummy;                       /* must have one element. */
+};
+#endif /* __APPLE_API_OBSOLETE */
+
+#endif /* _MACHINE_DISKLABEL_H_ */