summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-09-04 20:47:14 +0000
committeremaste <emaste@FreeBSD.org>2014-09-04 20:47:14 +0000
commitf8ae63e6ed599e0d9fdf0a1ee4a806a87c570040 (patch)
treec58208437fdd3cfa2927ab38a380c05f5a13eb97 /sys/i386
parent8902ebf6cdd32bb4f7d239e230941db40dd9313d (diff)
downloadFreeBSD-src-f8ae63e6ed599e0d9fdf0a1ee4a806a87c570040.zip
FreeBSD-src-f8ae63e6ed599e0d9fdf0a1ee4a806a87c570040.tar.gz
MFC r263005 by royger: howto_names: unify declaration
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/xen/xen_machdep.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/sys/i386/xen/xen_machdep.c b/sys/i386/xen/xen_machdep.c
index 7049be6..61e27c7 100644
--- a/sys/i386/xen/xen_machdep.c
+++ b/sys/i386/xen/xen_machdep.c
@@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$");
#include <sys/reboot.h>
#include <sys/rwlock.h>
#include <sys/sysproto.h>
+#include <sys/boot.h>
#include <xen/xen-os.h>
@@ -155,24 +156,6 @@ xen_setbootenv(char *cmd_line)
return cmd_line;
}
-static struct
-{
- const char *ev;
- int mask;
-} howto_names[] = {
- {"boot_askname", RB_ASKNAME},
- {"boot_single", RB_SINGLE},
- {"boot_nosync", RB_NOSYNC},
- {"boot_halt", RB_ASKNAME},
- {"boot_serial", RB_SERIAL},
- {"boot_cdrom", RB_CDROM},
- {"boot_gdb", RB_GDB},
- {"boot_gdb_pause", RB_RESERVED1},
- {"boot_verbose", RB_VERBOSE},
- {"boot_multicons", RB_MULTIPLE},
- {NULL, 0}
-};
-
int
xen_boothowto(char *envp)
{
OpenPOWER on IntegriCloud