Deleted Added
full compact
fdt_loader_cmd.c (265068) fdt_loader_cmd.c (265069)
1/*-
2 * Copyright (c) 2009-2010 The FreeBSD Foundation
3 * All rights reserved.
4 *
5 * This software was developed by Semihalf under sponsorship from
6 * the FreeBSD Foundation.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2009-2010 The FreeBSD Foundation
3 * All rights reserved.
4 *
5 * This software was developed by Semihalf under sponsorship from
6 * the FreeBSD Foundation.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30#include <sys/cdefs.h>
31__FBSDID("$FreeBSD: stable/10/sys/boot/fdt/fdt_loader_cmd.c 265068 2014-04-29 00:31:32Z ian $");
31__FBSDID("$FreeBSD: stable/10/sys/boot/fdt/fdt_loader_cmd.c 265069 2014-04-29 00:36:51Z ian $");
32
33#include <stand.h>
34#include <fdt.h>
35#include <libfdt.h>
36#include <sys/param.h>
37#include <sys/linker.h>
38#include <machine/elf.h>
39

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

274 }
275
276 /* A new dtb was validated, discard any previous file. */
277 if (oldbfp)
278 file_discard(oldbfp);
279 return (0);
280}
281
32
33#include <stand.h>
34#include <fdt.h>
35#include <libfdt.h>
36#include <sys/param.h>
37#include <sys/linker.h>
38#include <machine/elf.h>
39

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

274 }
275
276 /* A new dtb was validated, discard any previous file. */
277 if (oldbfp)
278 file_discard(oldbfp);
279 return (0);
280}
281
282static int
282int
283fdt_setup_fdtp()
284{
285 struct preloaded_file *bfp;
286 struct fdt_header *hdr;
287 const char *s;
288 char *p;
289 vm_offset_t va;
290

--- 1407 unchanged lines hidden ---
283fdt_setup_fdtp()
284{
285 struct preloaded_file *bfp;
286 struct fdt_header *hdr;
287 const char *s;
288 char *p;
289 vm_offset_t va;
290

--- 1407 unchanged lines hidden ---