summaryrefslogtreecommitdiffstats
path: root/sys/i386/boot/biosboot/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-04-14 21:26:53 +0000
committerjoerg <joerg@FreeBSD.org>1995-04-14 21:26:53 +0000
commitb759fab5afb55010d2a12e859d2bdd16fcdea926 (patch)
treeff5b9f1782c48ab3ab578eec633c724eaada117d /sys/i386/boot/biosboot/Makefile
parentba0a7250f90dccf67e2b76cb2d351f610428fad1 (diff)
downloadFreeBSD-src-b759fab5afb55010d2a12e859d2bdd16fcdea926.zip
FreeBSD-src-b759fab5afb55010d2a12e859d2bdd16fcdea926.tar.gz
Boot block cleanup.
o Fix the keyboard probe to properly wait for the ready bit before sending a command to the keyboard controller. This should avoid the problems some people are experiencing where the boot blocks hang the system during keyboard probe. (It does solve it for me.) o Fix a bug that effectively prevented the boot blocks from ever passing control to the serial console. [while(--retries) instead of while(retries--)] o Gratuitously reduced the keyboard probe timeout from 500 to 5 seconds. :) o Introduced a new option ``FORCE_COMCONSOLE'' as a commented-out example in the Makefile, to force the usage of a serial console regardless of a keyboard being connected or not. o Moved all external declarations to boot.h, declared all functions there, and ANSIfied all function declarations/definitions. (printf() remains bogus, however -- i'm too lazy to fix this.) We're in the ninetees, dunno why we should still support compilers from the 70's.
Diffstat (limited to 'sys/i386/boot/biosboot/Makefile')
-rw-r--r--sys/i386/boot/biosboot/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/i386/boot/biosboot/Makefile b/sys/i386/boot/biosboot/Makefile
index d46d36a..1d39914 100644
--- a/sys/i386/boot/biosboot/Makefile
+++ b/sys/i386/boot/biosboot/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.26 1995/01/24 00:41:50 jkh Exp $
+# $Id: Makefile,v 1.27 1995/03/28 19:22:39 phk Exp $
#
PROG= boot
@@ -11,6 +11,10 @@ BINMODE= 444
CFLAGS= -O2 -DDO_BAD144 -DBOOTWAIT=${BOOTWAIT} -DCOMCONSOLE=0x3F8
CFLAGS+= -DBOOTSEG=${BOOTSEG} -DBOOTSTACK=${BOOTSTACK}
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../..
+
+# force usage of serial console instead of keyboard probing
+#CFLAGS+= -DFORCE_COMCONSOLE
+
CLEANFILES+= boot.nohdr boot.strip boot1 boot2
DPADD= ${LIBC}
LDFLAGS+= -N -T 0 -nostdlib
OpenPOWER on IntegriCloud