-/* $OpenBSD: control.c,v 1.6 2016/01/10 10:01:07 jsg Exp $ */
+/* $OpenBSD: control.c,v 1.7 2016/08/17 05:07:13 deraadt Exp $ */
/*
* Copyright (c) 2010-2015 Reyk Floeter <reyk@openbsd.org>
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/param.h>
+#include <sys/param.h> /* nitems */
#include <sys/queue.h>
#include <sys/stat.h>
#include <sys/socket.h>
/* $NetBSD: loadfile.c,v 1.10 2000/12/03 02:53:04 tsutsui Exp $ */
-/* $OpenBSD: loadfile_elf.c,v 1.15 2016/05/26 17:10:15 stefan Exp $ */
+/* $OpenBSD: loadfile_elf.c,v 1.16 2016/08/17 05:07:13 deraadt Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <sys/param.h> /* PAGE_SIZE PAGE_MASK roundup */
+#include <sys/ioctl.h>
+#include <sys/reboot.h>
+#include <sys/exec.h>
+#include <sys/exec_elf.h>
+
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <err.h>
#include <errno.h>
-#include <sys/ioctl.h>
#include <stddef.h>
-#include <sys/param.h>
-#include <sys/reboot.h>
-#include <sys/exec.h>
-
-#include <sys/exec_elf.h>
#include <machine/vmmvar.h>
#include <machine/biosvar.h>
#include <machine/segments.h>
-/* $OpenBSD: pci.c,v 1.6 2016/01/14 02:46:40 mlarkin Exp $ */
+/* $OpenBSD: pci.c,v 1.7 2016/08/17 05:07:13 deraadt Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <string.h>
#include <sys/types.h>
+
#include <dev/pci/pcireg.h>
#include <dev/pci/pcidevs.h>
#include <dev/pci/virtioreg.h>
#include <machine/vmmvar.h>
+
+#include <string.h>
#include "vmd.h"
#include "pci.h"
-/* $OpenBSD: virtio.c,v 1.16 2016/07/19 09:52:34 natano Exp $ */
+/* $OpenBSD: virtio.c,v 1.17 2016/08/17 05:07:13 deraadt Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <sys/param.h> /* PAGE_SIZE */
+
+#include <machine/vmmvar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcidevs.h>
+#include <dev/pci/virtioreg.h>
+#include <dev/pci/vioblkreg.h>
+
#include <errno.h>
#include <poll.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/types.h>
#include <unistd.h>
-#include <dev/pci/pcireg.h>
-#include <dev/pci/pcidevs.h>
-#include <dev/pci/virtioreg.h>
-#include <dev/pci/vioblkreg.h>
-#include <machine/vmmvar.h>
-#include <machine/param.h>
+
#include "pci.h"
#include "vmd.h"
#include "virtio.h"
-/* $OpenBSD: vmd.c,v 1.28 2016/07/29 16:36:51 stefan Exp $ */
+/* $OpenBSD: vmd.c,v 1.29 2016/08/17 05:07:13 deraadt Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/param.h>
+#include <sys/param.h> /* nitems */
#include <sys/queue.h>
#include <sys/wait.h>
#include <sys/cdefs.h>
-/* $OpenBSD: vmm.c,v 1.35 2016/08/01 16:32:10 stefan Exp $ */
+/* $OpenBSD: vmm.c,v 1.36 2016/08/17 05:07:13 deraadt Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/param.h>
+#include <sys/param.h> /* nitems */
#include <sys/ioctl.h>
#include <sys/queue.h>
#include <sys/wait.h>
#include <dev/isa/isareg.h>
#include <dev/pci/pcireg.h>
-#include <machine/param.h>
#include <machine/specialreg.h>
#include <machine/vmmvar.h>