]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
aout_freebsd.c
authorMike Smith <msmith@FreeBSD.org>
Fri, 2 Oct 1998 16:32:45 +0000 (16:32 +0000)
committerMike Smith <msmith@FreeBSD.org>
Fri, 2 Oct 1998 16:32:45 +0000 (16:32 +0000)
commit6b15efd961c80cf9986157aea1370419b6385860
tree6b38031e2b89eb4dd97766826e30432917a293d9
parent39de38225b3e84c7c1f3ce058bf922f966fbdef9
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.
sys/boot/i386/libi386/aout_freebsd.c
sys/boot/i386/libi386/biosdisk.c
sys/boot/i386/libi386/comconsole.c
sys/boot/i386/libi386/libi386.h
sys/boot/i386/libi386/vidconsole.c