Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand/dosboot Do the same as biosboot does.



details:   https://anonhg.NetBSD.org/src/rev/8f650cc14c8f
branches:  trunk
changeset: 483572:8f650cc14c8f
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Mar 13 10:51:22 2000 +0000

description:
Do the same as biosboot does.
This makes it possible to create serial console dosboot.com's via uncommenting
the appropriate Makefile options.
I needed this when testing the SMP test kernels at work.

diffstat:

 sys/arch/i386/stand/dosboot/main.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 1653136187f2 -r 8f650cc14c8f sys/arch/i386/stand/dosboot/main.c
--- a/sys/arch/i386/stand/dosboot/main.c        Mon Mar 13 10:43:15 2000 +0000
+++ b/sys/arch/i386/stand/dosboot/main.c        Mon Mar 13 10:51:22 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.13 1999/04/14 15:22:46 christos Exp $        */
+/*     $NetBSD: main.c,v 1.14 2000/03/13 10:51:22 martin Exp $  */
 
 /*
  * Copyright (c) 1996, 1997
@@ -255,7 +255,11 @@
        extern char    *optarg;
        extern int      optind;
 
+#ifdef SUPPORT_SERIAL
+       initio(SUPPORT_SERIAL);
+#else
        initio(CONSDEV_PC);
+#endif
        gateA20();
 
        print_banner();



Home | Main Index | Thread Index | Old Index