1263005Sroyger/*- 2263005Sroyger * Copyright (c) 2014 Roger Pau Monn�� <roger.pau@citrix.com> 3263005Sroyger * All rights reserved. 4263005Sroyger * 5263005Sroyger * Redistribution and use in source and binary forms, with or without 6263005Sroyger * modification, are permitted provided that the following conditions 7263005Sroyger * are met: 8263005Sroyger * 1. Redistributions of source code must retain the above copyright 9263005Sroyger * notice, this list of conditions and the following disclaimer. 10263005Sroyger * 2. Redistributions in binary form must reproduce the above copyright 11263005Sroyger * notice, this list of conditions and the following disclaimer in the 12263005Sroyger * documentation and/or other materials provided with the distribution. 13263005Sroyger * 14263005Sroyger * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS AS IS'' AND 15263005Sroyger * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16263005Sroyger * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17263005Sroyger * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18263005Sroyger * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19263005Sroyger * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20263005Sroyger * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21263005Sroyger * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22263005Sroyger * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23263005Sroyger * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24263005Sroyger * SUCH DAMAGE. 25263005Sroyger * 26263005Sroyger * $FreeBSD$ 27263005Sroyger */ 28263005Sroyger 29263005Sroyger#ifndef _SYS_BOOT_H_ 30263005Sroyger#define _SYS_BOOT_H_ 31263005Sroyger 32263005Sroyger/* 33263005Sroyger * Return a 'boothowto' value corresponding to the kernel arguments in 34263005Sroyger * (kargs) and any relevant environment variables. 35263005Sroyger */ 36263005Sroygerstatic struct 37263005Sroyger{ 38263005Sroyger const char *ev; 39263005Sroyger int mask; 40263005Sroyger} howto_names[] = { 41263005Sroyger { "boot_askname", RB_ASKNAME}, 42263005Sroyger { "boot_cdrom", RB_CDROM}, 43263005Sroyger { "boot_ddb", RB_KDB}, 44263005Sroyger { "boot_dfltroot", RB_DFLTROOT}, 45263005Sroyger { "boot_gdb", RB_GDB}, 46263005Sroyger { "boot_multicons", RB_MULTIPLE}, 47263005Sroyger { "boot_mute", RB_MUTE}, 48263005Sroyger { "boot_pause", RB_PAUSE}, 49263005Sroyger { "boot_serial", RB_SERIAL}, 50263005Sroyger { "boot_single", RB_SINGLE}, 51263005Sroyger { "boot_verbose", RB_VERBOSE}, 52263005Sroyger { NULL, 0} 53263005Sroyger}; 54263005Sroyger 55263005Sroyger#endif /* !_SYS_BOOT_H_ */ 56