Module Name: src Committed By: martin Date: Thu Apr 4 12:53:00 UTC 2013
Modified Files: src/sys/sys: bootblock.h Log Message: Adapt to new vax primary bootstrap layout. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/sys/bootblock.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/bootblock.h diff -u src/sys/sys/bootblock.h:1.54 src/sys/sys/bootblock.h:1.55 --- src/sys/sys/bootblock.h:1.54 Mon Jul 2 22:42:18 2012 +++ src/sys/sys/bootblock.h Thu Apr 4 12:53:00 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: bootblock.h,v 1.54 2012/07/02 22:42:18 abs Exp $ */ +/* $NetBSD: bootblock.h,v 1.55 2013/04/04 12:53:00 martin Exp $ */ /*- * Copyright (c) 2002-2004 The NetBSD Foundation, Inc. @@ -1409,7 +1409,7 @@ struct vax_boot_block { uint8_t bb_mbone; /* must be one */ uint16_t bb_lbn_hi; /* lbn (hi word) of bootstrap */ uint16_t bb_lbn_low; /* lbn (low word) of bootstrap */ - uint8_t pad1[460]; + uint8_t pad1[406]; /* disklabel offset is 64 from base, or 56 from start of pad1 */ /* The rest of these fields are identification area and describe @@ -1432,7 +1432,7 @@ struct vax_boot_block { /* The rest is unused. */ - uint8_t pad2[20]; + uint8_t pad2[74]; } __packed; #define VAX_BOOT_MAGIC1 0x18 /* size of BB info? */