diff options
author | emaste <emaste@FreeBSD.org> | 2014-09-04 20:47:14 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2014-09-04 20:47:14 +0000 |
commit | f8ae63e6ed599e0d9fdf0a1ee4a806a87c570040 (patch) | |
tree | c58208437fdd3cfa2927ab38a380c05f5a13eb97 /sys/boot/ia64 | |
parent | 8902ebf6cdd32bb4f7d239e230941db40dd9313d (diff) | |
download | FreeBSD-src-f8ae63e6ed599e0d9fdf0a1ee4a806a87c570040.zip FreeBSD-src-f8ae63e6ed599e0d9fdf0a1ee4a806a87c570040.tar.gz |
MFC r263005 by royger: howto_names: unify declaration
Diffstat (limited to 'sys/boot/ia64')
-rw-r--r-- | sys/boot/ia64/common/bootinfo.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/sys/boot/ia64/common/bootinfo.c b/sys/boot/ia64/common/bootinfo.c index 076c953..04e8ba2 100644 --- a/sys/boot/ia64/common/bootinfo.c +++ b/sys/boot/ia64/common/bootinfo.c @@ -33,35 +33,13 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/reboot.h> #include <sys/linker.h> +#include <sys/boot.h> #include <efi.h> #include <efilib.h> #include "libia64.h" -/* - * Return a 'boothowto' value corresponding to the kernel arguments in - * (kargs) and any relevant environment variables. - */ -static struct -{ - const char *ev; - int mask; -} howto_names[] = { - { "boot_askname", RB_ASKNAME}, - { "boot_cdrom", RB_CDROM}, - { "boot_ddb", RB_KDB}, - { "boot_dfltroot", RB_DFLTROOT}, - { "boot_gdb", RB_GDB}, - { "boot_multicons", RB_MULTIPLE}, - { "boot_mute", RB_MUTE}, - { "boot_pause", RB_PAUSE}, - { "boot_serial", RB_SERIAL}, - { "boot_single", RB_SINGLE}, - { "boot_verbose", RB_VERBOSE}, - { NULL, 0} -}; - static const char howto_switches[] = "aCdrgDmphsv"; static int howto_masks[] = { RB_ASKNAME, RB_CDROM, RB_KDB, RB_DFLTROOT, RB_GDB, RB_MULTIPLE, |