summaryrefslogtreecommitdiffstats
path: root/usr.sbin/switchctl/parser.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2016-11-24 07:58:55 +0000
committerreyk <reyk@openbsd.org>2016-11-24 07:58:55 +0000
commit82fb2f0a21ca29e03649333bae22e69c6ea0a08a (patch)
treeebfeece80d10b167f346dfac4aaa29aec348950b /usr.sbin/switchctl/parser.c
parentreset the io event when data is queued. (diff)
downloadwireguard-openbsd-82fb2f0a21ca29e03649333bae22e69c6ea0a08a.tar.xz
wireguard-openbsd-82fb2f0a21ca29e03649333bae22e69c6ea0a08a.zip
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/switchctl/parser.c')
0 files changed, 0 insertions, 0 deletions