]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r341253, r341328, r342619, r342626, r342707, r342785, r342865
authorkevans <kevans@FreeBSD.org>
Sun, 21 Apr 2019 03:36:05 +0000 (03:36 +0000)
committerkevans <kevans@FreeBSD.org>
Sun, 21 Apr 2019 03:36:05 +0000 (03:36 +0000)
commitbcff51014ecfe434070d40c3a36c8b774b2940e7
tree3d581babfdb24626d9490209ae4d689b48e9a959
parent11f50d1c94013b6c423b8d0c3b7b6d00706e8a26
MFC r341253, r341328, r342619, r342626, r342707, r342785, r342865

r341253:
The libstand's panic() appends its own '\n' to the message, so that users of the API
don't need to supply one.

r341328:
loader: create separate lists for fd, cd and hd, merge bioscd with biosdisk

Create unified block IO implementation in BIOS version, like it is done in UEFI
side. Implement fd, disk and cd device lists, this will split floppy devices
from disks and will allow us to have consistent, predictable device naming
(modulo BIOS issues).

r342619:
loader: create bio_alloc and bio_free for bios bounce buffer

We do have 16KB buffer space defined in pxe.c, move it to bio.c and implement
bio_alloc()/bio_free() interface to make it possible to use this space for
other BIOS calls (notably, from biosdisk.c).

r342626:
Add Copyright.

r342707:
i386_parsedev() needs to support fd devices

r342785:
With buggy int13 ah=15, we can mis-identify the floppy devices.

We have no option than trust INT13 ah=08 return code during the init phase.

r342865:
biospci_write_config args were backwards

biospci_write_config args swapped length and value to write. Some
hardware coped just fine, while other hardware had issues.

PR: 155441, 234460
20 files changed:
stand/common/interp_forth.c
stand/i386/libfirewire/firewire.c
stand/i386/libi386/Makefile
stand/i386/libi386/bio.c [new file with mode: 0644]
stand/i386/libi386/bioscd.c [deleted file]
stand/i386/libi386/biosdisk.c
stand/i386/libi386/bootinfo32.c
stand/i386/libi386/devicename.c
stand/i386/libi386/libi386.h
stand/i386/libi386/pxe.c
stand/i386/loader/chain.c
stand/i386/loader/conf.c
stand/i386/loader/main.c
stand/libsa/arp.c
stand/libsa/assert.c
stand/libsa/bzipfs.c
stand/libsa/netif.c
stand/libsa/sbrk.c
stand/uboot/lib/copy.c
stand/uboot/lib/net.c