Deleted Added
sdiff udiff text old ( 39730 ) new ( 39902 )
full compact
1/*-
2 * Copyright (c) 1998 Michael Smith <msmith@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $Id: bootinfo.c,v 1.4 1998/09/17 23:52:09 msmith Exp $
27 */
28
29#include <sys/reboot.h>
30#include <stand.h>
31#include "bootstrap.h"
32
33
34/*
35 * Return a 'boothowto' value corresponding to the kernel arguments in
36 * (kargs) and any relevant environment variables.
37 */
38static struct
39{
40 char *ev;

--- 163 unchanged lines hidden (view full) ---

204 MOD_SIZE(addr, mp->m_size);
205 for (md = mp->m_metadata; md != NULL; md = md->md_next)
206 if (!(md->md_type & MODINFOMD_NOCOPY))
207 MOD_METADATA(addr, md);
208 }
209 MOD_END(addr);
210 return(addr);
211}