Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/stand/installboot use 'struct boot_block' fro...
details: https://anonhg.NetBSD.org/src/rev/24c645c55db2
branches: trunk
changeset: 471481:24c645c55db2
user: cgd <cgd%NetBSD.org@localhost>
date: Fri Apr 02 07:34:49 1999 +0000
description:
use 'struct boot_block' from disklabel.h
diffstat:
sys/arch/alpha/stand/installboot/installboot.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diffs (26 lines):
diff -r 9a1f87630ce6 -r 24c645c55db2 sys/arch/alpha/stand/installboot/installboot.c
--- a/sys/arch/alpha/stand/installboot/installboot.c Fri Apr 02 07:32:33 1999 +0000
+++ b/sys/arch/alpha/stand/installboot/installboot.c Fri Apr 02 07:34:49 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: installboot.c,v 1.11 1999/04/02 03:11:57 cgd Exp $ */
+/* $NetBSD: installboot.c,v 1.12 1999/04/02 07:34:49 cgd Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -326,15 +326,7 @@
}
{
-
-#define BBPAD 0x1e0
- struct bb {
- char bb_pad[BBPAD]; /* disklabel lives in here, actually */
- long bb_secsize; /* size of secondary boot block */
- long bb_secstart; /* start of secondary boot block */
- long bb_flags; /* unknown; always zero */
- long bb_cksum; /* checksum of the the boot block, as longs. */
- } bb;
+ struct boot_block bb;
long *lp, *ep;
if (lseek(devfd, 0, SEEK_SET) != 0)
Home |
Main Index |
Thread Index |
Old Index