summaryrefslogtreecommitdiff
path: root/usr.sbin/pcidump
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2016-11-24 07:58:56 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2016-11-24 07:58:56 +0000
commit81d8dac5286fc0d2981df1a3284c184ae3c6e9d5 (patch)
tree02c8d9ed18b4e832e7e4f28e5f1a183d2be41829 /usr.sbin/pcidump
parent318a7884e9d299146de19d369e29bf264cc1180c (diff)
Add support for booting the kernel from the disk image.
This make the kernel/-k argument optional and, if not specified, tries to find the /bsd kernel in the primary hd0a partition of the first disk image itself. It doesn't support hd0a:/etc/boot.conf yet, and it is no BIOS or full boot loader, but it makes booting and handling of VMs a bit easier - booting an external kernel is still supported. The UFS file system code ufs.c is directly from libsa which is also used by the real boot loader. The code compiles with a few signedness warning which will be fixed separately. OK mlarkin@
Diffstat (limited to 'usr.sbin/pcidump')
0 files changed, 0 insertions, 0 deletions