#include <sys/systm.h>
#include <sys/atomic.h>
#include <sys/device.h>
-#include <sys/kernel.h>
-#include <sys/buf.h>
#include <sys/malloc.h>
#include <sys/task.h>
#include <dev/pv/hypervvar.h>
#include <scsi/scsi_all.h>
-#include <scsi/cd.h>
-#include <scsi/scsi_disk.h>
#include <scsi/scsiconf.h>
#define HVS_PROTO_VERSION_WIN6 0x200
#endif
#include <sys/systm.h>
-#include <sys/proc.h>
-#include <sys/signal.h>
-#include <sys/signalvar.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/timetc.h>
#include <sys/task.h>
-#include <sys/syslog.h>
#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/i82489var.h>
#include <dev/pv/pvvar.h>
-#include <dev/pv/pvreg.h>
#include <dev/pv/hypervreg.h>
#include <dev/pv/hypervvar.h>
#endif
#include <sys/systm.h>
-#include <sys/proc.h>
-#include <sys/signal.h>
-#include <sys/signalvar.h>
#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/pool.h>
-#include <sys/timetc.h>
#include <sys/task.h>
-#include <sys/syslog.h>
-#include <sys/socket.h>
#include <sys/sensors.h>
#include <machine/bus.h>
-#include <machine/cpu.h>
-#include <machine/cpufunc.h>
-
-#include <machine/i82489var.h>
#include <net/if.h>
#include <net/if_dl.h>
#include <netinet/if_ether.h>
#include <dev/pv/pvvar.h>
-#include <dev/pv/pvreg.h>
#include <dev/pv/hypervreg.h>
#include <dev/pv/hypervvar.h>
#include <dev/pv/hypervicreg.h>
#include "bpfilter.h"
#include "vlan.h"
-#include "hyperv.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/atomic.h>
#include <sys/device.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
-#include <sys/pool.h>
#include <sys/queue.h>
-#include <sys/socket.h>
#include <sys/sockio.h>
#include <sys/task.h>
-#include <sys/timeout.h>
#include <machine/bus.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>
-#ifdef INET6
-#include <netinet/ip6.h>
-#endif
-
#if NBPFILTER > 0
#include <net/bpf.h>
#endif
-/* $OpenBSD: if_vio.c,v 1.34 2024/05/17 16:37:10 sf Exp $ */
+/* $OpenBSD: if_vio.c,v 1.35 2024/05/24 10:05:55 jsg Exp $ */
/*
* Copyright (c) 2012 Stefan Fritsch, Alexander Fiveg.
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/mbuf.h>
-#include <sys/socket.h>
#include <sys/sockio.h>
#include <sys/timeout.h>
-/* $OpenBSD: if_xnf.c,v 1.69 2023/11/10 15:51:24 bluhm Exp $ */
+/* $OpenBSD: if_xnf.c,v 1.70 2024/05/24 10:05:55 jsg Exp $ */
/*
* Copyright (c) 2015, 2016 Mike Belopuhov
*/
#include "bpfilter.h"
-#include "vlan.h"
-#include "xen.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/atomic.h>
#include <sys/device.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/mbuf.h>
-#include <sys/pool.h>
#include <sys/queue.h>
-#include <sys/socket.h>
#include <sys/sockio.h>
#include <sys/task.h>
-#include <sys/timeout.h>
#include <machine/bus.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>
-#ifdef INET6
-#include <netinet/ip6.h>
-#endif
-
#if NBPFILTER > 0
#include <net/bpf.h>
#endif
-/* $OpenBSD: pvbus.c,v 1.27 2023/01/07 06:40:21 asou Exp $ */
+/* $OpenBSD: pvbus.c,v 1.28 2024/05/24 10:05:55 jsg Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
-#include <sys/timeout.h>
#include <sys/signalvar.h>
#include <sys/syslog.h>
#include <sys/proc.h>
-#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/fcntl.h>
-/* $OpenBSD: pvclock.c,v 1.10 2024/05/14 08:26:13 jsg Exp $ */
+/* $OpenBSD: pvclock.c,v 1.11 2024/05/24 10:05:55 jsg Exp $ */
/*
* Copyright (c) 2018 Reyk Floeter <reyk@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/timetc.h>
-#include <sys/timeout.h>
-#include <sys/malloc.h>
-#include <sys/atomic.h>
#include <machine/cpu.h>
#include <machine/atomic.h>
-/* $OpenBSD: vioblk.c,v 1.37 2023/07/28 16:54:48 dv Exp $ */
+/* $OpenBSD: vioblk.c,v 1.38 2024/05/24 10:05:55 jsg Exp $ */
/*
* Copyright (c) 2012 Stefan Fritsch.
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <machine/bus.h>
#include <sys/device.h>
-#include <sys/stat.h>
-#include <sys/buf.h>
#include <sys/mutex.h>
#include <dev/pv/virtioreg.h>
#include <dev/pv/virtiovar.h>
-/* $OpenBSD: viocon.c,v 1.10 2023/07/28 16:54:48 dv Exp $ */
+/* $OpenBSD: viocon.c,v 1.11 2024/05/24 10:05:55 jsg Exp $ */
/*
* Copyright (c) 2013-2015 Stefan Fritsch <sf@sfritsch.de>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/timeout.h>
+#include <sys/malloc.h>
#include <machine/bus.h>
#include <sys/device.h>
#include <sys/conf.h>
#include <sys/tty.h>
-#include <dev/pci/pcivar.h>
#include <dev/pv/virtioreg.h>
#include <dev/pv/virtiovar.h>
-/* $OpenBSD: viogpu.c,v 1.5 2024/05/14 08:26:13 jsg Exp $ */
+/* $OpenBSD: viogpu.c,v 1.6 2024/05/24 10:05:55 jsg Exp $ */
/*
* Copyright (c) 2021-2023 joshua stein <jcs@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/timeout.h>
-/* $OpenBSD: viomb.c,v 1.9 2023/05/29 08:13:35 sf Exp $ */
+/* $OpenBSD: viomb.c,v 1.10 2024/05/24 10:05:55 jsg Exp $ */
/* $NetBSD: viomb.c,v 1.1 2011/10/30 12:12:21 hannken Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/task.h>
#include <sys/pool.h>
-/* $OpenBSD: viornd.c,v 1.7 2023/07/28 16:54:48 dv Exp $ */
+/* $OpenBSD: viornd.c,v 1.8 2024/05/24 10:05:55 jsg Exp $ */
/*
* Copyright (c) 2014 Stefan Fritsch <sf@sfritsch.de>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/timeout.h>
#include <machine/bus.h>
#include <sys/device.h>
-/* $OpenBSD: virtio.c,v 1.24 2023/12/02 10:01:35 sf Exp $ */
+/* $OpenBSD: virtio.c,v 1.25 2024/05/24 10:05:55 jsg Exp $ */
/* $NetBSD: virtio.c,v 1.3 2011/11/02 23:05:52 njoly Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/device.h>
-#include <sys/mutex.h>
#include <sys/atomic.h>
#include <sys/malloc.h>
-/* $OpenBSD: vmmci.c,v 1.10 2023/05/29 08:13:35 sf Exp $ */
+/* $OpenBSD: vmmci.c,v 1.11 2024/05/24 10:05:55 jsg Exp $ */
/*
* Copyright (c) 2017 Reyk Floeter <reyk@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/timeout.h>
-#include <sys/signalvar.h>
-#include <sys/syslog.h>
#include <sys/device.h>
-#include <sys/pool.h>
-#include <sys/proc.h>
#include <sys/sensors.h>
#include <machine/bus.h>
-/* $OpenBSD: vmt.c,v 1.31 2023/09/26 08:30:13 mvs Exp $ */
+/* $OpenBSD: vmt.c,v 1.32 2024/05/24 10:05:55 jsg Exp $ */
/*
* Copyright (c) 2007 David Crawshaw <david@zentus.com>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/timeout.h>
-#include <sys/signalvar.h>
#include <sys/syslog.h>
-#include <sys/proc.h>
-#include <sys/socket.h>
-#include <sys/ioctl.h>
#include <sys/mount.h>
#include <sys/task.h>
#include <sys/sensors.h>
-/* $OpenBSD: xbf.c,v 1.53 2023/11/08 12:01:21 krw Exp $ */
+/* $OpenBSD: xbf.c,v 1.54 2024/05/24 10:05:55 jsg Exp $ */
/*
* Copyright (c) 2016, 2017 Mike Belopuhov
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "bio.h"
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/atomic.h>
#include <sys/device.h>
-#include <sys/kernel.h>
-#include <sys/buf.h>
#include <sys/malloc.h>
#include <sys/task.h>
-/* $OpenBSD: xen.c,v 1.97 2020/06/29 06:50:52 jsg Exp $ */
+/* $OpenBSD: xen.c,v 1.98 2024/05/24 10:05:55 jsg Exp $ */
/*
* Copyright (c) 2015, 2016, 2017 Mike Belopuhov
#include <sys/systm.h>
#include <sys/proc.h>
-#include <sys/signal.h>
-#include <sys/signalvar.h>
#include <sys/refcnt.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/stdint.h>
#include <sys/device.h>
#include <sys/task.h>
-#include <sys/syslog.h>
#include <machine/bus.h>
#include <machine/cpu.h>
-/* $OpenBSD: xenstore.c,v 1.49 2023/04/11 00:45:08 jsg Exp $ */
+/* $OpenBSD: xenstore.c,v 1.50 2024/05/24 10:05:55 jsg Exp $ */
/*
* Copyright (c) 2015 Mike Belopuhov
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/atomic.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/mutex.h>
#include <sys/rwlock.h>
-#include <sys/ioctl.h>
#include <sys/task.h>
#include <machine/bus.h>