summaryrefslogtreecommitdiffstats
path: root/sys/sys/diskpc98.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-05-12 20:21:40 +0000
committerphk <phk@FreeBSD.org>2002-05-12 20:21:40 +0000
commite27fed0950bce6104eff3b285e2d686c16ed0c0f (patch)
treef8881a1706abe6ff98361858048c6c983eb2c4bd /sys/sys/diskpc98.h
parent4aa59982cb5684fda4dfc0e47cb17fc95a67fb5d (diff)
downloadFreeBSD-src-e27fed0950bce6104eff3b285e2d686c16ed0c0f.zip
FreeBSD-src-e27fed0950bce6104eff3b285e2d686c16ed0c0f.tar.gz
ARGH! SBLOCK is not unused. Try to get this right.
BBSIZE belongs in <sys/disklabel.h> (but shouldn't be a constant). Define SBLOCK again, using the right math. Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sys/sys/diskpc98.h')
-rw-r--r--sys/sys/diskpc98.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/diskpc98.h b/sys/sys/diskpc98.h
index 44eb997..6928408 100644
--- a/sys/sys/diskpc98.h
+++ b/sys/sys/diskpc98.h
@@ -88,6 +88,9 @@
#define MAXPARTITIONS 8
#endif
+/* Size of bootblock area in sector-size neutral bytes */
+#define BBSIZE 8192
+
#define LABEL_PART 2 /* partition containing label */
#define RAW_PART 2 /* partition containing whole disk */
#define SWAP_PART 1 /* partition normally containing swap */
OpenPOWER on IntegriCloud