From a1049f75bf8f7a542055d26c91470c9537bfae35 Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 18 Dec 1994 20:30:10 +0000 Subject: Insert a hook to initialize the serial port at the beginning of boot(). This is needed so the "serialboot" stuff can share this file, too. Everything is #ifdef'ed so it evaluates to nothing when actually been built in the "biosboot" directory. --- sys/i386/boot/biosboot/boot.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sys/i386/boot/biosboot/boot.c b/sys/i386/boot/biosboot/boot.c index 9c9ce4c..290ec31 100644 --- a/sys/i386/boot/biosboot/boot.c +++ b/sys/i386/boot/biosboot/boot.c @@ -24,7 +24,7 @@ * the rights to redistribute these changes. * * from: Mach, [92/04/03 16:51:14 rvb] - * $Id: boot.c,v 1.27 1994/11/26 09:08:48 phk Exp $ + * $Id: boot.c,v 1.28 1994/12/18 19:14:13 bde Exp $ */ @@ -65,12 +65,20 @@ char *names[] = { }; #define NUMNAMES (sizeof(names)/sizeof(char *)) +#ifdef COMCONSOLE +extern void init_serial(void); +#endif + extern int end; boot(drive) int drive; { int loadflags, currname = 0, ret; char *t; +#ifdef COMCONSOLE + init_serial(); +#endif + /* Pick up the story from the Bios on geometry of disks */ -- cgit v1.1