]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
3 changes:
authorjulian <julian@FreeBSD.org>
Wed, 4 Sep 1996 18:28:36 +0000 (18:28 +0000)
committerjulian <julian@FreeBSD.org>
Wed, 4 Sep 1996 18:28:36 +0000 (18:28 +0000)
commit0b32f8ed6c1b6b3c20f0a418f4acd116e0fabcf0
treea83a96a5ba70785360bd91ba90402cfc6ad0be54
parent9bf474dc1e6d9eda38fd3d0b4b72f26eaa306ecd
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.
sys/i386/boot/biosboot/Makefile
sys/i386/boot/biosboot/boot.c
sys/i386/boot/biosboot/boot2.S