Calculate the disklabel size (for asm code) dynamically based on

MAXPARTITIONS.
This commit is contained in:
martin 2013-04-04 12:52:25 +00:00
parent 9d0957eba7
commit 657f427313

View File

@ -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 */
/*