summaryrefslogtreecommitdiffstats
path: root/sys/i386/boot
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>1998-09-23 06:50:45 +0000
committeryokota <yokota@FreeBSD.org>1998-09-23 06:50:45 +0000
commit9663bad13c9c86f8bc0ca1abf23755843ade271c (patch)
tree19df74f3d71ec36d128fa209b3adc12eb9ea6120 /sys/i386/boot
parent7cd6d6b6ed3c533a2e692f4e10010f3534f33624 (diff)
downloadFreeBSD-src-9663bad13c9c86f8bc0ca1abf23755843ade271c.zip
FreeBSD-src-9663bad13c9c86f8bc0ca1abf23755843ade271c.tar.gz
Remove the -b boot option. It is no longer necessary now that the VESA
BIOS support is optionally available for syscons.
Diffstat (limited to 'sys/i386/boot')
-rw-r--r--sys/i386/boot/biosboot/Makefile3
-rw-r--r--sys/i386/boot/biosboot/bios.S30
-rw-r--r--sys/i386/boot/biosboot/boot.c12
3 files changed, 3 insertions, 42 deletions
diff --git a/sys/i386/boot/biosboot/Makefile b/sys/i386/boot/biosboot/Makefile
index 1b4cfe1..cf51770 100644
--- a/sys/i386/boot/biosboot/Makefile
+++ b/sys/i386/boot/biosboot/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.64 1998/05/27 12:13:18 jkoshy Exp $
+# $Id: Makefile,v 1.65 1998/09/15 09:59:57 gibbs Exp $
#
PROG= boot
@@ -13,7 +13,6 @@ CFLAGS= -O2 -malign-functions=0 -malign-jumps=0 -malign-loops=0 \
-DBOOTWAIT=${BOOTWAIT} -DTIMEOUT=${TIMEOUT}
CFLAGS+= -DBOOTSEG=${BOOTSEG} -DBOOTSTACK=${BOOTSTACK}
CFLAGS+= -DDO_BAD144
-CFLAGS+= -DVESA_SUPPORT
CFLAGS+= ${CWARNFLAGS}
# By default, if a serial port is going to be used as console, use COM1
diff --git a/sys/i386/boot/biosboot/bios.S b/sys/i386/boot/biosboot/bios.S
index 5c6eddc..bc80b2f 100644
--- a/sys/i386/boot/biosboot/bios.S
+++ b/sys/i386/boot/biosboot/bios.S
@@ -24,7 +24,7 @@
* the rights to redistribute these changes.
*
* from: Mach, Revision 2.2 92/04/04 11:34:26 rpd
- * $Id: bios.S,v 1.12 1997/07/31 08:07:53 phk Exp $
+ * $Id: bios.S,v 1.13 1998/08/04 00:39:45 msmith Exp $
*/
/*
@@ -476,31 +476,3 @@ xdone:
pop %ebx
pop %ebp
ret
-
-#ifdef VESA_SUPPORT
-ENTRY(vesa_mode)
- push %ebp
- mov %esp, %ebp
- push %ebx
- push %esi
- push %edi
-
- movw 0x8(%ebp), %bx
-
- call EXT(prot_to_real)
-
- data32
- mov $0x4f02, %eax
- sti
- int $0x10
- cli
-
- data32
- call EXT(real_to_prot)
-
- pop %edi
- pop %esi
- pop %ebx
- pop %ebp
- ret
-#endif
diff --git a/sys/i386/boot/biosboot/boot.c b/sys/i386/boot/biosboot/boot.c
index e12b64c..fe14b04 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.69 1997/08/31 06:11:26 phk Exp $
+ * $Id: boot.c,v 1.70 1998/02/01 05:24:24 yokota Exp $
*/
@@ -203,12 +203,6 @@ loadprog(void)
unsigned pad;
char *s, *t;
-
-#ifdef VESA_SUPPORT
- if (bootinfo.bi_vesa)
- vesa_mode(bootinfo.bi_vesa);
-#endif
-
read((void *)&head, sizeof(head));
if ( N_BADMAG(head)) {
printf("Invalid format!\n");
@@ -389,10 +383,6 @@ nextarg:
goto nextarg;
if (c == 'a')
f |= RB_ASKNAME;
-#ifdef VESA_SUPPORT
- if (c == 'b')
- bootinfo.bi_vesa = 0x102;
-#endif
if (c == 'C')
f |= RB_CDROM;
if (c == 'c')
OpenPOWER on IntegriCloud