summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/biosvar.h
diff options
context:
space:
mode:
authorTobias Weingartner <weingart@cvs.openbsd.org>1997-10-18 00:33:17 +0000
committerTobias Weingartner <weingart@cvs.openbsd.org>1997-10-18 00:33:17 +0000
commit471616d7beb9d52cf9822c2da7178f9b1e595954 (patch)
tree4adbd002eeb842d14d212078646f837175381216 /sys/arch/i386/include/biosvar.h
parent885625daa00685cbe93848f489778e853656803c (diff)
Copy in bios_diskinfo array from /boot space.
Add length field for checksum to same. Start of making /boot deduce bsd dev_t for all BIOS drives.
Diffstat (limited to 'sys/arch/i386/include/biosvar.h')
-rw-r--r--sys/arch/i386/include/biosvar.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/include/biosvar.h b/sys/arch/i386/include/biosvar.h
index f6876ed487a..1f3cb40d602 100644
--- a/sys/arch/i386/include/biosvar.h
+++ b/sys/arch/i386/include/biosvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: biosvar.h,v 1.18 1997/10/17 18:47:00 weingart Exp $ */
+/* $OpenBSD: biosvar.h,v 1.19 1997/10/18 00:33:14 weingart Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -146,10 +146,11 @@ typedef struct _bios_diskinfo {
unsigned int bios_sectors; /* BIOS sectors */
/* BSD section */
- signed int bsd_major; /* Major number of driver (or -1) */
+ dev_t bsd_dev; /* BSD device */
/* Checksum section */
u_int32_t checksum; /* Checksum for drive */
+ unsigned int checklen; /* Number of sectors done */
} bios_diskinfo_t;