Deleted Added
full compact
metadata.c (256281) metadata.c (265069)
1/*-
2 * Copyright (c) 1998 Michael Smith <msmith@freebsd.org>
3 * Copyright (C) 2006 Semihalf, Piotr Kruszynski <ppk@semihalf.com>
4 * Copyright (C) 2007-2008 Semihalf, Rafal Jaworowski <raj@semihalf.com>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 */
28
29#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1998 Michael Smith <msmith@freebsd.org>
3 * Copyright (C) 2006 Semihalf, Piotr Kruszynski <ppk@semihalf.com>
4 * Copyright (C) 2007-2008 Semihalf, Rafal Jaworowski <raj@semihalf.com>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 */
28
29#include <sys/cdefs.h>
30__FBSDID("$FreeBSD: stable/10/sys/boot/uboot/common/metadata.c 246135 2013-01-30 23:49:36Z ian $");
30__FBSDID("$FreeBSD: stable/10/sys/boot/uboot/common/metadata.c 265069 2014-04-29 00:36:51Z ian $");
31
32#include <stand.h>
33#include <sys/param.h>
34#include <sys/reboot.h>
35#include <sys/linker.h>
36
37#include <machine/elf.h>
38#include <machine/metadata.h>
39
40#include "api_public.h"
41#include "bootstrap.h"
42#include "glue.h"
43
44#if defined(LOADER_FDT_SUPPORT)
31
32#include <stand.h>
33#include <sys/param.h>
34#include <sys/reboot.h>
35#include <sys/linker.h>
36
37#include <machine/elf.h>
38#include <machine/metadata.h>
39
40#include "api_public.h"
41#include "bootstrap.h"
42#include "glue.h"
43
44#if defined(LOADER_FDT_SUPPORT)
45extern int fdt_copy(vm_offset_t);
45#include "libuboot.h"
46#endif
47
48/*
49 * Return a 'boothowto' value corresponding to the kernel arguments in
50 * (kargs) and any relevant environment variables.
51 */
52static struct
53{

--- 335 unchanged lines hidden ---
46#endif
47
48/*
49 * Return a 'boothowto' value corresponding to the kernel arguments in
50 * (kargs) and any relevant environment variables.
51 */
52static struct
53{

--- 335 unchanged lines hidden ---