Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Calculate the disklabel size (for asm code) dynamica...
details: https://anonhg.NetBSD.org/src/rev/b00a36c51366
branches: trunk
changeset: 785881:b00a36c51366
user: martin <martin%NetBSD.org@localhost>
date: Thu Apr 04 12:52:25 2013 +0000
description:
Calculate the disklabel size (for asm code) dynamically based on
MAXPARTITIONS.
diffstat:
sys/sys/disklabel.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 8ac7489f8d7c -r b00a36c51366 sys/sys/disklabel.h
--- a/sys/sys/disklabel.h Thu Apr 04 12:51:39 2013 +0000
+++ b/sys/sys/disklabel.h Thu Apr 04 12:52:25 2013 +0000
@@ -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 @@
.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 */
/*
Home |
Main Index |
Thread Index |
Old Index