freebsd-dev/stand/kboot
Warner Losh 2cb90a7b2e stand/kboot: hostdisk isn't a DEVT_DISK, use a different value.
We assume in all the code that a DEVT_DISK uses common/disk.c and/or
common/part.c and we can access a struct disk_devdesc. hostdisk.c
opens raw devices directly, so has no such structures. Define a
kboot-specific DEVT_HOSTDISK and use that instead.

In addition, disk_fmtdev assumes it is working with a struct
disk_devdesc, so write hostdisk_fmtdev as well.

Sponsored by:		Netflix
2022-10-22 19:47:24 -06:00
..
arch kboot: Move load address stuff to MD code 2022-10-07 23:43:04 -06:00
conf.c kboot: Move conf.c up to top level 2022-07-28 15:35:42 -06:00
crt1.c stand: Spell License correctly 2022-07-26 16:31:13 -06:00
host_syscall.h kboot: Implement host_ioctl 2022-07-28 15:35:42 -06:00
host_syscalls.c kboot: Implement host_ioctl 2022-07-28 15:35:42 -06:00
hostcons.c kboot: Make console raw when we start 2022-07-28 15:35:42 -06:00
hostdisk.c stand/kboot: hostdisk isn't a DEVT_DISK, use a different value. 2022-10-22 19:47:24 -06:00
init.c kboot: add minmalist init functionality 2022-09-01 11:08:24 -06:00
kboot.h stand/kboot: hostdisk isn't a DEVT_DISK, use a different value. 2022-10-22 19:47:24 -06:00
kbootfdt.c kboot: Convert from getdents to getdents64 2022-07-27 22:29:27 -06:00
main.c kboot: Move load address stuff to MD code 2022-10-07 23:43:04 -06:00
Makefile stand/kboot: Add note about why we use MACHINE_ARCH here 2022-09-04 09:37:42 -06:00
termios_gen.h kboot: implement stripped down termios 2022-07-28 15:35:42 -06:00
termios.c kboot: implement stripped down termios 2022-07-28 15:35:42 -06:00
termios.h kboot: implement stripped down termios 2022-07-28 15:35:42 -06:00
version