aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/snp/(public-mirror)
diff options
context:
space:
mode:
authorRichard Russo <russor@ruka.org>2025-07-23 00:08:31 +0000
committerWarner Losh <imp@FreeBSD.org>2025-07-23 00:10:25 +0000
commit15925062e1ba75cb4908a68655b797870187ea57 (patch)
treec93209f20e31dc6eb7ab9359c868926634583992 /sys/dev/snp/(public-mirror)
parentd3c9f62862e4e76acec581a2e2c0aa05d7145e24 (diff)
biosboot: Detect memory disks from PXEHEADmain
Walk through the disk driver entries chained off of INT13. MEMDISK is part of the Syslinux project; it loads disk images into memory, sets an int 13h hook and then does a BIOS boot from the image; this can be used as part of a PXE boot environment to load installer disks, however the disks are not accessible from inside the FreeBSD kernel because it doesn't access disks through BIOS APIs. This patch detects the disk images in the loader, and passes their address and length as a driver hint. When the md driver sees the hint, it maps the image, and presents it to the system. (rebased and reworked from https://reviews.freebsd.org/D27349) Feedback from: kib, bapt, olce Differential Revision: https://reviews.freebsd.org/D45404
Diffstat (limited to 'sys/dev/snp/(public-mirror)')
0 files changed, 0 insertions, 0 deletions