Date: Fri, 2 Oct 1998 09:33:43 -0700 (PDT) From: Michael Smith <msmith@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/boot/common boot.c load_aout.c src/sys/boot/i386/btx/lib btxv86.h src/sys/boot/i386/libi386 aout_freebsd.c biosdisk.c comconsole.c libi386.h vidconsole.c src/sys/boot/i386/loader main.c Message-ID: <199810021633.JAA08982@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
msmith 1998/10/02 09:33:43 PDT
Modified files:
sys/boot/common boot.c load_aout.c
Log:
boot.c
Increase the robustness of the "is it time to boot yet" test;
if the time skipped the "when" time, we would miss it.
Don't spin in an endless loop if we don't find the first possible
kernel suggested. When we run out, don't try to load an empty
kernel name.
load_aout.c
printf format warnings
Revision Changes Path
1.4 +9 -3 src/sys/boot/common/boot.c
1.8 +3 -3 src/sys/boot/common/load_aout.c
Modified files:
sys/boot/i386/btx/lib btxv86.h
Log:
Mark exit() as __attribute__((__noreturn__))
Revision Changes Path
1.3 +2 -2 src/sys/boot/i386/btx/lib/btxv86.h
Modified files:
sys/boot/i386/libi386 aout_freebsd.c biosdisk.c comconsole.c
libi386.h vidconsole.c
Log:
aout_freebsd.c
Use bd_getdev() to work out a dev_t for the root device.
Allow $rootdev to override $currdev as the root device.
biosdisk.c
Save the slice table and disklabel when opening a disk.
Add bd_getdev(), which attempts to return a dev_t corresponding
to a given device. Cases which it still doesn't get right:
- The inevitable da-when-wd-also-exists
- Disks with no slice table (the slice number is not set correctly)
The first is difficult to get right, the second will be
fixed in an upcoming commit.
comconsole.c
vidconsole.c
getchar() should return an 8-bit value; some BIOSsen pack extra
information in %eax.
libi386.h
Remove some stale prototypes, add new ones.
Revision Changes Path
1.8 +25 -13 src/sys/boot/i386/libi386/aout_freebsd.c
1.9 +143 -58 src/sys/boot/i386/libi386/biosdisk.c
1.3 +2 -2 src/sys/boot/i386/libi386/comconsole.c
1.7 +4 -12 src/sys/boot/i386/libi386/libi386.h
1.3 +2 -2 src/sys/boot/i386/libi386/vidconsole.c
Modified files:
sys/boot/i386/loader main.c
Log:
Set $currdev according to our best guess at the BIOS device that the previous
bootstrap loaded us from.
Revision Changes Path
1.9 +42 -34 src/sys/boot/i386/loader/main.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810021633.JAA08982>
