summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorroyger <royger@FreeBSD.org>2014-03-11 10:13:06 +0000
committerroyger <royger@FreeBSD.org>2014-03-11 10:13:06 +0000
commitb13d7383ff521e0632a1a7bb0c0abb7c65a98ab2 (patch)
treef10d3bf71f620042540ad0a58e33aaa347a1560c /sys/i386
parent3c7c289c4650f5f61980f1e10778d931bebb2755 (diff)
downloadFreeBSD-src-b13d7383ff521e0632a1a7bb0c0abb7c65a98ab2.zip
FreeBSD-src-b13d7383ff521e0632a1a7bb0c0abb7c65a98ab2.tar.gz
howto_names: unify declaration
Approved by: gibbs Sponsored by: Citrix Systems R&D boot/i386/efi/bootinfo.c: boot/i386/libi386/bootinfo.c: boot/ia64/common/bootinfo.c: boot/powerpc/ofw/metadata.c: boot/powerpc/ps3/metadata.c: boot/sparc64/loader/metadata.c: boot/uboot/common/metadata.c: boot/userboot/userboot/bootinfo.c: i386/xen/xen_machdep.c: - Include sys/boot.h - Remove custom definition of howto_names. sys/boot.h: - Define howto_names. x86/xen/pv.c: - Include sys/boot.h
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 c1e166b..d67406d 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>
@@ -156,24 +157,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