Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/distrib/utils/sysinst/arch/i386 pullup 1.13->1.14 (fvdl)
details: https://anonhg.NetBSD.org/src/rev/1c2badd41cbf
branches: netbsd-1-4
changeset: 468618:1c2badd41cbf
user: perry <perry%NetBSD.org@localhost>
date: Sun May 02 21:49:32 1999 +0000
description:
pullup 1.13->1.14 (fvdl)
diffstat:
distrib/utils/sysinst/arch/i386/md.h | 25 +++++++++++++++++++++++--
1 files changed, 23 insertions(+), 2 deletions(-)
diffs (40 lines):
diff -r 79ab263a0cb2 -r 1c2badd41cbf distrib/utils/sysinst/arch/i386/md.h
--- a/distrib/utils/sysinst/arch/i386/md.h Sun May 02 21:47:57 1999 +0000
+++ b/distrib/utils/sysinst/arch/i386/md.h Sun May 02 21:49:32 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.h,v 1.12.2.1 1999/04/19 15:19:29 perry Exp $ */
+/* $NetBSD: md.h,v 1.12.2.2 1999/05/02 21:49:32 perry Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -136,8 +136,29 @@
extern struct biosdisk_info *biosdisk;
#define _PATH_MBR "/usr/mdec/mbr"
-#define _PATH_BOOTSEL "/usr/mdec/mbr.bootsel"
+#define _PATH_BOOTSEL "/usr/mdec/mbr_bootsel"
+struct mbr_bootsel {
+ u_int8_t defkey;
+ u_int8_t flags;
+ u_int16_t timeo;
+ char nametab[4][9];
+ u_int16_t magic;
+} __attribute__((packed));
+
+extern struct mbr_bootsel *mbs;
+
+#define BFL_SELACTIVE 0x01
+#define BFL_EXTINT13 0x02
+
+#define SCAN_ENTER 0x1c
+#define SCAN_F1 0x3b
+
+#define MBR_BOOTSELOFF (MBR_PARTOFF - sizeof (struct mbr_bootsel))
+
+extern int defbootselpart, defbootseldisk;
+
+void disp_bootsel __P((struct mbr_partition *, struct mbr_bootsel *));
/*
* prototypes for MD code.
Home |
Main Index |
Thread Index |
Old Index