Deleted Added
full compact
libi386.h (200219) libi386.h (226748)
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 *
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 * $FreeBSD: head/sys/boot/i386/libi386/libi386.h 200219 2009-12-07 16:29:43Z jhb $
26 * $FreeBSD: head/sys/boot/i386/libi386/libi386.h 226748 2011-10-25 19:54:06Z jhb $
27 */
28
29
30/*
31 * i386 fully-qualified device descriptor.
32 * Note, this must match the 'struct devdesc' declaration
33 * in bootstrap.h.
34 */

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

47 } biosdisk;
48 struct
49 {
50 void *data;
51 } bioscd;
52 } d_kind;
53};
54
27 */
28
29
30/*
31 * i386 fully-qualified device descriptor.
32 * Note, this must match the 'struct devdesc' declaration
33 * in bootstrap.h.
34 */

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

47 } biosdisk;
48 struct
49 {
50 void *data;
51 } bioscd;
52 } d_kind;
53};
54
55struct edd_packet {
56 uint16_t len;
57 uint16_t count;
58 uint16_t offset;
59 uint16_t seg;
60 uint64_t lba;
61};
62
63int i386_getdev(void **vdev, const char *devspec, const char **path);
64char *i386_fmtdev(void *vdev);
65int i386_setcurrdev(struct env_var *ev, int flags, const void *value);
66
67extern struct devdesc currdev; /* our current device */
68
69#define MAXDEV 31 /* maximum number of distinct devices */
70

--- 52 unchanged lines hidden ---
55int i386_getdev(void **vdev, const char *devspec, const char **path);
56char *i386_fmtdev(void *vdev);
57int i386_setcurrdev(struct env_var *ev, int flags, const void *value);
58
59extern struct devdesc currdev; /* our current device */
60
61#define MAXDEV 31 /* maximum number of distinct devices */
62

--- 52 unchanged lines hidden ---