Module Name: src
Committed By: martin
Date: Thu Apr 4 12:52:26 UTC 2013
Modified Files:
src/sys/sys: disklabel.h
Log Message:
Calculate the disklabel size (for asm code) dynamically based on
MAXPARTITIONS.
To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/sys/disklabel.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/disklabel.h
diff -u src/sys/sys/disklabel.h:1.112 src/sys/sys/disklabel.h:1.113
--- src/sys/sys/disklabel.h:1.112 Mon Jan 16 18:47:58 2012
+++ src/sys/sys/disklabel.h Thu Apr 4 12:52:25 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: disklabel.h,v 1.112 2012/01/16 18:47:58 christos Exp $ */
+/* $NetBSD: disklabel.h,v 1.113 2013/04/04 12:52:25 martin Exp $ */
/*
* Copyright (c) 1987, 1988, 1993
@@ -267,7 +267,7 @@ struct olddisklabel {
.set d_ncylinders,52
.set d_secpercyl,56
.set d_secperunit,60
- .set d_end_,276 /* size of disk label */
+ .set d_end_,148+(MAXPARTITIONS*16)
#endif /* _LOCORE */
/*