diff options
author | julian <julian@FreeBSD.org> | 1996-09-04 18:28:36 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1996-09-04 18:28:36 +0000 |
commit | 0b32f8ed6c1b6b3c20f0a418f4acd116e0fabcf0 (patch) | |
tree | a83a96a5ba70785360bd91ba90402cfc6ad0be54 /sys/i386/boot/biosboot/Makefile | |
parent | 9bf474dc1e6d9eda38fd3d0b4b72f26eaa306ecd (diff) | |
download | FreeBSD-src-0b32f8ed6c1b6b3c20f0a418f4acd116e0fabcf0.zip FreeBSD-src-0b32f8ed6c1b6b3c20f0a418f4acd116e0fabcf0.tar.gz |
3 changes:
1/ Makefile: the maximum size for boot2 is 7.5K not 7K,
so don't complain until it reaches THAT size..
newfs leaves 8K and boot 1 is 512k. leaving 7.5K becasue the disklabel
is considered to part of the boot2 file.
[512 boot1][512 disklabel][ 7K boot2 code ]
[boot1 file][ boot2 file ]
2/ Boot2.S: move the soring of the default name read from block 2 to AFTER
clearing the BSS.
3/ boot.c:
Move the parsing of the command line into the
place it's called for clarity.. alsoi comment it a bit and clean it
up a bit.. for some reason this seems ot have made it a little
larger, but I can't work out why.. maybe bruce might have ideas?
compensated for by shrinkage elsewhere..
the practical result of this is htat the default string can now contain args
e.g. if you change the default string to have -gd
then the machine will boot to the dgb debugger stub by default..
this is mostly useful with the nextboot utility..
as it now allows you to remotely force a machine to reboot into
the debugger.
Diffstat (limited to 'sys/i386/boot/biosboot/Makefile')
-rw-r--r-- | sys/i386/boot/biosboot/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/boot/biosboot/Makefile b/sys/i386/boot/biosboot/Makefile index 75a4228..6eb76a6 100644 --- a/sys/i386/boot/biosboot/Makefile +++ b/sys/i386/boot/biosboot/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.41 1996/07/09 02:28:15 julian Exp $ +# $Id: Makefile,v 1.42 1996/07/12 05:17:36 bde Exp $ # PROG= boot @@ -75,7 +75,7 @@ boot1: boot.nohdr boot2: boot.nohdr dd if=boot.nohdr of=boot2 bs=512 skip=1 - @dd if=boot2 skip=14 of=sizetest 2> /dev/null + @dd if=boot2 skip=15 of=sizetest 2> /dev/null @if [ -s sizetest ] ; then \ echo "*** Boot2 is too BIG ***" ; exit 2 ; \ fi |