Deleted Added
full compact
libuboot.h (332154) libuboot.h (334935)
1/*-
2 * Copyright (C) 2000 Benno Rice.
3 * Copyright (C) 2007 Semihalf, Rafal Jaworowski <raj@semihalf.com>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
1/*-
2 * Copyright (C) 2000 Benno Rice.
3 * Copyright (C) 2007 Semihalf, Rafal Jaworowski <raj@semihalf.com>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * $FreeBSD: stable/11/stand/uboot/lib/libuboot.h 332154 2018-04-06 21:37:25Z kevans $
27 * $FreeBSD: stable/11/stand/uboot/lib/libuboot.h 334935 2018-06-10 22:26:15Z ian $
28 */
29
28 */
29
30/* Note: Must match the 'struct devdesc' in stand.h */
31struct uboot_devdesc {
30struct uboot_devdesc {
32 struct devdesc dd;
31 struct devdesc dd; /* Must be first. */
33 union {
34 struct {
35 int slice;
36 int partition;
37 off_t offset;
38 } disk;
39 } d_kind;
40};

--- 41 unchanged lines hidden ---
32 union {
33 struct {
34 int slice;
35 int partition;
36 off_t offset;
37 } disk;
38 } d_kind;
39};

--- 41 unchanged lines hidden ---