Deleted Added
full compact
isoboot.c (272785) isoboot.c (294765)
1/*-
2 * Copyright (c) 1998 Robert Nordier
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms are freely
6 * permitted provided that the above copyright notice and this
7 * paragraph and the following disclaimer are duplicated in all
8 * such forms.
9 *
10 * This software is provided "AS IS" and without any express or
11 * implied warranties, including, without limitation, the implied
12 * warranties of merchantability and fitness for a particular
13 * purpose.
14 */
15
16#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1998 Robert Nordier
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms are freely
6 * permitted provided that the above copyright notice and this
7 * paragraph and the following disclaimer are duplicated in all
8 * such forms.
9 *
10 * This software is provided "AS IS" and without any express or
11 * implied warranties, including, without limitation, the implied
12 * warranties of merchantability and fitness for a particular
13 * purpose.
14 */
15
16#include <sys/cdefs.h>
17__FBSDID("$FreeBSD: head/sys/boot/i386/gptboot/gptboot.c 272785 2014-10-09 01:54:32Z marcel $");
17__FBSDID("$FreeBSD: head/sys/boot/i386/gptboot/gptboot.c 294765 2016-01-26 06:26:19Z imp $");
18
19#include <sys/param.h>
20#include <sys/gpt.h>
21#include <sys/dirent.h>
22#include <sys/reboot.h>
23
24#include <machine/bootinfo.h>
25#include <machine/elf.h>

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

32#include <btxv86.h>
33
34#include "lib.h"
35#include "rbx.h"
36#include "drv.h"
37#include "util.h"
38#include "cons.h"
39#include "gpt.h"
18
19#include <sys/param.h>
20#include <sys/gpt.h>
21#include <sys/dirent.h>
22#include <sys/reboot.h>
23
24#include <machine/bootinfo.h>
25#include <machine/elf.h>

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

32#include <btxv86.h>
33
34#include "lib.h"
35#include "rbx.h"
36#include "drv.h"
37#include "util.h"
38#include "cons.h"
39#include "gpt.h"
40#include "paths.h"
40
41
41#define PATH_DOTCONFIG "/boot.config"
42#define PATH_CONFIG "/boot/config"
43#define PATH_BOOT3 "/boot/loader"
44#define PATH_KERNEL "/boot/kernel/kernel"
45
46#define ARGS 0x900
47#define NOPT 14
48#define NDEV 3
49#define MEM_BASE 0x12
50#define MEM_EXT 0x15
51
52#define DRV_HARD 0x80
53#define DRV_MASK 0x7f

--- 386 unchanged lines hidden ---
42#define ARGS 0x900
43#define NOPT 14
44#define NDEV 3
45#define MEM_BASE 0x12
46#define MEM_EXT 0x15
47
48#define DRV_HARD 0x80
49#define DRV_MASK 0x7f

--- 386 unchanged lines hidden ---